冰楓論壇

標題: v94.保命符 [打印本頁]

作者: qkckcqkckcq    時間: 2012-9-26 12:24
標題: v94.保命符

  1. //------------------------------------------------------------------
  2. //名稱:v94.保命符
  3. //
  4. //Address:8576E8
  5. //
  6. //EIP:KeepLife
  7. //
  8. //原創:aaaddress1
  9. //
  10. //兩段比較,先看看是否需要無敵,若快死了,會斷線。
  11. //------------------------------------------------------------------
  12. [enable]
  13. Registersymbol(nodie)
  14. Alloc(nodie, 4)
  15. Registersymbol(stopblood)
  16. Alloc(stopblood, 4)
  17. Registersymbol(KeepLife)
  18. Alloc(KeepLife, 128)
  19. Label(stop01)
  20. Label(stop)
  21. //------------------------------------------------------------------
  22. //控制部份
  23. //------------------------------------------------------------------
  24. stopblood:
  25. dd 32
  26. //
  27. //在多少血量的時候啟動無敵
  28. //------------------------------------------------------------------
  29. nodie:
  30. dd a
  31. //
  32. //低於多少血,即死亡..
  33. //-------------------------------------------------------------------
  34. KeepLife:
  35. push eax
  36. push edx
  37. mov edx,[nodie]
  38. mov eax,[aa896c]
  39. cmp [eax+958],edx
  40. pop eax
  41. pop edx
  42. jle stop01
  43. push eax
  44. push ecx
  45. mov ecx,[stopblood]
  46. mov eax,[aa896c]
  47. cmp [eax+958],ecx
  48. pop eax
  49. pop ecx
  50. jle stop

  51. jmp 8576EA
  52. //------------------------------------------------------------------
  53. stop:
  54. push eax
  55. mov eax,[aa8944]
  56. mov [eax+374],0
  57. pop eax
  58. jmp 857714

  59. stop01:
  60. push eax
  61. mov eax,[aa8944]
  62. mov [eax+37c],ffffffff
  63. pop eax
  64. jmp 857714
  65. //------------------------------------------------------------------
  66. [disable]
  67. Unregistersymbol(nodie)
  68. dealloc(nodie)
  69. Unregistersymbol(stopblood)
  70. dealloc(stopblood)
  71. Unregistersymbol(KeepLife)
  72. dealloc(KeepLife)




複製代碼





歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