Riremito

Untitled

Feb 3rd, 2015
610
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.59 KB | None | 0 0
  1. void AirBot(HINSTANCE hInstance){
  2.     char Title[256];
  3.     AM.Init();
  4.     IN_Push = *(DWORD *)(0x0096C590 + 3);
  5.     AM.WriteHook(0x0096C590, JMP, IN_Hook, &IN_Ret, 2);
  6.     AM.WriteHook(0x0155BF60, JMP, WC_Hook, &WC_Ret, 1);
  7.  
  8.     Air::AirPrint(Title, "AirBot:%w", GetCurrentProcessId());
  9.     AW.Init(hInstance, Title, 800 + 200, 600, true, Create);
  10.     ExitProcess(0);
  11. }
  12.  
  13. BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved){
  14.  
  15.     if(fdwReason != DLL_PROCESS_ATTACH){
  16.         return FALSE;
  17.     }
  18.  
  19.     CreateThread(NULL, 1024, (LPTHREAD_START_ROUTINE)AirBot, hinstDLL ,NULL, NULL);
  20.  
  21.     return TRUE;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment