joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2b46
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
mov eax, dword [edi + 0x74]
mov ebx, dword [eax + 0x94]
je 0x4b2c2a
cmp dword [eax], 0x22
jne 0x4b2bcd
push esi
mov ecx, 0x717db0
call fcn.0042852c
sub eax, 0
je 0x4b2c47
dec eax
je 0x4b2c43
dec eax
je 0x4b2c3f
dec eax
je 0x4b2c3a
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x6a3
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodeUnitData.cpp
push eax
call fcn.0066b0d0
pop ecx
pop ecx
push str.INVALID_RAVEN_COUNT___
call fcn.0067f4fe
add esp, 0x34
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x4b2c33
int3
mov ecx, esi
call fcn.004a7d71
test eax, eax
jne 0x4b2c1b
push 1
mov ecx, esi
call fcn.004a950c
test eax, eax
je 0x4b2c1b
push 1
mov ecx, esi
call fcn.004a950c
cmp dword [eax], 0xffffffff
je 0x4b2c1b
cmp dword [esi + 0x1d0], 0
je 0x4b2c1b
push 1
mov ecx, esi
call fcn.004a950c
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1f4]
mov eax, dword [eax + 0x274]
cmp eax, 0xffffffff
je 0x4b2c1b
mov ebx, eax
push esi
mov ecx, edi
call fcn.004b3550
cmp eax, 0xffffffff
je 0x4b2c2a
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 1
call fcn.006a16bc
push 0x67
pop eax
jmp 0x4b2c2c
push 0x66
jmp 0x4b2c3c
push 0x65
jmp 0x4b2c3c
or eax, 0xffffffff
jmp 0x4b2c2c

Function at 0x4b7b61
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
lea ecx, [ebp - 0x18]
call fcn.0066b08d
lea ecx, [ebp - 0x18]
call fcn.0066c325
lea ecx, [ebp - 0x18]
call fcn.00675b81
push 0x750380
lea ecx, [ebp - 0x18]
call fcn.0066c033
lea ecx, [ebp - 0x18]
call fcn.0066c54d
push eax
push 0
mov ecx, 0x7503f8
call fcn.0066c54d
mov edi, 0x750410
push eax
mov ecx, edi
call fcn.0066c54d
mov esi, dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
push eax
call esi
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov dword [ebx], eax
call fcn.0066c54d
push eax
push 0
mov ecx, 0x7503e0
call fcn.0066c54d
push eax
mov ecx, edi
call fcn.0066c54d
push eax
call esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x18]
mov dword [eax], 0x10
call fcn.0066c54d
push eax
push 0
mov ecx, 0x750398
call fcn.0066c54d
push eax
mov ecx, edi
call fcn.0066c54d
push eax
call esi
mov ecx, dword [ebp + 0x18]
push 1
mov dword [ecx], eax
mov ecx, dword [ebp + 0x14]
pop eax
mov dword [ecx], eax
cmp dword [ebx], 0x280
jae 0x4b7c26
xor esi, esi
jmp 0x4b7c42
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0x1e0
jb 0x4b7c22
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
cmp ecx, 0x10
je 0x4b7c40
cmp ecx, 0x20
jne 0x4b7c22
mov esi, eax
lea ecx, [ebp - 0x18]
call fcn.0066b24c
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x4c0a6d
Capabilities:
Create thread

