Advertisement
ChaosHacks

Untitled

Mar 14th, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 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.  
  16. fld dword ptr [esi+30]
  17. fstp dword ptr [esi+30]
  18.  
  19.  
  20.  
  21. jmp return
  22.  
  23. code:
  24. fsubr dword ptr [esi+30]
  25. test edi,edi
  26. jmp return
  27.  
  28. InfBuildingHealth:
  29. jmp newmem
  30. return:
  31. registersymbol(InfBuildingHealth)
  32.  
  33. [DISABLE]
  34.  
  35. InfBuildingHealth:
  36. db D8 6E 30 85 FF
  37.  
  38. unregistersymbol(InfBuildingHealth)
  39. dealloc(newmem)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement