Guest User

Untitled

a guest
May 26th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. BYTE bGetModuleList[21] =
  2. {
  3. 0x64, 0xA1, 0x18, 0x00, 0x00, 0x00,
  4. 0x8B, 0x40, 0x30,
  5. 0x8B, 0x40, 0x0C,
  6. 0x8B, 0x40, 0x0C,
  7. 0xA3, 0x00, 0x00, 0x00, 0x00,
  8. 0xC3
  9. };
  10.  
  11. UINT_PTR lpLdrAddress = ReCa<UINT_PTR>(&lpLdrData);
  12. printf("%08X", lpLdrAddress);
  13.  
  14. *reinterpret_cast<UINT_PTR*>(bGetModuleList[17]) = lpLdrAddress;
  15.  
  16. /*
  17.  
  18. memcpy(*ReCa<void**>(bGetModuleList[17]), ReCa<void*>(lpLdrAddress), sizeof(lpLdrAddress));
  19.  
  20. */
Add Comment
Please, Sign In to add comment