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

Disassembly:
sub esp, 0x48c
mov eax, dword [0x45a220]
xor eax, esp
mov dword [esp + 0x488], eax
push ebx
mov ebx, dword [esp + 0x498]
push esi
mov esi, dword [esp + 0x498]
test esi, esi
jne 0x438732
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x488]
xor ecx, esp
call fcn.0044bf41
add esp, 0x48c
ret
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
push ebp
push edi
test ebx, ebx
je 0x438afb
mov edi, ebx
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x438750
sub edi, ecx
je 0x438afb
mov eax, dword [esi + 0x5c]
mov ebp, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test eax, eax
je 0x438779
push eax
call ebp
add esp, 4
mov dword [esi + 0x5c], 0
push 0x2f
push 0x5c
push edi
push ebx
call fcn.0043a1b0
mov ecx, eax
add esp, 0x10
mov dword [esi + 0x5c], ecx
test ecx, ecx
je 0x438afb
cmp dword [esi + 0x14], 1
jne 0x43885d
mov eax, dword [esp + 0x4a8]
neg eax
sbb eax, eax
and eax, 0x100
push eax
push 0
push ecx
push esi
call fcn.004322c0
add esp, 0x10
mov dword [esi + 0x58], eax
test eax, eax
jns 0x4387cc
mov edi, 0xfffffffd
jmp 0x438ae3
lea ecx, [esp + 0x24]
push ecx
push eax
push esi
call fcn.00431db0
add esp, 0xc
test eax, eax
jne 0x4387e7
lea edi, [eax - 3]
jmp 0x438ae3
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x64]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esi + 0xa0], eax
mov ax, word [esp + 0x3a]
mov dword [esi + 0x64], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x7c], ecx
mov ecx, dword [esp + 0x68]
mov word [esi + 0xa8], ax
mov eax, dword [esp + 0x60]
mov dword [esi + 0xa4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x4e008], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x4e010], eax
mov dword [esi + 0x4e014], ecx
xor eax, eax
jmp 0x438b00
mov edx, dword [esi + 0x50]
xorps xmm0, xmm0
mov eax, dword [esi + 0x10]
and edx, 0xf
mov ecx, dword [esi + 4]
mov dword [esi + 0x58], eax
mov eax, dword [esi]
mov dword [esi + 0x78], eax
mov dword [esi + 0xa0], eax
mov dword [esp + 0x20], edx
neg edx
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
sbb eax, eax
mov dword [esi + 0x60], 0
and eax, 8
mov dword [esi + 0x64], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x7c], ecx
mov dword [esi + 0xa4], ecx
movups xmmword [esi + 0x80], xmm0
push esi
movq qword [esi + 0x90], xmm0
mov dword [esi + 0x98], 0
mov word [esi + 0x9c], 0
mov word [esi + 0xa8], ax
mov dword [esi + 0x4e008], 0
call fcn.004338d0
add esp, 4
mov ebp, eax
cmp dword [esi + 0x48], 0
je 0x438ad8
cmp dword [esi + 0x14], 2
jne 0x438ad8
test dword [esi + 0x50], 0x400
je 0x438916
mov edi, 0xfffffffb
jmp 0x438add
push ebp
push dword [esi + 0x7c]
push dword [esi + 0x78]
push esi
call fcn.00434770
add esp, 0x10
test eax, eax
jne 0x438932
lea edi, [eax - 7]
jmp 0x438add
add dword [esp + 0x10], ebp
push 0
adc dword [esp + 0x18], 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov dword [esi + 0x4e010], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
mov dword [esi + 0x4e014], edx
push eax
push edx
push dword [esi + 0x4e010]
call fcn.00433390
add esp, 0x14
cmp dword [esp + 0x14], 0
ja 0x43897a
cmp dword [esp + 0x10], 0xffffffff
jae 0x43897a
xor eax, eax
jmp 0x43897e
lea eax, [esp + 0x10]
push eax
push 0
lea eax, [esp + 0x484]
push 0
push eax
call fcn.00433b50
push dword [esp + 0x28]
movzx ecx, word [esi + 0xa8]
mov ebx, eax
push dword [esp + 0x30]
lea eax, [esi + 0x80]
push 0x808
push ecx
push 0
push 0
push 0
push 0
push 0
push ebx
push edi
push eax
push esi
call fcn.00433a50
add esp, 0x44
test eax, eax
jne 0x4389cf
lea edi, [eax - 7]
jmp 0x438add
mov eax, dword [esi + 0x7c]
lea edx, [esi + 0x80]
mov ecx, ebp
add ecx, dword [esi + 0x78]
push 0x1e
adc eax, 0
mov dword [esi + 0xa0], ecx
push edx
push eax
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0x3c]
push ecx
push dword [esi + 0x44]
call eax
add esp, 0x14
cmp eax, 0x1e
je 0x438a0b
mov edi, 0xfffffff9
jmp 0x438add
push edi
push dword [esi + 0x5c]
lea eax, [ebp + 0x1e]
add dword [esi + 0x78], eax
adc dword [esi + 0x7c], 0
push dword [esi + 0x7c]
mov eax, dword [esi + 0x3c]
push dword [esi + 0x78]
push dword [esi + 0x44]
call eax
add esp, 0x14
cmp eax, edi
je 0x438a38
mov edi, 0xfffffff8
jmp 0x438add
add dword [esi + 0x78], edi
lea eax, [esp + 0x47c]
push ebx
adc dword [esi + 0x7c], 0
push eax
push dword [esi + 0x7c]
mov eax, dword [esi + 0x3c]
push dword [esi + 0x78]
push dword [esi + 0x44]
call eax
add esp, 0x14
cmp eax, ebx
je 0x438a64
mov edi, 0xfffffff8
jmp 0x438add
add ebx, dword [esi + 0x78]
mov eax, 0
mov ecx, dword [esp + 0x20]
adc eax, dword [esi + 0x7c]
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], eax
test ecx, ecx
je 0x438856
push 0
push 0xfffffffffffffff1
lea edi, [esi + 0xb0]
mov dword [esi + 0xb8], ebx
mov dword [edi], esi
push ecx
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
call fcn.00435cf0
push eax
push edi
lea eax, [esi + 0xc8]
push 0x433420
push eax
call fcn.00436350
add esp, 0x1c
test eax, eax
je 0x438856
mov edi, 0xfffffff7
jmp 0x438add
mov edi, 0xfffffffc
mov ebp, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x438af7
push eax
call ebp
add esp, 4
mov dword [esi + 0x5c], 0
mov eax, edi
jmp 0x438b00
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x498]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.0044bf41
add esp, 0x48c
ret