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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80
mov eax, dword [0x8d600c]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 8]
movss xmm0, dword [0x64f66c]
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [eax]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
mov esi, dword [edi + 8]
mov dword [esp + 0x24], eax
movss dword [esp + 0x44], xmm0
xorps xmm0, xmm0
mov dword [esp + 0x50], ecx
lea eax, [esi*8]
mov dword [esp + 0xc], 0
push eax
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x38], xmm0
call fcn.005c41fb
lea ecx, [esi*4 + 4]
mov dword [esp + 0x50], eax
push ecx
call fcn.005c41fb
mov edx, eax
add esp, 8
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], edx
test eax, eax
je 0x528e32
test edx, edx
je 0x528e32
mov ecx, eax
nop dword [eax]
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xc]
mov dword [edx + eax*4], ecx
inc eax
mov edi, dword [edi + 0xc]
add ecx, 8
mov dword [esp + 0xc], eax
test edi, edi
jne 0x528720
push eax
push edx
call fcn.00528190
mov edi, eax
mov dword [esp + 0x28], edi
lea esi, [edi*8]
push esi
mov dword [esp + 0x4c], esi
call fcn.005c41fb
push esi
mov dword [esp + 0x28], eax
call fcn.005c41fb
lea ecx, [edi*4]
mov esi, eax
push ecx
mov dword [esp + 0x50], esi
call fcn.005c41fb
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x14], eax
test edx, edx
je 0x528e32
test esi, esi
je 0x528e32
test eax, eax
je 0x528e32
xor ecx, ecx
test edi, edi
jle 0x5287c3
mov esi, dword [esp + 0x48]
mov eax, dword [esi + ecx*4]
mov eax, dword [eax]
mov dword [edx + ecx*8], eax
mov eax, dword [esi + ecx*4]
mov eax, dword [eax + 4]
mov dword [edx + ecx*8 + 4], eax
inc ecx
cmp ecx, edi
jl 0x5287a8
mov esi, dword [esp + 0x3c]
movd xmm1, dword [edx]
lea ecx, [edx + 4]
movd xmm3, dword [ecx]
xor edi, edi
mov eax, dword [esp + 0x20]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm3, xmm3
movss dword [esp + 0x1c], xmm1
movaps xmm2, xmm1
movss dword [esp + 8], xmm2
movaps xmm4, xmm3
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x3c], xmm4
test eax, eax
jle 0x528901
dec eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x5c], eax
mov eax, esi
sub eax, edx
mov dword [esp + 0x60], eax
movd xmm0, dword [ecx - 4]
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x52882a
mov eax, edi
movss dword [esp + 8], xmm0
mov dword [esp + 0x30], eax
comiss xmm0, xmm1
jbe 0x528839
movss dword [esp + 0x1c], xmm0
mov dword [esp + 0x38], edi
movd xmm2, dword [ecx]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm4
jbe 0x52884f
movss dword [esp + 0x3c], xmm2
mov dword [esp + 0x24], edi
comiss xmm3, xmm2
jbe 0x528860
mov eax, edi
movss dword [esp + 0x10], xmm2
mov dword [esp + 0x2c], eax
cmp edi, dword [esp + 0x5c]
je 0x528879
movd xmm1, dword [ecx + 4]
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
movd xmm0, dword [ecx + 8]
jmp 0x528889
movd xmm1, dword [edx]
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
movd xmm0, dword [edx + 4]
mov edx, dword [esp + 0x60]
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm1
subss xmm0, xmm2
mulss xmm1, xmm1
mov dword [esi + edi*8], eax
cvttss2si eax, xmm0
mulss xmm0, xmm0
mov dword [edx + ecx], eax
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.005d0020
movsd xmm1, qword [0x8725b8]
divsd xmm1, xmm0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
add ecx, 8
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], ecx
movss xmm3, dword [esp + 0x10]
movss xmm2, dword [esp + 8]
movss xmm4, dword [esp + 0x3c]
cvtpd2ps xmm0, xmm1
movss xmm1, dword [esp + 0x1c]
movss dword [eax + edi*4], xmm0
inc edi
cmp edi, dword [esp + 0x20]
jl 0x528811
mov eax, dword [esp + 0x40]
xor ecx, ecx
mov edi, dword [esp + 0x20]
movd xmm0, dword [eax + esi - 8]
movd xmm4, dword [eax + esi - 4]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm4, xmm4
test edi, edi
jle 0x52896e
xorps xmm5, xmm5
nop word [eax + eax]
movd xmm3, dword [esi + ecx*8 + 4]
movd xmm2, dword [esi + ecx*8]
cvtdq2pd xmm3, xmm3
cvtdq2pd xmm2, xmm2
movaps xmm1, xmm3
mulsd xmm1, xmm0
movaps xmm0, xmm2
mulsd xmm0, xmm4
subsd xmm1, xmm0
ucomisd xmm1, xmm5
lahf
test ah, 0x44
jp 0x528b01
inc ecx
movaps xmm0, xmm2
movaps xmm4, xmm3
cmp ecx, edi
jl 0x528930
movss xmm3, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
movss xmm7, dword [0x64f680]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], edi
test ecx, ecx
jle 0x528c47
movss xmm0, dword [esp + 0x70]
movss xmm1, dword [esp + 0x74]
movss xmm5, dword [esp + 0x34]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x78]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x64]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x68]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x10], xmm0
nop word [eax + eax]
movd xmm4, dword [esi + ecx*8]
movd xmm0, dword [esi + ecx*8 + 4]
movd xmm6, dword [esi + edi*8]
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
movd xmm1, dword [esi + eax*8 + 4]
cvtdq2ps xmm4, xmm4
mulss xmm0, xmm5
mulss xmm4, xmm3
cvtdq2ps xmm6, xmm6
xorps xmm4, xmm7
subss xmm4, xmm0
mulss xmm6, xmm5
movd xmm0, dword [esi + edi*8 + 4]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm3
mulss xmm1, xmm5
subss xmm6, xmm0
movd xmm0, dword [esi + eax*8]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
addss xmm1, xmm0
mulss xmm1, dword [ecx + eax*4]
xor ecx, ecx
mov eax, dword [esp + 0x38]
movd xmm2, dword [esi + eax*8 + 4]
movd xmm0, dword [esi + eax*8]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm3
mulss xmm0, xmm5
subss xmm2, xmm0
mulss xmm2, dword [edx + eax*4]
comiss xmm2, xmm1
jbe 0x528a9c
mov ecx, 1
movaps xmm1, xmm2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
movss xmm0, dword [edx + eax*4]
mov edx, dword [esp + 0x18]
mulss xmm0, xmm4
comiss xmm0, xmm1
jbe 0x528abe
mov ecx, 2
movaps xmm1, xmm0
mov eax, dword [esp + 0x14]
movss xmm0, dword [eax + edi*4]
mov edi, 3
mulss xmm0, xmm6
comiss xmm0, xmm1
cmova ecx, edi
mov edi, dword [esp + ecx*4 + 0x64]
movd xmm1, dword [esi + edi*8]
movd xmm2, dword [esi + edi*8 + 4]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mulss xmm1, dword [eax + edi*4]
mulss xmm2, dword [eax + edi*4]
cmp ecx, 3
ja case.default.0x528afa
jmp dword [ecx*4 + 0x528e48]
comisd xmm1, xmm5
jbe 0x528b14
movss xmm3, dword [0x8724e0]
jmp 0x528974
movss xmm3, dword [0x64f670]
jmp 0x528974
movaps xmm3, xmm1
movaps xmm5, xmm2
jmp case.default.0x528afa
movaps xmm5, xmm1
movaps xmm3, xmm2
xorps xmm5, xmm7
jmp case.default.0x528afa
movaps xmm5, xmm2
movaps xmm3, xmm1
xorps xmm5, xmm7
jmp 0x528b45
movaps xmm3, xmm2
movaps xmm5, xmm1
xorps xmm3, xmm7
lea eax, [edi + 1]
xor edi, edi
cmp eax, dword [esp + 0x20]
cmove eax, edi
mov dword [esp + ecx*4 + 0x64], eax
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x38], eax
movd xmm2, dword [edx + eax*8 + 4]
movd xmm0, dword [edx + edi*8 + 4]
movd xmm1, dword [edx + eax*8]
mov eax, dword [esp + 0x64]
movd xmm4, dword [edx + ecx*8 + 4]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x24], ecx
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
subss xmm2, xmm0
movd xmm0, dword [edx + edi*8]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm4, xmm4
subss xmm1, xmm0
mulss xmm2, xmm5
movd xmm0, dword [edx + eax*8 + 4]
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm3
subss xmm4, xmm0
movd xmm0, dword [edx + eax*8]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm1
movd xmm1, dword [edx + ecx*8]
mulss xmm4, xmm3
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
mulss xmm1, xmm5
subss xmm4, xmm1
xorps xmm1, xmm1
movaps xmm0, xmm4
mulss xmm0, xmm2
comiss xmm1, xmm0
jbe 0x528bf3
mulss xmm0, dword [0x64f670]
movss xmm1, dword [esp + 0x44]
comiss xmm1, xmm0
jb 0x528c2c
movss dword [esp + 0x44], xmm0
movaps xmm1, xmm5
movaps xmm0, xmm3
mov dword [esp + 0x28], edi
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x1c], xmm2
movss dword [esp + 8], xmm1
movss dword [esp + 0xc], xmm4
mov dword [esp + 0x2c], eax
jmp 0x528c32
movss xmm1, dword [esp + 8]
sub dword [esp + 0x30], 1
jne 0x528a00
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
jmp 0x528c7f
movss xmm0, dword [esp + 0x74]
movss xmm1, dword [esp + 0x70]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 8], xmm1
movss dword [esp + 0x10], xmm0
movd xmm5, dword [edx + ecx*8 + 4]
movaps xmm6, xmm1
movd xmm0, dword [edx + ecx*8]
xorps xmm6, xmm7
movss xmm7, dword [esp + 0x10]
cvtdq2ps xmm0, xmm0
mov edi, dword [esp + 0x50]
movd xmm2, dword [edx + eax*8 + 4]
movaps xmm4, xmm7
mulss xmm0, xmm7
movaps xmm3, xmm7
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm2, xmm2
mulss xmm5, xmm1
movaps xmm1, xmm7
mulss xmm2, xmm7
addss xmm5, xmm0
mulss xmm1, xmm7
movd xmm0, dword [edx + eax*8]
cvtdq2ps xmm0, xmm0
mulss xmm4, xmm5
mulss xmm0, xmm6
mulss xmm5, xmm6
addss xmm2, xmm0
movss xmm0, dword [esp + 8]
mulss xmm0, xmm6
subss xmm1, xmm0
mulss xmm3, xmm2
movss xmm0, dword [0x8724e0]
subss xmm3, xmm5
movss xmm5, dword [esp + 8]
divss xmm0, xmm1
mulss xmm5, dword [esp + 0x1c]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 8]
mulss xmm3, dword [esp + 0x34]
mulss xmm0, xmm2
movaps xmm2, xmm7
mulss xmm2, dword [esp + 0x1c]
subss xmm4, xmm0
mulss xmm7, dword [esp + 0xc]
movss xmm0, dword [esp + 0xc]
mulss xmm0, xmm6
mulss xmm4, dword [esp + 0x34]
movss dword [esp + 0x34], xmm0
addss xmm0, xmm2
cvtps2pd xmm1, xmm5
mulss xmm0, dword [0x8724c0]
mulsd xmm1, xmm1
addss xmm0, xmm4
movss dword [esp + 0x40], xmm2
movss dword [esp + 8], xmm5
movss dword [esp + 0x10], xmm7
movss dword [edi], xmm0
movaps xmm0, xmm7
addss xmm0, xmm5
mulss xmm0, dword [0x8724c0]
addss xmm0, xmm3
movss dword [edi + 4], xmm0
cvtps2pd xmm0, xmm2
mulsd xmm0, xmm0
addsd xmm0, xmm1
call fcn.005d0020
cvtsd2ss xmm0, xmm0
movss dword [edi + 8], xmm0
movss xmm0, dword [esp + 0x10]
cvtps2pd xmm1, xmm0
movss xmm0, dword [esp + 0x34]
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm1
mulsd xmm0, xmm0
addsd xmm0, xmm1
call fcn.005d0020
movss xmm3, dword [esp + 8]
cvtsd2ss xmm0, xmm0
movss dword [edi + 0xc], xmm0
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x40]
fld qword [esp + 0x50]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x50], xmm0
fld qword [esp + 0x50]
call fcn.005d000a
push dword [esp + 0x14]
fstp dword [edi + 0x10]
call fcn.005bccb5
push esi
call fcn.005bccb5
mov eax, dword [esp + 0x20]
push eax
call fcn.005bccb5
push dword [esp + 0x54]
call fcn.005bccb5
mov eax, dword [esp + 0x5c]
push eax
call fcn.005bccb5
add esp, 0x14
mov ecx, dword [esp + 0x84]
pop edi
pop esi
xor ecx, esp
call fcn.00525a3e
mov esp, ebp
pop ebp
ret