Code: Select all
{ Game : Succubus-Win64-Shipping.exe
Version:
Date : 2021-10-13
Author : Edale
This script does blah blah blah
}
[ENABLE]
aobscanmodule(Damage,Succubus-Win64-Shipping.exe,F3 0F 11 91 C8 01 00 00 48) // should be unique
alloc(newmem,$1000,Damage)
label(code)
label(return)
newmem:
code:
NOP
jmp return
Damage:
jmp newmem
nop 3
return:
registersymbol(Damage)
[DISABLE]
Damage:
db F3 0F 11 91 C8 01 00 00
unregistersymbol(Damage)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: Succubus-Win64-Shipping.exe+D2047F
Succubus-Win64-Shipping.exe+D20450: 40 53 - push rbx
Succubus-Win64-Shipping.exe+D20452: 48 83 EC 30 - sub rsp,30
Succubus-Win64-Shipping.exe+D20456: 0F 28 C1 - movaps xmm0,xmm1
Succubus-Win64-Shipping.exe+D20459: 0F 29 74 24 20 - movaps [rsp+20],xmm6
Succubus-Win64-Shipping.exe+D2045E: F3 0F 58 81 68 03 00 00 - addss xmm0,[rcx+00000368]
Succubus-Win64-Shipping.exe+D20466: 0F 28 D1 - movaps xmm2,xmm1
Succubus-Win64-Shipping.exe+D20469: 48 8B D9 - mov rbx,rcx
Succubus-Win64-Shipping.exe+D2046C: F3 0F 58 91 C8 01 00 00 - addss xmm2,[rcx+000001C8]
Succubus-Win64-Shipping.exe+D20474: 0F 28 F1 - movaps xmm6,xmm1
Succubus-Win64-Shipping.exe+D20477: F3 0F 11 81 68 03 00 00 - movss [rcx+00000368],xmm0
// ---------- INJECTING HERE ----------
Succubus-Win64-Shipping.exe+D2047F: F3 0F 11 91 C8 01 00 00 - movss [rcx+000001C8],xmm2
// ---------- DONE INJECTING ----------
Succubus-Win64-Shipping.exe+D20487: 48 8B 49 28 - mov rcx,[rcx+28]
Succubus-Win64-Shipping.exe+D2048B: 48 85 C9 - test rcx,rcx
Succubus-Win64-Shipping.exe+D2048E: 74 27 - je Succubus-Win64-Shipping.exe+D204B7
Succubus-Win64-Shipping.exe+D20490: 48 8D 54 24 40 - lea rdx,[rsp+40]
Succubus-Win64-Shipping.exe+D20495: E8 B6 AB 04 00 - call Succubus-Win64-Shipping.exe+D6B050
Succubus-Win64-Shipping.exe+D2049A: 48 8D 54 24 40 - lea rdx,[rsp+40]
Succubus-Win64-Shipping.exe+D2049F: 48 8B CB - mov rcx,rbx
Succubus-Win64-Shipping.exe+D204A2: E8 79 16 01 00 - call Succubus-Win64-Shipping.exe+D31B20
Succubus-Win64-Shipping.exe+D204A7: F3 0F 58 B0 98 01 00 00 - addss xmm6,[rax+00000198]
Succubus-Win64-Shipping.exe+D204AF: F3 0F 11 B0 98 01 00 00 - movss [rax+00000198],xmm6
}
Note, don't activate it until there's at least a few seconds on the clock, or you'll fail the sidequest.
Code: Select all
{ Game : Succubus-Win64-Shipping.exe
Version:
Date : 2021-10-13
Author : Edale
This script does blah blah blah
}
[ENABLE]
aobscanmodule(Time,Succubus-Win64-Shipping.exe,F3 0F 11 91 C0 01 00 00) // should be unique
alloc(newmem,$1000,Time)
label(code)
label(return)
newmem:
code:
NOP
jmp return
Time:
jmp newmem
nop 3
return:
registersymbol(Time)
[DISABLE]
Time:
db F3 0F 11 91 C0 01 00 00
unregistersymbol(Time)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: Succubus-Win64-Shipping.exe+D21F5F
Succubus-Win64-Shipping.exe+D21F30: 40 53 - push rbx
Succubus-Win64-Shipping.exe+D21F32: 48 83 EC 30 - sub rsp,30
Succubus-Win64-Shipping.exe+D21F36: 0F 28 C1 - movaps xmm0,xmm1
Succubus-Win64-Shipping.exe+D21F39: 0F 29 74 24 20 - movaps [rsp+20],xmm6
Succubus-Win64-Shipping.exe+D21F3E: F3 0F 58 81 60 03 00 00 - addss xmm0,[rcx+00000360]
Succubus-Win64-Shipping.exe+D21F46: 0F 28 D1 - movaps xmm2,xmm1
Succubus-Win64-Shipping.exe+D21F49: 48 8B D9 - mov rbx,rcx
Succubus-Win64-Shipping.exe+D21F4C: F3 0F 58 91 C0 01 00 00 - addss xmm2,[rcx+000001C0]
Succubus-Win64-Shipping.exe+D21F54: 0F 28 F1 - movaps xmm6,xmm1
Succubus-Win64-Shipping.exe+D21F57: F3 0F 11 81 60 03 00 00 - movss [rcx+00000360],xmm0
// ---------- INJECTING HERE ----------
Succubus-Win64-Shipping.exe+D21F5F: F3 0F 11 91 C0 01 00 00 - movss [rcx+000001C0],xmm2
// ---------- DONE INJECTING ----------
Succubus-Win64-Shipping.exe+D21F67: 48 8B 49 28 - mov rcx,[rcx+28]
Succubus-Win64-Shipping.exe+D21F6B: 48 85 C9 - test rcx,rcx
Succubus-Win64-Shipping.exe+D21F6E: 74 27 - je Succubus-Win64-Shipping.exe+D21F97
Succubus-Win64-Shipping.exe+D21F70: 48 8D 54 24 40 - lea rdx,[rsp+40]
Succubus-Win64-Shipping.exe+D21F75: E8 D6 90 04 00 - call Succubus-Win64-Shipping.exe+D6B050
Succubus-Win64-Shipping.exe+D21F7A: 48 8D 54 24 40 - lea rdx,[rsp+40]
Succubus-Win64-Shipping.exe+D21F7F: 48 8B CB - mov rcx,rbx
Succubus-Win64-Shipping.exe+D21F82: E8 99 FB 00 00 - call Succubus-Win64-Shipping.exe+D31B20
Succubus-Win64-Shipping.exe+D21F87: F3 0F 58 B0 90 01 00 00 - addss xmm6,[rax+00000190]
Succubus-Win64-Shipping.exe+D21F8F: F3 0F 11 B0 90 01 00 00 - movss [rax+00000190],xmm6
}