Advertisement
Demonslay335

Untitled

Jan 27th, 2019
358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. EncryptRoutine proc near
  2.  
  3. PossiblyKey= dword ptr 4
  4. arg_4= dword ptr 8
  5.  
  6. push esi
  7. mov esi, [esp+4+PossiblyKey]
  8. push edi
  9. push 0
  10. push esi
  11. call sub_48B950
  12. mov edi, [esp+10h+arg_4]
  13. add esp, 8
  14. mov ecx, edi
  15. mov edx, edi
  16. shr ecx, 2
  17. add ecx, 9E3779B9h
  18. shl edx, 6
  19. add edx, ecx
  20. add eax, edx
  21. xor edi, eax
  22. mov ecx, edi
  23. mov eax, edi
  24. shl ecx, 6
  25. add ecx, 9E3779B9h
  26. shr eax, 2
  27. add ecx, [esi+4]
  28. add eax, ecx
  29. xor edi, eax
  30. mov ecx, edi
  31. mov eax, edi
  32. shr eax, 2
  33. shl ecx, 6
  34. add eax, 9E3779B9h
  35. add ecx, [esi+8]
  36. add eax, ecx
  37. xor eax, edi
  38. pop edi
  39. pop esi
  40. retn
  41. EncryptRoutine endp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement