int ( __cdecl *functionstest2_sub_1120__)( void ) = ( int ( __cdecl * ) ( void) ) 0x401120; inline int __cdecl functionstest2_sub_1120( int a ) { __asm{ mov EBX, a } return functionstest2_sub_1120__( ); }
#include "functionstest.h" void StartTest( void ) { functionstest_sub_10C0( 88, 77, 66, 55 ); functionstest_sub_1080( 33, 44, 55, 66 ); } BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) void StartTest( void ) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: StartTest(); case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: break; } return TRUE; }
There are 31,328 total registered users.
[+] expand