Advertisement
ChaosHacks

Untitled

Mar 14th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. [ENABLE]
  2.  
  3. aobscanmodule(InfBuildingHealth,EMPIRESX.EXE,D8 6E 30 85 FF)
  4. alloc(newmem,$1000)
  5.  
  6. label(code)
  7. label(return)
  8.  
  9. newmem:
  10. push edi
  11. mov edi,[esi+74]
  12. mov edi,[edi+4]
  13. cmp [edi+84],1
  14. pop edi
  15. jne code
  16.  
  17.  
  18. fadd dword ptr [esi+30]
  19. //fstp dword ptr [esi+30]
  20.  
  21.  
  22.  
  23. jmp return
  24.  
  25. code:
  26. fsubr dword ptr [esi+30]
  27. test edi,edi
  28. jmp return
  29.  
  30. InfBuildingHealth:
  31. jmp newmem
  32. return:
  33. registersymbol(InfBuildingHealth)
  34.  
  35. [DISABLE]
  36.  
  37. InfBuildingHealth:
  38. db D8 6E 30 85 FF
  39.  
  40. unregistersymbol(InfBuildingHealth)
  41. dealloc(newmem)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement