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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov ebx, ecx
mov ecx, dword [esp + 0x98]
mov esi, edx
mov edx, dword [esp + 0x94]
mov edi, dword [esp + 0x90]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], esi
cmp ecx, 0x21
jb 0x527e41
mov ebx, ecx
mov ebp, edi
shr ebx, 1
sub ebp, ebx
jae 0x528219
mov ebp, edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 0
add ebp, ecx
jb 0x528217
test ebp, ebp
mov ebx, 0
mov dword [esp], 0
jne 0x528712
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x1c], ebx
jmp 0x528005
test ecx, ecx
je 0x528217
mov esi, dword [edx]
lea eax, [edi*4]
test edi, edi
mov dword [esp + 4], 0
mov dword [esp + 8], 4
mov dword [esp + 0xc], 0
mov dword [esp + 0x24], eax
jne 0x528791
xor edi, edi
mov ebp, 4
lea eax, [ebp + edi*4]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push eax
call fcn.005cc950
add esp, 0xc
mov eax, edi
add eax, dword [esp + 0x90]
jb 0x528217
mov ecx, dword [esp + 0x98]
mov dword [esp + 0xc], eax
je 0x527f16
mov ecx, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp], eax
lea ecx, [ecx + edi*4]
xor edi, edi
nop dword [eax]
mov eax, esi
mul dword [ebp + ebx]
add eax, edi
mov edi, edx
adc edi, 0
mov dword [ebp + ebx], eax
add ebx, 4
cmp ecx, ebx
jne 0x527ec0
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x98]
mov eax, dword [esp]
test edi, edi
je 0x527f16
cmp eax, dword [esp + 4]
jne 0x527f07
lea ecx, [esp + 4]
call fcn.0051e7e0
mov eax, dword [esp]
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 8]
mov dword [ebp + eax*4], edi
inc eax
je 0x528217
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x90]
mov eax, dword [esp + 0xc]
movsd xmm0, qword [esp + 4]
mov ebp, edi
mov dword [esp + 0x1c], eax
movsd qword [esp + 0x14], xmm0
add ebp, ecx
jb 0x528217
mov esi, dword [esp + 0x1c]
mov eax, ebp
sub ebp, esi
jbe 0x527fba
mov eax, dword [esp + 0x14]
sub eax, esi
cmp eax, ebp
jb 0x5287ad
mov edx, dword [esp + 0x18]
cmp ebp, 2
lea eax, [edx + esi*4]
jb 0x527fab
mov ebx, esi
lea edi, [ebp - 2]
mov dword [esp], edx
not ebx
mov ecx, edi
cmp ebx, edi
cmovb ecx, ebx
lea ecx, [ecx*4 + 4]
push ecx
push 0
push eax
call fcn.005cced0
add esp, 0xc
cmp edi, ebx
jae 0x528217
mov ecx, dword [esp]
lea eax, [esi + ebp]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x90]
lea esi, [esi + ebp - 1]
lea eax, [ecx + eax*4 - 4]
mov ecx, dword [esp + 0x98]
inc esi
mov dword [eax], 0
je 0x528217
mov eax, esi
cmp ecx, 1
mov dword [esp + 0x1c], eax
je 0x5280ab
mov ebp, dword [esp + 0x94]
xor ebx, ebx
lea eax, [ebp + ecx*4]
add ebp, 4
mov dword [esp + 0x2c], eax
jmp 0x528145
shl eax, 2
push 4
push eax
push ebp
call fcn.0049c910
add esp, 0xc
mov ecx, dword [esp + 0x10]
lea ebp, [esi + edi*4]
mov esi, dword [esp + 0x28]
sub ecx, edi
mov edi, dword [esp + 0x90]
je 0x528052
cmp ecx, edi
mov eax, edi
mov dword [esp + 0x10], ecx
mov edx, esi
cmovb edi, ecx
lea ecx, [esp + 4]
push edi
mov esi, ebp
push ebp
push eax
call fcn.00527dc0
add esp, 0xc
mov ebp, dword [esp + 8]
mov ebx, dword [esp]
lea ecx, [esp + 0x14]
mov edx, ebp
push ebx
push dword [esp + 0x10]
call fcn.00527c20
add esp, 8
add ebx, edi
mov dword [esp], ebx
jb 0x528217
mov eax, dword [esp + 4]
test eax, eax
jne 0x527fe0
jmp 0x527fef
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
test eax, eax
je 0x52806d
mov ecx, dword [esp + 0x18]
cmp dword [ecx + eax*4 - 4], 0
je 0x528084
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x14]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
jmp 0x5280cf
xor eax, eax
jmp 0x528069
dec eax
mov edx, eax
nop word [eax + eax]
sub edx, 1
jb 0x528080
cmp dword [ecx + eax*4 - 4], 0
mov eax, edx
je 0x528090
inc edx
mov eax, edx
jmp 0x528069
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
test eax, eax
je 0x5280be
mov ecx, dword [esp + 0x18]
cmp dword [ecx + eax*4 - 4], 0
je 0x5280db
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x14]
mov dword [ebx + 8], eax
movsd qword [ebx], xmm0
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x5280ba
dec eax
mov edx, eax
nop
sub edx, 1
jb 0x5280d7
cmp dword [ecx + eax*4 - 4], 0
mov eax, edx
je 0x5280e0
inc edx
mov eax, edx
jmp 0x5280ba
mov ebp, dword [esp]
xor eax, eax
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
lea ecx, [esp + 0x14]
mov edx, esi
inc ebx
push ebx
push eax
call fcn.00527c20
add esp, 8
test edi, edi
je 0x528131
shl edi, 2
push 4
push edi
push esi
call fcn.0049c910
add esp, 0xc
add ebp, 4
mov edi, dword [esp + 0x90]
cmp ebp, dword [esp + 0x2c]
je 0x5280a3
mov dword [esp], ebp
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebx
test edi, edi
mov esi, 4
mov ebx, 0
mov dword [esp + 4], 0
mov dword [esp + 8], 4
mov dword [esp + 0xc], 0
jne 0x5281fb
lea eax, [esi + ebx*4]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push eax
call fcn.005cc950
add esp, 0xc
mov eax, ebx
add eax, edi
jb 0x528217
mov dword [esp + 0xc], eax
je 0x528100
mov ecx, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x20], eax
lea ecx, [ecx + ebx*4]
xor ebx, ebx
mov eax, ebp
mul dword [esi + edi]
add eax, ebx
mov ebx, edx
adc ebx, 0
mov dword [esi + edi], eax
add edi, 4
cmp ecx, edi
jne 0x5281b0
mov ebp, dword [esp]
mov eax, dword [esp + 0x20]
test ebx, ebx
je 0x528105
cmp eax, dword [esp + 4]
jne 0x5281ec
lea ecx, [esp + 4]
call fcn.0051e7e0
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 8]
mov dword [esi + eax*4], ebx
inc eax
je 0x528217
mov esi, dword [esp + 8]
jmp 0x528105
lea ecx, [esp + 4]
xor edx, edx
push edi
call fcn.00722710
add esp, 4
mov esi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
jmp 0x528179
ud2
lea eax, [ebx*4]
mov dword [esp + 4], 0
mov dword [esp + 8], 4
mov dword [esp + 0xc], 0
lea ecx, [esp + 4]
xor edx, edx
mov dword [esp], eax
push ebx
call fcn.00722710
add esp, 4
mov edi, dword [esp + 0xc]
lea eax, [edi*4]
add eax, dword [esp + 8]
push dword [esp]
push esi
push eax
call fcn.005cc950
add esp, 0xc
add edi, ebx
jb 0x528217
lea edx, [esi + ebx*4]
mov dword [esp + 0xc], edi
lea ecx, [esp + 4]
mov dword [esp + 0x10], edx
push 0
push ebp
call fcn.00527c20
add esp, 8
mov eax, dword [esp + 4]
mov edi, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 8], 4
mov dword [esp + 0xc], 0
xor edx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], edi
lea ecx, [esp + 4]
push ebx
call fcn.00722710
add esp, 4
mov esi, ebx
mov ebx, dword [esp + 0xc]
lea eax, [ebx*4]
add eax, dword [esp + 8]
push dword [esp]
mov ecx, dword [esp + 0x98]
push ecx
push eax
call fcn.005cc950
add esp, 0xc
add ebx, esi
jb 0x528217
mov edi, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc], ebx
lea ecx, [esp + 4]
sub edi, esi
lea edx, [eax + esi*4]
mov dword [esp], edx
push 0
push edi
call fcn.00527c20
add esp, 8
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x58]
push esi
push dword [esp + 0x98]
mov dword [esp + 0x34], esi
push esi
call fcn.00527dc0
add esp, 0xc
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x64]
push dword [esp + 0x20]
mov dword [esp + 0x50], ebx
push ebx
push dword [esp + 0x2c]
call fcn.00527dc0
add esp, 0xc
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x70]
push edi
push dword [esp + 4]
push ebp
call fcn.00527dc0
add esp, 0xc
mov ebx, dword [esp + 0x78]
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x74]
mov eax, dword [esp + 0x68]
cmp edi, ebx
mov ecx, ebx
mov dword [esp], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebp
cmovb ecx, edi
test ecx, ecx
mov dword [esp + 0x10], ecx
je 0x528456
mov dword [esp + 0x20], edi
mov edi, dword [esp]
xor edx, edx
xor ecx, ecx
jmp 0x5283d7
mov eax, dword [esp]
dec ebp
cmp esi, ebx
setbe dl
mov dword [eax + ecx*4], ebp
inc ecx
mov ebp, dword [esp + 0x28]
cmp dword [esp + 0x10], ecx
je 0x5283f1
mov esi, dword [edi + ecx*4]
mov ebx, dword [ebp + ecx*4]
mov ebp, esi
sub ebp, ebx
setb al
test dl, 1
mov dword [edi + ecx*4], ebp
mov edx, eax
je 0x5283cc
jmp 0x5283c0
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
test dl, dl
je 0x528456
cmp edi, ebx
jbe 0x528217
mov eax, dword [esp]
lea ecx, [ebx + 1]
mov edx, dword [esp + 0x2c]
sub dword [eax + ebx*4], 1
setb al
cmp ecx, edi
setb cl
and cl, al
cmp cl, 1
jne 0x528436
mov ecx, dword [esp]
lea eax, [ebx + 2]
sub dword [ecx + eax*4 - 4], 1
jae 0x528436
cmp eax, edi
lea eax, [eax + 1]
jb 0x528428
mov eax, dword [esp]
cmp dword [eax + edi*4 - 4], 0
jne 0x528487
mov ecx, dword [esp]
dec edi
mov eax, edi
sub eax, 1
jb 0x528485
cmp dword [ecx + edi*4 - 4], 0
mov edi, eax
je 0x528446
jmp 0x52847c
test edi, edi
je 0x528481
mov eax, dword [esp]
mov edx, dword [esp + 0x2c]
cmp dword [eax + edi*4 - 4], 0
jne 0x528487
mov ecx, dword [esp]
dec edi
mov eax, edi
sub eax, 1
jb 0x528485
cmp dword [ecx + edi*4 - 4], 0
mov edi, eax
je 0x52846e
inc eax
mov edi, eax
jmp 0x528487
mov edx, dword [esp + 0x2c]
xor edi, edi
mov eax, dword [esp + 0x60]
cmp edi, eax
mov dword [esp + 0x34], eax
cmovb eax, edi
test eax, eax
mov dword [esp + 0x10], eax
je 0x528568
mov eax, dword [esp + 0x5c]
xor ebx, ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
xor eax, eax
jmp 0x5284d3
mov edx, dword [esp]
dec ebp
cmp edi, esi
setbe bl
mov dword [edx + eax*4], ebp
inc eax
cmp dword [esp + 0x10], eax
je 0x5284f3
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + eax*4]
mov ecx, dword [esp]
mov edi, dword [ecx + eax*4]
mov ebp, edi
sub ebp, esi
setb dl
test bl, 1
mov dword [ecx + eax*4], ebp
mov ebx, edx
je 0x5284cc
jmp 0x5284c0
test bl, bl
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
je 0x528568
cmp edi, ecx
jbe 0x528217
mov eax, dword [esp]
sub dword [eax + ecx*4], 1
mov ecx, dword [esp + 0x98]
jae 0x528548
mov eax, dword [esp + 0x34]
inc eax
cmp eax, edi
jae 0x528548
mov eax, dword [esp + 0x34]
mov esi, dword [esp]
mov edi, dword [esp + 0x20]
add eax, 2
sub dword [esi + eax*4 - 4], 1
jae 0x528548
cmp eax, edi
lea eax, [eax + 1]
jb 0x52853a
mov eax, dword [esp]
cmp dword [eax + edi*4 - 4], 0
jne 0x5285a6
mov esi, dword [esp]
dec edi
mov eax, edi
sub eax, 1
jb 0x5285a4
cmp dword [esi + edi*4 - 4], 0
mov edi, eax
je 0x528558
jmp 0x528591
test edi, edi
je 0x52859d
mov eax, dword [esp]
mov ecx, dword [esp + 0x98]
cmp dword [eax + edi*4 - 4], 0
jne 0x5285a6
mov esi, dword [esp]
dec edi
mov eax, edi
sub eax, 1
jb 0x5285a4
cmp dword [esi + edi*4 - 4], 0
mov edi, eax
je 0x528583
inc eax
mov edi, eax
jmp 0x5285a6
xor ecx, ecx
jmp 0x528632
mov ecx, dword [esp + 0x98]
xor edi, edi
add edx, edi
jb 0x528217
and ecx, 0xfffffffe
mov eax, ecx
add eax, ebx
jb 0x528217
mov esi, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x58]
mov dword [esp + 0x10], ecx
cmp esi, edx
movsd qword [esp + 0x40], xmm0
cmova edx, esi
cmp edx, eax
cmovbe edx, eax
mov eax, dword [esp + 0x60]
mov ebx, edx
sub edx, eax
mov dword [esp + 0x48], eax
jb 0x528217
mov ecx, dword [esp + 0x40]
mov esi, ecx
sub esi, eax
cmp esi, edx
mov esi, edi
jae 0x528661
add eax, edx
jb 0x5287cc
xor edx, edx
cmp ebx, 0x20000000
lea eax, [ebx*4]
setb dl
shl edx, 2
test ecx, ecx
je 0x528596
mov esi, dword [esp + 0x44]
shl ecx, 2
mov dword [esp + 4], esi
mov dword [esp + 0xc], ecx
mov ecx, 4
lea esi, [esp + 4]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x14]
push esi
push eax
call fcn.0051e760
add esp, 8
cmp dword [esp + 0x14], 1
je 0x5287d0
mov eax, dword [esp + 0x18]
mov esi, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebx
mov edx, dword [esp]
lea edi, [esp + 0x40]
mov ecx, edi
push dword [esp + 0x2c]
push esi
call fcn.00527c20
add esp, 8
mov ecx, edi
mov edx, ebp
push dword [esp + 0x10]
push dword [esp + 0x3c]
call fcn.00527c20
add esp, 8
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x40]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x70]
movsd qword [ecx], xmm0
test eax, eax
je 0x5286b7
shl eax, 2
push 4
push eax
push ebp
call fcn.0049c910
add esp, 0xc
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x3c]
test eax, eax
je 0x5286d5
shl eax, 2
push 4
push eax
push dword [esp + 8]
call fcn.0049c910
add esp, 0xc
mov eax, dword [esp + 0x50]
test eax, eax
je 0x5286ef
shl eax, 2
push 4
push eax
push dword [esp + 0x54]
call fcn.0049c910
add esp, 0xc
mov eax, dword [esp + 0x54]
test eax, eax
je 0x5280cf
shl eax, 2
push 4
push eax
push esi
call fcn.0049c910
add esp, 0x88
jmp 0x5280d2
lea ecx, [esp + 0x14]
xor edx, edx
push ebp
call fcn.00722710
add esp, 4
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
cmp ebp, 1
lea eax, [ecx + ebx*4]
je 0x528774
mov esi, ebx
not ebx
lea edi, [ebp - 2]
mov dword [esp + 0x10], ecx
cmp ebx, edi
mov ecx, edi
cmovb ecx, ebx
lea ecx, [ecx*4 + 4]
push ecx
push 0
push eax
call fcn.005cced0
add esp, 0xc
cmp edi, ebx
jae 0x528217
mov ecx, dword [esp + 0x10]
lea eax, [esi + ebp]
mov edi, dword [esp + 0x90]
lea ebx, [esi + ebp - 1]
lea eax, [ecx + eax*4 - 4]
mov ecx, dword [esp + 0x98]
inc ebx
mov dword [eax], 0
je 0x528217
mov esi, dword [esp + 0x28]
jmp 0x527e31
lea ecx, [esp + 4]
xor edx, edx
push edi
call fcn.00722710
add esp, 4
mov ebp, dword [esp + 8]
mov edi, dword [esp + 0xc]
jmp 0x527e7d
lea ecx, [esp + 0x14]
mov edx, esi
push ebp
call fcn.00722710
mov ecx, dword [esp + 0x9c]
add esp, 4
mov esi, dword [esp + 0x1c]
jmp 0x527f53
xor eax, eax
jmp 0x5287d8
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call fcn.00749a40
int3