Disassembly:
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x20], ebx
je 0x4c0a8e
mov eax, dword [edi + 8]
cmp eax, ebx
mov dword [edi + 0x1c], eax
je 0x4c0a87
mov eax, dword [eax + 8]
jmp 0x4c0a89
xor eax, eax
mov dword [eax + 0x10], ebx
jmp 0x4c0adc
push esi
push 0x20
call fcn.00668826
pop ecx
mov esi, eax
mov eax, dword [edi]
push ebx
push ebx
push 1
push ebx
mov dword [esi], eax
call dword [sym.imp.kernel32.dll_CreateEventA]
push eax
push ebx
push 0x4c0b65
mov dword [esi + 4], eax
call fcn.006a1f6d
add esp, 0xc
lea ecx, [edi + 8]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
push esi
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], ebx
call fcn.004c1420
mov eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4d1479
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0
mov ecx, 0x73fea0
call fcn.005574ec
mov esi, 0x73e890
mov edi, eax
mov ecx, esi
call fcn.0046fc63
push eax
mov ecx, esi
call fcn.0046fc1a
mov ecx, eax
call fcn.0046e72b
cmp eax, dword [edi + 0x40]
pop edi
pop esi
jb 0x4d14b5
mov ecx, 0x73e2d0
jmp fcn.004582b5
ret
Function at 0x50922a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.0050a20d
test eax, eax
je 0x50924c
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.00509790
jmp 0x5092d9
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
sub eax, 5
je 0x5092ce
dec eax
je 0x5092b7
dec eax
je 0x5092a0
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x79
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodeUnitOrders_PeasantAI_GatherWater.cpp
push eax
call fcn.0066b0d0
pop ecx
pop ecx
push str.Invalid_Order_Mode_n
call fcn.0067f4fe
add esp, 0x34
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x509299
int3
push 1
call fcn.006a16bc
push 0
push dword [esi + 0x14]
call fcn.0045d8be
pop ecx
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00509d9c
jmp 0x5092d9
push 0
push dword [esi + 0x14]
call fcn.00410c5f
pop ecx
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00509f83
jmp 0x5092d9
push dword [ebp + 0xc]
mov ecx, edi
push esi
call fcn.00509a79
pop edi
pop esi
pop ebp
ret 8
Function at 0x50d5a5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
fld dword [ebx + 0x28]
mov esi, dword [ebx + 0x240]
fstp dword [ebp - 8]
fld dword [ebx + 0x2c]
fstp dword [ebp - 4]
call fcn.004af470
fld dword [ebp - 4]
push eax
push ecx
fstp dword [esp]
fld dword [ebp - 8]
push ecx
mov ecx, 0x7184d0
fstp dword [esp]
push esi
call fcn.0046cb43
test eax, eax
mov dword [ebp - 8], eax
je 0x50d6ae
lea esi, [eax + 0x28]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.004af470
push eax
mov ecx, 0x70d8d8
call fcn.0047d4cc
lea ecx, [ebp - 0x14]
lea edx, [ebx + 0x28]
push ecx
push edx
mov ecx, eax
call fcn.0047b94c
test eax, eax
je 0x50d6ae
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 4]
and eax, 0xffff
cmp eax, 3
jne 0x50d641
push dword [ebp + 0x10]
push ecx
mov ecx, ebx
push dword [ebp + 8]
call fcn.0050d6db
jmp 0x50d6d4
cmp eax, 1
jne 0x50d656
push dword [ebp + 0x10]
push ecx
mov ecx, ebx
push dword [ebp + 8]
call fcn.0050d74b
jmp 0x50d6d4
cmp eax, 2
jne 0x50d668
push ecx
mov ecx, ebx
push dword [ebp + 8]
call fcn.0050d805
jmp 0x50d6d4
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x220
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodeUnitOrders_PeasantAI_WaterRice.cpp
push eax
call fcn.0066b0d0
pop ecx
pop ecx
push str.Gather_Water_Order_was_not_Created_
call fcn.0067f4fe
add esp, 0x34
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x50d6a7
int3
push 1
call fcn.006a16bc
mov ecx, ebx
call fcn.004aaf07
push ebx
push 0xa
mov esi, eax
call fcn.004b1478
pop ecx
cmp esi, eax
pop ecx
je 0x50d6d4
push 0
push 0xffffffffffffffff
push 0xa
push 1
mov ecx, ebx
call fcn.004aaaa3
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x5394ee
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, ecx
call fcn.005491b6
test eax, eax
je 0x539514
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.00673e23
test eax, eax
jne 0x53951b
xor eax, eax
jmp 0x53960c
test byte [ebp - 1], 0x80
je 0x539598
and byte [ebp - 1], 0x7f
cmp dword [ebp - 4], 0x64
je 0x53958c
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x99
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodeAI_IO.cpp
push eax
call fcn.0066b0d0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push str.AI_load_failed:_bad_version_number
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
lea ecx, [ebp - 0x1c]
call fcn.0066b24c
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x539585
int3
push 1
call fcn.006a16bc
push dword [ebp + 8]
mov ecx, edi
call fcn.00539a78
jmp 0x53960c
cmp dword [ebp - 4], 0x64
je 0x539602
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0xa5
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodeAI_IO.cpp
push eax
call fcn.0066b0d0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push str.AI_load_failed:_bad_version_number
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
lea ecx, [ebp - 0x1c]
call fcn.0066b24c
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x5395fb
int3
push 1
call fcn.006a16bc
push dword [ebp + 8]
mov ecx, edi
call fcn.00539611
pop edi
leave
ret 4

