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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x52d23c
sub esp, 0x64
mov eax, dword [esp + 0x84]
lea ecx, [eax + 1]
mov dword [esp], ecx
call fcn.00527320
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov edx, dword [eax]
mov dword [esp + 0x5c], edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
mov edi, dword [esi + ebp*4 - 4]
mov dword [esp + 0x28], edi
mov dword [esp], edi
call fcn.005210c0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x84]
mov edx, eax
sub eax, ecx
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 4]
mov dword [esp + 0x2c], ebx
mov ebp, eax
jmp 0x52cfc1
dec eax
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x40]
test eax, eax
jl 0x52d1e4
lea esi, [ecx + eax]
mov dword [esp + 0x54], esi
cmp edx, esi
jle 0x52cfdd
mov edi, dword [esp + 0x74]
mov esi, dword [edi + esi*4]
jmp 0x52cfe3
mov edi, dword [esp + 0x74]
xor esi, esi
mov dword [esp + 0x44], eax
mov ebp, dword [esp + 0x28]
cmp esi, ebp
jne 0x52cff6
mov esi, 0xffffffff
jmp 0x52d057
lea edx, [eax + ecx - 1]
mov edx, dword [edi + edx*4]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call fcn.00520f90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov ebx, dword [edx + ecx*4 - 8]
mov ebp, eax
mov eax, ebx
mul ebp
mov edi, dword [esp + 0x14]
nop
mov esi, dword [esp + 0x44]
lea esi, [esi + ecx - 2]
mov ecx, dword [esp + 0x74]
mov esi, dword [ecx + esi*4]
nop
nop
jmp 0x52d217
mov edx, dword [esp + 0x28]
mov eax, ebp
mov ecx, dword [esp + 0x84]
mov esi, eax
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
call fcn.0052e4d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x5c]
mov dword [edx + ecx*4], eax
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x34]
lea esi, [ebp + ebx]
mov edi, dword [esp + 0x78]
cmp edi, esi
jge 0x52d0c8
test eax, eax
jne 0x52d0c8
lea eax, [ebp - 1]
jmp 0x52d0ca
mov eax, ebp
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x7c]
sub ecx, ebx
mov dword [esp + 0x4c], ecx
neg ecx
sar ecx, 0x1f
shl ebx, 2
and ecx, ebx
mov ebx, dword [esp + 0x74]
add ecx, ebx
mov dword [esp + 0x60], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov esi, dword [esp + 0x4c]
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x44]
sub edi, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x20], ebp
call fcn.0052e390
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x52d13f
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x74]
mov esi, dword [esp + 0x50]
jmp 0x52d1b3
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x20], edx
call fcn.0052e350
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x30]
cmp ecx, edx
jge 0x52d1a8
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x74]
add dword [ebx + edx*4], eax
jmp 0x52d1ac
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x50]
lea esi, [eax - 1]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
cmp eax, edx
jne 0x52d1d4
mov ebp, dword [esp + 0x6c]
cmp ebp, edx
jne 0x52d1d8
test esi, esi
jne 0x52d1d8
mov edi, dword [esp + 0x68]
jmp 0x52cfb4
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
mov dword [edi + eax*4], esi
jmp 0x52cfb4
lea eax, [0xa1dbe0]
mov dword [esp], eax
lea eax, [0x6b4d00]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
call fcn.00466bc0
add esp, 0x64
ret
mov dword [esp + 0x3c], eax
mul ebx
nop
nop
nop
mov edi, ebp
mov ebp, dword [esp + 0x3c]
cmp edi, edx
jb 0x52d229
jne 0x52d048
cmp eax, esi
jbe 0x52d048
lea eax, [ebp - 1]
mov edx, dword [esp + 0x28]
lea ebp, [edi + edx]
cmp edi, ebp
jbe 0x52d208
jmp 0x52d04e
call fcn.0045e260
jmp fcn.0052cf30