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

Disassembly:
sub esp, 0x48c
mov eax, dword [0x470d10]
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 0x438872
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x488]
xor ecx, esp
call fcn.0045f421
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 0x438c3b
mov edi, ebx
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x438890
sub edi, ecx
je 0x438c3b
mov eax, dword [esi + 0x5c]
mov ebp, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test eax, eax
je 0x4388b9
push eax
call ebp
add esp, 4
mov dword [esi + 0x5c], 0
push 0x2f
push 0x5c
push edi
push ebx
call fcn.0043a2a0
mov ecx, eax
add esp, 0x10
mov dword [esi + 0x5c], ecx
test ecx, ecx
je 0x438c3b
cmp dword [esi + 0x14], 1
jne 0x43899d
mov eax, dword [esp + 0x4a8]
neg eax
sbb eax, eax
and eax, 0x100
push eax
push 0
push ecx
push esi
call fcn.00432400
add esp, 0x10
mov dword [esi + 0x58], eax
test eax, eax
jns 0x43890c
mov edi, 0xfffffffd
jmp 0x438c23
lea ecx, [esp + 0x24]
push ecx
push eax
push esi
call fcn.00431ef0
add esp, 0xc
test eax, eax
jne 0x438927
lea edi, [eax - 3]
jmp 0x438c23
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 0x438c40
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.00433a10
add esp, 4
mov ebp, eax
cmp dword [esi + 0x48], 0
je 0x438c18
cmp dword [esi + 0x14], 2
jne 0x438c18
test dword [esi + 0x50], 0x400
je 0x438a56
mov edi, 0xfffffffb
jmp 0x438c1d
push ebp
push dword [esi + 0x7c]
push dword [esi + 0x78]
push esi
call fcn.004348b0
add esp, 0x10
test eax, eax
jne 0x438a72
lea edi, [eax - 7]
jmp 0x438c1d
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.004334d0
add esp, 0x14
cmp dword [esp + 0x14], 0
ja 0x438aba
cmp dword [esp + 0x10], 0xffffffff
jae 0x438aba
xor eax, eax
jmp 0x438abe
lea eax, [esp + 0x10]
push eax
push 0
lea eax, [esp + 0x484]
push 0
push eax
call fcn.00433c90
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.00433b90
add esp, 0x44
test eax, eax
jne 0x438b0f
lea edi, [eax - 7]
jmp 0x438c1d
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 0x438b4b
mov edi, 0xfffffff9
jmp 0x438c1d
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 0x438b78
mov edi, 0xfffffff8
jmp 0x438c1d
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 0x438ba4
mov edi, 0xfffffff8
jmp 0x438c1d
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 0x438996
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.00435e30
push eax
push edi
lea eax, [esi + 0xc8]
push 0x433560
push eax
call fcn.00436490
add esp, 0x1c
test eax, eax
je 0x438996
mov edi, 0xfffffff7
jmp 0x438c1d
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 0x438c37
push eax
call ebp
add esp, 4
mov dword [esi + 0x5c], 0
mov eax, edi
jmp 0x438c40
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x498]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.0045f421
add esp, 0x48c
ret