Function at 0x55088d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x58]
call fcn.0067361a
mov ecx, esi
call fcn.005562c1
mov ecx, dword [ebp + 8]
push 0
call fcn.0066c552
push eax
lea ecx, [ebp - 0x58]
call fcn.00673880
test eax, eax
je 0x554185
push 1
lea eax, [ebp - 0x14]
push 4
push eax
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554185
push 1
lea eax, [ebp - 0x24]
push 8
push eax
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554185
push 1
lea eax, [ebp - 0x1c]
push 8
push eax
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554185
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push dword [ebp - 0x1c]
call fcn.006740b8
test eax, eax
je 0x554185
push 1
lea eax, [ebp - 8]
push 4
push eax
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554185
mov edi, dword [ebp - 8]
lea eax, [edi + edi*2]
lea eax, [eax*8 + 4]
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x550976
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp + 8], ebx
test eax, eax
jl 0x550971
lea edi, [eax + 1]
mov ecx, dword [ebp + 8]
call fcn.0066b08d
add dword [ebp + 8], 0x18
dec edi
jne 0x550962
mov dword [ebp - 4], ebx
jmp 0x55097a
and dword [ebp - 4], 0
mov eax, dword [ebp - 8]
shl eax, 3
push eax
call fcn.00668826
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
shl eax, 3
push eax
call fcn.00668826
pop ecx
mov dword [ebp + 8], eax
pop ecx
push dword [ebp - 8]
lea ecx, [ebp - 0x58]
push 8
push dword [ebp - 0xc]
call fcn.00673e23
test eax, eax
je 0x554159
push dword [ebp - 8]
lea ecx, [ebp - 0x58]
push 8
push dword [ebp + 8]
call fcn.00673e23
test eax, eax
je 0x554159
xor edi, edi
cmp dword [ebp - 8], edi
jbe 0x5509f0
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.0066c26f
test eax, eax
je 0x554159
inc edi
add ebx, 0x18
cmp edi, dword [ebp - 8]
jb 0x5509d4
push dword [ebp - 4]
lea eax, [ebp - 0x3c]
push str.Data_Abilities
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 4]
push dword [eax]
call fcn.006740b8
test eax, eax
je 0x554159
push 1
push 4
push esi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [esi]
mov eax, edi
imul eax, eax, 0x2e0
add eax, 4
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x550a87
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x550a89
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.0058e7f0
add dword [ebp - 0x10], 0x2e0
dec edi
jne 0x550a73
jmp 0x550a89
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x104], ebx
cmp dword [esi], edi
jbe 0x550abb
xor ebx, ebx
mov ecx, dword [esi + 0x104]
lea eax, [ebp - 0x58]
push eax
add ecx, ebx
call fcn.0058e7ff
test eax, eax
je 0x554159
inc edi
add ebx, 0x2e0
cmp edi, dword [esi]
jb 0x550a97
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
lea eax, [ebp - 0x3c]
push str.Data_AIWarPartyMakeUps
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 4]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
lea eax, [edi + edi*8]
lea eax, [eax*4 + 4]
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x550b56
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x550b58
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.004febc9
add dword [ebp - 0x10], 0x24
dec edi
jne 0x550b45
jmp 0x550b58
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x108], ebx
cmp dword [esi + 4], edi
jbe 0x550b89
xor ebx, ebx
mov ecx, dword [esi + 0x108]
lea eax, [ebp - 0x58]
push eax
add ecx, ebx
call fcn.005855d6
test eax, eax
je 0x554159
inc edi
add ebx, 0x24
cmp edi, dword [esi + 4]
jb 0x550b67
mov eax, dword [ebp - 4]
add eax, 0x30
push eax
lea eax, [ebp - 0x3c]
push str.Data_AmbientLife
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 8]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
mov eax, edi
imul eax, eax, 0x4c
add eax, 4
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x550c22
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x550c24
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.004febc9
add dword [ebp - 0x10], 0x4c
dec edi
jne 0x550c11
jmp 0x550c24
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x10c], ebx
cmp dword [esi + 8], edi
jbe 0x550c55
xor ebx, ebx
mov ecx, dword [esi + 0x10c]
lea eax, [ebp - 0x58]
push eax
add ecx, ebx
call fcn.0058cdbc
test eax, eax
je 0x554159
inc edi
add ebx, 0x4c
cmp edi, dword [esi + 8]
jb 0x550c33
mov eax, dword [ebp - 4]
add eax, 0x78
push eax
lea eax, [ebp - 0x3c]
push str.Data_BattleGear
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0x2c]
push dword [eax + 0x28]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0xc]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
mov eax, edi
imul eax, eax, 0x38
add eax, 4
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x550cee
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x550cf0
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.0058c09d
add dword [ebp - 0x10], 0x38
dec edi
jne 0x550cdd
jmp 0x550cf0
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x110], ebx
cmp dword [esi + 0xc], edi
jbe 0x550d21
xor ebx, ebx
mov ecx, dword [esi + 0x110]
lea eax, [ebp - 0x58]
push eax
add ecx, ebx
call fcn.0058c0b4
test eax, eax
je 0x554159
inc edi
add ebx, 0x38
cmp edi, dword [esi + 0xc]
jb 0x550cff
mov eax, dword [ebp - 4]
add eax, 0x90
push eax
lea eax, [ebp - 0x3c]
push str.Data_Beams
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x10]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
mov eax, edi
imul eax, eax, 0x94
add eax, 4
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x550dc2
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x550dc4
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.0058b18c
add dword [ebp - 0x10], 0x94
dec edi
jne 0x550dae
jmp 0x550dc4
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x114], ebx
cmp dword [esi + 0x10], edi
jbe 0x550df8
xor ebx, ebx
mov ecx, dword [esi + 0x114]
lea eax, [ebp - 0x58]
push eax
add ecx, ebx
call fcn.0058b1a3
test eax, eax
je 0x554159
inc edi
add ebx, 0x94
cmp edi, dword [esi + 0x10]
jb 0x550dd3
mov eax, dword [ebp - 4]
add eax, 0xd8
push eax
lea eax, [ebp - 0x3c]
push str.Data_Buildings
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0x4c]
push dword [eax + 0x48]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x14]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
mov eax, edi
imul eax, eax, 0x208
add eax, 4
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x550e99
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x550e9b
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.00589b56
add dword [ebp - 0x10], 0x208
dec edi
jne 0x550e85
jmp 0x550e9b
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x118], ebx
cmp dword [esi + 0x14], edi
jbe 0x550ecf
xor ebx, ebx
mov ecx, dword [esi + 0x118]
lea eax, [ebp - 0x58]
push eax
add ecx, ebx
call fcn.00589bca
test eax, eax
je 0x554159
inc edi
add ebx, 0x208
cmp edi, dword [esi + 0x14]
jb 0x550eaa
mov eax, dword [ebp - 4]
add eax, 0xf0
push eax
lea eax, [ebp - 0x3c]
push str.Data_BuildingTechTree
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0x54]
push dword [eax + 0x50]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x18]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
lea eax, [edi + edi*4]
lea eax, [eax*4 + 4]
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x550f6c
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x550f6e
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.004febc9
add dword [ebp - 0x10], 0x14
dec edi
jne 0x550f5b
jmp 0x550f6e
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x11c], ebx
cmp dword [esi + 0x18], edi
jbe 0x550f9f
xor ebx, ebx
mov ecx, dword [esi + 0x11c]
lea eax, [ebp - 0x58]
push eax
add ecx, ebx
call fcn.0057a30d
test eax, eax
je 0x554159
inc edi
add ebx, 0x14
cmp edi, dword [esi + 0x18]
jb 0x550f7d
mov eax, dword [ebp - 4]
add eax, 0x108
push eax
lea eax, [ebp - 0x3c]
push str.Data_Buttons
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0x5c]
push dword [eax + 0x58]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x1c]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
lea eax, [edi + edi*2]
lea eax, [eax*4 + 4]
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x55103c
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x55103e
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.004febc9
add dword [ebp - 0x10], 0xc
dec edi
jne 0x55102b
jmp 0x55103e
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x120], ebx
cmp dword [esi + 0x1c], edi
jbe 0x55106f
xor ebx, ebx
mov ecx, dword [esi + 0x120]
lea eax, [ebp - 0x58]
push eax
add ecx, ebx
call fcn.00588261
test eax, eax
je 0x554159
inc edi
add ebx, 0xc
cmp edi, dword [esi + 0x1c]
jb 0x55104d
mov eax, dword [ebp - 4]
add eax, 0x120
push eax
lea eax, [ebp - 0x3c]
push str.Data_Clans
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0x64]
push dword [eax + 0x60]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x20]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
lea eax, [edi + edi*8]
shl eax, 5
add eax, 4
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x55110e
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x551110
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.0058713e
add dword [ebp - 0x10], 0x120
dec edi
jne 0x5510fa
jmp 0x551110
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x124], ebx
cmp dword [esi + 0x20], edi
jbe 0x551144
xor ebx, ebx
mov ecx, dword [esi + 0x124]
lea eax, [ebp - 0x58]
push eax
add ecx, ebx
call fcn.005871a2
test eax, eax
je 0x554159
inc edi
add ebx, 0x120
cmp edi, dword [esi + 0x20]
jb 0x55111f
mov eax, dword [ebp - 4]
add eax, 0x138
push eax
lea eax, [ebp - 0x3c]
push str.Data_ClanSFX
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0x6c]
push dword [eax + 0x68]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x24]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
mov eax, edi
imul eax, eax, 0x64
add eax, 4
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x5511df
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x5511e1
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.004febc9
add dword [ebp - 0x10], 0x64
dec edi
jne 0x5511ce
jmp 0x5511e1
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x128], ebx
cmp dword [esi + 0x24], edi
jbe 0x551212
xor ebx, ebx
mov ecx, dword [esi + 0x128]
lea eax, [ebp - 0x58]
push eax
add ecx, ebx
call fcn.005862e2
test eax, eax
je 0x554159
inc edi
add ebx, 0x64
cmp edi, dword [esi + 0x24]
jb 0x5511f0
mov eax, dword [ebp - 4]
add eax, 0x150
push eax
lea eax, [ebp - 0x3c]
push str.Data_Climates
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0x74]
push dword [eax + 0x70]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x28]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
lea eax, [edi + edi*8]
lea eax, [eax*4 + 4]
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x5512af
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x5512b1
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.004febc9
add dword [ebp - 0x10], 0x24
dec edi
jne 0x55129e
jmp 0x5512b1
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x12c], ebx
cmp dword [esi + 0x28], edi
jbe 0x5512e2
xor ebx, ebx
mov ecx, dword [esi + 0x12c]
lea eax, [ebp - 0x58]
push eax
add ecx, ebx
call fcn.005855d6
test eax, eax
je 0x554159
inc edi
add ebx, 0x24
cmp edi, dword [esi + 0x28]
jb 0x5512c0
mov eax, dword [ebp - 4]
add eax, 0x168
push eax
lea eax, [ebp - 0x3c]
push str.Data_ConsoleToolTips
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0x7c]
push dword [eax + 0x78]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x2c]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
lea eax, [edi*8 + 4]
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x55137c
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x55137e
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.004febc9
add dword [ebp - 0x10], 8
dec edi
jne 0x55136b
jmp 0x55137e
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x130], ebx
cmp dword [esi + 0x2c], edi
jbe 0x5513ab
lea eax, [ebp - 0x58]
push eax
mov eax, dword [esi + 0x130]
lea ecx, [eax + edi*8]
call fcn.00584950
test eax, eax
je 0x554159
inc edi
cmp edi, dword [esi + 0x2c]
jb 0x55138b
mov eax, dword [ebp - 4]
add eax, 0x180
push eax
lea eax, [ebp - 0x3c]
push str.Data_Controls
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0x84]
push dword [eax + 0x80]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x30]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
lea eax, [edi + edi*2]
shl eax, 4
add eax, 4
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x55144d
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x55144f
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.0058e7f0
add dword [ebp - 0x10], 0x30
dec edi
jne 0x55143c
jmp 0x55144f
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x134], ebx
cmp dword [esi + 0x30], edi
jbe 0x551480
xor ebx, ebx
mov ecx, dword [esi + 0x134]
lea eax, [ebp - 0x58]
push eax
add ecx, ebx
call fcn.00583c6d
test eax, eax
je 0x554159
inc edi
add ebx, 0x30
cmp edi, dword [esi + 0x30]
jb 0x55145e
mov eax, dword [ebp - 4]
add eax, 0x198
push eax
lea eax, [ebp - 0x3c]
push str.Data_ControlScripts
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0x8c]
push dword [eax + 0x88]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x34]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
mov eax, edi
imul eax, eax, 0x1c
add eax, 4
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x551521
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x551523
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.0058e7f0
add dword [ebp - 0x10], 0x1c
dec edi
jne 0x551510
jmp 0x551523
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x138], ebx
cmp dword [esi + 0x34], edi
jbe 0x551554
xor ebx, ebx
mov ecx, dword [esi + 0x138]
lea eax, [ebp - 0x58]
push eax
add ecx, ebx
call fcn.00566a41
test eax, eax
je 0x554159
inc edi
add ebx, 0x1c
cmp edi, dword [esi + 0x34]
jb 0x551532
mov eax, dword [ebp - 4]
add eax, 0x1b0
push eax
lea eax, [ebp - 0x3c]
push str.Data_Creatures
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0x94]
push dword [eax + 0x90]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x38]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
lea eax, [edi*8 + 4]
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x5515f4
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x5515f6
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.004febc9
add dword [ebp - 0x10], 8
dec edi
jne 0x5515e3
jmp 0x5515f6
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x13c], ebx
cmp dword [esi + 0x38], edi
jbe 0x551623
lea eax, [ebp - 0x58]
push eax
mov eax, dword [esi + 0x13c]
lea ecx, [eax + edi*8]
call fcn.00584950
test eax, eax
je 0x554159
inc edi
cmp edi, dword [esi + 0x38]
jb 0x551603
mov eax, dword [ebp - 4]
add eax, 0x1c8
push eax
lea eax, [ebp - 0x3c]
push str.Data_Cursors
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0x9c]
push dword [eax + 0x98]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x3c]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
mov eax, edi
imul eax, eax, 0x64
add eax, 4
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x5516c4
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x5516c6
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.005816c8
add dword [ebp - 0x10], 0x64
dec edi
jne 0x5516b3
jmp 0x5516c6
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x140], ebx
cmp dword [esi + 0x3c], edi
jbe 0x5516f7
xor ebx, ebx
mov ecx, ebx
lea eax, [ebp - 0x58]
add ecx, dword [esi + 0x140]
push eax
call fcn.00581714
test eax, eax
je 0x554159
inc edi
add ebx, 0x64
cmp edi, dword [esi + 0x3c]
jb 0x5516d5
mov eax, dword [ebp - 4]
add eax, 0x1e0
push eax
lea eax, [ebp - 0x3c]
push str.Data_Decals
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0xa4]
push dword [eax + 0xa0]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x40]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
mov eax, edi
imul eax, eax, 0x58
add eax, 4
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x551798
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x55179a
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.004febc9
add dword [ebp - 0x10], 0x58
dec edi
jne 0x551787
jmp 0x55179a
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x144], ebx
cmp dword [esi + 0x40], edi
jbe 0x5517cb
xor ebx, ebx
mov ecx, ebx
lea eax, [ebp - 0x58]
add ecx, dword [esi + 0x144]
push eax
call fcn.005808ab
test eax, eax
je 0x554159
inc edi
add ebx, 0x58
cmp edi, dword [esi + 0x40]
jb 0x5517a9
mov eax, dword [ebp - 4]
add eax, 0x1f8
push eax
lea eax, [ebp - 0x3c]
push str.Data_DialogueResources
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0xac]
push dword [eax + 0xa8]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x44]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
mov eax, edi
shl eax, 6
add eax, 4
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x55186c
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x55186e
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.0057eed8
add dword [ebp - 0x10], 0x40
dec edi
jne 0x55185b
jmp 0x55186e
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x148], ebx
cmp dword [esi + 0x44], edi
jbe 0x55189f
xor ebx, ebx
mov ecx, ebx
lea eax, [ebp - 0x58]
add ecx, dword [esi + 0x148]
push eax
call fcn.0057fbdf
test eax, eax
je 0x554159
inc edi
add ebx, 0x40
cmp edi, dword [esi + 0x44]
jb 0x55187d
mov eax, dword [ebp - 4]
add eax, 0x228
push eax
lea eax, [ebp - 0x3c]
push str.Data_Effects
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0xbc]
push dword [eax + 0xb8]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x48]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
lea eax, [edi + edi*8]
lea eax, [eax*8 + 4]
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x551942
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x551944
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.0057eed8
add dword [ebp - 0x10], 0x48
dec edi
jne 0x551931
jmp 0x551944
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x14c], ebx
cmp dword [esi + 0x48], edi
jbe 0x551975
xor ebx, ebx
mov ecx, ebx
lea eax, [ebp - 0x58]
add ecx, dword [esi + 0x14c]
push eax
call fcn.0057eeef
test eax, eax
je 0x554159
inc edi
add ebx, 0x48
cmp edi, dword [esi + 0x48]
jb 0x551953
mov eax, dword [ebp - 4]
add eax, 0x240
push eax
lea eax, [ebp - 0x3c]
push str.Data_ForestAlerts
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0xc4]
push dword [eax + 0xc0]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x4c]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
mov eax, edi
imul eax, eax, 0x2c
add eax, 4
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x551a16
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x551a18
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.0058e7f0
add dword [ebp - 0x10], 0x2c
dec edi
jne 0x551a05
jmp 0x551a18
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x150], ebx
cmp dword [esi + 0x4c], edi
jbe 0x551a49
xor ebx, ebx
mov ecx, ebx
lea eax, [ebp - 0x58]
add ecx, dword [esi + 0x150]
push eax
call fcn.0057e206
test eax, eax
je 0x554159
inc edi
add ebx, 0x2c
cmp edi, dword [esi + 0x4c]
jb 0x551a27
mov eax, dword [ebp - 4]
add eax, 0x258
push eax
lea eax, [ebp - 0x3c]
push str.Data_GameLOD
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0xcc]
push dword [eax + 0xc8]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x50]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
mov eax, edi
shl eax, 6
add eax, 4
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x551aea
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x551aec
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.0058e7f0
add dword [ebp - 0x10], 0x40
dec edi
jne 0x551ad9
jmp 0x551aec
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x154], ebx
cmp dword [esi + 0x50], edi
jbe 0x551b1d
xor ebx, ebx
mov ecx, ebx
lea eax, [ebp - 0x58]
add ecx, dword [esi + 0x154]
push eax
call fcn.0057d4d4
test eax, eax
je 0x554159
inc edi
add ebx, 0x40
cmp edi, dword [esi + 0x50]
jb 0x551afb
mov eax, dword [ebp - 4]
add eax, 0x270
push eax
lea eax, [ebp - 0x3c]
push str.Data_GameTriggers
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0xd4]
push dword [eax + 0xd0]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x54]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
mov eax, edi
imul eax, eax, 0x1c
add eax, 4
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x551bbe
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x551bc0
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.0058e7f0
add dword [ebp - 0x10], 0x1c
dec edi
jne 0x551bad
jmp 0x551bc0
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x158], ebx
cmp dword [esi + 0x54], edi
jbe 0x551bf1
xor ebx, ebx
mov ecx, dword [esi + 0x158]
lea eax, [ebp - 0x58]
push eax
add ecx, ebx
call fcn.00566a41
test eax, eax
je 0x554159
inc edi
add ebx, 0x1c
cmp edi, dword [esi + 0x54]
jb 0x551bcf
mov eax, dword [ebp - 4]
add eax, 0x288
push eax
lea eax, [ebp - 0x3c]
push str.Data_HorseSound
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0xdc]
push dword [eax + 0xd8]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x58]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
lea eax, [edi + edi*2]
lea eax, [eax*4 + 4]
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x551c94
mov dword [eax], edi
lea ebx, [eax + 4]
lea eax, [edi - 1]
mov dword [ebp - 0x10], ebx
test eax, eax
jl 0x551c96
lea edi, [eax + 1]
mov ecx, dword [ebp - 0x10]
call fcn.004febc9
add dword [ebp - 0x10], 0xc
dec edi
jne 0x551c83
jmp 0x551c96
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x15c], ebx
cmp dword [esi + 0x58], edi
jbe 0x551cc7
xor ebx, ebx
mov ecx, dword [esi + 0x15c]
lea eax, [ebp - 0x58]
push eax
add ecx, ebx
call fcn.00588261
test eax, eax
je 0x554159
inc edi
add ebx, 0xc
cmp edi, dword [esi + 0x58]
jb 0x551ca5
mov eax, dword [ebp - 4]
add eax, 0x2a0
push eax
lea eax, [ebp - 0x3c]
push str.Data_HotKeyGroups
push eax
call fcn.0066b0d0
pop ecx
pop ecx
mov ecx, eax
call fcn.0066c524
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.0066b24c
test edi, edi
jne 0x554159
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push dword [eax + 0xe4]
push dword [eax + 0xe0]
call fcn.006740b8
test eax, eax
je 0x554159
lea edi, [esi + 0x5c]
push 1
push 4
push edi
lea ecx, [ebp - 0x58]
call fcn.00673e23
test eax, eax
je 0x554159
mov edi, dword [edi]
lea eax, [edi*8 + 4]
push eax
call fcn.00668826
test eax, eax
pop ecx
je 0x551d67
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x554167
push 3
call fcn.0044ed7a
cmp dword [ebp - 0xc], 0
je 0x554176
push dword [ebp - 0xc]
call fcn.00668898
pop ecx
cmp dword [ebp + 8], 0
je 0x554185
push dword [ebp + 8]
call fcn.00668898
pop ecx
lea ecx, [ebp - 0x58]
call fcn.006744c1
mov ecx, esi
call fcn.005562c1
xor esi, esi
jmp 0x55543f
lea ecx, [ebp - 0x58]
call fcn.0067363a
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4