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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x52bd6d
sub esp, 0x9c
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x52b8f5
mov eax, dword [esp + 0xc8]
dec eax
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa0]
xor ebp, ebp
xor esi, esi
xor edi, edi
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0xa4]
jmp 0x52bc65
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0xb8]
cmp ebp, 0xa
je 0x52ba41
jmp 0x52b931
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ebx, eax
mov eax, dword [esp + 0x74]
test ecx, ecx
je 0x52b9bf
mov dword [esp + 0x5c], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x18], eax
call fcn.0052c800
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0xb8]
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0xac]
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x88]
jmp 0x52ba1c
mov edx, dword [esp + 0x74]
jmp 0x52b923
mov ecx, dword [esp + 0xac]
jmp 0x52b9ce
mov byte [eax + ecx - 1], 0x30
dec eax
test eax, eax
jg 0x52b9c8
add esp, 0x9c
ret
mov eax, ebx
xor edx, edx
div ebp
lea eax, [0x6cb9ed]
movzx edx, byte [eax + edx]
mov eax, dword [esp + 0x74]
mov byte [eax + edi - 1], dl
lea edx, [ecx + 1]
mov ecx, edx
lea edx, [eax - 1]
mov dword [esp + 0x74], edx
mov eax, ebx
xor edx, edx
div ebp
mov edx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x50], ecx
mov ebx, eax
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x50]
cmp esi, ecx
jle 0x52b9b6
mov edx, dword [esp + 0x74]
test edx, edx
jle 0x52b923
test ebp, ebp
jne 0x52b9d9
call fcn.00432570
mov ecx, dword [esp + 0x7c]
mov ebx, eax
mov eax, edi
test ecx, ecx
je 0x52b9bf
mov dword [esp + 0x5c], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x18], eax
call fcn.0052c800
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0xbc]
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x80]
jmp 0x52baec
mov eax, 0xcccccccd
mul ebx
shr edx, 3
lea eax, [edx + edx*4]
shl eax, 1
sub ebx, eax
lea eax, [ebx + 0x30]
mov byte [edi + esi - 1], al
lea eax, [ecx + 1]
dec edi
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x54], eax
mov ebx, edx
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x54]
cmp ebp, ecx
jle 0x52ba39
test edi, edi
jg 0x52babb
jmp 0x52ba39
mov dword [esp + 0x58], eax
lea ecx, [eax + eax*4]
mov dword [esp + 0x6c], ecx
mov ebx, dword [edx + ecx*4 + 4]
mov ebp, dword [edx + ecx*4 + 8]
mov esi, dword [edx + ecx*4]
mov edi, dword [esp + 0x98]
mov dword [esp], edi
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
call fcn.0052c4a0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x90], ebp
mov esi, dword [esp + 0x40]
mov dword [esp + 0x48], esi
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0xc4]
mov edi, dword [eax + edi*4 + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x7c]
sub ecx, edi
mov dword [esp + 0x60], ecx
mov edi, dword [esp + 0xb4]
sub edi, ecx
mov dword [esp + 0x6c], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, ecx
mov edx, dword [esp + 0xac]
add edi, edx
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x7c]
sub edi, ecx
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x18], edi
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x58]
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x2c], eax
call fcn.0052b890
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x58]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x58]
cmp dword [0x9e73d0], ecx
jge 0x52bd31
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x98], ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x58], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00527460
mov eax, dword [esp + 0xc]
mov ecx, eax
sar eax, 1
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x58]
jmp 0x52bd3b
lea eax, [ebx + ebx*4]
lea ebp, [edx + eax*4 + 0xc]
cmp dword [ebp], ecx
jge 0x52bccb
xor eax, eax
jmp 0x52bd19
mov dword [esp + 0x70], ebx
mov ecx, dword [edx + eax*4]
mov ebx, dword [edx + eax*4 + 4]
mov eax, dword [edx + eax*4 + 8]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], ebx
call fcn.005250d0
mov eax, dword [esp + 0x18]
test eax, eax
setge al
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x70]
test al, al
je 0x52bd2a
lea eax, [ebx - 1]
test eax, eax
jge 0x52bb01
jmp 0x52bd54
mov eax, ebx
jmp 0x52bb01
mov eax, dword [esp + 0x7c]
jmp 0x52b911
dec ebx
test ebx, ebx
jle 0x52bcbb
lea ebp, [ebx + ebx*4]
lea ebp, [edx + ebp*4 - 8]
cmp dword [ebp], eax
jg 0x52bd3a
jmp 0x52bcbb
lea eax, [0x67e720]
mov dword [esp], eax
lea eax, [0x894e50]
mov dword [esp + 4], eax
call fcn.00433690
nop
call fcn.0045e260
jmp fcn.0052b890