Advertisement
Guest User

Untitled

a guest
May 26th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. __int64 __usercall CopyCode@<rax>(MemoryInformation *base_ptr@<rsi>)
  2. {
  3. __int64 v1; // rax
  4. char *dst; // rdi
  5. __int64 v3; // rbx
  6. signed __int64 v4; // rax
  7. _DWORD *i; // rsi
  8. __int64 result; // rax
  9. __int64 v7; // [rsp-28h] [rbp-28h]
  10. MemoryInformation *v8; // [rsp-10h] [rbp-10h]
  11. void (__fastcall *retaddr)(_QWORD, _DWORD *, _QWORD, _QWORD); // [rsp+0h] [rbp+0h]
  12. __int64 v10; // [rsp+10h] [rbp+10h]
  13. __int64 v11; // [rsp+10h] [rbp+10h]
  14.  
  15. base_ptr->qword20 = (char *)base_ptr + base_ptr->offset;
  16. dst = (char *)base_ptr + base_ptr->dword28 + base_ptr->offset;
  17. base_ptr->qword18 = dst;
  18. qmemcpy(dst, (char *)base_ptr + base_ptr->offset, base_ptr->memory_size);
  19. v7 = v1;
  20. retaddr(base_ptr->qword20, &base_ptr->dword28, base_ptr->qword18, *(_QWORD *)&base_ptr->memory_size);
  21. base_ptr->dword0 = 0;
  22. v8 = base_ptr;
  23. v3 = base_ptr->qword8;
  24. v4 = v10 - v3 - 5;
  25. for ( i = &base_ptr->dword38; *i != (_DWORD)v4; i += 2 )
  26. ;
  27. v11 = v3 + (unsigned int)i[1];
  28. result = v7;
  29. __writeeflags((unsigned __int64)v8);
  30. return result;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement