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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb9c
mov eax, dword [0x4874c8]
xor eax, esp
mov dword [esp + 0xb98], eax
push ebx
push esi
mov eax, 3
push edi
push 0xc4
mov ecx, 7
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x144]
mov ebx, 1
push 0
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 5
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], 2
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 0x57
mov dword [esp + 0x34], 0xa7
mov dword [esp + 0x38], 0xf7
mov dword [esp + 0x3c], 0x147
mov dword [esp + 0x40], 0x197
mov dword [esp + 0x44], 0x1e7
mov dword [esp + 0x48], 0x237
mov dword [esp + 0x4c], 0x287
mov dword [esp + 0x50], 0x2d7
call fcn.00454220
push 0xc4
lea ecx, [esp + 0x218]
push 0
push ecx
call fcn.00454220
push 0xc4
lea edx, [esp + 0x2ec]
push 0
push edx
call fcn.00454220
push 0xc4
lea eax, [esp + 0x3c0]
push 0
push eax
call fcn.00454220
push 0xc4
lea ecx, [esp + 0xac]
push 0
push ecx
call fcn.00454220
mov edx, dword [0x487174]
mov eax, dword [0x487170]
mov ecx, dword [0x178f6c4]
push edx
push eax
push ecx
lea edx, [esp + 0x188]
push edx
lea eax, [esp + 0x664]
push eax
call fcn.004453c0
mov edx, dword [0x487170]
add esp, 0x50
mov esi, eax
mov eax, dword [0x178f6c4]
mov ecx, 0x31
lea edi, [esp + 0x140]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x487174]
push ecx
push edx
push eax
lea ecx, [esp + 0x214]
push ecx
lea edx, [esp + 0x498]
push edx
call fcn.004453c0
mov ecx, 0x31
mov esi, eax
mov eax, dword [0x487174]
mov edx, dword [0x178f6c4]
push eax
lea edi, [esp + 0x220]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x487170]
push ecx
push edx
lea eax, [esp + 0x2f0]
push eax
lea ecx, [esp + 0x7cc]
push ecx
call fcn.004453c0
mov edx, dword [0x487174]
push edx
mov esi, eax
mov eax, dword [0x487170]
push eax
mov ecx, 0x31
lea edi, [esp + 0x300]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x178f6c4]
push ecx
lea edx, [esp + 0x3cc]
push edx
lea eax, [esp + 0x970]
push eax
call fcn.004453c0
mov edx, dword [0x487170]
mov esi, eax
mov eax, dword [0x178f6c4]
mov ecx, 0x31
lea edi, [esp + 0x3d4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x487174]
push ecx
push edx
push eax
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x59c]
push edx
call fcn.004453c0
add esp, 0x50
push 0
push 0
push 0
sub esp, 0xc4
mov esi, eax
mov eax, dword [0x487174]
mov ecx, 0x31
lea edi, [esp + 0x148]
rep movsd dword es:[edi], dword [esi]
mov edi, esp
push eax
mov ecx, 0x31
mov esi, 0x178f5f8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x487170]
push ecx
push 0
push 0
sub esp, 0xc4
mov ecx, 0x31
lea esi, [esp + 0x53c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00413710
add esp, 0xe0
mov edi, esp
lea edx, [esp + 0x7a4]
push str.Tank
mov ecx, 0x31
lea esi, [esp + 0x208]
push edx
mov dword [0x8a76a4], ebx
rep movsd dword es:[edi], dword [esi]
call fcn.00446850
mov ecx, 0x31
mov esi, eax
lea edi, [esp + 0x20c]
rep movsd dword es:[edi], dword [esi]
add esp, 8
mov edi, esp
lea eax, [esp + 0x934]
push str.TankC
mov ecx, 0x31
lea esi, [esp + 0x2d0]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00446850
mov esi, eax
add esp, 8
mov ecx, 0x31
lea edi, [esp + 0x2cc]
rep movsd dword es:[edi], dword [esi]
mov edi, esp
mov ecx, 0x31
lea esi, [esp + 0x394]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xb8c]
push str.TankS
push ecx
call fcn.00446850
mov esi, eax
add esp, 8
mov ecx, 0x31
lea edi, [esp + 0x394]
rep movsd dword es:[edi], dword [esi]
mov edi, esp
lea edx, [esp + 0xac4]
push str.TankM
mov ecx, 0x31
lea esi, [esp + 0x140]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.00446850
mov ecx, 0x31
mov esi, eax
lea edi, [esp + 0x144]
mov ebx, 0xa
add esp, 0xcc
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov dword [esp + 0xc], ebx
jmp 0x437190
lea eax, [esi + 1]
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xb98]
push 0x47a198
push eax
call fcn.00454348
lea ecx, [esp + 0xba0]
push ecx
call fcn.0042dc30
mov ecx, dword [esp + esi*4 + 0x58]
add esp, 0x10
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jl 0x437233
mov edx, dword [0x487174]
mov eax, dword [0x487170]
push ebx
push 0
push 0
sub esp, 0xc4
mov edi, esp
push 0
push 0
sub esp, 0xc4
mov ecx, 0x31
lea esi, [esp + 0x214]
rep movsd dword es:[edi], dword [esi]
mov edi, esp
push edx
push eax
push 0
push 0
mov ecx, 0x31
lea esi, [esp + 0x47c]
rep movsd dword es:[edi], dword [esi]
sub esp, 0xc4
mov ecx, 0x31
lea esi, [esp + 0x3b0]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00412190
add esp, 0x270
jmp 0x4372a5
test eax, eax
je 0x4372a5
fild dword [esp + 0x18]
fidiv dword [esp + 0x1c]
fmul qword [0x47a190]
call fcn.004546e0
mov ebx, dword [esp + esi*4 + 0x20]
push 0
mov edx, eax
neg edx
lea ecx, [edx + 0x1bf]
push ecx
push ebx
sub esp, 0xc4
mov edi, esp
push eax
push 0x43
add edx, 0x1c2
push edx
push ebx
mov ecx, 0x31
lea esi, [esp + 0x2e8]
rep movsd dword es:[edi], dword [esi]
sub esp, 0xc4
mov ecx, 0x31
lea esi, [esp + 0x2e4]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00413710
mov ebx, dword [esp + 0x1b0]
add esp, 0x1a4
mov esi, dword [esp + 0x14]
add ebx, 0xa
cmp ebx, 0x6e
mov dword [esp + 0xc], ebx
jl 0x437190
mov edx, dword [0x487174]
mov eax, dword [0x487170]
push 0
push 0
push 0
sub esp, 0xc4
mov edi, esp
push edx
push eax
push 0
push 0
mov ecx, 0x31
lea esi, [esp + 0x220]
rep movsd dword es:[edi], dword [esi]
sub esp, 0xc4
mov ecx, 0x31
mov esi, 0x178f6bc
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00413710
push 0
push 0
push 0x1f4
push 0x477800
push 5
call fcn.00415010
add esp, 0x1b8
lea ebx, [ebx]
mov edx, dword [0x487170]
push 0
push 0
push 0
sub esp, 0xc4
mov edi, esp
mov ecx, 0x31
lea esi, [esp + 0x210]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x487174]
push ecx
push edx
push 0
push 0
sub esp, 0xc4
mov ecx, 0x31
mov esi, 0x178f5f8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00413710
mov eax, dword [esp + 0x240]
mov ecx, dword [esp + 0x23c]
add esp, 0x1a4
push eax
push ecx
push 0
push 0
sub esp, 0xc4
mov ecx, 0x31
lea esi, [esp + 0x14c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00445b50
push eax
call fcn.0044b620
movzx ebx, al
add esp, 0xd8
cmp ebx, 0xa
jl 0x4373b9
cmp ebx, 0x64
jle 0x437484
cmp dword [esp + 0x10], ebx
je 0x4373db
mov edx, dword [0xf1e5e8]
push edx
push 0
push 0
push 7
push 1
push str.SYS_OV
call fcn.004445c0
add esp, 0x18
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x437448
mov eax, dword [0x487174]
push ebx
push 0
push 0
sub esp, 0xc4
mov edi, esp
push 0
push 0
sub esp, 0xc4
mov ecx, 0x31
lea esi, [esp + 0x214]
rep movsd dword es:[edi], dword [esi]
mov edi, esp
push eax
mov ecx, 0x31
lea esi, [esp + 0x3a8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x487170]
push ecx
push 0
push 0
sub esp, 0xc4
mov ecx, 0x31
mov esi, 0x178f5f8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00412190
add esp, 0x270
lea edx, [esp + 0x70]
push 0xffffffffffffffff
push edx
call fcn.004499a0
add esp, 8
cmp eax, 1
jne 0x437484
test ebx, ebx
je 0x43747b
mov eax, dword [0xf1e5e8]
push eax
push 0
push 0
push 7
push 1
push str.SYS_OK
call fcn.004445c0
add esp, 0x18
cmp ebx, 0x6e
je 0x437557
lea ecx, [esp + 0x70]
push ecx
call fcn.00449af0
add esp, 4
cmp eax, 1
je 0x437557
push 1
call dword [0x476080]
mov edx, dword [0x12f8a14]
cmp edx, 1
je 0x4374e6
mov eax, dword [0x487174]
push 0
push 0
sub esp, 0xc4
mov edi, esp
mov ecx, 0x31
mov esi, 0x178f5f8
push eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x487170]
push ecx
push 0
push 0
call fcn.00445240
add esp, 0xdc
jmp 0x437320
call fcn.00445b70
lea ecx, [esp + 0x140]
push ecx
call fcn.004467a0
lea edx, [esp + 0x20c]
push edx
call fcn.004467a0
lea eax, [esp + 0x2d8]
push eax
call fcn.004467a0
lea ecx, [esp + 0x3a4]
push ecx
call fcn.004467a0
lea edx, [esp + 0x88]
push edx
call fcn.004467a0
add esp, 0x14
xor eax, eax
mov ecx, dword [esp + 0xba4]
pop edi
pop esi
pop ebx
xor ecx, esp
mov dword [0x8a76a4], 0
mov byte [0x8a76a8], 1
call fcn.004541b4
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x140]
push edx
call fcn.004467a0
lea eax, [esp + 0x20c]
push eax
call fcn.004467a0
lea ecx, [esp + 0x2d8]
push ecx
call fcn.004467a0
lea edx, [esp + 0x3a4]
push edx
call fcn.004467a0
lea eax, [esp + 0x88]
push eax
call fcn.004467a0
add esp, 0x14
mov eax, 1
jmp 0x437531