SHARE
TWEET

supertele

a guest Jul 22nd, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [ENABLE]
  2.  
  3. aobscanmodule(SuperTele,dmc3se.exe,8B 4E 54 D9 5C 24 04 89 54 24 38) // should be unique
  4. alloc(newmem,$1000)
  5. alloc(store_coord,8)
  6.  
  7. label(code)
  8. label(Y)
  9. label(Z)
  10. label(X)
  11. label(return)
  12. label(en_save)
  13. label(en_load)
  14. label(save)
  15. label(load)
  16. registersymbol(en_save)
  17. registersymbol(en_load)
  18.  
  19. store_coord:
  20. Y:
  21. dd 0
  22. Z:
  23. dd 0
  24. X:
  25. dd 0
  26. en_save:
  27. dd 0
  28. en_load:
  29. dd 0
  30.  
  31. newmem:
  32. cmp [en_save],1
  33. je save
  34. cmp [en_load],1
  35. je load
  36. jmp code
  37.  
  38.  
  39. save:
  40. mov [en_save],0
  41. push ebx
  42. mov ebx,[esi+4C]
  43. mov [Y],ebx
  44. mov ebx,[esi+50]
  45. mov [Z],ebx
  46. mov ebx,[esi+54]
  47. mov [X],ebx
  48. pop ebx
  49. jmp code
  50.  
  51. load:
  52. mov [en_load],0
  53. push ebx
  54. mov ebx,[Y]
  55. mov [esi+4C],ebx
  56. mov ebx,[Z]
  57. mov [esi+50],ebx
  58. mov ebx,[X]
  59. mov [esi+54],ebx
  60. pop ebx
  61. jmp code
  62.  
  63. code:
  64.   mov ecx,[esi+54]
  65.   fstp dword ptr [esp+04]
  66.   jmp return
  67.  
  68. SuperTele:
  69.   jmp newmem
  70.   nop
  71.   nop
  72. return:
  73. registersymbol(SuperTele)
  74.  
  75. [DISABLE]
  76.  
  77. SuperTele:
  78.   db 8B 4E 54 D9 5C 24 04
  79.  
  80. unregistersymbol(SuperTele)
  81. unregistersymbol(en_save)
  82. unregistersymbol(en_load)
  83. dealloc(newmem)
  84. dealloc(store_coord)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top