Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. #include <windows.h>
  2.  
  3. DWORD dwProcessID;
  4. HANDLE hProcess;
  5.  
  6. char *pProcessWindowTitle = "Point Blank";
  7. char *pProcessWindowClass = "I3VIEWER";
  8.  
  9.  
  10. LPTSTR
  11. TheBrother = "PointBlank.i3exec";
  12. DWORD ofsMNZ1, ofsMNZ2, dwBase,
  13. adrBaretOn, adrBaretOff, adrMISIOn, adrMISIOff, NextProtection;
  14.  
  15.  
  16. #define BASEWEAPON 0x62B354
  17. #define SGGosong1 0x174
  18. #define SGGosongDamage 0x58
  19. #define SGGosong2 0x4F0
  20.  
  21. BYTE
  22. SGOFF[]= {0x2C};
  23. BYTE SGON[] = {0xFF};
  24.  
  25. //========================================================================================================================
  26. void Hanafi(void *adr, void *ptr, int size)
  27. {
  28. DWORD mimin , momod;
  29. VirtualProtect(adr,size,PAGE_EXECUTE_READWRITE, &mimin);
  30. RtlMoveMemory(adr,ptr,size);
  31. VirtualProtect(adr,size,mimin, &momod);
  32. }
  33. int TukangTusbol = 0;
  34. int __fastcall ByLstars(void)
  35. {
  36. return 0;
  37. }
  38.  
  39. void InitApplicationProcess()
  40. {
  41. bool isFindWindow = true;
  42. HWND hWnd = NULL;
  43.  
  44. while(isFindWindow)
  45. {
  46. if((hWnd = FindWindowA(pProcessWindowClass, pProcessWindowTitle)) != NULL) // jika window ditemukan
  47. {
  48. isFindWindow = false;
  49. }
  50. Sleep(500);
  51. }
  52.  
  53. GetWindowThreadProcessId(hWnd, &dwProcessID);
  54. hProcess = OpenProcess(PROCESS_ALL_ACCESS|PROCESS_VM_OPERATION|PROCESS_VM_READ|PROCESS_VM_WRITE|PROCESS_QUERY_INFORMATION, FALSE, dwProcessID);
  55. }
  56. DWORD WINAPI ThreadStarter(LPVOID param)
  57. {
  58. InitApplicationProcess();
  59. while (1)
  60. {
  61.  
  62. ByLstars();
  63. ByLstars();
  64. ByLstars();
  65.  
  66. ByLstars();
  67. ByLstars();
  68.  
  69. ByLstars();
  70. ByLstars();
  71. ByLstars();
  72.  
  73. ByLstars();
  74. ByLstars();
  75.  
  76.  
  77.  
  78.  
  79. if (GetAsyncKeyState(VK_LBUTTON)&1){
  80.  
  81. DWORD Avenged = (DWORD)GetModuleHandleA(TheBrother);
  82. DWORD Nokedip = 0;
  83. dwBase =(DWORD)GetModuleHandleA(TheBrother)+BASEWEAPON;
  84. DWORD Ptr1 = *(PDWORD)((DWORD)(dwBase))+SGGosong1;
  85. DWORD Ptr2 = *(PDWORD)((DWORD)(Ptr1))+SGGosongDamage;
  86. DWORD Ptr3 = *(PDWORD)((DWORD)(Ptr2))+SGGosong2;
  87. Nokedip = Avenged + 0x4AE178;
  88.  
  89. Hanafi((void *)(Nokedip),(int*)(PBYTE)"\x00\x00\x00\x00", 4);
  90. Hanafi((BYTE*)(Ptr3),(SGON),1);
  91. {
  92.  
  93. Sleep(250);
  94. }
  95.  
  96. Hanafi((BYTE*)(Ptr3),(SGOFF),1);
  97. }
  98.  
  99. Sleep(1500);
  100. }
  101. return (0);
  102. }
  103.  
  104. BOOL __stdcall DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
  105. {
  106. switch(dwReason)
  107. {
  108. case DLL_PROCESS_ATTACH:
  109. DisableThreadLibraryCalls(hDll);
  110. MessageBox (0,"HAPPY CHEATING\n\nCredit : sony999","-=|sony999|=-", MB_OK | MB_ICONINFORMATION);
  111. CreateThread(0, 0, (LPTHREAD_START_ROUTINE)ThreadStarter, 0, 0, 0);
  112. char strDLLName [_MAX_PATH];
  113. // ambil nama dll kita, simpan di variabel strDLLName
  114. GetModuleFileName(hDll, strDLLName , _MAX_PATH);
  115. // bandingkan dll yg di inject sekarang dgn nama release dll kita, contoh, pasimbung.dll
  116. // ganti pasimbung.dll dgn nama dll anda
  117. if (strstr(strDLLName, "sony999.dll") <= 0) {
  118. // tampilkan pesan, kalo dll nya sdh bukan asli / sudah di rename
  119. MessageBox(0, "WARNING !!! DILARANG meRENAME", "Leecher Detected!", 0);
  120. MessageBox(0, "KEMBALIKAN SEPERTI SEMULA", "Leecher Detected!", 0);
  121. // sadis, tutup PB nya wkwkwkwk
  122. ExitProcess(0);
  123. }
  124. break;
  125.  
  126.  
  127. }
  128.  
  129. return TRUE;
  130. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement