Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2016
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.53 KB | None | 0 0
  1. int nextDecrypt(unsigned char)(int arg0) {
  2.     ebx = arg_0 + 0x10;
  3.     edx = *(int8_t *)(ebx + 0x200) & 0xff;
  4.     ecx = *(int8_t *)((arg_4 & 0xff) + ebx + 0x100) & 0xff;
  5.     LOBYTE(ecx) = !LOBYTE(LOBYTE(ecx) ^ LOBYTE(edx));
  6.     if (LOBYTE(edx) != 0xff) {
  7.             *(int8_t *)(ebx + 0x200) = LOBYTE(edx + 0x1);
  8.             eax = LOBYTE(ecx) & 0xff;
  9.             return eax;
  10.     }
  11.     else {
  12.             *(int8_t *)(ebx + 0x200) = 0x1;
  13.             eax = LOBYTE(ecx) & 0xff;
  14.             return eax;
  15.     }
  16.     return eax;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement