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

Disassembly:
sub esp, 0x48
mov eax, dword [0x45a210]
xor eax, esp
mov dword [esp + 0x44], eax
push ebp
push esi
mov esi, dword [esp + 0x54]
xor ebp, ebp
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
test esi, esi
jne 0x438fae
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0044c1d1
add esp, 0x48
ret
cmp dword [esi + 0x14], 1
je 0x4391a1
test byte [esi + 0x50], 0xf
push edi
je 0x43901e
push 4
push 0
lea eax, [esi + 0xc8]
push 0x44e7b8
push eax
call fcn.004346a0
add esp, 0x10
cmp eax, 1
je 0x438fea
test eax, eax
je 0x438fea
mov ebp, 0xfffffff4
jmp 0x4391a0
mov eax, dword [esi + 0xc0]
lea edi, [esi + 0x68]
mov ecx, dword [esi + 0xc4]
mov dword [edi], eax
mov eax, dword [esi + 0xb8]
mov dword [esi + 0x78], eax
mov eax, 8
mov dword [edi + 4], ecx
mov ecx, dword [esi + 0xbc]
mov dword [esi + 0x7c], ecx
mov word [esi + 0xa8], ax
jmp 0x439021
lea edi, [esi + 0x68]
mov ecx, dword [esi + 0x5c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439027
sub ecx, edx
movzx eax, cx
push ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x4e014]
push dword [esi + 0x4e010]
call fcn.00432fa0
lea eax, [esp + 0x30]
push 0x8074b50
push eax
call fcn.004301a0
push dword [esi + 0x70]
lea eax, [esp + 0x40]
push eax
call fcn.004301a0
push dword [edi + 4]
lea eax, [esp + 0x4c]
push dword [edi]
push eax
call fcn.004301d0
push dword [esi + 0x64]
lea eax, [esp + 0x60]
push dword [esi + 0x60]
push eax
call fcn.004301d0
push 0x18
lea eax, [esp + 0x5c]
push eax
push dword [esi + 0x7c]
mov eax, dword [esi + 0x3c]
push dword [esi + 0x78]
push dword [esi + 0x44]
call eax
add esp, 0x4c
cmp eax, 0x18
je 0x4390b5
mov ebp, 0xfffffff2
jmp 0x43919f
add dword [esi + 0x78], 0x18
adc dword [esi + 0x7c], ebp
cmp dword [esi + 0xa4], ebp
ja 0x4390d1
cmp dword [esi + 0xa0], 0xffffffff
jae 0x4390d1
xor edx, edx
jmp 0x4390d7
lea edx, [esi + 0xa0]
cmp dword [edi + 4], ebp
ja 0x4390e5
cmp dword [edi], 0xffffffff
jae 0x4390e5
xor ecx, ecx
jmp 0x4390e7
mov ecx, edi
cmp dword [esi + 0x64], ebp
ja 0x4390f6
cmp dword [esi + 0x60], 0xffffffff
jae 0x4390f6
xor eax, eax
jmp 0x4390f9
lea eax, [esi + 0x60]
push edx
push ecx
push eax
lea eax, [esp + 0x44]
push eax
call fcn.00433760
mov edx, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x1c], eax
test dx, dx
je 0x439132
mov eax, dword [esi + 0x5c]
movzx ecx, dx
cmp byte [ecx + eax - 1], 0x2f
jne 0x439132
mov eax, dword [esi + 0x60]
or eax, dword [esi + 0x64]
jne 0x439132
or dword [esi + 0x4e008], 0x10
push 0
push 0
push dword [esi + 0x4e008]
movzx eax, word [esi + 0xa8]
push dword [esi + 0xa4]
push dword [esi + 0xa0]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push 0x808
push eax
push dword [esi + 0x70]
lea eax, [esp + 0x60]
push dword [edi + 4]
push dword [edi]
push dword [esi + 0x64]
push dword [esi + 0x60]
push 0
push 0x44e7b8
push dword [esp + 0x5c]
push eax
push edx
push dword [esi + 0x5c]
push esi
call fcn.00433080
add esp, 0x54
test eax, eax
jne 0x439191
lea ebp, [eax - 0xf]
jmp 0x43919f
inc dword [esi + 0x10]
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x7c]
mov dword [esi], eax
mov dword [esi + 4], ecx
pop ebx
pop edi
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x4e010], 0
mov dword [esi + 0x4e014], 0
test ecx, ecx
je 0x4391cd
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x5c], 0
mov ecx, dword [esp + 0x4c]
mov eax, ebp
pop esi
pop ebp
xor ecx, esp
call fcn.0044c1d1
add esp, 0x48
ret