冰楓論壇

標題: TwMS v264.3 SkillInjection(技能注入) [打印本頁]

作者: 晴曦    時間: 2024-9-25 21:57
標題: TwMS v264.3 SkillInjection(技能注入)
  1. //TwMS v264.3 SkillInjection(技能注入)
  2. [ENABLE]
  3. Alloc(newmem,2048,144D1A7B0)
  4. Label(returnhere)
  5. Label(originalcode)
  6. Label(exit)
  7. Alloc(SkillID,4)
  8. Alloc(Timer,4)
  9. Alloc(Delay,4)
  10. RegisterSymbol(SkillID)
  11. RegisterSymbol(Delay)
  12. RegisterSymbol(Timer)

  13. SkillID:
  14. DD #1000

  15. Delay:
  16. DD #100

  17. Timer:
  18. DD 00

  19. newmem:
  20. mov r8,[147DEBF88]
  21. cmp qword ptr [r8+08],2
  22. jg originalcode

  23. mov r8,[147DDAEA8]
  24. mov r8,[r8+28]
  25. cmp dword ptr [r8+00019300],0
  26. je originalcode

  27. call 144E105A0
  28. mov r8d,eax
  29. sub r8d,dword ptr [Timer]
  30. cmp r8d,dword ptr [Delay]
  31. jl originalcode
  32. mov dword ptr [Timer],eax

  33. mov r8d,[SkillID]
  34. mov dword ptr [rbx+00008A74],r8d
  35. mov eax,0x00000001
  36. xor r8,r8
  37. jmp 144D1A7C9

  38. originalcode:
  39. mov eax,0x00000001
  40. xor r8,r8
  41. cmp [rbx+00008A74],r12d

  42. exit:
  43. jmp returnhere

  44. 144D1A7B0:
  45. jmp newmem
  46. nop
  47. nop

  48. returnhere:
  49. 144D1A809:
  50. jmp 144D1A951
  51. nop

  52. 144D1A9F7:
  53. jmp 144D1AA51
  54. nop

  55. [DISABLE]
  56. 144D1A7B0:
  57. cmp [rbx+00008A74],r12d

  58. 144D1A809:
  59. DB 3B 83 78 8A 00 00 0F 84

  60. 144D1A9F7:
  61. DB 0F 87 1B 02 00 00

  62. DeAlloc(newmem)
  63. DeAlloc(SkillID)
  64. DeAlloc(Timer)
  65. DeAlloc(Delay)

  66. UnRegisterSymbol(SkillID)
  67. UnRegisterSymbol(Delay)
  68. UnRegisterSymbol(Timer)
複製代碼





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