Function at 0x53a00c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
call fcn.005491b6
test eax, eax
je 0x53a032
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.00673e23
test eax, eax
jne 0x53a036
xor eax, eax
jmp 0x53a0a7
cmp dword [ebp - 4], 0x64
je 0x53a09d
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x3e
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodeAIManager_IO.cpp
push eax
call fcn.0066b0d0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push str.AIManager_load_failed:_bad_version_number
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
lea ecx, [ebp - 0x1c]
call fcn.0066b24c
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x53a096
int3
push 1
call fcn.006a16bc
push dword [ebp + 8]
mov ecx, esi
call fcn.0053a0ac
pop esi
leave
ret 4
Function at 0x53a30d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
call fcn.005491b6
test eax, eax
je 0x53a333
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.00673e23
test eax, eax
jne 0x53a337
xor eax, eax
jmp 0x53a3a8
cmp dword [ebp - 4], 0x64
je 0x53a39e
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x4a
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodeAIPlayerProfileManager_IO.cpp
push eax
call fcn.0066b0d0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push str.AIPlayerProfileManager_load_failed:_bad_version_number
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
lea ecx, [ebp - 0x1c]
call fcn.0066b24c
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x53a397
int3
push 1
call fcn.006a16bc
push dword [ebp + 8]
mov ecx, esi
call fcn.0053a3ad
pop esi
leave
ret 4

Function at 0x53acdd
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
call fcn.005491b6
test eax, eax
je 0x53ad03
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.00673e23
test eax, eax
jne 0x53ad07
xor eax, eax
jmp 0x53ad7b
cmp dword [ebp - 4], 0x64
je 0x53ad71
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0xb1
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodeAIWarParty_IO.cpp
push eax
call fcn.0066b0d0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push str.AIWarParty_load_failed:_bad_version_number
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
lea ecx, [ebp - 0x1c]
call fcn.0066b24c
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x53ad6a
int3
push 1
call fcn.006a16bc
push dword [ebp + 8]
mov ecx, esi
call fcn.0053ad80
pop esi
leave
ret 4

Function at 0x5401f8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
call fcn.005491b6
test eax, eax
je 0x54021e
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.00673e23
test eax, eax
jne 0x540222
xor eax, eax
jmp 0x540293
cmp dword [ebp - 4], 0x64
je 0x540289
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x47
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodeEconomyManager_IO.cpp
push eax
call fcn.0066b0d0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push str.EconomyManager_load_failed:_bad_version_number
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
lea ecx, [ebp - 0x1c]
call fcn.0066b24c
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x540282
int3
push 1
call fcn.006a16bc
push dword [ebp + 8]
mov ecx, esi
call fcn.00540298
pop esi
leave
ret 4
Function at 0x54424a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.005491b6
test eax, eax
je 0x54426d
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.00673e23
test eax, eax
jne 0x544271
xor eax, eax
leave
ret
cmp dword [ebp - 4], 0x64
je 0x5442d8
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x55
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodePath_IO.cpp
push eax
call fcn.0066b0d0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push str.AIManager_load_failed:_bad_version_number
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
lea ecx, [ebp - 0x1c]
call fcn.0066b24c
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x5442d1
int3
push 1
call fcn.006a16bc
push dword [ebp + 8]
call fcn.005442e3
pop ecx
leave
ret

Function at 0x5444a6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
call fcn.005491b6
test eax, eax
je 0x5444cc
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.00673e23
test eax, eax
jne 0x5444d0
xor eax, eax
jmp 0x544541
cmp dword [ebp - 4], 0x64
je 0x544537
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x43
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodePathingGroup_IO.cpp
push eax
call fcn.0066b0d0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push str.PathingGroup_load_failed:_bad_version_number
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
lea ecx, [ebp - 0x1c]
call fcn.0066b24c
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x544530
int3
push 1
call fcn.006a16bc
push dword [ebp + 8]
mov ecx, esi
call fcn.00544546
pop esi
leave
ret 4

Function at 0x544677
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
call fcn.005491b6
test eax, eax
je 0x54469d
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.00673e23
test eax, eax
jne 0x5446a1
xor eax, eax
jmp 0x544712
cmp dword [ebp - 4], 0x64
je 0x544708
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x43
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodePathingGroupManager_IO.cpp
push eax
call fcn.0066b0d0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push str.PathingGroupManager_load_failed:_bad_version_number
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
lea ecx, [ebp - 0x1c]
call fcn.0066b24c
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x544701
int3
push 1
call fcn.006a16bc
push dword [ebp + 8]
mov ecx, esi
call fcn.00544717
pop esi
leave
ret 4
Function at 0x544870
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.00673e23
test eax, eax
je 0x5448fe
cmp dword [ebp - 4], 0x64
je 0x5448f4
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x38
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodePeasantManager_IO.cpp
push eax
call fcn.0066b0d0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push str.PeasantManager_load_failed:_bad_version_number
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
lea ecx, [ebp - 0x1c]
call fcn.0066b24c
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x5448ed
int3
push 1
call fcn.006a16bc
push dword [ebp + 8]
mov ecx, esi
call fcn.00544903
pop esi
leave
ret 4

