Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Do I Know x86?

Name: Anonymous 2014-10-30 20:35

Found this while reversing a program:

mov esi, ds:MessageBoxA
call esi ; MessageBoxA


Am I missing something or are these the stupidest two instructions ever emitted by a C++ compiler?

Name: Anonymous 2014-10-31 17:21

>>11
Wow, so I checked again, and found ONE PLACE where it calls MessageBoxA through esi again.
http://a.pomf.se/lmggxr.PNG
See all those blue arrows? It duplicates the "mov esi, MessageBoxA; call esi" code 10 times and mandates pushing and popping esi in several other parts of the code, just to OMG OPTIMIZE opening a fucking warning dialog. Great job, MSVC++.

>>15
This is a 32 bit program though.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List