Untitled conversation
- User
{ Game : DNF.exe Version: Date : 2024-02-22 Author : Luali
This script does blah blah blah }
define(address,"dnf.exe"+4A46DEC) define(bytes,01 B4 38 88 00 00 00)
[ENABLE]
assert(address,bytes) alloc(newmem,$1000,"dnf.exe"+4A46DEC)
label(code) label(return)
newmem:
code: mov esi,350 add [rax+rdi+00000088],esi jmp return
address: jmp newmem nop 2 return:
[DISABLE]
address: db bytes // add [rax+rdi+00000088],esi
dealloc(newmem)
{ // ORIGINAL CODE - INJECTION POINT: "dnf.exe"+4A46DEC
"dnf.exe"+4A46DC9: 48 8B 10 - mov rdx,[rax] "dnf.exe"+4A46DCC: FF 92 60 20 00 00 - call qword ptr [rdx+00002060] "dnf.exe"+4A46DD2: 83 F8 FF - cmp eax,-01 "dnf.exe"+4A46DD5: 74 2D - je dnf.exe+4A46E04 "dnf.exe"+4A46DD7: 83 F8 07 - cmp eax,07 "dnf.exe"+4A46DDA: 77 17 - ja dnf.exe+4A46DF3 "dnf.exe"+4A46DDC: 48 63 C8 - movsxd rcx,eax "dnf.exe"+4A46DDF: 48 83 F9 08 - cmp rcx,08 "dnf.exe"+4A46DE3: 73 2F - jae dnf.exe+4A46E14 "dnf.exe"+4A46DE5: 48 69 C1 94 00 00 00 - imul rax,rcx,00000094 // ---------- INJECTING HERE ---------- "dnf.exe"+4A46DEC: 01 B4 38 88 00 00 00 - add [rax+rdi+00000088],esi // ---------- DONE INJECTING ---------- "dnf.exe"+4A46DF3: 48 8B 0D DE 3A BA 06 - mov rcx,[dnf.exe+B5EA8D8] "dnf.exe"+4A46DFA: 48 85 C9 - test rcx,rcx "dnf.exe"+4A46DFD: 74 05 - je dnf.exe+4A46E04 "dnf.exe"+4A46DFF: E8 9C E9 0C 00 - call dnf.exe+4B157A0 "dnf.exe"+4A46E04: 48 8B 5C 24 30 - mov rbx,[rsp+30] "dnf.exe"+4A46E09: 48 8B 74 24 38 - mov rsi,[rsp+38] "dnf.exe"+4A46E0E: 48 83 C4 20 - add rsp,20 "dnf.exe"+4A46E12: 5F - pop rdi "dnf.exe"+4A46E13: C3 - ret "dnf.exe"+4A46E14: E8 C3 88 5D 02 - call dnf.exe+701F6DC } <<出错的行 15 (assert(address,bytes)) :确定失败为 address 方法>>
- Assistant
It looks like you are providing a script used for game modding or cheating, specifically for a game executable named "dnf.exe". The script appears to be written for Cheat Engine, a memory scanning and editing tool used to modify the values in games.
Here's a breakdown of the provided script elements:
- The script starts with a comment block that includes metadata like the game name, version, date, and author.