Advertisement
Guest User

Untitled

a guest
Jan 1st, 2017
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //v179.2
  2. [enable]
  3. alloc(time_stamp_hook,128)
  4. label(time_stamp_continue)
  5.  
  6. alloc(time_stamp_initialized,4)
  7. alloc(time_stamp,4)
  8.  
  9. time_stamp_initialized:
  10. dd 00000000
  11.  
  12. time_stamp:
  13. dd 00000000
  14.  
  15. 01CED838: //011CE113: // No Delay
  16. add eax, 0
  17.  
  18. 01CEE386: // Fix timestamp-disconnect
  19. call time_stamp_hook
  20.  
  21. time_stamp_hook:
  22. cmp [time_stamp_initialized],00000000
  23. jne time_stamp_continue
  24.  
  25. call 1D75550
  26. mov [time_stamp],eax
  27. mov [time_stamp_initialized],00000001
  28.  
  29. time_stamp_continue:
  30. add [time_stamp], 3E8
  31. mov eax,[time_stamp]
  32. ret
  33.  
  34. [disable]
  35. 01CED838: // 05 E8 03 00 00 89 85 ? ? FF FF
  36. add eax, 3E8
  37.  
  38. 01CEE386: // E8 ? ? ? ? 89 45 C4 C7 85
  39. call 1D75550
  40.  
  41. dealloc(time_stamp)
  42. dealloc(time_stamp_initialized)
  43.  
  44. dealloc(time_stamp_hook)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement