Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void AirBot(HINSTANCE hInstance){
- char Title[256];
- AM.Init();
- IN_Push = *(DWORD *)(0x0096C590 + 3);
- AM.WriteHook(0x0096C590, JMP, IN_Hook, &IN_Ret, 2);
- AM.WriteHook(0x0155BF60, JMP, WC_Hook, &WC_Ret, 1);
- Air::AirPrint(Title, "AirBot:%w", GetCurrentProcessId());
- AW.Init(hInstance, Title, 800 + 200, 600, true, Create);
- ExitProcess(0);
- }
- BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved){
- if(fdwReason != DLL_PROCESS_ATTACH){
- return FALSE;
- }
- CreateThread(NULL, 1024, (LPTHREAD_START_ROUTINE)AirBot, hinstDLL ,NULL, NULL);
- return TRUE;
- }
Advertisement
Add Comment
Please, Sign In to add comment