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

Disassembly:
sub esp, 0x48c
mov eax, dword [0x45a210]
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 0x438342
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x488]
xor ecx, esp
call fcn.0044c1d1
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 0x43870b
mov edi, ebx
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x438360
sub edi, ecx
je 0x43870b
mov eax, dword [esi + 0x5c]
mov ebp, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test eax, eax
je 0x438389
push eax
call ebp
add esp, 4
mov dword [esi + 0x5c], 0
push 0x2f
push 0x5c
push edi
push ebx
call fcn.00439d70
mov ecx, eax
add esp, 0x10
mov dword [esi + 0x5c], ecx
test ecx, ecx
je 0x43870b
cmp dword [esi + 0x14], 1
jne 0x43846d
mov eax, dword [esp + 0x4a8]
neg eax
sbb eax, eax
and eax, 0x100
push eax
push 0
push ecx
push esi
call fcn.00431ed0
add esp, 0x10
mov dword [esi + 0x58], eax
test eax, eax
jns 0x4383dc
mov edi, 0xfffffffd
jmp 0x4386f3
lea ecx, [esp + 0x24]
push ecx
push eax
push esi
call fcn.004319c0
add esp, 0xc
test eax, eax
jne 0x4383f7
lea edi, [eax - 3]
jmp 0x4386f3
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 0x438710
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.004334e0
add esp, 4
mov ebp, eax
cmp dword [esi + 0x48], 0
je 0x4386e8
cmp dword [esi + 0x14], 2
jne 0x4386e8
test dword [esi + 0x50], 0x400
je 0x438526
mov edi, 0xfffffffb
jmp 0x4386ed
push ebp
push dword [esi + 0x7c]
push dword [esi + 0x78]
push esi
call fcn.00434380
add esp, 0x10
test eax, eax
jne 0x438542
lea edi, [eax - 7]
jmp 0x4386ed
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.00432fa0
add esp, 0x14
cmp dword [esp + 0x14], 0
ja 0x43858a
cmp dword [esp + 0x10], 0xffffffff
jae 0x43858a
xor eax, eax
jmp 0x43858e
lea eax, [esp + 0x10]
push eax
push 0
lea eax, [esp + 0x484]
push 0
push eax
call fcn.00433760
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.00433660
add esp, 0x44
test eax, eax
jne 0x4385df
lea edi, [eax - 7]
jmp 0x4386ed
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 0x43861b
mov edi, 0xfffffff9
jmp 0x4386ed
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 0x438648
mov edi, 0xfffffff8
jmp 0x4386ed
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 0x438674
mov edi, 0xfffffff8
jmp 0x4386ed
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 0x438466
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.00435900
push eax
push edi
lea eax, [esi + 0xc8]
push 0x433030
push eax
call fcn.00435f60
add esp, 0x1c
test eax, eax
je 0x438466
mov edi, 0xfffffff7
jmp 0x4386ed
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 0x438707
push eax
call ebp
add esp, 4
mov dword [esi + 0x5c], 0
mov eax, edi
jmp 0x438710
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x498]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.0044c1d1
add esp, 0x48c
ret