Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>245</ID>
<Description>"Current Nation Controlled"</Description>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{ Game : imperator.exe
Version:
Date : 2019-05-10
Author : 0
This script does blah blah blah
}
[ENABLE]
aobscanmodule(ccontrolled,imperator.exe,49 0F 44 C6 8B 00 89 45 44) // should be unique
alloc(newmem,$1000,"imperator.exe"+B32CB0)
globalalloc(cNation102,4)
label(code)
label(return)
newmem:
cmove rax,r14
mov eax,[rax]
code:
mov eax,[cNation102]
jmp return
ccontrolled:
jmp newmem
nop
return:
registersymbol(ccontrolled)
[DISABLE]
ccontrolled:
db 49 0F 44 C6 8B 00
unregistersymbol(ccontrolled)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "imperator.exe"+B32CB0
"imperator.exe"+B32C93: 48 8B CE - mov rcx,rsi
"imperator.exe"+B32C96: FF 12 - call qword ptr [rdx]
"imperator.exe"+B32C98: 8B D0 - mov edx,eax
"imperator.exe"+B32C9A: 48 8B CB - mov rcx,rbx
"imperator.exe"+B32C9D: FF 57 08 - call qword ptr [rdi+08]
"imperator.exe"+B32CA0: 48 85 C0 - test rax,rax
"imperator.exe"+B32CA3: 74 04 - je imperator.exe+B32CA9
"imperator.exe"+B32CA5: 4C 8D 78 F8 - lea r15,[rax-08]
"imperator.exe"+B32CA9: 49 8D 47 18 - lea rax,[r15+18]
"imperator.exe"+B32CAD: 4D 85 FF - test r15,r15
// ---------- INJECTING HERE ----------
"imperator.exe"+B32CB0: 49 0F 44 C6 - cmove rax,r14
"imperator.exe"+B32CB4: 8B 00 - mov eax,[rax]
// ---------- DONE INJECTING ----------
"imperator.exe"+B32CB6: 89 45 44 - mov [rbp+44],eax
"imperator.exe"+B32CB9: 48 8B 0D C8 7D E9 00 - mov rcx,[imperator.exe+19CAA88]
"imperator.exe"+B32CC0: E8 AB A9 D9 FF - call imperator.exe+8CD670
"imperator.exe"+B32CC5: 48 85 C0 - test rax,rax
"imperator.exe"+B32CC8: 74 09 - je imperator.exe+B32CD3
"imperator.exe"+B32CCA: 0F BF 40 48 - movsx eax,word ptr [rax+48]
"imperator.exe"+B32CCE: C1 E8 05 - shr eax,05
"imperator.exe"+B32CD1: 24 01 - and al,01
"imperator.exe"+B32CD3: 88 45 48 - mov [rbp+48],al
"imperator.exe"+B32CD6: BA 10 00 00 00 - mov edx,00000010
}
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>246</ID>
<Description>"Current Nation"</Description>
<LastState Value="99" RealAddress="1B9098C0000"/>
<VariableType>4 Bytes</VariableType>
<Address>cNation102</Address>
</CheatEntry>
</CheatEntries>
</CheatEntry>
<CheatEntry>
<ID>242</ID>
<Description>"Gamestate Pointers 1.2 (activate by trying to console cheat)"</Description>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>{ Game : imperator.exe
Version:
Date : 2019-05-10
Author : 0
This script does blah blah blah
}
[ENABLE]
aobscanmodule(gState,imperator.exe,41 38 B0 5D 02 00 00 ?? ?? ?? ?? ?? ?? BG 88 13 00 00) // should be unique
alloc(newmem,$1000,"imperator.exe"+1E562D)
globalalloc(CgameState102,4)
label(code)
label(return)
newmem:
push rbx
mov rbx,CgameState102
mov [rbx],r8
pop rbx
code:
cmp [r8+0000025D],sil
jmp return
gState:
jmp newmem
nop
nop
return:
registersymbol(gState)
[DISABLE]
gState:
db 41 38 B0 5D 02 00 00
unregistersymbol(gState)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "imperator.exe"+1E562D
"imperator.exe"+1E55FE: 48 C7 45 A8 FE FF FF FF - mov qword ptr [rbp-58],FFFFFFFE
"imperator.exe"+1E5606: 48 89 58 08 - mov [rax+08],rbx
"imperator.exe"+1E560A: 48 89 70 10 - mov [rax+10],rsi
"imperator.exe"+1E560E: 48 89 78 20 - mov [rax+20],rdi
"imperator.exe"+1E5612: 48 8B D9 - mov rbx,rcx
"imperator.exe"+1E5615: 33 F6 - xor esi,esi
"imperator.exe"+1E5617: 89 75 A0 - mov [rbp-60],esi
"imperator.exe"+1E561A: 39 35 48 0D 7F 01 - cmp [imperator.exe+19D6368],esi
"imperator.exe"+1E5620: 0F 85 5A 01 00 00 - jne imperator.exe+1E5780
"imperator.exe"+1E5626: 4C 8B 05 33 56 7E 01 - mov r8,[imperator.exe+19CAC60]
// ---------- INJECTING HERE ----------
"imperator.exe"+1E562D: 41 38 B0 5D 02 00 00 - cmp [r8+0000025D],sil
// ---------- DONE INJECTING ----------
"imperator.exe"+1E5634: 0F 85 46 01 00 00 - jne imperator.exe+1E5780
"imperator.exe"+1E563A: BF 88 13 00 00 - mov edi,00001388
"imperator.exe"+1E563F: 48 8B 0A - mov rcx,[rdx]
"imperator.exe"+1E5642: 48 8B 42 08 - mov rax,[rdx+08]
"imperator.exe"+1E5646: 48 2B C1 - sub rax,rcx
"imperator.exe"+1E5649: 48 C1 F8 05 - sar rax,05
"imperator.exe"+1E564D: 83 F8 01 - cmp eax,01
"imperator.exe"+1E5650: 7C 18 - jl imperator.exe+1E566A
"imperator.exe"+1E5652: 48 83 79 18 10 - cmp qword ptr [rcx+18],10
"imperator.exe"+1E5657: 72 03 - jb imperator.exe+1E565C
}
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>243</ID>
<Description>"Ironman Console"</Description>
<LastState Value="1" RealAddress="1B992FED25D"/>
<VariableType>Byte</VariableType>
<Address>CgameState102</Address>
<Offsets>
<Offset>25D</Offset>
</Offsets>
</CheatEntry>
<CheatEntry>
<ID>247</ID>
<Description>"Current Controlled Nation - Non-Writable"</Description>
<LastState Value="13" RealAddress="1B992FED044"/>
<VariableType>Byte</VariableType>
<Address>CgameState102</Address>
<Offsets>
<Offset>44</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>