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

Disassembly:
sub esp, 0x16c
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x168], eax
mov ecx, dword [esp + 0x174]
mov eax, dword [esp + 0x170]
push ebx
push ebp
push esi
push edi
push str.Type_tOff__tLevel_tRunning_tName_r_n____________________________________________________________________r_n
push ecx
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
call fcn.004e6440
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ebp, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
xor ebx, ebx
lea edi, [edx + eax*2]
mov eax, dword [0x62271c]
lea esi, [eax*4]
mov dword [esp + 0x24], esi
mov ecx, dword fs:[0x2c]
mov dword [esp + 0x18], ebx
mov eax, dword [esi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x43a3d3
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + ecx]
mov eax, dword [ecx + 0x884]
movzx eax, word [eax]
cmp ebx, eax
jge 0x43a601
mov eax, dword [ecx + 0x84c]
mov ecx, dword [esp + 0x1c]
mov esi, dword [eax + ebx*4]
mov eax, edi
sub eax, edx
xor edx, edx
sar eax, 1
sub ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x43a430
nop dword [eax]
movzx eax, byte [ecx + 0x1a]
mov ecx, dword [ecx + 0xc]
add edx, eax
test ecx, ecx
jne 0x43a410
test edx, edx
je 0x43a430
push 0xa
lea eax, [esp + 0x7c]
push eax
push edx
call ebp
add esp, 0xc
jmp 0x43a437
xor eax, eax
mov word [esp + 0x78], ax
movzx eax, byte [esi + 0x12]
cmp eax, 4
ja case.default.0x43a440
jmp dword [eax*4 + 0x43a61c]
mov dword [esp + 0x38], 0x650072
mov dword [esp + 0x3c], 0x67
jmp 0x43a4c4
mov eax, dword [0x4f95f8]
movq xmm0, qword [str.k_hook]
mov dword [esp + 0x40], eax
mov ax, word [0x4f95fc]
movq qword [esp + 0x38], xmm0
mov word [esp + 0x44], ax
jmp 0x43a4c4
mov eax, dword [0x4f9608]
movq xmm0, qword [str.m_hook]
mov dword [esp + 0x40], eax
mov ax, word [0x4f960c]
movq qword [esp + 0x38], xmm0
mov word [esp + 0x44], ax
jmp 0x43a4c4
movups xmm0, xmmword [str.2_hooks]
movups xmmword [esp + 0x38], xmm0
jmp 0x43a4c4
movups xmm0, xmmword [str.joypoll]
movups xmmword [esp + 0x38], xmm0
jmp 0x43a4c4
xor eax, eax
mov word [esp + 0x38], ax
cmp word [esi + 6], 0
je 0x43a4db
cmp byte [esi + 0x19], 0
je 0x43a4ef
mov dword [esp + 0x10], 0x4f5b70
jmp 0x43a4f7
mov eax, dword [esi + 0x20]
test eax, eax
je 0x43a4ef
cmp byte [eax + 0x20], 0
jne 0x43a548
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x43a4e2
mov dword [esp + 0x10], 0x4f9630
mov edx, dword [esi + 0x20]
or eax, 0xffffffff
mov ecx, 0x64
test edx, edx
je 0x43a580
mov ebx, 0x64
or ebp, 0xffffffff
nop
movzx eax, byte [edx + 0x1c]
mov edx, dword [edx + 0xc]
cmp ebx, eax
mov ecx, eax
cmovle ecx, ebx
cmp ebp, eax
mov ebx, ecx
cmovge eax, ebp
mov ebp, eax
test edx, edx
jne 0x43a510
mov ebp, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
cmp ecx, eax
jne 0x43a580
test ecx, ecx
je 0x43a577
push 0xa
lea eax, [esp + 0x2c]
push eax
push ecx
call ebp
add esp, 0xc
jmp 0x43a594
mov eax, dword [esi + 0x20]
nop dword [eax + eax]
cmp byte [eax + 0x20], 0
je 0x43a56a
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x43a550
mov edx, dword [esi + 0x20]
mov dword [esp + 0x10], 0x4f5b70
jmp 0x43a506
mov edx, dword [esi + 0x20]
mov dword [esp + 0x10], str.PART
jmp 0x43a506
xor eax, eax
mov word [esp + 0x28], ax
jmp 0x43a594
push eax
push ecx
lea eax, [esp + 0x30]
push str._i__i
push eax
call fcn.0043c2f0
add esp, 0x10
cmp byte [esi + 0x12], 0
jne 0x43a5a5
cmp byte [esi + 0x18], 0
mov eax, str._no_
je 0x43a5aa
mov eax, 0x4f5b70
push dword [esi + 0x1c]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x30]
push ecx
push dword [esp + 0x1c]
push eax
lea eax, [esp + 0x4c]
push eax
push str._s_s_t_s_t_s_t_s_t_s
push esi
push edi
call fcn.004e6440
add eax, eax
add esp, 0x24
add edi, eax
sar eax, 1
sub esi, eax
cmp esi, 2
jl 0x43a5ef
mov dword [edi], 0xa000d
add edi, 4
xor eax, eax
mov word [edi], ax
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
inc ebx
mov edx, dword [esp + 0x14]
jmp 0x43a3ac
mov ecx, dword [esp + 0x178]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ebadf
add esp, 0x16c
ret