Function at 0x547457
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
call fcn.005491b6
test eax, eax
je 0x54747d
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.00673e23
test eax, eax
jne 0x547481
xor eax, eax
jmp 0x5474f2
cmp dword [ebp - 4], 0x64
je 0x5474e8
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x47
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodeProjectileManager_IO.cpp
push eax
call fcn.0066b0d0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push str.ProjectileManager_load_failed:_bad_version_number
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
lea ecx, [ebp - 0x1c]
call fcn.0066b24c
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x5474e1
int3
push 1
call fcn.006a16bc
push dword [ebp + 8]
mov ecx, esi
call fcn.005474f7
pop esi
leave
ret 4

Function at 0x5491fe
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov al, byte [0x795568]
inc dword [0x795568]
mov byte [ebp - 4], al
push 0
push 1
lea eax, [ebp - 8]
push 5
push eax
mov ecx, 0x7955a8
mov byte [ebp - 8], 0x47
mov byte [ebp - 7], 0x4f
mov byte [ebp - 6], 0x4f
mov byte [ebp - 5], 0x44
call fcn.00673fd0
test eax, eax
jne 0x549276
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x53b
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodeSaveGame.cpp
push eax
call fcn.0066b0d0
pop ecx
pop ecx
push str.StoreValidate___Failed
call fcn.0067f4fe
add esp, 0x34
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x549278
int3
leave
ret
push 1
call fcn.006a16bc
call fcn.00549289
jmp 0x54929b
push 0x5492a7
call fcn.006a15f3
pop ecx
ret
Function at 0x54a031
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
mov esi, ecx
push edi
mov edi, 0x73fea0
push dword [esi + 0x5c]
mov ecx, edi
call fcn.00557350
xor ebx, ebx
mov dword [esi + 0xb4], eax
mov dword [esi + 0x90], ebx
cmp dword [eax + 0x38], ebx
je 0x54a1b5
cmp dword [eax + 0x3c], ebx
je 0x54a07f
push dword [esi + 0x5c]
mov ecx, 0x6ee270
call fcn.004900c3
mov dword [esi + 0x90], eax
jmp 0x54a1b5
push dword [eax + 0x1c]
mov ecx, edi
call fcn.005571da
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.0066b08d
add edi, 0x1c
lea ecx, [ebp - 0x34]
push edi
call fcn.0066c4be
mov ecx, 0x6de0e0
call fcn.005b32ca
push 0x1a8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], 0x70d290
call fcn.00668826
cmp eax, ebx
pop ecx
je 0x54a0cb
mov ecx, eax
call fcn.005973c4
jmp 0x54a0cd
xor eax, eax
lea ecx, [ebp - 0x38]
mov dword [esi + 0x90], eax
push ecx
mov ecx, eax
call fcn.0059769a
test eax, eax
jne 0x54a156
lea ecx, [ebp - 0x34]
call fcn.0066b279
push eax
lea eax, [ebp - 0x18]
push str.Static_Model_Initialization_Failed_:___s_
push eax
call fcn.0066b0d0
call fcn.0067f5ad
sub esp, 0xc
mov ecx, esp
push 0x12d
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodeStaticObject_IO.cpp
push eax
call fcn.0066b0d0
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x54a14f
int3
push 1
call fcn.006a16bc
lea ecx, [ebp - 0x78]
call fcn.0067076d
mov ecx, 0x73f470
call fcn.006418a4
mov ecx, dword [esi + 0x90]
mov edi, eax
call fcn.00599d19
mov ecx, dword [esi + 0x90]
push 1
push ebx
push edi
push eax
call fcn.00598740
mov ecx, dword [esi + 0x90]
push 0xffffffffffffffff
push ebx
push ebx
push edi
call fcn.00597df6
mov ecx, dword [esi + 0x90]
lea eax, [ebp - 0x78]
push eax
push edi
call fcn.005980fb
lea ecx, [ebp - 0x78]
call fcn.0052c994
lea ecx, [ebp - 0x34]
call fcn.0066b24c
mov eax, dword [esi + 0x98]
cmp eax, ebx
je 0x54a1d0
mov ecx, dword [esi + 0x5c]
mov dword [eax + 0x6c], ecx
mov ecx, dword [esi + 0x98]
call fcn.004bbb44
fld dword [esi + 0x70]
fcomp dword [0x6b23a4]
fnstsw ax
sahf
jb 0x54a1f7
mov eax, dword [esi + 0x90]
mov dword [esi + 0x94], eax
mov esi, dword [esi + 0x98]
cmp esi, ebx
je 0x54a1f7
mov dword [esi + 0x68], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x54a6b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, ecx
call fcn.005491b6
test eax, eax
je 0x54a6dd
mov ecx, dword [ebp + 8]
push 1
lea eax, [ebp - 4]
push 4
push eax
mov dword [ebp - 4], 0x64
call fcn.00673e23
test eax, eax
jne 0x54a6e1
xor eax, eax
jmp 0x54a752
cmp dword [ebp - 4], 0x64
je 0x54a748
call fcn.0067f5ad
sub esp, 0x18
mov ecx, esp
push 0x4d
call fcn.0066b1cd
sub esp, 0x18
mov eax, esp
push str.C:ProjectsSamuraiCodeTurns_IO.cpp
push eax
call fcn.0066b0d0
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
push str.AIManager_load_failed:_bad_version_number
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c552
push eax
call fcn.0067f4fe
add esp, 0x34
lea ecx, [ebp - 0x1c]
call fcn.0066b24c
call sub.kernel32.dll_IsDebuggerPresent
test eax, eax
je 0x54a741
int3
push 1
call fcn.006a16bc
push dword [ebp + 8]
mov ecx, edi
call fcn.0054a757
pop edi
leave
ret 4
Function at 0x5c2936
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor edx, edx
cmp dword [ecx + 0x3c], edx
jbe 0x5c2a68
mov eax, dword [esp + 4]
push ebx
push esi
push edi
add eax, 8
mov edi, dword [ecx + 0x60]
test edi, edi
je 0x5c2986
mov esi, dword [ecx + 0x74]
mov esi, dword [esi + edx*4]
lea esi, [esi + esi*2]
fld dword [edi + esi*4]
fstp dword [eax - 8]
mov esi, dword [ecx + 0x74]
mov edi, dword [ecx + 0x60]
mov esi, dword [esi + edx*4]
lea esi, [esi + esi*2]
fld dword [edi + esi*4 + 4]
fstp dword [eax - 4]
mov esi, dword [ecx + 0x74]
mov edi, dword [ecx + 0x60]
mov esi, dword [esi + edx*4]
lea esi, [esi + esi*2]
fld dword [edi + esi*4 + 8]
jmp 0x5c299e
fld dword [0x7e9848]
fstp dword [eax - 8]
fld dword [0x7e984c]
fstp dword [eax - 4]
fld dword [0x7e9850]
fstp dword [eax]
mov edi, dword [ecx + 0x64]
test edi, edi
je 0x5c29db
mov esi, dword [ecx + 0x78]
mov esi, dword [esi + edx*4]
lea esi, [esi + esi*2]
fld dword [edi + esi*4]
fstp dword [eax + 4]
mov esi, dword [ecx + 0x78]
mov edi, dword [ecx + 0x64]
mov esi, dword [esi + edx*4]
lea esi, [esi + esi*2]
fld dword [edi + esi*4 + 4]
fstp dword [eax + 8]
mov esi, dword [ecx + 0x78]
mov edi, dword [ecx + 0x64]
mov esi, dword [esi + edx*4]
lea esi, [esi + esi*2]
fld dword [edi + esi*4 + 8]
jmp 0x5c29f3
fld dword [0x7e9870]
fstp dword [eax + 4]
fld dword [0x7e9874]
fstp dword [eax + 8]
fld dword [0x7e9878]
fstp dword [eax + 0xc]
mov edi, dword [ecx + 0x68]
test edi, edi
je 0x5c2a0c
mov esi, dword [ecx + 0x7c]
mov esi, dword [esi + edx*4]
lea esi, [esi + esi*4]
mov esi, dword [edi + esi*4 + 0x10]
jmp 0x5c2a12
mov esi, dword [0x7e97f8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], 0xff000000
mov edi, dword [ecx + 0x6c]
test edi, edi
je 0x5c2a46
mov ebx, dword [ecx + 0x80]
lea esi, [ecx + 0x80]
mov ebx, dword [ebx + edx*4]
fld dword [edi + ebx*8]
fstp dword [eax + 0x18]
mov esi, dword [esi]
mov edi, dword [ecx + 0x6c]
mov esi, dword [esi + edx*4]
fld dword [edi + esi*8 + 4]
jmp 0x5c2a55
fld dword [0x7e97b0]
fstp dword [eax + 0x18]
fld dword [0x7e97b4]
fstp dword [eax + 0x1c]
inc edx
add eax, 0x28
cmp edx, dword [ecx + 0x3c]
jb 0x5c294b
pop edi
pop esi
pop ebx
ret 4