Advertisement
Guest User

Untitled

a guest
May 27th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.76 KB | None | 0 0
  1. HANDLE hproc;
  2. #define GFWindowsLiveAdd  0x00A0D690
  3. BYTE GFWLBypass[] = {0xc2, 0x0c, 0x00};
  4. BYTE GFWLBackup[] = {0x8b, 0xff, 0x55};
  5.  
  6. void BypassCrcCheck(bool BypassGFWL)
  7. {
  8.     hproc = OpenProcess(PROCESS_ALL_ACCESS, false, GetCurrentProcessId());
  9.  
  10.             if(!BypassGFWL)
  11.             {  
  12.                 WriteProcessMemory(hproc,(LPVOID)GFWindowsLiveAdd, &GFWLBackup, sizeof(GFWLBackup), W);
  13.  
  14.             }
  15.             else
  16.             {
  17.                
  18.                 WriteProcessMemory(hproc,(LPVOID)GFWindowsLiveAdd, &GFWLBypass,sizeof(GFWLBypass), W);
  19.  
  20.             }
  21. }
  22. but its not working. so can u do with asm ? like that
  23. void BypassCrcCheck(bool BypassGFWL)
  24. {
  25.     hproc = OpenProcess(PROCESS_ALL_ACCESS, false, GetCurrentProcessId());
  26.  
  27.             if(!BypassGFWL)
  28.             {  
  29.                 __asm
  30. {
  31. ...
  32. }
  33.  
  34.             }
  35.             else
  36.             {
  37.                
  38.                 __asm
  39. {
  40. ..
  41. }
  42.             }
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement