supertele

Download Raw Clone


  1. [ENABLE]
  2. aobscanmodule(SuperTele,dmc3se.exe,8B 4E 54 D9 5C 24 04 89 54 24 38) // should be unique
  3. alloc(newmem,$1000)
  4. alloc(store_coord,8)
  5. label(code)
  6. label(Y)
  7. label(Z)
  8. label(X)
  9. label(return)
  10. label(en_save)
  11. label(en_load)
  12. label(save)
  13. label(load)
  14. registersymbol(en_save)
  15. registersymbol(en_load)
  16. store_coord:
  17. Y:
  18. dd 0
  19. Z:
  20. dd 0
  21. X:
  22. dd 0
  23. en_save:
  24. dd 0
  25. en_load:
  26. dd 0
  27. newmem:
  28. cmp [en_save],1
  29. je save
  30. cmp [en_load],1
  31. je load
  32. jmp code
  33. save:
  34. mov [en_save],0
  35. push ebx
  36. mov ebx,[esi+4C]
  37. mov [Y],ebx
  38. mov ebx,[esi+50]
  39. mov [Z],ebx
  40. mov ebx,[esi+54]
  41. mov [X],ebx
  42. pop ebx
  43. jmp code
  44. load:
  45. mov [en_load],0
  46. push ebx
  47. mov ebx,[Y]
  48. mov [esi+4C],ebx
  49. mov ebx,[Z]
  50. mov [esi+50],ebx
  51. mov ebx,[X]
  52. mov [esi+54],ebx
  53. pop ebx
  54. jmp code
  55. code:
  56. mov ecx,[esi+54]
  57. fstp dword ptr [esp+04]
  58. jmp return
  59. SuperTele:
  60. jmp newmem
  61. nop
  62. nop
  63. return:
  64. registersymbol(SuperTele)
  65. [DISABLE]
  66. SuperTele:
  67. db 8B 4E 54 D9 5C 24 04
  68. unregistersymbol(SuperTele)
  69. unregistersymbol(en_save)
  70. unregistersymbol(en_load)
  71. dealloc(newmem)
  72. dealloc(store_coord)

Raw paste data: