[ENABLE]
aobscanmodule(INJECT,srw30.exe,49 89 7C DD 08) // should be unique
alloc(newmem,$100,INJECT)
label(code)
label(return)
newmem:
cmp [rax+30],22D
jne code
mov [rax+30],3DF
code:
mov [r13+rbx*8+08],rdi
jmp return
INJECT:
jmp newmem
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db 49 89 7C DD 08
unregistersymbol(INJECT)
dealloc(newmem)
this replace 22D with 3DF, however i want this script to replace more than that, for example 253 replaced with 21E (along with 22D / 3DF)
could anyone show me how to do that ? i have tried create a second script then put 253 / 21E in but of course it didn't work, i couldn't enable the script