Function at 0x437cd0
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7f20
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x230
mov eax, dword [0x4fc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x240], esi
push esi
call fcn.004201e0
mov ecx, eax
call fcn.004202c0
test al, al
je 0x438070
push 0x214
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.0047ebc0
add esp, 0xc
lea eax, [ebp - 0x223]
push 0x200
push 0
push eax
call fcn.0047ebc0
xor eax, eax
mov dword [ebp - 0x230], 0
add esp, 0xc
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 1
mov byte [ebp - 0x224], 0
mov dword [ebp - 0x22], eax
push str.tx_loading_uia.eap
push str.tx_loading_ui
mov dword [ebp - 4], eax
call fcn.0043add0
mov ecx, eax
call fcn.0043b1a0
mov word [ebp - 0x22], ax
test ax, ax
je 0x437e2a
push 0
push str.tx_caution
call fcn.0043add0
mov ecx, eax
call fcn.0043b1a0
mov word [ebp - 0x20], ax
test ax, ax
jne 0x437ddd
push dword [ebp - 0x22]
call fcn.0043add0
mov ecx, eax
call fcn.0043af50
xor eax, eax
mov word [ebp - 0x22], ax
jmp 0x437e2a
lea eax, [ebp - 0x230]
mov byte [ebp - 0x224], 0
push eax
push 0
push eax
push 0x423e20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x22c], eax
test eax, eax
jne 0x437e35
push dword [ebp - 0x22]
call fcn.0043add0
mov ecx, eax
call fcn.0043af50
push dword [ebp - 0x20]
call fcn.0043add0
mov ecx, eax
call fcn.0043af50
xor eax, eax
mov dword [ebp - 0x22], eax
push str._thread_call_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movzx eax, word [0x4fe454]
movzx edi, word [0x4fe456]
mov dword [ebp - 0x23c], eax
call fcn.004201e0
push esi
mov ecx, eax
mov dword [ebp - 0x238], eax
call fcn.004202c0
test al, al
je 0x438039
mov ecx, dword [ebp - 0x238]
push esi
push edi
push dword [ebp - 0x23c]
call fcn.00420450
test al, al
je 0x438039
push esi
push ecx
push edi
push dword [ebp - 0x23c]
call fcn.004204f0
mov ecx, eax
call fcn.00420720
test al, al
je 0x438039
mov esi, dword [ebp - 0x238]
push edi
push dword [ebp - 0x23c]
lea ecx, [esi + 4]
call fcn.00432320
movss xmm1, dword [esi + 0x3c]
mov eax, esi
movss xmm5, dword [esi + 4]
movaps xmm0, xmm1
mulss xmm0, dword [0x4f3c8c]
movss xmm4, dword [esi + 8]
movss dword [esi + 0x40], xmm0
movaps xmm0, xmm5
divss xmm0, xmm1
movss dword [esi + 0x34], xmm0
movaps xmm0, xmm4
divss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
xorps xmm0, xmmword [0x4f4580]
mulss xmm1, dword [0x4f3c94]
movss dword [esi + 0x38], xmm0
divss xmm4, xmm1
divss xmm5, xmm1
xorps xmm4, xmmword [0x4f4580]
movaps xmm0, xmm1
mulss xmm0, dword [0x4f3c8c]
movss dword [esi + 0x24], xmm1
movss dword [esi + 0x1c], xmm5
movss dword [esi + 0x28], xmm0
movss dword [esi + 0x20], xmm4
mov byte [eax + 1], 1
call fcn.004288e0
push ecx
mov edi, eax
push str.aibstl.rpc
mov ecx, edi
call fcn.00452060
test al, al
je 0x438039
mov ecx, dword [edi + 0x8c]
xor dl, dl
xor esi, esi
mov dword [edi + 0x94], ecx
mov byte [ebp - 0x231], dl
test ecx, ecx
je 0x437fab
nop dword [eax + eax]
movzx eax, si
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x238]
push eax
movzx eax, dl
add eax, 0x13
lea ecx, [edi + eax*8]
call fcn.00429650
mov al, byte [ebp - 0x231]
inc esi
inc al
cmp al, 5
sbb dl, dl
and dl, al
mov byte [ebp - 0x231], dl
cmp esi, dword [edi + 0x94]
jb 0x437f70
call fcn.00480a90
cdq
mov ecx, 5
idiv ecx
push dword [ebp - 0x240]
mov ecx, edi
mov byte [edi + 0xc0], dl
call fcn.00428db0
test al, al
je 0x438039
call fcn.0041c1a0
mov esi, eax
movzx ecx, word [esi]
push ecx
call fcn.0043add0
mov ecx, eax
call fcn.0043af50
xor eax, eax
lea edi, [esi + 0xc]
mov word [esi], ax
movzx eax, word [edi]
push eax
call fcn.0043add0
mov ecx, eax
call fcn.0043af50
xor eax, eax
push str.tx_ui_framea
push str.tx_ui_frame
mov word [edi], ax
call fcn.0043add0
mov ecx, eax
call fcn.0043b1a0
mov word [esi], ax
test ax, ax
jne 0x43808e
push str.ui_frame_load_failed
push 0x200
push dword [ebp - 0x240]
call fcn.00483128
add esp, 0xc
mov eax, dword [ebp - 0x22c]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 0x231], 0
mov cx, word [ebp - 0x228]
mov byte [ebp - 0x224], 1
mov word [ebp - 0x226], cx
test eax, eax
je 0x43806a
push 0xffffffffffffffff
push eax
call esi
mov al, byte [ebp - 0x231]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047d312
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [ebp - 0x240]
mov ecx, edi
push esi
call fcn.0041c6e0
test al, al
je 0x438039
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x502d74]
cmp eax, dword [ecx + 4]
jle 0x438109
push 0x502d74
call fcn.0047d453
add esp, 4
cmp dword [0x502d74], 0xffffffff
jne 0x438109
movaps xmm0, xmmword [0x4f44c0]
xor eax, eax
push 0x4c83f0
mov dword [0x502d54], eax
mov dword [0x502d60], eax
mov dword [0x502d58], eax
mov dword [0x502d5c], eax
movups xmmword [0x502d64], xmm0
call fcn.0047d765
add esp, 4
push 0x502d74
call fcn.0047d409
add esp, 4
push esi
mov ecx, 0x502d54
call fcn.0041b980
test al, al
je 0x438039
call fcn.00420dc0
xor esi, esi
xor ecx, ecx
movzx edx, word [eax + 0x40]
cmp si, dx
jae 0x438159
mov esi, dword [eax + 0x44]
mov edi, 0x50
nop word [eax + eax]
movzx eax, cx
imul eax, eax, 0x82
cmp di, word [eax + esi]
je 0x438442
inc ecx
cmp cx, dx
jb 0x438140
xor eax, eax
push eax
push 1
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
call fcn.00420dc0
xor esi, esi
xor ecx, ecx
movzx edx, word [eax + 0x40]
cmp si, dx
jae 0x4381a9
mov esi, dword [eax + 0x44]
mov edi, 0x51
nop dword [eax]
nop dword [eax + eax]
movzx eax, cx
imul eax, eax, 0x82
cmp di, word [eax + esi]
je 0x43844c
inc ecx
cmp cx, dx
jb 0x438190
xor eax, eax
push eax
push 0
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
call fcn.00420dc0
xor esi, esi
xor ecx, ecx
movzx edx, word [eax + 0x40]
cmp si, dx
jae 0x4381f9
mov esi, dword [eax + 0x44]
mov edi, 0x52
nop dword [eax]
nop dword [eax + eax]
movzx eax, cx
imul eax, eax, 0x82
cmp di, word [eax + esi]
je 0x438456
inc ecx
cmp cx, dx
jb 0x4381e0
xor eax, eax
push eax
push 2
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_hit00
push 3
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_hit01
push 4
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_hit02
push 5
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_pdam
push 0x12
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_baku
push 0x13
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_baku01
push 0x14
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_mshot
push 6
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_roundly
push 7
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_u_turn
push 8
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_missile
push 9
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_pipi
push 0xa
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_vulcan
push 0xb
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_vulcan
push 0xc
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_reflex
push 0xd
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_reflex_wall
push 0xe
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_shot01
push 0xf
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_howitzer
push 0x10
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_spread2
push 0x11
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_levelup
push 0x15
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_lvup_ok
push 0x16
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_newitem
push 0x1b
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_venbuy
push 0x1c
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_nc51745
push 0x1d
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_me_win
push 0x17
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_me_defeat
push 0x18
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_result_step
push 0x19
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
push str.se_result_close
push 0x1a
call fcn.00423ed0
mov ecx, eax
call fcn.00424400
mov ax, word [ebp - 0x228]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov word [ebp - 0x226], ax
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x438436
push 0xffffffffffffffff
push eax
call esi
xor eax, eax
mov dword [ebp - 0x22c], eax
mov byte [ebp - 0x231], 1
jmp 0x43804c
add eax, 2
add eax, esi
jmp 0x43815b
add eax, 2
add eax, esi
jmp 0x4381ab
add eax, 2
add eax, esi
jmp 0x4381fb