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

Disassembly:
cmp dword [esp + 0xc], 0
push esi
push edi
mov esi, ecx
je 0x5329ae
mov edi, dword [esp + 0x18]
test edi, edi
je 0x5329ae
cmp byte [esi + 0xc], 0
je 0x5326a1
cmp byte [esi + 0xd], 0
jne 0x5326a1
pop edi
mov eax, 1
pop esi
ret 0x14
push ebx
push 0x10000
lea ecx, [esi + 0x10]
mov byte [esi + 0xd], 0
call fcn.0041366f
test al, al
je 0x5329a3
push 0x100000
lea ecx, [esi + 0x40]
call fcn.0040ff7f
test al, al
je 0x5329a3
mov eax, dword [edi]
lea ecx, [esi + 0x10]
mov edx, dword [edi + 4]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x24], eax
movzx eax, byte [esi + 0xc]
push eax
mov dword [esi + 0x6c], edx
call fcn.0052eff0
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0x40]
mov dword [esi + 0x4c], eax
call fcn.0040ffcb
mov dword [esi + 0x38], 0x20
mov dword [esi + 0x3c], 0
nop dword [eax]
mov eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x44]
jb 0x532724
lea ecx, [esi + 0x40]
call fcn.00410050
mov dl, al
jmp 0x53272a
mov dl, byte [eax]
inc eax
mov dword [esi + 0x40], eax
mov ecx, dword [esi + 0x3c]
add dword [esi + 0x38], 0xfffffff8
shl ecx, 8
movzx eax, dl
or ecx, eax
cmp dword [esi + 0x38], 8
mov dword [esi + 0x3c], ecx
jae 0x532710
cmp byte [esi + 0xc], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov byte [esi + 0xe], 0
mov dword [esi + 0xb0], 0
jne 0x5328a6
mov dword [esi + 0xa8], 0
lea edx, [esi + 0x14c0]
mov dword [esi + 0xac], 0
xor edi, edi
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x94], 0x3500
mov dword [esi + 0xbc], 0x2001
mov dword [esi + 0xb8], 0x80
mov dword [esi + 0xb4], 0x80
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x70], 0
mov eax, edi
mov dword [edx + 0x400], edi
neg eax
mov dword [edx], edi
movzx ecx, al
lea edx, [edx + 4]
mov eax, edi
mov dword [edx - 0x404], edi
mov dword [edx + 0x7fc], ecx
shl eax, 8
mov dword [edx - 0x1004], edi
inc edi
shl ecx, 8
mov dword [edx - 0xc04], eax
mov dword [edx - 0x1404], eax
mov dword [edx - 0x804], ecx
cmp edi, 0x100
jb 0x532814
push 0x400
lea eax, [esi + 0x20c0]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x400
lea edi, [esi + 0x24c0]
push 0
push edi
call sub.msvcrt.dll_memset
push 0x400
lea eax, [esi + 0x28c0]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x24
lea eax, [esi + 0x8c0]
mov ecx, esi
push edi
push eax
call fcn.00532aa0
cmp dword [esi + 0x6c], 0
ja 0x5328b2
cmp dword [esi + 0x68], 0
jbe 0x5328c3
mov ecx, esi
call fcn.00532c30
mov dword [esi + 0x8c], 8
mov eax, dword [esi + 0x68]
or eax, dword [esi + 0x6c]
je 0x532991
nop
cmp byte [esi + 0xe], 0
jne 0x53297a
add dword [esi + 0x8c], 0xffffffff
mov edx, dword [esi + 0x8c]
jns 0x5328ff
mov ecx, esi
call fcn.00532c30
mov dword [esi + 0x8c], 7
mov edx, 7
mov ecx, dword [esi + 0x90]
lea eax, [ecx + ecx]
mov dword [esi + 0x90], eax
test cl, cl
jns 0x532929
mov eax, dword [esi + 0xb8]
cmp eax, dword [esi + 0xb4]
jbe 0x53297a
mov ecx, esi
call fcn.00532ec0
jmp 0x532981
lea eax, [edx - 1]
mov dword [esi + 0x8c], eax
test eax, eax
jns 0x532947
mov ecx, esi
call fcn.00532c30
mov dword [esi + 0x8c], 7
mov ecx, dword [esi + 0x90]
lea eax, [ecx + ecx]
mov dword [esi + 0x90], eax
test cl, cl
js 0x532963
mov ecx, esi
call fcn.00533420
jmp 0x532981
mov eax, dword [esi + 0xb8]
cmp eax, dword [esi + 0xb4]
ja 0x53297a
mov ecx, esi
call fcn.00532ec0
jmp 0x532981
mov ecx, esi
call fcn.00532ce0
test eax, eax
jne 0x53299d
mov eax, dword [esi + 0x68]
or eax, dword [esi + 0x6c]
jne 0x5328d0
lea ecx, [esi + 0x10]
mov byte [esi + 0xd], 1
call fcn.004136ac
pop ebx
pop edi
pop esi
ret 0x14
pop ebx
pop edi
mov eax, 0x8007000e
pop esi
ret 0x14
pop edi
mov eax, 0x80070057
pop esi
ret 0x14