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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80
mov eax, dword [0x93500c]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 8]
movss xmm0, dword [0x69a75c]
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.005ec65b
lea ecx, [esi*4 + 4]
mov dword [esp + 0x50], eax
push ecx
call fcn.005ec65b
mov edx, eax
add esp, 8
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], edx
test eax, eax
je 0x52efd2
test edx, edx
je 0x52efd2
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 0x52e8c0
push eax
push edx
call fcn.0052e330
mov edi, eax
mov dword [esp + 0x28], edi
lea esi, [edi*8]
push esi
mov dword [esp + 0x4c], esi
call fcn.005ec65b
push esi
mov dword [esp + 0x28], eax
call fcn.005ec65b
lea ecx, [edi*4]
mov esi, eax
push ecx
mov dword [esp + 0x50], esi
call fcn.005ec65b
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x14], eax
test edx, edx
je 0x52efd2
test esi, esi
je 0x52efd2
test eax, eax
je 0x52efd2
xor ecx, ecx
test edi, edi
jle 0x52e963
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 0x52e948
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 0x52eaa1
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 0x52e9ca
mov eax, edi
movss dword [esp + 8], xmm0
mov dword [esp + 0x30], eax
comiss xmm0, xmm1
jbe 0x52e9d9
movss dword [esp + 0x1c], xmm0
mov dword [esp + 0x38], edi
movd xmm2, dword [ecx]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm4
jbe 0x52e9ef
movss dword [esp + 0x3c], xmm2
mov dword [esp + 0x24], edi
comiss xmm3, xmm2
jbe 0x52ea00
mov eax, edi
movss dword [esp + 0x10], xmm2
mov dword [esp + 0x2c], eax
cmp edi, dword [esp + 0x5c]
je 0x52ea19
movd xmm1, dword [ecx + 4]
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
movd xmm0, dword [ecx + 8]
jmp 0x52ea29
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.005f84d0
movsd xmm1, qword [0x8c26e0]
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 0x52e9b1
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 0x52eb0e
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 0x52eca1
inc ecx
movaps xmm0, xmm2
movaps xmm4, xmm3
cmp ecx, edi
jl 0x52ead0
movss xmm3, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
movss xmm7, dword [0x69a770]
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 0x52ede7
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 0x52ec3c
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 0x52ec5e
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.0x52ec9a
jmp dword [ecx*4 + 0x52efe8]
comisd xmm1, xmm5
jbe 0x52ecb4
movss xmm3, dword [0x8c2608]
jmp 0x52eb14
movss xmm3, dword [0x69a760]
jmp 0x52eb14
movaps xmm3, xmm1
movaps xmm5, xmm2
jmp case.default.0x52ec9a
movaps xmm5, xmm1
movaps xmm3, xmm2
xorps xmm5, xmm7
jmp case.default.0x52ec9a
movaps xmm5, xmm2
movaps xmm3, xmm1
xorps xmm5, xmm7
jmp 0x52ece5
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 0x52ed93
mulss xmm0, dword [0x69a760]
movss xmm1, dword [esp + 0x44]
comiss xmm1, xmm0
jb 0x52edcc
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 0x52edd2
movss xmm1, dword [esp + 8]
sub dword [esp + 0x30], 1
jne 0x52eba0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
jmp 0x52ee1f
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 [0x8c2608]
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 [0x8c25e8]
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 [0x8c25e8]
addss xmm0, xmm3
movss dword [edi + 4], xmm0
cvtps2pd xmm0, xmm2
mulsd xmm0, xmm0
addsd xmm0, xmm1
call fcn.005f84d0
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.005f84d0
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.005f84ba
push dword [esp + 0x14]
fstp dword [edi + 0x10]
call fcn.005e5006
push esi
call fcn.005e5006
mov eax, dword [esp + 0x20]
push eax
call fcn.005e5006
push dword [esp + 0x54]
call fcn.005e5006
mov eax, dword [esp + 0x5c]
push eax
call fcn.005e5006
add esp, 0x14
mov ecx, dword [esp + 0x84]
pop edi
pop esi
xor ecx, esp
call fcn.0052bbde
mov esp, ebp
pop ebp
ret