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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x529364
sub esp, 0x74
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x7c]
lea edi, [esp + 0x80]
xor eax, eax
call fcn.004522a3
lea edi, [esp + 0x80]
xor eax, eax
call fcn.004522a3
cmp ecx, 0
jl 0x52931f
mov ebx, dword [esp + 0x78]
mov ebp, dword [ebx + 0x28]
cmp ecx, ebp
jge 0x52931f
mov ebx, dword [esp + 0x78]
mov ebp, ecx
mov esi, dword [ebx + 0x28]
cmp ecx, esi
jae 0x529318
mov esi, dword [ebx + 0x24]
imul ebp, ebp, 0xc
add esi, ebp
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 4]
xor ebx, ebx
xor ebp, ebp
cmp eax, ebp
jne 0x529306
xor eax, eax
mov ecx, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x94], eax
mov ebx, dword [esp + 0x14]
cmp ebx, 0
je 0x5292ff
mov ebp, dword [ebx]
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x18], ebp
xor ebx, ebx
cmp ebp, ebx
jne 0x5292a1
mov edx, dword [esp + 0x54]
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x60], eax
cmp eax, 0
je 0x529229
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov ebx, dword [esp + 0x14]
cmp ebx, 0
je 0x529222
mov ebx, dword [ebx]
mov dword [esp + 0x1c], ebx
movzx ebx, byte [ebx]
and ebx, 1
cmp bl, 0
jne 0x529218
xor eax, eax
cmp al, 0
jne 0x52913a
mov ebx, dword [esp + 0x78]
cmp ebx, 0
je 0x529211
mov ebp, dword [ebx + 0x20]
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x20], ebp
xor ebx, ebx
cmp ebp, ebx
jne 0x5291b3
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x88], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x14]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
call fcn.00525ae0
mov edx, dword [esp + 4]
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
cmp eax, 0
je 0x52916c
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov ebx, dword [esp + 0x14]
mov ebp, dword [ebx + 8]
mov dword [esp + 0xa0], ebp
mov dword [esp], 0x5b6400
call fcn.0040dd70
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x7c]
mov dword [eax], ecx
mov edx, 1
mov ecx, 1
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ecx
add esp, 0x74
ret
mov eax, ebp
lea ebx, [esp + 0x4c]
mov edx, ebx
mov dword [esp + 0x2c], ebp
cmp ebp, 0
je 0x52920c
add ebp, 3
mov dword [esp + 0x24], ebx
cmp ebx, 0
je 0x529208
cmp byte [0x6cfdd8], 0
jne 0x5291f2
mov dword [ebx], ebp
movzx esi, byte [eax + 1]
mov ebx, esi
shl ebx, 8
movzx esi, byte [eax + 2]
or ebx, esi
mov dword [edx + 4], ebx
jmp 0x529124
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040e740
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
jmp 0x5291db
mov dword [ebx], eax
jmp 0x5291d0
mov dword [ebp], eax
jmp 0x5291c4
mov dword [ebx], eax
jmp 0x529109
mov eax, 1
jmp 0x5290f7
mov dword [ebx], eax
jmp 0x5290e0
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x48], eax
mov dword [esp], eax
mov dword [esp + 0x44], ecx
mov ebx, dword [ecx + 0x54]
call ebx
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 4]
cmp ebx, 0x16
jne 0x52929f
mov dword [esp], ecx
mov ebx, dword [edx + 0x2c]
call ebx
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov dword [esp], ecx
mov dword [esp + 0x44], edx
mov ebx, dword [edx + 0x64]
call ebx
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, 1
mov byte [esp + 0xb0], al
jmp 0x5290d3
jmp 0x529268
mov ecx, ebp
lea ebx, [esp + 0x54]
mov edi, ebx
mov dword [esp + 0x30], ebp
cmp ebp, 0
je 0x5292fa
add ebp, 3
mov dword [esp + 0x28], ebx
cmp ebx, 0
je 0x5292f6
cmp byte [0x6cfdd8], 0
jne 0x5292e0
mov dword [ebx], ebp
movzx esi, byte [ecx + 1]
mov ebx, esi
shl ebx, 8
movzx esi, byte [ecx + 2]
or ebx, esi
mov dword [edi + 4], ebx
jmp 0x5290ac
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0040e740
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
jmp 0x5292c9
mov dword [ebx], eax
jmp 0x5292be
mov dword [ebp], eax
jmp 0x5292b2
mov dword [ebx], eax
jmp 0x529092
mov ecx, 0x6aaea0
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
jmp 0x52906f
call fcn.00427bf0
ud2
mov ebx, 0x5f769b
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 0x22
mov dword [esp], 0x5bd2c0
lea ebx, [esp + 0x6c]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.0040ae60
lea ebx, [esp + 0xc]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
call fcn.004291d0
ud2
call fcn.004501c0
jmp fcn.00528fe0