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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [ebp + 0xc]
movss xmm0, dword [eax]
movss xmm3, dword [esi + 0x14]
subss xmm3, dword [esi + 4]
movss xmm1, dword [esi + 0x18]
subss xmm1, dword [esi + 8]
movss xmm2, dword [esi + 0x28]
subss xmm2, dword [esi + 8]
movss xmm4, dword [esi + 0x20]
subss xmm4, dword [esi]
movss xmm5, dword [esi + 0x10]
subss xmm5, dword [esi]
push ebx
push edi
mov edi, dword [ebp + 8]
subss xmm0, dword [edi]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edi + 4]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [edi + 8]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esi + 0x24]
subss xmm0, dword [esi + 4]
lea ebx, [esi + 8]
movaps xmm7, xmm1
movaps xmm6, xmm3
mulss xmm7, xmm0
mulss xmm6, xmm2
subss xmm6, xmm7
movss dword [esp + 0x10], xmm6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x1c]
mulss xmm1, xmm4
mulss xmm2, xmm5
mulss xmm0, xmm5
mulss xmm3, xmm4
subss xmm1, xmm2
subss xmm0, xmm3
movss dword [esp + 0x14], xmm1
mov ecx, dword [esp + 0x14]
movss dword [esp + 0x18], xmm0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
call fcn.00417b40
movss xmm6, dword [esp + 0x94]
movss xmm5, dword [esp + 0x98]
movss xmm0, dword [ebx]
movss xmm7, dword [esp + 0x90]
xorps xmm3, xmm3
mulss xmm0, xmm5
movaps xmm1, xmm6
mulss xmm1, dword [esi + 4]
addss xmm0, xmm1
movss xmm1, dword [esi]
mulss xmm1, xmm7
addss xmm0, xmm1
movaps xmm2, xmm3
subss xmm2, xmm0
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0x58]
movaps xmm0, xmm6
mulss xmm0, dword [esp + 0x54]
addss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [esp + 0x50]
addss xmm1, xmm0
comiss xmm1, xmm3
ja 0x59ab47
movss xmm0, dword [edi + 4]
mulss xmm0, xmm6
movaps xmm4, xmm5
mulss xmm4, dword [edi + 8]
addss xmm0, xmm4
movss xmm4, dword [edi]
mulss xmm4, xmm7
addss xmm0, xmm4
movaps xmm4, xmm3
movss xmm3, dword [ebp + 0x10]
addss xmm0, xmm2
subss xmm4, xmm3
comiss xmm4, xmm0
movss dword [esp + 0x88], xmm0
ja 0x59ab47
mov eax, dword [ebp + 0xc]
movss xmm0, dword [eax + 4]
movss xmm4, dword [eax]
mulss xmm0, xmm6
mulss xmm4, xmm7
addss xmm0, xmm4
movaps xmm4, xmm5
mulss xmm4, dword [eax + 8]
addss xmm0, xmm4
addss xmm0, xmm2
comiss xmm0, xmm3
ja 0x59ab47
movaps xmm4, xmm6
mulss xmm4, xmm3
movss dword [esp + 0x74], xmm4
movaps xmm0, xmm7
mulss xmm0, xmm3
movaps xmm4, xmm5
mulss xmm4, xmm3
movss xmm3, dword [edi]
subss xmm3, xmm0
movss xmm0, dword [edi + 4]
subss xmm0, dword [esp + 0x74]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [edi + 8]
subss xmm0, xmm4
movss dword [esp + 0x78], xmm4
movss xmm4, dword [esp + 0x44]
movss dword [esp + 0x48], xmm0
mulss xmm0, xmm5
mulss xmm4, xmm6
addss xmm0, xmm4
movaps xmm4, xmm3
mulss xmm4, xmm7
addss xmm0, xmm4
addss xmm0, xmm2
movss xmm2, dword [0x7389c8]
divss xmm2, xmm1
mulss xmm0, xmm2
comiss xmm0, dword [0x7389bc]
movss dword [esp + 0xc], xmm0
ja 0x59ab47
comiss xmm0, dword [0x738a54]
jb 0x59a563
movss xmm1, dword [esp + 0x50]
movss xmm2, dword [esp + 0x54]
movss xmm4, dword [esp + 0x58]
mulss xmm1, xmm0
addss xmm1, xmm3
movss dword [esp + 0x30], xmm1
mov ecx, dword [esp + 0x30]
mulss xmm2, xmm0
addss xmm2, dword [esp + 0x44]
mulss xmm4, xmm0
addss xmm4, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x3c]
movss dword [esp + 0x34], xmm2
mov edx, dword [esp + 0x34]
movss dword [esp + 0x38], xmm4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
xor edi, edi
mov ecx, ebx
lea eax, [edi + 1]
cdq
mov ebx, 3
idiv ebx
movss xmm0, dword [esp + 0x10]
subss xmm0, dword [ecx - 8]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x14]
subss xmm0, dword [ecx - 4]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x18]
subss xmm0, dword [ecx]
movss dword [esp + 0x48], xmm0
shl edx, 4
movss xmm0, dword [edx + esi + 4]
subss xmm0, dword [ecx - 4]
movss xmm1, dword [edx + esi + 8]
subss xmm1, dword [ecx]
movss xmm4, dword [edx + esi]
subss xmm4, dword [ecx - 8]
add edx, esi
movaps xmm3, xmm0
movaps xmm2, xmm1
mulss xmm3, xmm5
mulss xmm2, xmm6
subss xmm2, xmm3
mulss xmm2, dword [esp + 0x40]
mulss xmm1, xmm7
movaps xmm3, xmm5
mulss xmm3, xmm4
subss xmm3, xmm1
mulss xmm3, dword [esp + 0x44]
mulss xmm0, xmm7
movaps xmm1, xmm6
mulss xmm1, xmm4
subss xmm0, xmm1
mulss xmm0, dword [esp + 0x48]
xorps xmm1, xmm1
addss xmm0, xmm3
addss xmm0, xmm2
comiss xmm1, xmm0
ja 0x59a525
inc edi
add ecx, 0x10
cmp edi, ebx
jl 0x59a466
cmp edi, 3
jne 0x59a560
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
movss xmm0, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
movss dword [edx], xmm0
mov edx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
movss xmm2, dword [esp + 0x54]
movss xmm0, dword [0x7389e8]
mov eax, dword [ebp + 0x14]
movss xmm1, dword [esp + 0x58]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x50]
movaps xmm3, xmm2
mulss xmm3, xmm2
mulss xmm0, xmm0
xor edx, edx
movaps xmm2, xmm1
addss xmm0, xmm3
mulss xmm2, xmm1
addss xmm0, xmm2
mov dword [esp + 0x2c], edx
mov ecx, 2
movss dword [esp + 0x80], xmm0
mov dword [esp + 0x64], edx
movss xmm5, dword [edi]
mov eax, ecx
shl eax, 4
add eax, esi
mov ebx, dword [eax]
mov dword [esp + 0x30], ebx
mov ebx, dword [eax + 4]
movss xmm0, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
movss xmm3, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x64]
subss xmm5, xmm0
add eax, esi
mov dword [esp + 0x38], ebx
mov ebx, dword [eax]
movss xmm6, dword [esp + 0x38]
mov dword [esp + 0x70], ebx
mov ebx, dword [eax + 4]
movss xmm2, dword [esp + 0x70]
subss xmm2, xmm0
movss xmm0, dword [edi + 4]
subss xmm0, xmm3
movss dword [esp + 0x14], xmm0
mov dword [esp + 0x74], ebx
mov ebx, dword [eax + 8]
movss xmm4, dword [esp + 0x74]
subss xmm4, xmm3
movss xmm3, dword [edi + 8]
subss xmm3, xmm6
mov eax, dword [eax + 0xc]
mulss xmm0, xmm4
movss dword [esp + 0x18], xmm3
mov dword [esp + 0x78], ebx
movss xmm1, dword [esp + 0x78]
subss xmm1, xmm6
mulss xmm3, xmm1
addss xmm3, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm2
addss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x58]
movaps xmm6, xmm2
mulss xmm6, dword [esp + 0x50]
addss xmm0, xmm6
movaps xmm6, xmm4
mulss xmm6, dword [esp + 0x54]
addss xmm0, xmm6
movaps xmm6, xmm1
movaps xmm7, xmm6
mulss xmm7, xmm6
movss dword [esp + 0xb8], xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm7
movss xmm7, dword [esp + 0x80]
movaps xmm6, xmm2
mulss xmm6, xmm2
addss xmm1, xmm6
movaps xmm6, xmm0
mulss xmm6, xmm0
mulss xmm7, xmm1
subss xmm6, xmm7
movss dword [esp + 0x84], xmm6
movss xmm6, dword [esp + 0x18]
mulss xmm6, dword [esp + 0x58]
movss dword [esp + 0x10], xmm5
mulss xmm5, dword [esp + 0x50]
addss xmm6, xmm5
movss xmm5, dword [esp + 0x14]
mulss xmm5, dword [esp + 0x54]
mov dword [esp + 0x68], ecx
mov ecx, edx
addss xmm6, xmm5
mov dword [esp + 0xc], ecx
mov dword [esp + 0x7c], eax
mulss xmm0, xmm3
mulss xmm6, xmm1
subss xmm0, xmm6
mulss xmm0, dword [0x7389e8]
movss xmm6, dword [esp + 0x18]
movaps xmm5, xmm0
mulss xmm5, xmm0
movss dword [esp + 0x60], xmm0
movss xmm0, dword [ebp + 0x10]
movaps xmm7, xmm1
mulss xmm7, xmm0
mulss xmm7, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm7, xmm0
movss xmm0, dword [esp + 0x14]
movaps xmm3, xmm0
mulss xmm3, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm6
addss xmm3, xmm0
movss xmm0, dword [esp + 0x10]
movaps xmm6, xmm0
mulss xmm6, xmm0
movss xmm0, dword [esp + 0x84]
addss xmm3, xmm6
mulss xmm3, xmm1
subss xmm7, xmm3
mulss xmm7, xmm0
mulss xmm7, dword [0x738b84]
subss xmm5, xmm7
xorps xmm7, xmm7
comiss xmm7, xmm5
movss dword [esp + 0x8c], xmm5
ja 0x59a8ff
movss xmm3, dword [0x738da0]
comiss xmm3, xmm0
ja 0x59a7c4
comiss xmm0, dword [0x738cac]
jbe 0x59a923
fld dword [esp + 0x8c]
movss xmm5, dword [esp + 0x60]
fsqrt
mulss xmm0, dword [0x7389e8]
movaps xmm3, xmm7
subss xmm3, xmm5
fstp dword [esp + 0x6c]
movss xmm6, dword [esp + 0x6c]
subss xmm3, dword [esp + 0x6c]
subss xmm6, xmm5
divss xmm6, xmm0
divss xmm3, xmm0
comiss xmm6, xmm3
jbe 0x59a806
movaps xmm6, xmm3
comiss xmm7, xmm6
ja 0x59a923
comiss xmm6, dword [0x7389bc]
ja 0x59a923
movss xmm5, dword [esp + 0x50]
movss xmm3, dword [edi]
movss xmm7, dword [esp + 0x54]
movss xmm0, dword [esp + 0x58]
mulss xmm5, xmm6
addss xmm3, xmm5
movss xmm5, dword [edi + 4]
subss xmm3, dword [esp + 0x30]
mulss xmm0, xmm6
addss xmm0, dword [edi + 8]
subss xmm0, dword [esp + 0x38]
mulss xmm7, xmm6
addss xmm5, xmm7
subss xmm5, dword [esp + 0x34]
movss xmm7, dword [esp + 0xb8]
mulss xmm0, xmm7
mulss xmm5, xmm4
addss xmm0, xmm5
mulss xmm3, xmm2
addss xmm0, xmm3
divss xmm0, xmm1
comiss xmm0, dword [0x738a54]
jb 0x59a923
movss xmm1, dword [0x7389bc]
comiss xmm1, xmm0
jb 0x59a923
mov eax, dword [ebp + 0x14]
movss xmm1, dword [eax]
comiss xmm1, xmm6
jbe 0x59a923
mov ecx, dword [ebp + 0x18]
movss dword [eax], xmm6
mulss xmm2, xmm0
addss xmm2, dword [esp + 0x30]
movss dword [esp + 0x40], xmm2
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
mulss xmm4, xmm0
addss xmm4, dword [esp + 0x34]
movss dword [esp + 0x44], xmm4
mov eax, dword [esp + 0x44]
mov dword [ecx + 4], eax
mulss xmm7, xmm0
addss xmm7, dword [esp + 0x38]
movss dword [esp + 0x48], xmm7
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov ecx, edx
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x68]
mov ebx, 1
shl ebx, cl
mov ecx, dword [esp + 0x2c]
or eax, ebx
or ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x64]
add eax, 0x10
inc edx
cmp eax, 0x30
mov dword [esp + 0x64], eax
jl 0x59a5b6
cmp dword [esp + 0x2c], 7
je 0x59a9bb
mov edx, esi
xor ebx, ebx
mov dword [esp + 0xc], edx
mov ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x2c]
test ecx, eax
jne 0x59a9aa
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x60]
push eax
push ecx
push edi
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x5c]
call fcn.00599f00
add esp, 0xc
test eax, eax
je 0x59a9aa
mov eax, dword [ebp + 0x14]
movss xmm1, dword [eax]
movss xmm0, dword [esp + 0x60]
comiss xmm1, xmm0
jbe 0x59a9aa
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x44]
movss dword [eax], xmm0
mov eax, dword [esp + 0x40]
mov dword [edx], eax
mov eax, dword [esp + 0x48]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0xc]
inc ebx
add edx, 0x10
cmp ebx, 3
mov dword [esp + 0xc], edx
jl 0x59a947
mov edx, dword [ebp + 0x14]
movss xmm0, dword [0x7389e8]
comiss xmm0, dword [edx]
ja 0x59ab3c
movss xmm3, dword [esp + 0x88]
comiss xmm3, dword [0x738a10]
jbe 0x59ab47
movss xmm0, dword [ebp + 0x10]
comiss xmm0, xmm3
jbe 0x59ab47
movss xmm0, dword [esp + 0x90]
movss xmm6, dword [edi]
movss xmm5, dword [esp + 0x98]
movss xmm1, dword [esp + 0x94]
movss xmm7, dword [edi + 4]
mulss xmm0, xmm3
subss xmm6, xmm0
movss xmm0, dword [edi + 8]
movaps xmm2, xmm5
mulss xmm1, xmm3
mulss xmm2, xmm3
subss xmm7, xmm1
subss xmm0, xmm2
movss dword [esp + 0x10], xmm6
movss dword [esp + 0x14], xmm7
movss dword [esp + 0x18], xmm0
xor edi, edi
lea ecx, [esi + 8]
jmp 0x59aa60
movss xmm5, dword [esp + 0x98]
lea esp, [esp]
lea eax, [edi + 1]
cdq
mov ebx, 3
idiv ebx
shl edx, 4
movss xmm0, dword [edx + esi + 4]
subss xmm0, dword [ecx - 4]
movss xmm1, dword [edx + esi + 8]
subss xmm1, dword [ecx]
movss xmm2, dword [edx + esi]
subss xmm2, dword [ecx - 8]
movaps xmm4, xmm1
mulss xmm4, dword [esp + 0x94]
add edx, esi
movaps xmm3, xmm0
mulss xmm3, xmm5
subss xmm4, xmm3
movss xmm3, dword [esp + 0x90]
mulss xmm1, xmm3
mulss xmm5, xmm2
subss xmm5, xmm1
movss xmm1, dword [esp + 0x94]
mulss xmm1, xmm2
mulss xmm0, xmm3
subss xmm0, xmm1
movss xmm1, dword [esp + 0x18]
subss xmm1, dword [ecx]
movaps xmm3, xmm7
subss xmm3, dword [ecx - 4]
mulss xmm1, xmm0
xorps xmm0, xmm0
movaps xmm2, xmm6
subss xmm2, dword [ecx - 8]
mulss xmm3, xmm5
addss xmm1, xmm3
mulss xmm2, xmm4
addss xmm1, xmm2
comiss xmm0, xmm1
ja 0x59ab12
inc edi
add ecx, 0x10
cmp edi, ebx
jl 0x59aa50
cmp edi, 3
jne 0x59ab47
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
movss dword [eax], xmm0
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret