Function at 0x4034c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
shufps xmm2, xmm2, 0x55
movss xmm0, xmm2
movhlps xmm2, xmm0
mulps xmm1, xmm2
mulps xmm2, xmm0
subps xmm0, xmm1
addps xmm2, xmm0
mulps xmm0, xmm0
rsqrtss xmm2, xmm2
movaps xmm1, xmm0
movq mm4, mm1
addps xmm2, xmm0
haddps xmm0, xmm0
movq mm3, mm1
mulps xmm3, xmm1
movhlps xmm2, xmm0
movaps xmm1, xmm0
mulps xmm2, xmm0
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
movq mm2, mm0
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0x55
movss xmm0, xmm2
haddps xmm0, xmm0
rsqrtss xmm2, xmm2
divps xmm1, xmm2
subps xmm2, xmm1
mov eax, dword [ebp + 8]
cmp word [eax], 0x5a4d
jne 0x40502b
mov edx, eax
shufps xmm2, xmm2, 0
mulps xmm0, xmm0
haddps xmm0, xmm0
sqrtss xmm2, xmm2
movq mm2, mm0
addps xmm2, xmm0
rsqrtps xmm0, xmm0
movq mm4, mm1
movhlps xmm2, xmm0
subps xmm0, xmm1
movq mm2, mm0
mulps xmm1, xmm0
movaps xmm3, xmm2
mulps xmm1, xmm2
subps xmm2, xmm1
subps xmm2, xmm1
movq mm2, mm0
mulps xmm3, xmm1
mulps xmm1, xmm0
movq mm4, mm1
addps xmm2, xmm0
movss xmm0, xmm2
rsqrtss xmm2, xmm2
movhlps xmm2, xmm0
movq mm2, mm0
haddps xmm0, xmm0
add edx, dword [eax + 0x3c]
mov dword [ebp - 0x30], edx
movaps xmm3, xmm2
movq mm2, mm0
subps xmm2, xmm1
movq mm4, mm1
movss xmm0, xmm2
subps xmm2, xmm1
movaps xmm1, xmm0
movhlps xmm2, xmm0
movss xmm0, xmm2
movaps xmm1, xmm0
subps xmm2, xmm1
subps xmm0, xmm1
subps xmm2, xmm1
movaps xmm3, xmm2
addss xmm2, xmm0
mulps xmm3, xmm1
cmp dword [edx], 0x4550
jne 0x4047a9
rsqrtss xmm2, xmm2
subps xmm0, xmm1
haddps xmm0, xmm0
movq mm3, mm1
movq mm3, mm1
addss xmm2, xmm0
subps xmm2, xmm1
mulps xmm3, xmm1
movq mm3, mm1
shufps xmm2, xmm2, 0
mulps xmm1, xmm2
movq mm2, mm0
sqrtss xmm2, xmm2
divps xmm1, xmm2
mulps xmm1, xmm2
movq mm3, mm1
subps xmm0, xmm1
movq mm3, mm1
movaps xmm1, xmm0
mulps xmm3, xmm1
addps xmm2, xmm0
subps xmm0, xmm1
movq mm4, mm1
haddps xmm0, xmm0
movq mm4, mm1
movq mm4, mm1
divps xmm1, xmm2
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x2000
mov eax, dword [edx + 0x50]
mov dword [esp + 4], eax
mov eax, dword [edx + 0x34]
mov dword [esp], eax
call fcn.0040b08c
sub esp, 0x10
mov dword [ebp - 0x40], eax
subps xmm2, xmm1
addss xmm2, xmm0
subps xmm2, xmm1
subps xmm0, xmm1
addss xmm2, xmm0
rsqrtps xmm0, xmm0
divps xmm1, xmm2
movq mm4, mm1
subps xmm2, xmm1
movaps xmm3, xmm2
movq mm4, mm1
mulps xmm1, xmm2
divps xmm1, xmm2
shufps xmm2, xmm2, 0x55
subps xmm2, xmm1
movss xmm0, xmm2
mulps xmm1, xmm0
movq mm2, mm0
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm2
mulps xmm1, xmm0
shufps xmm2, xmm2, 0
test eax, eax
je 0x40544f
mulps xmm3, xmm1
movaps xmm1, xmm0
subps xmm2, xmm1
divps xmm1, xmm2
mulps xmm1, xmm0
subps xmm2, xmm1
addps xmm2, xmm0
movq mm2, mm0
rsqrtps xmm0, xmm0
rsqrtps xmm0, xmm0
movaps xmm3, xmm2
divps xmm1, xmm2
divps xmm1, xmm2
subps xmm2, xmm1
subps xmm2, xmm1
subps xmm2, xmm1
movq mm2, mm0
addps xmm2, xmm0
subps xmm2, xmm1
divps xmm1, xmm2
call fcn.0040b074
mov dword [esp + 8], 0x14
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040b06c
mov dword [ebp - 0x38], eax
sub esp, 0xc
addps xmm2, xmm0
rsqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
mulps xmm0, xmm0
subps xmm2, xmm1
haddps xmm0, xmm0
mulps xmm1, xmm0
sqrtss xmm2, xmm2
addss xmm2, xmm0
shufps xmm2, xmm2, 0
addps xmm2, xmm0
movq mm2, mm0
mulps xmm1, xmm2
mulps xmm0, xmm0
movq mm4, mm1
movaps xmm3, xmm2
rsqrtps xmm0, xmm0
haddps xmm0, xmm0
movhlps xmm2, xmm0
movss xmm0, xmm2
movq mm3, mm1
subps xmm2, xmm1
mulps xmm2, xmm0
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
subps xmm2, xmm1
mulps xmm3, xmm1
movq mm2, mm0
movq mm3, mm1
divps xmm1, xmm2
rsqrtss xmm2, xmm2
movq mm2, mm0
subps xmm2, xmm1
subps xmm0, xmm1
movq mm2, mm0
movq mm4, mm1
movaps xmm1, xmm0
movq mm2, mm0
movaps xmm3, xmm2
subps xmm2, xmm1
movss xmm0, xmm2
movq mm4, mm1
movq mm2, mm0
movaps xmm3, xmm2
mov dword [eax + 0xc], 0
movss xmm0, xmm2
subps xmm2, xmm1
movq mm2, mm0
movq mm3, mm1
mulps xmm0, xmm0
mulps xmm3, xmm1
movaps xmm3, xmm2
haddps xmm0, xmm0
mulps xmm3, xmm1
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0
divps xmm1, xmm2
movss xmm0, xmm2
mov dword [eax + 8], 0
movaps xmm3, xmm2
mulps xmm0, xmm0
subps xmm2, xmm1
movss xmm0, xmm2
mulps xmm1, xmm2
movq mm3, mm1
subps xmm2, xmm1
movq mm4, mm1
mulps xmm1, xmm2
shufps xmm2, xmm2, 0x55
mulps xmm3, xmm1
movaps xmm1, xmm0
mulps xmm2, xmm0
mulps xmm0, xmm0
mulps xmm3, xmm1
movq mm4, mm1
addss xmm2, xmm0
mulps xmm3, xmm1
haddps xmm0, xmm0
subps xmm2, xmm1
mulps xmm1, xmm0
sqrtss xmm2, xmm2
addps xmm2, xmm0
subps xmm0, xmm1
mov dword [eax + 0x10], 0
movq mm2, mm0
mulps xmm1, xmm2
movq mm4, mm1
subps xmm2, xmm1
subps xmm0, xmm1
movhlps xmm2, xmm0
movss xmm0, xmm2
mulps xmm1, xmm2
movss xmm0, xmm2
movq mm2, mm0
rsqrtss xmm2, xmm2
addps xmm2, xmm0
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0
mulps xmm1, xmm0
movq mm3, mm1
rsqrtps xmm0, xmm0
subps xmm2, xmm1
movq mm4, mm1
mulps xmm0, xmm0
shufps xmm2, xmm2, 0
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov eax, dword [ecx + 0x50]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0040b08c
sub esp, 0x10
rsqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
mulps xmm1, xmm2
movq mm4, mm1
mulps xmm1, xmm0
haddps xmm0, xmm0
subps xmm2, xmm1
subps xmm2, xmm1
rsqrtps xmm0, xmm0
movq mm2, mm0
mulps xmm1, xmm2
subps xmm2, xmm1
rsqrtps xmm0, xmm0
mulps xmm0, xmm0
movq mm3, mm1
movq mm2, mm0
movq mm2, mm0
movaps xmm3, xmm2
mulps xmm1, xmm0
shufps xmm2, xmm2, 0x55
mov ebx, dword [ebp - 0x30]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov eax, dword [ebx + 0x54]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.0040b08c
sub esp, 0x10
mov ebx, eax
divps xmm1, xmm2
movaps xmm1, xmm0
haddps xmm0, xmm0
mulps xmm3, xmm1
subps xmm0, xmm1
subps xmm2, xmm1
movhlps xmm2, xmm0
movaps xmm1, xmm0
movaps xmm1, xmm0
subps xmm2, xmm1
movq mm3, mm1
movaps xmm1, xmm0
movaps xmm3, xmm2
addss xmm2, xmm0
subps xmm2, xmm1
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0x3c]
add eax, dword [ecx + 0x54]
mov dword [esp + 4], edx
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0040afbc
mulps xmm0, xmm0
addss xmm2, xmm0
movaps xmm3, xmm2
movq mm3, mm1
movss xmm0, xmm2
movss xmm0, xmm2
movaps xmm3, xmm2
subps xmm2, xmm1
movaps xmm3, xmm2
shufps xmm2, xmm2, 0
rsqrtps xmm0, xmm0
mov edx, dword [ebp + 8]
mov eax, ebx
mov ecx, dword [ebp - 0x38]
add eax, dword [edx + 0x3c]
mov dword [ecx], eax
haddps xmm0, xmm0
movss xmm0, xmm2
mulps xmm0, xmm0
shufps xmm2, xmm2, 0
mulps xmm1, xmm0
mulps xmm0, xmm0
movq mm3, mm1
addss xmm2, xmm0
mulps xmm3, xmm1
subps xmm0, xmm1
movq mm2, mm0
subps xmm2, xmm1
movhlps xmm2, xmm0
addps xmm2, xmm0
movaps xmm1, xmm0
shufps xmm2, xmm2, 0
movq mm3, mm1
movaps xmm3, xmm2
divps xmm1, xmm2
mov ebx, dword [ebp - 0x40]
mov dword [eax + 0x34], ebx
haddps xmm0, xmm0
addss xmm2, xmm0
shufps xmm2, xmm2, 0x55
movss xmm0, xmm2
subps xmm2, xmm1
movss xmm0, xmm2
movq mm3, mm1
rsqrtps xmm0, xmm0
sqrtss xmm2, xmm2
movq mm2, mm0
mulps xmm3, xmm1
subps xmm0, xmm1
movaps xmm3, xmm2
mulps xmm1, xmm0
shufps xmm2, xmm2, 0x55
rsqrtss xmm2, xmm2
movaps xmm3, xmm2
movss xmm0, xmm2
sqrtss xmm2, xmm2
subps xmm2, xmm1
mov edx, dword [ecx + 4]
movzx ebx, word [eax + 0x14]
mov dword [ebp - 0x2c], edx
movq mm2, mm0
shufps xmm2, xmm2, 0
mulps xmm1, xmm2
movq mm2, mm0
rsqrtps xmm0, xmm0
sqrtss xmm2, xmm2
subps xmm2, xmm1
mulps xmm0, xmm0
rsqrtps xmm0, xmm0
mulps xmm1, xmm0
haddps xmm0, xmm0
mulps xmm0, xmm0
subps xmm2, xmm1
subps xmm2, xmm1
mulps xmm2, xmm0
mulps xmm1, xmm2
movq mm2, mm0
movq mm4, mm1
shufps xmm2, xmm2, 0
mulps xmm2, xmm0
mulps xmm1, xmm2
subps xmm2, xmm1
movzx ecx, word [eax + 6]
mov edx, eax
test cx, cx
je 0x403dea
movzx edx, bx
xor esi, esi
lea ebx, [eax + edx + 0x18]
jmp 0x403c3c
rsqrtss xmm2, xmm2
movaps xmm1, xmm0
subps xmm2, xmm1
movss xmm0, xmm2
movaps xmm1, xmm0
subps xmm0, xmm1
subps xmm2, xmm1
mulps xmm1, xmm0
haddps xmm0, xmm0
mulps xmm1, xmm2
mov edx, dword [ebp - 0x30]
mov edi, dword [edx + 0x38]
mulps xmm2, xmm0
movss xmm0, xmm2
movaps xmm3, xmm2
mulps xmm2, xmm0
movq mm2, mm0
shufps xmm2, xmm2, 0x55
mulps xmm0, xmm0
sqrtss xmm2, xmm2
shufps xmm2, xmm2, 0
haddps xmm0, xmm0
mulps xmm2, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm3, xmm1
subps xmm2, xmm1
movaps xmm1, xmm0
movq mm3, mm1
addss xmm2, xmm0
shufps xmm2, xmm2, 0
rsqrtps xmm0, xmm0
movss xmm0, xmm2
addps xmm2, xmm0
mulps xmm1, xmm0
test edi, edi
jle 0x403c2b
movaps xmm1, xmm0
mulps xmm2, xmm0
divps xmm1, xmm2
movaps xmm3, xmm2
movq mm2, mm0
divps xmm1, xmm2
sqrtss xmm2, xmm2
subps xmm2, xmm1
mulps xmm1, xmm2
mulps xmm2, xmm0
movss xmm0, xmm2
movq mm3, mm1
haddps xmm0, xmm0
movq mm3, mm1
haddps xmm0, xmm0
subps xmm0, xmm1
shufps xmm2, xmm2, 0
shufps xmm2, xmm2, 0x55
movaps xmm3, xmm2
subps xmm0, xmm1
shufps xmm2, xmm2, 0
rsqrtps xmm0, xmm0
mulps xmm0, xmm0
divps xmm1, xmm2
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], edi
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
add eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.0040b08c
sub esp, 0x10
mulps xmm1, xmm2
rsqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
mulps xmm1, xmm0
movq mm3, mm1
movq mm2, mm0
subps xmm2, xmm1
subps xmm2, xmm1
subps xmm2, xmm1
movss xmm0, xmm2
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0
mulps xmm2, xmm0
subps xmm2, xmm1
addss xmm2, xmm0
mulps xmm1, xmm2
haddps xmm0, xmm0
mov dword [ebx + 8], eax
mulps xmm1, xmm2
movss xmm0, xmm2
subps xmm2, xmm1
addss xmm2, xmm0
mulps xmm3, xmm1
mulps xmm0, xmm0
movq mm3, mm1
rsqrtps xmm0, xmm0
mulps xmm1, xmm2
movq mm2, mm0
subps xmm2, xmm1
subps xmm2, xmm1
addps xmm2, xmm0
movq mm2, mm0
sqrtss xmm2, xmm2
movhlps xmm2, xmm0
movq mm4, mm1
movq mm4, mm1
sqrtss xmm2, xmm2
mulps xmm3, xmm1
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040afb4
mulps xmm1, xmm0
divps xmm1, xmm2
movq mm4, mm1
subps xmm2, xmm1
movaps xmm1, xmm0
mulps xmm3, xmm1
mulps xmm0, xmm0
rsqrtss xmm2, xmm2
sqrtss xmm2, xmm2
mulps xmm2, xmm0
subps xmm2, xmm1
rsqrtss xmm2, xmm2
mulps xmm3, xmm1
mulps xmm0, xmm0
movq mm2, mm0
mulps xmm1, xmm0
addss xmm2, xmm0
movaps xmm1, xmm0
movq mm4, mm1
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
movzx ecx, word [eax + 6]
add esi, 1
movzx edx, cx
cmp esi, edx
jge 0x403ddf
add ebx, 0x28
addss xmm2, xmm0
rsqrtps xmm0, xmm0
subps xmm0, xmm1
shufps xmm2, xmm2, 0
addps xmm2, xmm0
mulps xmm2, xmm0
rsqrtss xmm2, xmm2
mulps xmm1, xmm0
haddps xmm0, xmm0
movaps xmm3, xmm2
subps xmm2, xmm1
movq mm2, mm0
movhlps xmm2, xmm0
mulps xmm1, xmm0
movq mm3, mm1
movaps xmm3, xmm2
divps xmm1, xmm2
mulps xmm3, xmm1
rsqrtps xmm0, xmm0
movhlps xmm2, xmm0
divps xmm1, xmm2
subps xmm2, xmm1
movq mm3, mm1
shufps xmm2, xmm2, 0x55
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x403a68
movaps xmm3, xmm2
movq mm4, mm1
movq mm2, mm0
subps xmm0, xmm1
movaps xmm1, xmm0
mulps xmm3, xmm1
movaps xmm3, xmm2
movq mm3, mm1
movss xmm0, xmm2
subps xmm2, xmm1
movq mm4, mm1
divps xmm1, xmm2
subps xmm0, xmm1
movaps xmm1, xmm0
subps xmm0, xmm1
movq mm4, mm1
subps xmm2, xmm1
mulps xmm1, xmm2
mulps xmm1, xmm0
mulps xmm3, xmm1
movq mm3, mm1
shufps xmm2, xmm2, 0
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], edx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
add eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.0040b08c
sub esp, 0x10
mov edi, eax
mulps xmm2, xmm0
movq mm2, mm0
divps xmm1, xmm2
movss xmm0, xmm2
movss xmm0, xmm2
addss xmm2, xmm0
subps xmm2, xmm1
movq mm2, mm0
movq mm3, mm1
mulps xmm3, xmm1
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp + 8]
add eax, dword [ebx + 0x14]
mov dword [esp], edi
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call fcn.0040afbc
sqrtss xmm2, xmm2
subps xmm2, xmm1
haddps xmm0, xmm0
mulps xmm0, xmm0
subps xmm2, xmm1
rsqrtps xmm0, xmm0
mulps xmm2, xmm0
sqrtss xmm2, xmm2
movq mm4, mm1
movss xmm0, xmm2
haddps xmm0, xmm0
movq mm2, mm0
subps xmm2, xmm1
subps xmm2, xmm1
shufps xmm2, xmm2, 0
mulps xmm1, xmm2
mulps xmm3, xmm1
mulps xmm3, xmm1
rsqrtss xmm2, xmm2
subps xmm2, xmm1
addps xmm2, xmm0
shufps xmm2, xmm2, 0x55
subps xmm0, xmm1
movaps xmm1, xmm0
mov dword [ebx + 8], edi
mulps xmm1, xmm2
movaps xmm3, xmm2
movhlps xmm2, xmm0
shufps xmm2, xmm2, 0
addss xmm2, xmm0
movq mm4, mm1
movss xmm0, xmm2
movq mm4, mm1
movq mm4, mm1
shufps xmm2, xmm2, 0x55
sqrtss xmm2, xmm2
subps xmm2, xmm1
movq mm4, mm1
movaps xmm3, xmm2
sqrtss xmm2, xmm2
subps xmm2, xmm1
movq mm2, mm0
movq mm4, mm1
mov edx, dword [ebp - 0x38]
add esi, 1
mov eax, dword [edx]
movzx ecx, word [eax + 6]
movzx edx, cx
cmp esi, edx
jl 0x403c39
mov ecx, dword [ebp - 0x38]
mov edx, eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], ecx
movq mm2, mm0
addps xmm2, xmm0
shufps xmm2, xmm2, 0x55
subps xmm2, xmm1
mulps xmm0, xmm0
movq mm4, mm1
addss xmm2, xmm0
movss xmm0, xmm2
mulps xmm2, xmm0
movhlps xmm2, xmm0
mulps xmm1, xmm0
mulps xmm0, xmm0
mulps xmm2, xmm0
rsqrtss xmm2, xmm2
subps xmm2, xmm1
subps xmm2, xmm1
subps xmm2, xmm1
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0
movq mm3, mm1
movhlps xmm2, xmm0
rsqrtps xmm0, xmm0
haddps xmm0, xmm0
movhlps xmm2, xmm0
haddps xmm0, xmm0
subps xmm2, xmm1
shufps xmm2, xmm2, 0
mulps xmm0, xmm0
haddps xmm0, xmm0
mulps xmm1, xmm0
subps xmm2, xmm1
divps xmm1, xmm2
movq mm4, mm1
mulps xmm3, xmm1
movq mm3, mm1
subps xmm2, xmm1
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebx + 0x34]
mov dword [ebp - 0x34], ecx
movss xmm0, xmm2
divps xmm1, xmm2
addps xmm2, xmm0
movq mm2, mm0
movq mm2, mm0
movq mm3, mm1
addss xmm2, xmm0
shufps xmm2, xmm2, 0x55
haddps xmm0, xmm0
rsqrtss xmm2, xmm2
shufps xmm2, xmm2, 0x55
rsqrtps xmm0, xmm0
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm2
addps xmm2, xmm0
subps xmm2, xmm1
test ecx, ecx
je 0x403fd8
addps xmm2, xmm0
subps xmm2, xmm1
movss xmm0, xmm2
rsqrtps xmm0, xmm0
mulps xmm0, xmm0
sqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
mulps xmm1, xmm2
mulps xmm1, xmm2
divps xmm1, xmm2
mulps xmm1, xmm0
movq mm2, mm0
mulps xmm3, xmm1
subps xmm0, xmm1
addss xmm2, xmm0
mulps xmm0, xmm0
movq mm4, mm1
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm0
shufps xmm2, xmm2, 0x55
movq mm4, mm1
movq mm2, mm0
movq mm4, mm1
movaps xmm1, xmm0
subps xmm2, xmm1
subps xmm2, xmm1
movaps xmm1, xmm0
divps xmm1, xmm2
mulps xmm0, xmm0
sqrtss xmm2, xmm2
movaps xmm1, xmm0
addps xmm2, xmm0
addss xmm2, xmm0
movhlps xmm2, xmm0
movaps xmm3, xmm2
mulps xmm0, xmm0
movq mm3, mm1
movq mm2, mm0
movq mm3, mm1
movhlps xmm2, xmm0
shufps xmm2, xmm2, 0
addps xmm2, xmm0
rsqrtss xmm2, xmm2
mov ebx, dword [eax + 0xa4]
test ebx, ebx
jne 0x405091
mulps xmm2, xmm0
divps xmm1, xmm2
movss xmm0, xmm2
addps xmm2, xmm0
movaps xmm1, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm3, xmm1
movaps xmm1, xmm0
subps xmm0, xmm1
mulps xmm1, xmm0
movss xmm0, xmm2
subps xmm2, xmm1
rsqrtss xmm2, xmm2
haddps xmm0, xmm0
sqrtss xmm2, xmm2
movq mm3, mm1
movq mm3, mm1
mulps xmm1, xmm0
movss xmm0, xmm2
addps xmm2, xmm0
mulps xmm1, xmm2
movq mm2, mm0
movaps xmm3, xmm2
haddps xmm0, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm0
subps xmm2, xmm1
movhlps xmm2, xmm0
rsqrtss xmm2, xmm2
subps xmm2, xmm1
rsqrtps xmm0, xmm0
subps xmm2, xmm1
rsqrtss xmm2, xmm2
movq mm2, mm0
subps xmm2, xmm1
mulps xmm1, xmm0
addss xmm2, xmm0
shufps xmm2, xmm2, 0x55
subps xmm2, xmm1
rsqrtps xmm0, xmm0
mulps xmm3, xmm1
mulps xmm1, xmm2
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
addps xmm2, xmm0
addss xmm2, xmm0
addps xmm2, xmm0
rsqrtps xmm0, xmm0
mulps xmm1, xmm0
movhlps xmm2, xmm0
movss xmm0, xmm2
haddps xmm0, xmm0
movaps xmm1, xmm0
rsqrtps xmm0, xmm0
movq mm2, mm0
movq mm2, mm0
movq mm3, mm1
movq mm4, mm1
movaps xmm3, xmm2
subps xmm0, xmm1
mulps xmm1, xmm2
rsqrtps xmm0, xmm0
subps xmm0, xmm1
movq mm2, mm0
movq mm4, mm1
subps xmm0, xmm1
shufps xmm2, xmm2, 0x55
mulps xmm2, xmm0
subps xmm0, xmm1
addps xmm2, xmm0
movq mm2, mm0
haddps xmm0, xmm0
subps xmm2, xmm1
subps xmm2, xmm1
divps xmm1, xmm2
haddps xmm0, xmm0
mov ecx, dword [edx + 0x84]
mov dword [ebp - 0x3c], 1
test ecx, ecx
je 0x4040dd
mov ebx, dword [ebp - 0x2c]
add ebx, dword [edx + 0x80]
mov dword [ebp - 0x34], ebx
addss xmm2, xmm0
subps xmm2, xmm1
mulps xmm0, xmm0
addps xmm2, xmm0
movaps xmm1, xmm0
addps xmm2, xmm0
mulps xmm1, xmm2
movhlps xmm2, xmm0
haddps xmm0, xmm0
movhlps xmm2, xmm0
shufps xmm2, xmm2, 0x55
mov dword [esp + 4], 0x14
mov dword [esp], ebx
call fcn.0040b054
sub esp, 8
test eax, eax
je 0x404816
addps xmm2, xmm0
subps xmm2, xmm1
movq mm3, mm1
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm0
mulps xmm2, xmm0
divps xmm1, xmm2
shufps xmm2, xmm2, 0
movaps xmm1, xmm0
rsqrtps xmm0, xmm0
movaps xmm1, xmm0
divps xmm1, xmm2
movq mm3, mm1
mulps xmm0, xmm0
movq mm2, mm0
addps xmm2, xmm0
movss xmm0, xmm2
subps xmm2, xmm1
subps xmm0, xmm1
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0x55
rsqrtps xmm0, xmm0
mulps xmm1, xmm0
movaps xmm3, xmm2
movaps xmm3, xmm2
divps xmm1, xmm2
mulps xmm3, xmm1
mulps xmm1, xmm0
rsqrtps xmm0, xmm0
subps xmm2, xmm1
movq mm4, mm1
movss xmm0, xmm2
rsqrtps xmm0, xmm0
mulps xmm2, xmm0
subps xmm0, xmm1
subps xmm2, xmm1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4055c2
mulps xmm2, xmm0
mulps xmm1, xmm2
mulps xmm0, xmm0
movq mm3, mm1
movaps xmm1, xmm0
movaps xmm1, xmm0
mulps xmm1, xmm2
movq mm3, mm1
movq mm3, mm1
shufps xmm2, xmm2, 0
movaps xmm1, xmm0
mulps xmm3, xmm1
rsqrtss xmm2, xmm2
mulps xmm1, xmm0
movq mm2, mm0
mulps xmm1, xmm0
subps xmm2, xmm1
movq mm2, mm0
sqrtss xmm2, xmm2
addps xmm2, xmm0
mov eax, dword [ebp - 0x38]
mov edi, dword [eax]
movzx eax, word [edi + 0x14]
addps xmm2, xmm0
movq mm2, mm0
subps xmm0, xmm1
shufps xmm2, xmm2, 0x55
movaps xmm1, xmm0
movq mm2, mm0
rsqrtss xmm2, xmm2
movhlps xmm2, xmm0
mulps xmm0, xmm0
divps xmm1, xmm2
shufps xmm2, xmm2, 0x55
movq mm3, mm1
movq mm3, mm1
addss xmm2, xmm0
movhlps xmm2, xmm0
addss xmm2, xmm0
cmp word [edi + 6], 0
je 0x404538
movzx eax, ax
lea ebx, [edi + eax + 0x18]
mov dword [ebp - 0x2c], 0
jmp 0x404468
mulps xmm1, xmm0
rsqrtps xmm0, xmm0
movaps xmm3, xmm2
movaps xmm1, xmm0
rsqrtss xmm2, xmm2
movaps xmm1, xmm0
haddps xmm0, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm2
divps xmm1, xmm2
movaps xmm1, xmm0
movq mm2, mm0
divps xmm1, xmm2
mulps xmm3, xmm1
sqrtss xmm2, xmm2
movaps xmm3, xmm2
mov esi, eax
mov edx, eax
sar esi, 0x1f
and edx, 0x40000000
and esi, 4
cmp edx, 1
sbb ecx, ecx
mov edx, eax
and edx, 0x20000000
not ecx
and ecx, 8
cmp edx, 1
sbb edx, edx
not edx
and edx, 0x10
lea ecx, [esi + ecx + 0x423300]
mov ecx, dword [ecx + edx]
shufps xmm2, xmm2, 0
movaps xmm3, xmm2
movhlps xmm2, xmm0
sqrtss xmm2, xmm2
shufps xmm2, xmm2, 0
divps xmm1, xmm2
movq mm4, mm1
movq mm2, mm0
movhlps xmm2, xmm0
movq mm4, mm1
mulps xmm1, xmm2
addps xmm2, xmm0
mulps xmm0, xmm0
subps xmm2, xmm1
rsqrtss xmm2, xmm2
subps xmm2, xmm1
test eax, 0x4000000
je 0x4042c4
movq mm3, mm1
divps xmm1, xmm2
movhlps xmm2, xmm0
haddps xmm0, xmm0
sqrtss xmm2, xmm2
mulps xmm2, xmm0
mulps xmm3, xmm1
haddps xmm0, xmm0
haddps xmm0, xmm0
movq mm2, mm0
mulps xmm3, xmm1
sqrtss xmm2, xmm2
shufps xmm2, xmm2, 0
sqrtss xmm2, xmm2
movss xmm0, xmm2
sqrtss xmm2, xmm2
or ch, 2
mulps xmm2, xmm0
movss xmm0, xmm2
sqrtss xmm2, xmm2
mulps xmm1, xmm0
movhlps xmm2, xmm0
subps xmm2, xmm1
movaps xmm3, xmm2
sqrtss xmm2, xmm2
movq mm2, mm0
rsqrtps xmm0, xmm0
mulps xmm1, xmm0
subps xmm2, xmm1
subps xmm2, xmm1
shufps xmm2, xmm2, 0
sqrtss xmm2, xmm2
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
movq mm2, mm0
mulps xmm3, xmm1
divps xmm1, xmm2
movq mm2, mm0
mulps xmm3, xmm1
addss xmm2, xmm0
mulps xmm0, xmm0
mov edx, dword [ebx + 0x10]
movhlps xmm2, xmm0
subps xmm0, xmm1
movhlps xmm2, xmm0
subps xmm2, xmm1
movhlps xmm2, xmm0
movq mm3, mm1
haddps xmm0, xmm0
subps xmm2, xmm1
mulps xmm3, xmm1
movhlps xmm2, xmm0
test edx, edx
jne 0x404401
addss xmm2, xmm0
shufps xmm2, xmm2, 0x55
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm2
subps xmm2, xmm1
mulps xmm0, xmm0
addss xmm2, xmm0
subps xmm2, xmm1
shufps xmm2, xmm2, 0
rsqrtss xmm2, xmm2
haddps xmm0, xmm0
test al, 0x40
je 0x404fa4
movaps xmm1, xmm0
divps xmm1, xmm2
subps xmm2, xmm1
subps xmm2, xmm1
subps xmm0, xmm1
sqrtss xmm2, xmm2
movaps xmm3, xmm2
subps xmm2, xmm1
movq mm3, mm1
divps xmm1, xmm2
rsqrtss xmm2, xmm2
mulps xmm1, xmm0
rsqrtss xmm2, xmm2
rsqrtss xmm2, xmm2
movhlps xmm2, xmm0
mulps xmm1, xmm2
movq mm3, mm1
movaps xmm3, xmm2
movaps xmm3, xmm2
subps xmm2, xmm1
mov edx, dword [edi + 0x20]
movq mm2, mm0
movaps xmm1, xmm0
movhlps xmm2, xmm0
movss xmm0, xmm2
addps xmm2, xmm0
movhlps xmm2, xmm0
mulps xmm1, xmm0
subps xmm2, xmm1
movhlps xmm2, xmm0
movq mm3, mm1
movaps xmm1, xmm0
haddps xmm0, xmm0
subps xmm2, xmm1
movaps xmm1, xmm0
shufps xmm2, xmm2, 0
mulps xmm3, xmm1
mulps xmm3, xmm1
movaps xmm3, xmm2
mulps xmm3, xmm1
movq mm2, mm0
haddps xmm0, xmm0
subps xmm2, xmm1
addss xmm2, xmm0
movq mm3, mm1
movq mm3, mm1
mulps xmm2, xmm0
divps xmm1, xmm2
movq mm4, mm1
movss xmm0, xmm2
shufps xmm2, xmm2, 0x55
movq mm4, mm1
divps xmm1, xmm2
subps xmm2, xmm1
sqrtss xmm2, xmm2
movq mm3, mm1
haddps xmm0, xmm0
addss xmm2, xmm0
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0
movq mm4, mm1
addss xmm2, xmm0
subps xmm2, xmm1
movaps xmm1, xmm0
haddps xmm0, xmm0
movhlps xmm2, xmm0
mulps xmm1, xmm0
movaps xmm1, xmm0
mulps xmm1, xmm0
mulps xmm1, xmm2
test edx, edx
jne 0x404eb0
divps xmm1, xmm2
shufps xmm2, xmm2, 0
divps xmm1, xmm2
movaps xmm1, xmm0
movq mm4, mm1
mulps xmm2, xmm0
addps xmm2, xmm0
haddps xmm0, xmm0
divps xmm1, xmm2
addss xmm2, xmm0
movaps xmm3, xmm2
mulps xmm2, xmm0
add dword [ebp - 0x2c], 1
movzx eax, word [edi + 6]
cmp dword [ebp - 0x2c], eax
jge 0x404538
add ebx, 0x28
mov eax, dword [ebx + 0x24]
mulps xmm3, xmm1
rsqrtps xmm0, xmm0
mulps xmm1, xmm0
shufps xmm2, xmm2, 0
subps xmm2, xmm1
addps xmm2, xmm0
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
haddps xmm0, xmm0
divps xmm1, xmm2
shufps xmm2, xmm2, 0
test eax, 0x2000000
je 0x4041b5
movq mm2, mm0
rsqrtps xmm0, xmm0
movss xmm0, xmm2
mulps xmm1, xmm0
mulps xmm3, xmm1
haddps xmm0, xmm0
rsqrtss xmm2, xmm2
mulps xmm0, xmm0
mulps xmm2, xmm0
rsqrtps xmm0, xmm0
sqrtss xmm2, xmm2
movaps xmm3, xmm2
movss xmm0, xmm2
rsqrtss xmm2, xmm2
mov dword [esp + 8], 0x4000
mov eax, dword [ebx + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.0040b05c
sub esp, 0xc
subps xmm2, xmm1
subps xmm2, xmm1
addps xmm2, xmm0
movhlps xmm2, xmm0
mulps xmm3, xmm1
movhlps xmm2, xmm0
mulps xmm0, xmm0
subps xmm2, xmm1
mulps xmm1, xmm2
rsqrtps xmm0, xmm0
addps xmm2, xmm0
movaps xmm1, xmm0
rsqrtps xmm0, xmm0
subps xmm2, xmm1
movq mm4, mm1
haddps xmm0, xmm0
rsqrtps xmm0, xmm0
mulps xmm0, xmm0
rsqrtps xmm0, xmm0
mov edx, dword [ebp - 0x38]
add dword [ebp - 0x2c], 1
mov edi, dword [edx]
movzx eax, word [edi + 6]
cmp dword [ebp - 0x2c], eax
jl 0x404465
movq mm2, mm0
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0x55
subps xmm2, xmm1
addss xmm2, xmm0
movss xmm0, xmm2
movaps xmm1, xmm0
addps xmm2, xmm0
movaps xmm3, xmm2
movq mm3, mm1
subps xmm0, xmm1
addss xmm2, xmm0
subps xmm2, xmm1
subps xmm2, xmm1
movq mm2, mm0
subps xmm2, xmm1
addps xmm2, xmm0
sqrtss xmm2, xmm2
mulps xmm2, xmm0
shufps xmm2, xmm2, 0x55
haddps xmm0, xmm0
movss xmm0, xmm2
movq mm4, mm1
addss xmm2, xmm0
shufps xmm2, xmm2, 0
mulps xmm2, xmm0
subps xmm2, xmm1
addss xmm2, xmm0
mulps xmm1, xmm2
mulps xmm1, xmm2
rsqrtss xmm2, xmm2
mulps xmm1, xmm0
rsqrtss xmm2, xmm2
movss xmm0, xmm2
mulps xmm2, xmm0
addss xmm2, xmm0
addps xmm2, xmm0
movaps xmm3, xmm2
mov eax, dword [edi + 0x28]
test eax, eax
je 0x404778
rsqrtss xmm2, xmm2
shufps xmm2, xmm2, 0x55
rsqrtss xmm2, xmm2
shufps xmm2, xmm2, 0x55
subps xmm0, xmm1
divps xmm1, xmm2
rsqrtps xmm0, xmm0
haddps xmm0, xmm0
subps xmm2, xmm1
sqrtss xmm2, xmm2
mulps xmm2, xmm0
rsqrtss xmm2, xmm2
divps xmm1, xmm2
mulps xmm0, xmm0
shufps xmm2, xmm2, 0
mulps xmm1, xmm0
addps xmm2, xmm0
movq mm3, mm1
mulps xmm1, xmm0
rsqrtps xmm0, xmm0
mulps xmm1, xmm0
mulps xmm0, xmm0
haddps xmm0, xmm0
shufps xmm2, xmm2, 0
shufps xmm2, xmm2, 0x55
mulps xmm2, xmm0
movaps xmm3, xmm2
movq mm2, mm0
subps xmm2, xmm1
mulps xmm1, xmm0
subps xmm2, xmm1
addss xmm2, xmm0
rsqrtps xmm0, xmm0
mulps xmm0, xmm0
movhlps xmm2, xmm0
rsqrtss xmm2, xmm2
subps xmm2, xmm1
movhlps xmm2, xmm0
sqrtss xmm2, xmm2
sqrtss xmm2, xmm2
movss xmm0, xmm2
mulps xmm1, xmm2
movhlps xmm2, xmm0
addss xmm2, xmm0
sqrtss xmm2, xmm2
divps xmm1, xmm2
movq mm4, mm1
sqrtss xmm2, xmm2
movq mm4, mm1
subps xmm2, xmm1
mulps xmm1, xmm2
subps xmm2, xmm1
movq mm2, mm0
mulps xmm2, xmm0
shufps xmm2, xmm2, 0
rsqrtss xmm2, xmm2
movhlps xmm2, xmm0
mov ecx, dword [ebp - 0x40]
add eax, dword [ebp - 0x40]
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], ecx
call eax
sub esp, 0xc
movq mm3, mm1
movq mm4, mm1
mulps xmm2, xmm0
sqrtss xmm2, xmm2
shufps xmm2, xmm2, 0x55
rsqrtps xmm0, xmm0
movaps xmm1, xmm0
divps xmm1, xmm2
addps xmm2, xmm0
movaps xmm3, xmm2
mulps xmm1, xmm0
subps xmm0, xmm1
addps xmm2, xmm0
subps xmm0, xmm1
movaps xmm3, xmm2
sqrtss xmm2, xmm2
movhlps xmm2, xmm0
subps xmm2, xmm1
movq mm3, mm1
shufps xmm2, xmm2, 0x55
subps xmm0, xmm1
addss xmm2, xmm0
mulps xmm0, xmm0
mulps xmm0, xmm0
test eax, eax
je 0x4056a1
subps xmm0, xmm1
rsqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
subps xmm0, xmm1
mulps xmm0, xmm0
movss xmm0, xmm2
addss xmm2, xmm0
subps xmm2, xmm1
addps xmm2, xmm0
movq mm3, mm1
movhlps xmm2, xmm0
rsqrtps xmm0, xmm0
movq mm2, mm0
movq mm4, mm1
rsqrtss xmm2, xmm2
subps xmm0, xmm1
mov ebx, dword [ebp - 0x38]
mov dword [ebx + 0x10], 1
mulps xmm1, xmm2
mulps xmm1, xmm0
mulps xmm1, xmm0
mulps xmm1, xmm0
movhlps xmm2, xmm0
mulps xmm0, xmm0
movq mm4, mm1
mulps xmm0, xmm0
rsqrtss xmm2, xmm2
movaps xmm3, xmm2
movaps xmm1, xmm0
divps xmm1, xmm2
shufps xmm2, xmm2, 0x55
subps xmm2, xmm1
movq mm3, mm1
mulps xmm2, xmm0
shufps xmm2, xmm2, 0x55
divps xmm1, xmm2
subps xmm0, xmm1
movq mm3, mm1
mulps xmm1, xmm0
addps xmm2, xmm0
sqrtss xmm2, xmm2
sqrtss xmm2, xmm2
movhlps xmm2, xmm0
addss xmm2, xmm0
mulps xmm1, xmm2
rsqrtps xmm0, xmm0
movq mm2, mm0
haddps xmm0, xmm0
shufps xmm2, xmm2, 0
mulps xmm2, xmm0
mov eax, dword [ebp - 0x38]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movaps xmm3, xmm2
shufps xmm2, xmm2, 0
movhlps xmm2, xmm0
subps xmm0, xmm1
movq mm3, mm1
rsqrtss xmm2, xmm2
movaps xmm3, xmm2
movhlps xmm2, xmm0
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
divps xmm1, xmm2
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm0, xmm0
movaps xmm3, xmm2
movq mm4, mm1
rsqrtps xmm0, xmm0
movq mm2, mm0
movq mm4, mm1
movaps xmm1, xmm0
sqrtss xmm2, xmm2
addss xmm2, xmm0
mulps xmm2, xmm0
mulps xmm3, xmm1
addps xmm2, xmm0
mulps xmm3, xmm1
mulps xmm2, xmm0
movq mm3, mm1
movq mm2, mm0
addps xmm2, xmm0
movaps xmm1, xmm0
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x40409e
add eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.0040b064
sub esp, 4
mov edi, eax
movaps xmm1, xmm0
mulps xmm1, xmm2
movss xmm0, xmm2
divps xmm1, xmm2
rsqrtss xmm2, xmm2
movhlps xmm2, xmm0
addps xmm2, xmm0
movq mm2, mm0
movq mm2, mm0
haddps xmm0, xmm0
rsqrtss xmm2, xmm2
mulps xmm1, xmm0
addps xmm2, xmm0
rsqrtss xmm2, xmm2
addps xmm2, xmm0
movq mm3, mm1
movaps xmm3, xmm2
movaps xmm3, xmm2
movhlps xmm2, xmm0
movq mm3, mm1
movss xmm0, xmm2
movss xmm0, xmm2
movaps xmm1, xmm0
shufps xmm2, xmm2, 0
test eax, eax
je 0x4053ed
mulps xmm1, xmm2
rsqrtps xmm0, xmm0
mulps xmm1, xmm0
mulps xmm2, xmm0
movss xmm0, xmm2
movq mm2, mm0
movq mm3, mm1
divps xmm1, xmm2
mulps xmm1, xmm2
movq mm4, mm1
sqrtss xmm2, xmm2
addps xmm2, xmm0
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0xc]
lea ebx, [eax*4 + 4]
call fcn.0040b074
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040b06c
sub esp, 0xc
mov ebx, eax
addss xmm2, xmm0
movhlps xmm2, xmm0
rsqrtss xmm2, xmm2
movq mm3, mm1
movaps xmm3, xmm2
movaps xmm3, xmm2
mulps xmm1, xmm0
rsqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
haddps xmm0, xmm0
sqrtss xmm2, xmm2
movss xmm0, xmm2
rsqrtss xmm2, xmm2
mulps xmm1, xmm0
movaps xmm3, xmm2
movq mm4, mm1
addss xmm2, xmm0
addss xmm2, xmm0
shufps xmm2, xmm2, 0x55
addss xmm2, xmm0
movq mm2, mm0
mov ecx, dword [ebp - 0x38]
mov esi, dword [ecx + 8]
call fcn.0040b074
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov dword [esp], eax
call fcn.0040b07c
sub esp, 0xc
haddps xmm0, xmm0
shufps xmm2, xmm2, 0
addss xmm2, xmm0
divps xmm1, xmm2
mulps xmm2, xmm0
shufps xmm2, xmm2, 0
addps xmm2, xmm0
shufps xmm2, xmm2, 0x55
movq mm3, mm1
rsqrtps xmm0, xmm0
movaps xmm3, xmm2
mulps xmm2, xmm0
mov eax, dword [ebp - 0x38]
mov dword [eax + 8], ebx
subps xmm0, xmm1
shufps xmm2, xmm2, 0x55
sqrtss xmm2, xmm2
movq mm2, mm0
movss xmm0, xmm2
subps xmm0, xmm1
movq mm4, mm1
movq mm3, mm1
movq mm2, mm0
movaps xmm3, xmm2
mulps xmm1, xmm2
shufps xmm2, xmm2, 0x55
test ebx, ebx
je 0x405554
mov edx, eax
movhlps xmm2, xmm0
rsqrtps xmm0, xmm0
mulps xmm1, xmm2
rsqrtss xmm2, xmm2
mulps xmm2, xmm0
movaps xmm1, xmm0
mulps xmm3, xmm1
movq mm3, mm1
subps xmm2, xmm1
movss xmm0, xmm2
mov eax, dword [eax + 0xc]
mov dword [ebx + eax*4], edi
add eax, 1
mov dword [edx + 0xc], eax
shufps xmm2, xmm2, 0
divps xmm1, xmm2
movss xmm0, xmm2
addps xmm2, xmm0
movhlps xmm2, xmm0
subps xmm2, xmm1
movq mm3, mm1
divps xmm1, xmm2
mulps xmm3, xmm1
mulps xmm3, xmm1
subps xmm2, xmm1
mulps xmm1, xmm2
subps xmm0, xmm1
movq mm3, mm1
mov ecx, dword [ebp - 0x34]
mov esi, dword [ecx]
test esi, esi
je 0x404e03
mulps xmm2, xmm0
mulps xmm1, xmm0
mulps xmm3, xmm1
subps xmm2, xmm1
addss xmm2, xmm0
haddps xmm0, xmm0
addss xmm2, xmm0
addps xmm2, xmm0
rsqrtss xmm2, xmm2
divps xmm1, xmm2
mulps xmm3, xmm1
movq mm2, mm0
mulps xmm2, xmm0
movhlps xmm2, xmm0
movhlps xmm2, xmm0
rsqrtss xmm2, xmm2
subps xmm2, xmm1
haddps xmm0, xmm0
mulps xmm0, xmm0
movq mm3, mm1
movhlps xmm2, xmm0
sqrtss xmm2, xmm2
movq mm2, mm0
haddps xmm0, xmm0
add esi, dword [ebp - 0x2c]
subps xmm2, xmm1
subps xmm2, xmm1
sqrtss xmm2, xmm2
movaps xmm1, xmm0
haddps xmm0, xmm0
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
movhlps xmm2, xmm0
mulps xmm1, xmm0
mulps xmm0, xmm0
movaps xmm3, xmm2
movaps xmm1, xmm0
mulps xmm2, xmm0
mulps xmm1, xmm0
movss xmm0, xmm2
movq mm2, mm0
mov edx, dword [ebp - 0x2c]
add edx, dword [ecx + 0x10]
movhlps xmm2, xmm0
subps xmm2, xmm1
subps xmm0, xmm1
movq mm4, mm1
rsqrtss xmm2, xmm2
movhlps xmm2, xmm0
movq mm4, mm1
shufps xmm2, xmm2, 0
subps xmm0, xmm1
rsqrtps xmm0, xmm0
movq mm3, mm1
rsqrtss xmm2, xmm2
subps xmm2, xmm1
movaps xmm1, xmm0
subps xmm0, xmm1
subps xmm2, xmm1
mulps xmm0, xmm0
subps xmm2, xmm1
mulps xmm0, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm2
rsqrtss xmm2, xmm2
mulps xmm0, xmm0
movq mm4, mm1
addss xmm2, xmm0
movaps xmm3, xmm2
haddps xmm0, xmm0
addss xmm2, xmm0
subps xmm0, xmm1
movss xmm0, xmm2
divps xmm1, xmm2
shufps xmm2, xmm2, 0
mulps xmm1, xmm2
shufps xmm2, xmm2, 0
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0x55
subps xmm2, xmm1
mov eax, dword [esi]
test eax, eax
je 0x404d84
mov dword [ebp - 0x30], esi
xor ebx, ebx
mov esi, edx
jmp 0x404c3e
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
movhlps xmm2, xmm0
movq mm2, mm0
movss xmm0, xmm2
mulps xmm0, xmm0
movhlps xmm2, xmm0
subps xmm2, xmm1
mulps xmm3, xmm1
mulps xmm1, xmm2
mulps xmm1, xmm0
mulps xmm1, xmm2
divps xmm1, xmm2
rsqrtps xmm0, xmm0
movaps xmm3, xmm2
mulps xmm0, xmm0
addps xmm2, xmm0
rsqrtps xmm0, xmm0
mulps xmm1, xmm0
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0
mulps xmm3, xmm1
mulps xmm0, xmm0
movq mm3, mm1
sqrtss xmm2, xmm2
haddps xmm0, xmm0
addps xmm2, xmm0
subps xmm0, xmm1
movaps xmm3, xmm2
movaps xmm3, xmm2
mulps xmm1, xmm0
movq mm3, mm1
divps xmm1, xmm2
mulps xmm2, xmm0
mov edx, dword [ebp - 0x2c]
mov dword [esp], edi
lea eax, [edx + eax + 2]
mov dword [esp + 4], eax
call fcn.0040b03c
sub esp, 8
mov dword [esi + ebx], eax
mulps xmm1, xmm0
movss xmm0, xmm2
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm0
rsqrtss xmm2, xmm2
movaps xmm1, xmm0
rsqrtps xmm0, xmm0
addss xmm2, xmm0
mulps xmm3, xmm1
subps xmm2, xmm1
rsqrtss xmm2, xmm2
mulps xmm0, xmm0
movaps xmm3, xmm2
addss xmm2, xmm0
sqrtss xmm2, xmm2
mulps xmm2, xmm0
mulps xmm2, xmm0
rsqrtss xmm2, xmm2
movhlps xmm2, xmm0
sqrtss xmm2, xmm2
mulps xmm0, xmm0
addss xmm2, xmm0
mulps xmm0, xmm0
rsqrtps xmm0, xmm0
movaps xmm1, xmm0
haddps xmm0, xmm0
rsqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
movq mm2, mm0
rsqrtps xmm0, xmm0
addps xmm2, xmm0
subps xmm0, xmm1
test eax, eax
je 0x404d24
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + ebx + 4]
add ebx, 4
test eax, eax
je 0x404d84
divps xmm1, xmm2
movq mm3, mm1
shufps xmm2, xmm2, 0
movq mm2, mm0
movq mm2, mm0
mulps xmm1, xmm0
movaps xmm1, xmm0
mulps xmm0, xmm0
movq mm4, mm1
rsqrtps xmm0, xmm0
mulps xmm0, xmm0
divps xmm1, xmm2
movq mm3, mm1
addps xmm2, xmm0
addps xmm2, xmm0
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0x55
rsqrtps xmm0, xmm0
addps xmm2, xmm0
subps xmm2, xmm1
mulps xmm0, xmm0
rsqrtss xmm2, xmm2
test eax, eax
jns 0x404b30
mulps xmm1, xmm0
movss xmm0, xmm2
mulps xmm1, xmm2
haddps xmm0, xmm0
addps xmm2, xmm0
movaps xmm1, xmm0
subps xmm2, xmm1
addps xmm2, xmm0
shufps xmm2, xmm2, 0x55
rsqrtps xmm0, xmm0
mulps xmm2, xmm0
addps xmm2, xmm0
movq mm2, mm0
movq mm2, mm0
divps xmm1, xmm2
movss xmm0, xmm2
addss xmm2, xmm0
rsqrtss xmm2, xmm2
and eax, 0xffff
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.0040b03c
sub esp, 8
mov dword [esi + ebx], eax
mulps xmm1, xmm0
subps xmm2, xmm1
movaps xmm3, xmm2
rsqrtss xmm2, xmm2
addss xmm2, xmm0
addps xmm2, xmm0
movq mm4, mm1
rsqrtps xmm0, xmm0
movq mm2, mm0
divps xmm1, xmm2
movq mm4, mm1
mulps xmm1, xmm2
movq mm3, mm1
subps xmm2, xmm1
mulps xmm2, xmm0
haddps xmm0, xmm0
movq mm3, mm1
movss xmm0, xmm2
subps xmm2, xmm1
addps xmm2, xmm0
jmp 0x404be1
movq mm4, mm1
movq mm3, mm1
shufps xmm2, xmm2, 0
mulps xmm0, xmm0
shufps xmm2, xmm2, 0x55
rsqrtps xmm0, xmm0
subps xmm2, xmm1
sqrtss xmm2, xmm2
mulps xmm0, xmm0
subps xmm2, xmm1
subps xmm2, xmm1
mulps xmm2, xmm0
subps xmm0, xmm1
mulps xmm1, xmm2
movq mm2, mm0
mulps xmm0, xmm0
shufps xmm2, xmm2, 0x55
movq mm3, mm1
rsqrtss xmm2, xmm2
addss xmm2, xmm0
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
mulps xmm2, xmm0
mulps xmm0, xmm0
movq mm3, mm1
subps xmm2, xmm1
haddps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movaps xmm1, xmm0
movss xmm0, xmm2
subps xmm2, xmm1
shufps xmm2, xmm2, 0
sqrtss xmm2, xmm2
movq mm4, mm1
mulps xmm1, xmm0
mulps xmm2, xmm0
mulps xmm3, xmm1
rsqrtps xmm0, xmm0
sqrtss xmm2, xmm2
shufps xmm2, xmm2, 0
subps xmm2, xmm1
addps xmm2, xmm0
haddps xmm0, xmm0
shufps xmm2, xmm2, 0
sqrtss xmm2, xmm2
addps xmm2, xmm0
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x40409e
divps xmm1, xmm2
addps xmm2, xmm0
shufps xmm2, xmm2, 0x55
subps xmm0, xmm1
shufps xmm2, xmm2, 0
subps xmm2, xmm1
movaps xmm3, xmm2
movhlps xmm2, xmm0
movq mm3, mm1
movss xmm0, xmm2
movhlps xmm2, xmm0
movhlps xmm2, xmm0
mulps xmm1, xmm0
add dword [ebp - 0x34], 0x14
mov ebx, dword [ebp - 0x34]
jmp 0x404083
mulps xmm0, xmm0
subps xmm2, xmm1
movq mm4, mm1
subps xmm2, xmm1
addps xmm2, xmm0
addps xmm2, xmm0
sqrtss xmm2, xmm2
mulps xmm1, xmm0
mulps xmm3, xmm1
movhlps xmm2, xmm0
shufps xmm2, xmm2, 0x55
sqrtss xmm2, xmm2
sqrtss xmm2, xmm2
subps xmm2, xmm1
subps xmm2, xmm1
subps xmm0, xmm1
mulps xmm1, xmm0
mov esi, dword [ebp - 0x2c]
add esi, dword [ecx + 0x10]
movq mm2, mm0
rsqrtss xmm2, xmm2
movaps xmm1, xmm0
mulps xmm2, xmm0
addps xmm2, xmm0
movhlps xmm2, xmm0
mulps xmm0, xmm0
subps xmm2, xmm1
movhlps xmm2, xmm0
rsqrtps xmm0, xmm0
movaps xmm1, xmm0
movq mm2, mm0
haddps xmm0, xmm0
movaps xmm3, xmm2
movq mm3, mm1
movq mm4, mm1
shufps xmm2, xmm2, 0x55
movaps xmm3, xmm2
mov edx, esi
divps xmm1, xmm2
rsqrtss xmm2, xmm2
shufps xmm2, xmm2, 0
haddps xmm0, xmm0
sqrtss xmm2, xmm2
movss xmm0, xmm2
shufps xmm2, xmm2, 0
mulps xmm3, xmm1
movq mm3, mm1
haddps xmm0, xmm0
movss xmm0, xmm2
movq mm4, mm1
jmp 0x404acc
movaps xmm1, xmm0
rsqrtps xmm0, xmm0
movhlps xmm2, xmm0
subps xmm0, xmm1
movaps xmm3, xmm2
movss xmm0, xmm2
movss xmm0, xmm2
haddps xmm0, xmm0
movaps xmm3, xmm2
movq mm3, mm1
rsqrtss xmm2, xmm2
addss xmm2, xmm0
mulps xmm0, xmm0
movq mm2, mm0
subps xmm2, xmm1
mulps xmm0, xmm0
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0x55
rsqrtss xmm2, xmm2
sqrtss xmm2, xmm2
mulps xmm3, xmm1
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.0040b084
sub esp, 0x10
test eax, eax
jne 0x404f5c
sqrtss xmm2, xmm2
shufps xmm2, xmm2, 0x55
subps xmm0, xmm1
subps xmm2, xmm1
subps xmm0, xmm1
mulps xmm0, xmm0
mulps xmm1, xmm2
addss xmm2, xmm0
movhlps xmm2, xmm0
movq mm4, mm1
haddps xmm0, xmm0
divps xmm1, xmm2
movq mm2, mm0
movq mm2, mm0
mulps xmm2, xmm0
movaps xmm3, xmm2
addps xmm2, xmm0
addss xmm2, xmm0
movaps xmm1, xmm0
subps xmm2, xmm1
movq mm4, mm1
movq mm3, mm1
mulps xmm3, xmm1
movq mm3, mm1
movaps xmm3, xmm2
shufps xmm2, xmm2, 0
rsqrtss xmm2, xmm2
mulps xmm0, xmm0
rsqrtps xmm0, xmm0
mulps xmm1, xmm2
movaps xmm1, xmm0
movss xmm0, xmm2
addss xmm2, xmm0
addps xmm2, xmm0
divps xmm1, xmm2
rsqrtss xmm2, xmm2
mulps xmm3, xmm1
mulps xmm1, xmm0
subps xmm2, xmm1
movaps xmm3, xmm2
mov edx, dword [ebp - 0x38]
mov edi, dword [edx]
jmp 0x40442d
test al, al
jns 0x4043c8
shufps xmm2, xmm2, 0x55
mulps xmm2, xmm0
subps xmm0, xmm1
movaps xmm1, xmm0
subps xmm2, xmm1
movq mm4, mm1
mulps xmm3, xmm1
subps xmm2, xmm1
subps xmm2, xmm1
subps xmm2, xmm1
addps xmm2, xmm0
movhlps xmm2, xmm0
mulps xmm0, xmm0
shufps xmm2, xmm2, 0
sqrtss xmm2, xmm2
movaps xmm1, xmm0
mov edx, dword [edi + 0x24]
subps xmm2, xmm1
subps xmm0, xmm1
addss xmm2, xmm0
mulps xmm0, xmm0
subps xmm0, xmm1
movq mm2, mm0
mulps xmm1, xmm2
shufps xmm2, xmm2, 0x55
mulps xmm0, xmm0
sqrtss xmm2, xmm2
divps xmm1, xmm2
movq mm3, mm1
divps xmm1, xmm2
mulps xmm2, xmm0
rsqrtps xmm0, xmm0
movaps xmm1, xmm0
movss xmm0, xmm2
mulps xmm1, xmm0
rsqrtps xmm0, xmm0
subps xmm2, xmm1
movss xmm0, xmm2
jmp 0x4043c8
sqrtss xmm2, xmm2
haddps xmm0, xmm0
subps xmm0, xmm1
haddps xmm0, xmm0
sqrtss xmm2, xmm2
subps xmm2, xmm1
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0
divps xmm1, xmm2
subps xmm0, xmm1
addps xmm2, xmm0
mulps xmm2, xmm0
movss xmm0, xmm2
subps xmm2, xmm1
mulps xmm1, xmm0
subps xmm0, xmm1
movaps xmm3, xmm2
addps xmm2, xmm0
subps xmm0, xmm1
addps xmm2, xmm0
subps xmm0, xmm1
subps xmm0, xmm1
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0
shufps xmm2, xmm2, 0
rsqrtps xmm0, xmm0
addps xmm2, xmm0
rsqrtps xmm0, xmm0
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movq mm3, mm1
movq mm4, mm1
mulps xmm1, xmm0
mulps xmm0, xmm0
subps xmm2, xmm1
movss xmm0, xmm2
movaps xmm1, xmm0
mulps xmm2, xmm0
movaps xmm1, xmm0
movq mm3, mm1
rsqrtps xmm0, xmm0
movaps xmm3, xmm2
subps xmm2, xmm1
subps xmm0, xmm1
addss xmm2, xmm0
mulps xmm0, xmm0
haddps xmm0, xmm0
movss xmm0, xmm2
mov esi, dword [ebp - 0x2c]
add esi, dword [eax + 0xa0]
addss xmm2, xmm0
subps xmm0, xmm1
addps xmm2, xmm0
mulps xmm3, xmm1
sqrtss xmm2, xmm2
subps xmm0, xmm1
mulps xmm2, xmm0
addss xmm2, xmm0
haddps xmm0, xmm0
haddps xmm0, xmm0
sqrtss xmm2, xmm2
addps xmm2, xmm0
movss xmm0, xmm2
mulps xmm1, xmm2
rsqrtss xmm2, xmm2
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm2
mulps xmm0, xmm0
movq mm2, mm0
movq mm3, mm1
rsqrtps xmm0, xmm0
movhlps xmm2, xmm0
mov eax, dword [esi]
test eax, eax
je 0x4053b3
lea esi, [esi]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
movaps xmm1, xmm0
mulps xmm1, xmm2
sqrtss xmm2, xmm2
movq mm2, mm0
movss xmm0, xmm2
sqrtss xmm2, xmm2
movhlps xmm2, xmm0
movq mm2, mm0
movhlps xmm2, xmm0
mulps xmm2, xmm0
mulps xmm1, xmm0
haddps xmm0, xmm0
movhlps xmm2, xmm0
subps xmm2, xmm1
mulps xmm2, xmm0
movq mm2, mm0
subps xmm2, xmm1
movq mm4, mm1
mulps xmm0, xmm0
movss xmm0, xmm2
mov edi, dword [esi + 4]
lea ebx, [edi - 8]
mov eax, ebx
shr eax, 1
je 0x405314
xor eax, eax
jmp 0x4051e4
mulps xmm3, xmm1
subps xmm2, xmm1
movaps xmm3, xmm2
movhlps xmm2, xmm0
mulps xmm1, xmm2
movq mm2, mm0
sqrtss xmm2, xmm2
mulps xmm1, xmm2
haddps xmm0, xmm0
mulps xmm0, xmm0
movaps xmm3, xmm2
movq mm4, mm1
divps xmm1, xmm2
addps xmm2, xmm0
divps xmm1, xmm2
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm2
movaps xmm1, xmm0
divps xmm1, xmm2
mulps xmm1, xmm2
lea ebx, [edi - 8]
mov edx, ebx
add eax, 1
shr edx, 1
cmp eax, edx
jae 0x405314
movzx ecx, word [esi + eax*2 + 8]
movq mm2, mm0
mulps xmm2, xmm0
mulps xmm2, xmm0
divps xmm1, xmm2
sqrtss xmm2, xmm2
haddps xmm0, xmm0
divps xmm1, xmm2
mulps xmm2, xmm0
movhlps xmm2, xmm0
rsqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
sqrtss xmm2, xmm2
mulps xmm1, xmm2
movq mm2, mm0
mulps xmm2, xmm0
mov edx, ecx
sar edx, 0xc
test edx, edx
je 0x405190
cmp edx, 3
jne 0x4051d5
movq mm2, mm0
sqrtss xmm2, xmm2
movq mm4, mm1
mulps xmm1, xmm2
movq mm2, mm0
movss xmm0, xmm2
divps xmm1, xmm2
subps xmm2, xmm1
subps xmm2, xmm1
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0x55
movaps xmm3, xmm2
mulps xmm1, xmm0
movaps xmm1, xmm0
subps xmm0, xmm1
movss xmm0, xmm2
sqrtss xmm2, xmm2
and ecx, 0xfff
add ecx, dword [ebp - 0x30]
subps xmm2, xmm1
mulps xmm0, xmm0
movaps xmm3, xmm2
shufps xmm2, xmm2, 0
rsqrtps xmm0, xmm0
rsqrtss xmm2, xmm2
movaps xmm1, xmm0
movss xmm0, xmm2
rsqrtps xmm0, xmm0
movq mm4, mm1
mulps xmm3, xmm1
movaps xmm1, xmm0
rsqrtss xmm2, xmm2
mulps xmm0, xmm0
haddps xmm0, xmm0
mulps xmm1, xmm0
movq mm2, mm0
addps xmm2, xmm0
subps xmm0, xmm1
rsqrtss xmm2, xmm2
movq mm2, mm0
subps xmm0, xmm1
addss xmm2, xmm0
mov edx, dword [ebp - 0x34]
add dword [ecx], edx
mulps xmm3, xmm1
movaps xmm1, xmm0
subps xmm0, xmm1
movss xmm0, xmm2
movhlps xmm2, xmm0
rsqrtps xmm0, xmm0
mulps xmm1, xmm0
addps xmm2, xmm0
haddps xmm0, xmm0
rsqrtss xmm2, xmm2
mulps xmm2, xmm0
haddps xmm0, xmm0
subps xmm0, xmm1
movss xmm0, xmm2
movss xmm0, xmm2
mulps xmm1, xmm0
rsqrtss xmm2, xmm2
rsqrtss xmm2, xmm2
subps xmm2, xmm1
mov edi, dword [esi + 4]
add eax, 1
lea ebx, [edi - 8]
mov edx, ebx
shr edx, 1
cmp eax, edx
jb 0x4051e4
divps xmm1, xmm2
mulps xmm0, xmm0
addss xmm2, xmm0
mulps xmm2, xmm0
movss xmm0, xmm2
movhlps xmm2, xmm0
subps xmm0, xmm1
movhlps xmm2, xmm0
addss xmm2, xmm0
movhlps xmm2, xmm0
divps xmm1, xmm2
subps xmm0, xmm1
rsqrtss xmm2, xmm2
movq mm3, mm1
mulps xmm1, xmm0
movq mm3, mm1
movq mm2, mm0
haddps xmm0, xmm0
movhlps xmm2, xmm0
movss xmm0, xmm2
mulps xmm2, xmm0
movq mm3, mm1
movss xmm0, xmm2
add esi, edi
movss xmm0, xmm2
movq mm2, mm0
divps xmm1, xmm2
subps xmm2, xmm1
addss xmm2, xmm0
subps xmm0, xmm1
movaps xmm1, xmm0
subps xmm0, xmm1
movaps xmm1, xmm0
movq mm2, mm0
addps xmm2, xmm0
shufps xmm2, xmm2, 0
mulps xmm3, xmm1
rsqrtss xmm2, xmm2
mulps xmm0, xmm0
movaps xmm1, xmm0
movq mm3, mm1
mulps xmm1, xmm0
mulps xmm0, xmm0
rsqrtss xmm2, xmm2
mulps xmm1, xmm0
movhlps xmm2, xmm0
mov eax, dword [esi]
test eax, eax
jne 0x405130
movq mm4, mm1
movhlps xmm2, xmm0
movq mm3, mm1
subps xmm2, xmm1
haddps xmm0, xmm0
movq mm2, mm0
shufps xmm2, xmm2, 0x55
rsqrtps xmm0, xmm0
movhlps xmm2, xmm0
movss xmm0, xmm2
movq mm4, mm1
addps xmm2, xmm0
haddps xmm0, xmm0
movq mm2, mm0
shufps xmm2, xmm2, 0
subps xmm0, xmm1
jmp 0x403f48
movq mm4, mm1
mulps xmm0, xmm0
mulps xmm1, xmm2
rsqrtps xmm0, xmm0
mulps xmm2, xmm0
mulps xmm1, xmm0
mulps xmm1, xmm0
rsqrtps xmm0, xmm0
sqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
subps xmm2, xmm1
addps xmm2, xmm0
rsqrtps xmm0, xmm0
rsqrtps xmm0, xmm0
movaps xmm3, xmm2
mulps xmm0, xmm0
divps xmm1, xmm2
mulps xmm1, xmm2
mulps xmm3, xmm1
mulps xmm0, xmm0
mulps xmm1, xmm0
addss xmm2, xmm0
subps xmm2, xmm1
mulps xmm0, xmm0
subps xmm2, xmm1
movq mm3, mm1
subps xmm2, xmm1
movhlps xmm2, xmm0
mov dword [ebp - 0x3c], 0
jmp 0x40409e
subps xmm2, xmm1
addps xmm2, xmm0
sqrtss xmm2, xmm2
sqrtss xmm2, xmm2
subps xmm2, xmm1
addps xmm2, xmm0
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0x55
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm0
haddps xmm0, xmm0
shufps xmm2, xmm2, 0x55
subps xmm2, xmm1
sqrtss xmm2, xmm2
mulps xmm0, xmm0
movaps xmm3, xmm2
mulps xmm1, xmm2
mov ebx, dword [ebp - 0x30]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x2000
mov eax, dword [ebx + 0x50]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.0040b08c
sub esp, 0x10
mov dword [ebp - 0x40], eax
rsqrtss xmm2, xmm2
movhlps xmm2, xmm0
movq mm3, mm1
subps xmm2, xmm1
mulps xmm0, xmm0
mulps xmm1, xmm2
movss xmm0, xmm2
mulps xmm2, xmm0
rsqrtss xmm2, xmm2
divps xmm1, xmm2
movq mm2, mm0
mulps xmm1, xmm2
shufps xmm2, xmm2, 0
mulps xmm1, xmm0
shufps xmm2, xmm2, 0x55
movq mm3, mm1
mulps xmm1, xmm2
movaps xmm3, xmm2
movss xmm0, xmm2
movaps xmm1, xmm0
addps xmm2, xmm0
subps xmm2, xmm1
rsqrtss xmm2, xmm2
test eax, eax
je 0x405713
subps xmm2, xmm1
shufps xmm2, xmm2, 0
divps xmm1, xmm2
sqrtss xmm2, xmm2
addps xmm2, xmm0
movq mm2, mm0
shufps xmm2, xmm2, 0
movaps xmm1, xmm0
movq mm3, mm1
mulps xmm1, xmm2
mulps xmm0, xmm0
addps xmm2, xmm0
movq mm2, mm0
haddps xmm0, xmm0
mulps xmm3, xmm1
movq mm3, mm1
haddps xmm0, xmm0
mulps xmm2, xmm0
mulps xmm0, xmm0
addss xmm2, xmm0
jmp 0x4036a5
movss xmm0, xmm2
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
movaps xmm1, xmm0
sqrtss xmm2, xmm2
subps xmm2, xmm1
mulps xmm0, xmm0
shufps xmm2, xmm2, 0
subps xmm0, xmm1
mulps xmm3, xmm1
subps xmm2, xmm1
rsqrtss xmm2, xmm2
subps xmm2, xmm1
rsqrtss xmm2, xmm2
movq mm4, mm1
rsqrtss xmm2, xmm2
addss xmm2, xmm0
movaps xmm3, xmm2
mulps xmm2, xmm0
mulps xmm1, xmm0
mulps xmm1, xmm2
addss xmm2, xmm0
shufps xmm2, xmm2, 0x55
movss xmm0, xmm2
subps xmm2, xmm1
addps xmm2, xmm0
mulps xmm1, xmm2
movaps xmm3, xmm2
rsqrtps xmm0, xmm0
mov dword [ebp - 0x3c], 0
jmp 0x40409e
movaps xmm3, xmm2
movaps xmm3, xmm2
mulps xmm1, xmm0
movq mm2, mm0
movss xmm0, xmm2
divps xmm1, xmm2
mulps xmm0, xmm0
subps xmm0, xmm1
haddps xmm0, xmm0
movss xmm0, xmm2
addps xmm2, xmm0
movaps xmm3, xmm2
addps xmm2, xmm0
movq mm4, mm1
divps xmm1, xmm2
movaps xmm1, xmm0
rsqrtss xmm2, xmm2
mulps xmm0, xmm0
movhlps xmm2, xmm0
subps xmm2, xmm1
movq mm3, mm1
subps xmm2, xmm1
movss xmm0, xmm2
movaps xmm3, xmm2
movq mm4, mm1
shufps xmm2, xmm2, 0x55
addss xmm2, xmm0
subps xmm2, xmm1
movq mm2, mm0
mulps xmm1, xmm0
mulps xmm0, xmm0
movaps xmm3, xmm2
sqrtss xmm2, xmm2
sqrtss xmm2, xmm2
addps xmm2, xmm0
movq mm2, mm0
rsqrtps xmm0, xmm0
movaps xmm3, xmm2
movq mm4, mm1
mulps xmm1, xmm2
mulps xmm1, xmm0
movq mm2, mm0
shufps xmm2, xmm2, 0x55
mulps xmm0, xmm0
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.00402a10
movaps xmm1, xmm0
haddps xmm0, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
mulps xmm1, xmm2
shufps xmm2, xmm2, 0x55
mulps xmm3, xmm1
mulps xmm1, xmm2
movq mm3, mm1
addss xmm2, xmm0
haddps xmm0, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm2, xmm0
subps xmm2, xmm1
addps xmm2, xmm0
addps xmm2, xmm0
movq mm4, mm1
mulps xmm1, xmm0
addss xmm2, xmm0
xor eax, eax
jmp 0x40480e
movss xmm0, xmm2
mulps xmm3, xmm1
movss xmm0, xmm2
mulps xmm0, xmm0
addss xmm2, xmm0
mulps xmm1, xmm0
haddps xmm0, xmm0
divps xmm1, xmm2
movq mm3, mm1
divps xmm1, xmm2
subps xmm0, xmm1
movq mm2, mm0
shufps xmm2, xmm2, 0x55
movss xmm0, xmm2
movhlps xmm2, xmm0
movq mm2, mm0
sqrtss xmm2, xmm2
subps xmm2, xmm1
mulps xmm1, xmm0
haddps xmm0, xmm0
rsqrtps xmm0, xmm0
subps xmm2, xmm1
subps xmm2, xmm1
movq mm3, mm1
movaps xmm1, xmm0
mulps xmm1, xmm0
shufps xmm2, xmm2, 0x55
rsqrtps xmm0, xmm0
movhlps xmm2, xmm0
divps xmm1, xmm2
addps xmm2, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm2, xmm0
jmp 0x405605
shufps xmm2, xmm2, 0x55
rsqrtss xmm2, xmm2
subps xmm2, xmm1
addss xmm2, xmm0
haddps xmm0, xmm0
movaps xmm3, xmm2
rsqrtps xmm0, xmm0
rsqrtss xmm2, xmm2
shufps xmm2, xmm2, 0
movq mm2, mm0
sqrtss xmm2, xmm2
movhlps xmm2, xmm0
divps xmm1, xmm2
movq mm3, mm1
movaps xmm1, xmm0
movq mm2, mm0
mulps xmm1, xmm2
rsqrtss xmm2, xmm2
rsqrtss xmm2, xmm2
movq mm4, mm1
mulps xmm2, xmm0
addss xmm2, xmm0
movss xmm0, xmm2
subps xmm2, xmm1
subps xmm2, xmm1
shufps xmm2, xmm2, 0
movss xmm0, xmm2
subps xmm2, xmm1
movaps xmm3, xmm2
mulps xmm1, xmm2
mulps xmm0, xmm0
lea esi, [esi]
jmp 0x40480e