The Easiest Way to Trace Assembly Branches
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
Now, we can do control shift D, and actually open up a control flow graph. Looking at this overall, this assembly here, uh we see that the left side actually ends in a ret, which is not what we want, especially because there's so much logic here, and it seems like a bunch will happen if we successfully uh seem to pass down this side of the branch. But, if we end on the left side,
we end up actually exiting early. So, we want to figure out what Where is this condition actually coming over to this side? It looks like it's right here where jump uh not greater than has a
jump to 1A2 if it actually seems to be
not greater than. So, that would be this check over here, and then it goes all the way to the ret. So, we could probably patch out just the JNG with something to say something like a no-op, or modify this so that instead of jumping to this location, it actually jumps to this location.





