Ok, before you do anything else, check those connectors out really good.
I was having cogging issues just like this with a Mamba Max setup. Come to find out, it was arcing inside one of the connectors. I replaced all 3 connectors and it was fixed!
It was on the male side of the connector. I noticed one would slide in.........or unplug very easily. When I looked at it closer, I could see little burnt spots where it had been arcing.
Before I fixed it, it would run the motor. There was alot of cogging though until finally the ESC would thermal.
It's running strong now. Check it out.