Function at 0x525500
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 0x5259dd
sub esp, 0x9c
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x525565
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 0x5258d5
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 0x5256b1
jmp 0x5255a1
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ebx, eax
mov eax, dword [esp + 0x74]
test ecx, ecx
je 0x52562f
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.00526470
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 0x52568c
mov edx, dword [esp + 0x74]
jmp 0x525593
mov ecx, dword [esp + 0xac]
jmp 0x52563e
mov byte [eax + ecx - 1], 0x30
dec eax
test eax, eax
jg 0x525638
add esp, 0x9c
ret
mov eax, ebx
xor edx, edx
div ebp
lea eax, [0x6853b1]
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 0x525626
mov edx, dword [esp + 0x74]
test edx, edx
jle 0x525593
test ebp, ebp
jne 0x525649
call fcn.00432350
mov ecx, dword [esp + 0x7c]
mov ebx, eax
mov eax, edi
test ecx, ecx
je 0x52562f
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.00526470
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 0x52575c
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 0x5256a9
test edi, edi
jg 0x52572b
jmp 0x5256a9
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.00526110
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.00525500
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 [0x808268], ecx
jge 0x5259a1
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.005210d0
mov eax, dword [esp + 0xc]
mov ecx, eax
sar eax, 1
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x58]
jmp 0x5259ab
lea eax, [ebx + ebx*4]
lea ebp, [edx + eax*4 + 0xc]
cmp dword [ebp], ecx
jge 0x52593b
xor eax, eax
jmp 0x525989
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.0051ed40
mov eax, dword [esp + 0x18]
test eax, eax
setge al
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x70]
test al, al
je 0x52599a
lea eax, [ebx - 1]
test eax, eax
jge 0x525771
jmp 0x5259c4
mov eax, ebx
jmp 0x525771
mov eax, dword [esp + 0x7c]
jmp 0x525581
dec ebx
test ebx, ebx
jle 0x52592b
lea ebp, [ebx + ebx*4]
lea ebp, [edx + ebp*4 - 8]
cmp dword [ebp], eax
jg 0x5259aa
jmp 0x52592b
lea eax, [0x63eda0]
mov dword [esp], eax
lea eax, [0x6d29a0]
mov dword [esp + 4], eax
call fcn.00433470
nop
call fcn.0045dbb0
jmp fcn.00525500