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

Disassembly:
sub esp, 0x78
push edi
mov edi, dword [esp + 0x80]
mov eax, dword [edi + 0x3c]
test eax, eax
mov dword [esp + 0x28], ecx
jbe 0x52cf86
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
push esi
xor esi, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov edi, edi
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + esi + 0x58]
mov dword [esp + 0x3c], ecx
mov ecx, eax
add ecx, esi
call fcn.00526f60
mov ecx, dword [edi + 0x38]
mov ebx, eax
add ecx, esi
mov dword [esp + 0x68], ebx
call fcn.00529700
mov edx, dword [edi + 0x38]
fld dword [esi + edx + 0x5c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x60]
fild dword [eax + 0x60]
test ecx, ecx
jge 0x52ca23
fadd dword [0x57f8c8]
mov eax, dword [eax + 0x64]
fmulp st(1)
test eax, eax
mov dword [esp + 0x58], eax
fstp dword [esp + 0x4c]
fld dword [esi + edx + 0x5c]
fild dword [esp + 0x58]
jge 0x52ca42
fadd dword [0x57f8c8]
fmulp st(1)
mov ecx, edx
mov edx, dword [esi + ecx + 0x50]
test edx, edx
fstp dword [esp + 0x54]
fild dword [esi + ecx + 0x50]
jge 0x52ca5c
fadd dword [0x57f8c8]
mov eax, ecx
fstp dword [esp + 0x10]
mov ecx, dword [eax + esi + 0x54]
fild dword [eax + esi + 0x54]
test ecx, ecx
jge 0x52ca74
fadd dword [0x57f8c8]
test ebx, ebx
fstp dword [esp + 0x1c]
mov dword [esp + 0x18], 0
jbe 0x52cf71
jmp 0x52ca90
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov al, byte [edx + eax*2]
movzx ecx, al
and ecx, 0x8000000f
jns 0x52caab
dec ecx
or ecx, 0xfffffff0
inc ecx
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
shr al, 4
fld qword [0x558c90]
movzx edx, al
mov dword [esp + 0x28], edx
fmul st(1), st(0)
movss xmm0, dword [esp + 0x10]
fxch st(1)
mov eax, dword [esp + 0x3c]
mov edi, dword [ebp + 4]
fstp dword [esp + 0x24]
movss dword [esp + 0x6c], xmm0
fild dword [esp + 0x28]
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x70], xmm0
xorps xmm0, xmm0
fmul st(1)
movss dword [esp + 0x74], xmm0
movss xmm0, dword [0x5584f8]
mov dword [esp + 0x7c], eax
fstp dword [esp + 0x14]
mov eax, dword [ebp + 8]
fld dword [esp + 0x24]
lea ebx, [edi + 1]
cmp eax, ebx
fld st(0)
fld qword [0x558c88]
movss dword [esp + 0x78], xmm0
fadd st(1), st(0)
fxch st(1)
fstp dword [esp + 0x20]
fxch st(1)
movss xmm0, dword [esp + 0x20]
fadd st(2)
movss dword [esp + 0x80], xmm0
fsub st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x14]
fld st(0)
fadd st(2)
fstp dword [esp + 0x24]
faddp st(2)
fsubp st(1)
fstp dword [esp + 0x58]
fld dword [esp + 0x24]
fstp dword [esp + 0x84]
jae 0x52cbb3
mov edx, dword [ebp]
mov esi, eax
shr esi, 1
add esi, eax
cmp esi, ebx
cmovb esi, ebx
lea eax, [esi*8]
sub eax, esi
add eax, eax
add eax, eax
push eax
mov dword [esp + 0x18], edx
call fcn.00526ee0
mov edx, dword [esp + 0x18]
mov ecx, edi
push ecx
push edx
push eax
mov dword [esp + 0x50], eax
call fcn.0052c6c0
mov eax, dword [esp + 0x24]
push eax
call fcn.00526f00
mov ecx, dword [esp + 0x54]
add esp, 0x14
mov dword [ebp], ecx
mov dword [ebp + 8], esi
mov eax, dword [ebp]
lea edx, [edi*8]
sub edx, edi
mov byte [esp + 0x44], 0
mov ecx, dword [esp + 0x44]
push ecx
lea eax, [eax + edx*4]
push eax
push 0x1c
call fcn.00528540
add esp, 0xc
test eax, eax
je 0x52cbe8
mov ecx, 7
lea esi, [esp + 0x6c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
lea edi, [ebx + 1]
cmp eax, edi
mov dword [ebp + 4], ebx
mov dword [esp + 0x24], edi
jae 0x52cc45
mov edx, dword [ebp]
mov esi, eax
shr esi, 1
add esi, eax
cmp esi, edi
cmovb esi, edi
lea eax, [esi*8]
sub eax, esi
add eax, eax
add eax, eax
push eax
mov dword [esp + 0x18], edx
call fcn.00526ee0
mov ecx, dword [esp + 0x18]
push ebx
push ecx
push eax
mov dword [esp + 0x50], eax
call fcn.0052c6c0
mov edx, dword [esp + 0x24]
push edx
call fcn.00526f00
mov eax, dword [esp + 0x54]
add esp, 0x14
mov dword [ebp], eax
mov dword [ebp + 8], esi
mov edx, dword [ebp]
lea ecx, [ebx*8]
sub ecx, ebx
lea eax, [edx + ecx*4]
mov byte [esp + 0x48], 0
mov ecx, dword [esp + 0x48]
push ecx
push eax
push 0x1c
call fcn.00528540
add esp, 0xc
test eax, eax
je 0x52cc7e
mov ecx, 7
lea esi, [esp + 0x6c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x24]
fld dword [esp + 0x10]
mov eax, dword [ebp + 8]
fadd dword [esp + 0x4c]
movss xmm0, dword [esp + 0x28]
lea ebx, [edi + 1]
cmp eax, ebx
fstp dword [esp + 0x24]
mov dword [ebp + 4], edi
fld dword [esp + 0x24]
movss dword [esp + 0x80], xmm0
fstp dword [esp + 0x6c]
jae 0x52ccfa
mov edx, dword [ebp]
mov esi, eax
shr esi, 1
add esi, eax
cmp esi, ebx
cmovb esi, ebx
lea eax, [esi*8]
sub eax, esi
add eax, eax
add eax, eax
push eax
mov dword [esp + 0x18], edx
call fcn.00526ee0
mov ecx, dword [esp + 0x18]
push edi
push ecx
push eax
mov dword [esp + 0x50], eax
call fcn.0052c6c0
mov edx, dword [esp + 0x24]
push edx
call fcn.00526f00
mov eax, dword [esp + 0x54]
add esp, 0x14
mov dword [ebp], eax
mov dword [ebp + 8], esi
mov edx, dword [ebp]
lea ecx, [edi*8]
sub ecx, edi
lea eax, [edx + ecx*4]
mov byte [esp + 0x50], 0
mov ecx, dword [esp + 0x50]
push ecx
push eax
push 0x1c
call fcn.00528540
add esp, 0xc
test eax, eax
je 0x52cd2f
mov ecx, 7
lea esi, [esp + 0x6c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movss xmm0, dword [esp + 0x10]
fld dword [esp + 0x1c]
fadd dword [esp + 0x54]
mov eax, dword [ebp + 8]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x20]
lea edi, [ebx + 1]
fstp dword [esp + 0x70]
cmp eax, edi
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x58]
mov dword [ebp + 4], ebx
movss dword [esp + 0x84], xmm0
mov dword [esp + 0x14], edi
jae 0x52cdba
mov esi, eax
shr esi, 1
add esi, eax
cmp esi, edi
cmovb esi, edi
mov edi, dword [ebp]
lea edx, [esi*8]
sub edx, esi
add edx, edx
add edx, edx
push edx
call fcn.00526ee0
push ebx
push edi
push eax
mov dword [esp + 0x68], eax
call fcn.0052c6c0
push edi
call fcn.00526f00
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
add esp, 0x14
mov dword [ebp], eax
mov dword [ebp + 8], esi
mov edx, dword [ebp]
lea ecx, [ebx*8]
sub ecx, ebx
lea eax, [edx + ecx*4]
mov byte [esp + 0x5c], 0
mov ecx, dword [esp + 0x5c]
push ecx
push eax
push 0x1c
call fcn.00528540
add esp, 0xc
test eax, eax
je 0x52cdf3
mov ecx, 7
lea esi, [esp + 0x6c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x14]
movss xmm0, dword [esp + 0x24]
mov eax, dword [ebp + 8]
lea ebx, [edi + 1]
cmp eax, ebx
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x28]
mov dword [ebp + 4], edi
movss dword [esp + 0x80], xmm0
jae 0x52ce6d
mov edx, dword [ebp]
mov esi, eax
shr esi, 1
add esi, eax
cmp esi, ebx
cmovb esi, ebx
lea eax, [esi*8]
sub eax, esi
add eax, eax
add eax, eax
push eax
mov dword [esp + 0x2c], edx
call fcn.00526ee0
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push edi
push ecx
push eax
mov dword [esp + 0x68], eax
call fcn.0052c6c0
mov edx, dword [esp + 0x38]
push edx
call fcn.00526f00
mov eax, dword [esp + 0x6c]
add esp, 0x14
mov dword [ebp], eax
mov dword [ebp + 8], esi
jmp 0x52ce71
mov edi, dword [esp + 0x14]
mov edx, dword [ebp]
lea ecx, [edi*8]
sub ecx, edi
lea eax, [edx + ecx*4]
mov byte [esp + 0x60], 0
mov ecx, dword [esp + 0x60]
push ecx
push eax
push 0x1c
call fcn.00528540
add esp, 0xc
test eax, eax
je 0x52cea6
mov ecx, 7
lea esi, [esp + 0x6c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
lea edi, [ebx + 1]
cmp eax, edi
mov dword [ebp + 4], ebx
mov dword [esp + 0x28], edi
jae 0x52cefb
mov esi, eax
shr esi, 1
add esi, eax
cmp esi, edi
cmovb esi, edi
mov edi, dword [ebp]
lea edx, [esi*8]
sub edx, esi
add edx, edx
add edx, edx
push edx
call fcn.00526ee0
push ebx
push edi
push eax
mov dword [esp + 0x68], eax
call fcn.0052c6c0
push edi
call fcn.00526f00
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x3c]
add esp, 0x14
mov dword [ebp], eax
mov dword [ebp + 8], esi
mov edx, dword [ebp]
lea ecx, [ebx*8]
sub ecx, ebx
lea eax, [edx + ecx*4]
mov byte [esp + 0x64], 0
mov ecx, dword [esp + 0x64]
push ecx
push eax
push 0x1c
call fcn.00528540
add esp, 0xc
test eax, eax
je 0x52cf34
mov ecx, 7
lea esi, [esp + 0x6c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x8c]
mov dword [ebp + 4], edi
fild dword [edx + 0x2c]
mov eax, dword [edx + 0x2c]
test eax, eax
jge 0x52cf4e
fadd dword [0x57f8c8]
mov eax, dword [esp + 0x18]
fadd dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x68]
fstp dword [esp + 0x10]
mov dword [esp + 0x18], eax
jb 0x52ca90
mov esi, dword [esp + 0x2c]
mov edi, edx
add esi, 0x60
sub dword [esp + 0x30], 1
mov dword [esp + 0x2c], esi
jne 0x52c9e0
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x78
ret 8