Function at 0x4034b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mulps xmm1, xmm0
shufps xmm2, xmm2, 0
mulps xmm3, xmm1
movq mm4, mm1
subps xmm2, xmm1
movq mm2, mm0
sqrtss xmm2, xmm2
movq mm4, mm1
rsqrtps xmm0, xmm0
mulps xmm3, xmm1
mulps xmm2, xmm0
movhlps xmm2, xmm0
subps xmm2, xmm1
movaps xmm3, xmm2
mulps xmm3, xmm1
movq mm3, mm1
mulps xmm3, xmm1
mulps xmm3, xmm1
subps xmm2, xmm1
rsqrtps xmm0, xmm0
movaps xmm1, xmm0
movhlps xmm2, xmm0
haddps xmm0, xmm0
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
addps xmm2, xmm0
mulps xmm2, xmm0
rsqrtps xmm0, xmm0
subps xmm0, xmm1
divps xmm1, xmm2
mulps xmm1, xmm0
shufps xmm2, xmm2, 0x55
movq mm2, mm0
movaps xmm3, xmm2
haddps xmm0, xmm0
mov eax, dword [ebp + 8]
cmp word [eax], 0x5a4d
jne 0x4050a7
mov edx, eax
subps xmm2, xmm1
subps xmm2, xmm1
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
sqrtss xmm2, xmm2
movaps xmm1, xmm0
shufps xmm2, xmm2, 0
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm2
mulps xmm1, xmm2
mulps xmm0, xmm0
addps xmm2, xmm0
addss xmm2, xmm0
rsqrtps xmm0, xmm0
movhlps xmm2, xmm0
movq mm3, mm1
rsqrtps xmm0, xmm0
subps xmm2, xmm1
rsqrtss xmm2, xmm2
movhlps xmm2, xmm0
movq mm3, mm1
movq mm4, mm1
rsqrtps xmm0, xmm0
subps xmm0, xmm1
mulps xmm2, xmm0
addps xmm2, xmm0
shufps xmm2, xmm2, 0x55
addps xmm2, xmm0
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
addps xmm2, xmm0
mulps xmm1, xmm0
add edx, dword [eax + 0x3c]
mov dword [ebp - 0x30], edx
rsqrtss xmm2, xmm2
rsqrtss xmm2, xmm2
movaps xmm1, xmm0
mulps xmm2, xmm0
movq mm4, mm1
rsqrtss xmm2, xmm2
mulps xmm0, xmm0
movq mm3, mm1
divps xmm1, xmm2
movss xmm0, xmm2
subps xmm2, xmm1
rsqrtss xmm2, xmm2
shufps xmm2, xmm2, 0
rsqrtps xmm0, xmm0
mulps xmm0, xmm0
shufps xmm2, xmm2, 0
movq mm4, mm1
addps xmm2, xmm0
mulps xmm3, xmm1
shufps xmm2, xmm2, 0
movhlps xmm2, xmm0
movss xmm0, xmm2
movaps xmm3, xmm2
sqrtss xmm2, xmm2
cmp dword [edx], 0x4550
jne 0x4047fb
shufps xmm2, xmm2, 0
haddps xmm0, xmm0
rsqrtps xmm0, xmm0
mulps xmm2, xmm0
addss xmm2, xmm0
haddps xmm0, xmm0
shufps xmm2, xmm2, 0x55
movq mm3, mm1
subps xmm2, xmm1
haddps xmm0, xmm0
shufps xmm2, xmm2, 0
subps xmm2, xmm1
divps xmm1, xmm2
movhlps xmm2, xmm0
movss xmm0, xmm2
haddps xmm0, xmm0
mulps xmm3, xmm1
addss xmm2, xmm0
rsqrtps xmm0, xmm0
subps xmm2, xmm1
movq mm4, mm1
mulps xmm2, xmm0
mulps xmm2, xmm0
mulps xmm1, xmm2
shufps xmm2, xmm2, 0x55
sqrtss xmm2, xmm2
movq mm2, mm0
mulps xmm1, xmm0
rsqrtss xmm2, xmm2
subps xmm2, xmm1
subps xmm2, xmm1
mulps xmm2, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm2, xmm0
sqrtss xmm2, xmm2
addss xmm2, xmm0
movq mm4, mm1
rsqrtss xmm2, xmm2
addss xmm2, xmm0
rsqrtss xmm2, xmm2
movss xmm0, xmm2
movq mm4, mm1
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.0040b0dc
sub esp, 0x10
mov dword [ebp - 0x40], eax
subps xmm0, xmm1
addss xmm2, xmm0
movaps xmm1, xmm0
movss xmm0, xmm2
sqrtss xmm2, xmm2
mulps xmm1, xmm0
movss xmm0, xmm2
movaps xmm1, xmm0
addps xmm2, xmm0
mulps xmm0, xmm0
sqrtss xmm2, xmm2
mulps xmm3, xmm1
subps xmm2, xmm1
movq mm3, mm1
mulps xmm0, xmm0
movhlps xmm2, xmm0
addss xmm2, xmm0
mulps xmm2, xmm0
test eax, eax
je 0x4054b7
movhlps xmm2, xmm0
movq mm4, mm1
movaps xmm1, xmm0
sqrtss xmm2, xmm2
mulps xmm1, xmm0
subps xmm2, xmm1
rsqrtss xmm2, xmm2
addps xmm2, xmm0
shufps xmm2, xmm2, 0x55
addps xmm2, xmm0
subps xmm0, xmm1
mulps xmm0, xmm0
mulps xmm3, xmm1
movaps xmm1, xmm0
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
call fcn.0040b0c4
mov dword [esp + 8], 0x14
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040b0bc
mov dword [ebp - 0x38], eax
sub esp, 0xc
movq mm2, mm0
shufps xmm2, xmm2, 0x55
mulps xmm2, xmm0
mulps xmm2, xmm0
addps xmm2, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm3, xmm1
mulps xmm3, xmm1
movss xmm0, xmm2
subps xmm0, xmm1
movaps xmm1, xmm0
movaps xmm1, xmm0
addss xmm2, xmm0
addss xmm2, xmm0
mulps xmm3, xmm1
mulps xmm3, xmm1
movq mm3, mm1
movaps xmm3, xmm2
movq mm3, mm1
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
haddps xmm0, xmm0
movaps xmm1, xmm0
shufps xmm2, xmm2, 0x55
movaps xmm3, xmm2
mulps xmm2, xmm0
subps xmm2, xmm1
addss xmm2, xmm0
movss xmm0, xmm2
subps xmm2, xmm1
movq mm4, mm1
shufps xmm2, xmm2, 0
movq mm2, mm0
mulps xmm2, xmm0
movaps xmm3, xmm2
subps xmm2, xmm1
haddps xmm0, xmm0
addps xmm2, xmm0
mulps xmm1, xmm0
sqrtss xmm2, xmm2
movaps xmm1, xmm0
subps xmm2, xmm1
haddps xmm0, xmm0
mov dword [eax + 0xc], 0
movq mm4, mm1
addss xmm2, xmm0
movaps xmm3, xmm2
movaps xmm3, xmm2
subps xmm2, xmm1
mulps xmm1, xmm0
movaps xmm1, xmm0
haddps xmm0, xmm0
subps xmm0, xmm1
sqrtss xmm2, xmm2
subps xmm2, xmm1
mulps xmm3, xmm1
movaps xmm1, xmm0
mulps xmm2, xmm0
shufps xmm2, xmm2, 0
shufps xmm2, xmm2, 0
mov dword [eax + 8], 0
addps xmm2, xmm0
subps xmm2, xmm1
subps xmm2, xmm1
haddps xmm0, xmm0
rsqrtps xmm0, xmm0
rsqrtss xmm2, xmm2
haddps xmm0, xmm0
mulps xmm1, xmm2
movq mm2, mm0
divps xmm1, xmm2
mov dword [eax + 0x10], 0
rsqrtps xmm0, xmm0
divps xmm1, xmm2
movq mm2, mm0
movq mm4, mm1
movaps xmm1, xmm0
subps xmm0, xmm1
subps xmm2, xmm1
movhlps xmm2, xmm0
subps xmm2, xmm1
movaps xmm1, xmm0
movaps xmm3, xmm2
mulps xmm1, xmm0
subps xmm2, xmm1
movss xmm0, xmm2
movss xmm0, xmm2
movhlps xmm2, xmm0
mulps xmm0, xmm0
mulps xmm1, xmm0
movq mm4, mm1
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.0040b0dc
sub esp, 0x10
movq mm4, mm1
mulps xmm2, xmm0
mulps xmm1, xmm2
divps xmm1, xmm2
addss xmm2, xmm0
rsqrtps xmm0, xmm0
divps xmm1, xmm2
rsqrtps xmm0, xmm0
movaps xmm1, xmm0
movss xmm0, xmm2
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.0040b0dc
sub esp, 0x10
mov ebx, eax
movaps xmm1, xmm0
movq mm4, mm1
haddps xmm0, xmm0
rsqrtps xmm0, xmm0
rsqrtps xmm0, xmm0
subps xmm0, xmm1
rsqrtps xmm0, xmm0
mulps xmm1, xmm2
mulps xmm1, xmm0
mulps xmm1, xmm0
sqrtss xmm2, xmm2
shufps xmm2, xmm2, 0x55
movhlps xmm2, xmm0
mulps xmm2, xmm0
subps xmm2, xmm1
rsqrtss xmm2, xmm2
mulps xmm3, xmm1
mulps xmm1, xmm0
shufps xmm2, xmm2, 0
movss xmm0, xmm2
movaps xmm3, xmm2
movq mm3, mm1
mulps xmm1, xmm0
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.0040b00c
subps xmm2, xmm1
divps xmm1, xmm2
movhlps xmm2, xmm0
movss xmm0, xmm2
addss xmm2, xmm0
shufps xmm2, xmm2, 0
addss xmm2, xmm0
addps xmm2, xmm0
movq mm2, mm0
addss xmm2, xmm0
mulps xmm1, xmm2
movaps xmm3, xmm2
movhlps xmm2, xmm0
shufps xmm2, xmm2, 0
mov edx, dword [ebp + 8]
mov eax, ebx
mov ecx, dword [ebp - 0x38]
add eax, dword [edx + 0x3c]
mov dword [ecx], eax
addss xmm2, xmm0
haddps xmm0, xmm0
addps xmm2, xmm0
mulps xmm2, xmm0
movhlps xmm2, xmm0
haddps xmm0, xmm0
rsqrtss xmm2, xmm2
subps xmm2, xmm1
sqrtss xmm2, xmm2
movq mm2, mm0
shufps xmm2, xmm2, 0
divps xmm1, xmm2
subps xmm0, xmm1
mulps xmm3, xmm1
mov ebx, dword [ebp - 0x40]
mov dword [eax + 0x34], ebx
movaps xmm3, xmm2
shufps xmm2, xmm2, 0
divps xmm1, xmm2
divps xmm1, xmm2
sqrtss xmm2, xmm2
subps xmm0, xmm1
movss xmm0, xmm2
mulps xmm1, xmm2
rsqrtss xmm2, xmm2
movaps xmm1, xmm0
movaps xmm3, xmm2
movss xmm0, xmm2
mulps xmm3, xmm1
shufps xmm2, xmm2, 0
sqrtss xmm2, xmm2
movaps xmm3, xmm2
movhlps xmm2, xmm0
mov edx, dword [ecx + 4]
movzx ebx, word [eax + 0x14]
mov dword [ebp - 0x2c], edx
subps xmm0, xmm1
subps xmm2, xmm1
movaps xmm3, xmm2
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
mulps xmm3, xmm1
divps xmm1, xmm2
haddps xmm0, xmm0
movq mm3, mm1
haddps xmm0, xmm0
mulps xmm1, xmm2
mulps xmm1, xmm0
movq mm4, mm1
sqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
addps xmm2, xmm0
mulps xmm2, xmm0
subps xmm0, xmm1
rsqrtps xmm0, xmm0
movq mm4, mm1
subps xmm0, xmm1
movhlps xmm2, xmm0
movzx ecx, word [eax + 6]
mov edx, eax
test cx, cx
je 0x403dd7
movzx edx, bx
xor esi, esi
lea ebx, [eax + edx + 0x18]
jmp 0x403c39
sqrtss xmm2, xmm2
mulps xmm2, xmm0
movss xmm0, xmm2
haddps xmm0, xmm0
movq mm3, mm1
mulps xmm1, xmm2
movaps xmm1, xmm0
rsqrtss xmm2, xmm2
subps xmm2, xmm1
movq mm3, mm1
subps xmm2, xmm1
addss xmm2, xmm0
mulps xmm0, xmm0
divps xmm1, xmm2
movq mm2, mm0
sqrtss xmm2, xmm2
mov edx, dword [ebp - 0x30]
mov edi, dword [edx + 0x38]
movhlps xmm2, xmm0
movq mm2, mm0
movq mm2, mm0
shufps xmm2, xmm2, 0x55
addss xmm2, xmm0
addss xmm2, xmm0
mulps xmm2, xmm0
mulps xmm0, xmm0
subps xmm2, xmm1
rsqrtps xmm0, xmm0
test edi, edi
jle 0x403c28
subps xmm2, xmm1
mulps xmm2, xmm0
movq mm4, mm1
sqrtss xmm2, xmm2
mulps xmm1, xmm0
rsqrtss xmm2, xmm2
sqrtss xmm2, xmm2
subps xmm0, xmm1
rsqrtps xmm0, xmm0
haddps xmm0, xmm0
movq mm2, mm0
movss xmm0, xmm2
movss xmm0, xmm2
movq mm3, mm1
haddps xmm0, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm2, xmm0
addps xmm2, xmm0
mulps xmm1, xmm0
movhlps xmm2, xmm0
shufps xmm2, xmm2, 0
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.0040b0dc
sub esp, 0x10
sqrtss xmm2, xmm2
subps xmm0, xmm1
divps xmm1, xmm2
mulps xmm1, xmm2
addps xmm2, xmm0
mulps xmm1, xmm0
movq mm2, mm0
mulps xmm1, xmm2
addss xmm2, xmm0
movaps xmm3, xmm2
rsqrtps xmm0, xmm0
mulps xmm1, xmm0
subps xmm2, xmm1
shufps xmm2, xmm2, 0
movq mm2, mm0
mov dword [ebx + 8], eax
haddps xmm0, xmm0
mulps xmm1, xmm2
movaps xmm1, xmm0
addps xmm2, xmm0
subps xmm0, xmm1
mulps xmm1, xmm2
movaps xmm1, xmm0
subps xmm0, xmm1
movaps xmm1, xmm0
rsqrtps xmm0, xmm0
mulps xmm2, xmm0
subps xmm2, xmm1
shufps xmm2, xmm2, 0
movaps xmm3, xmm2
mulps xmm3, xmm1
movq mm3, mm1
mulps xmm2, xmm0
movq mm2, mm0
mulps xmm1, xmm0
addss xmm2, xmm0
sqrtss xmm2, xmm2
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040b004
addps xmm2, xmm0
mulps xmm1, xmm0
subps xmm2, xmm1
movq mm2, mm0
haddps xmm0, xmm0
mulps xmm2, xmm0
mulps xmm2, xmm0
addps xmm2, xmm0
movss xmm0, xmm2
movq mm4, mm1
mulps xmm3, xmm1
shufps xmm2, xmm2, 0
subps xmm2, xmm1
movss xmm0, xmm2
subps xmm2, xmm1
movhlps xmm2, xmm0
mulps xmm3, xmm1
movss xmm0, xmm2
shufps xmm2, xmm2, 0
movq mm2, mm0
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx]
movzx ecx, word [eax + 6]
add esi, 1
movzx edx, cx
cmp esi, edx
jge 0x403dcc
add ebx, 0x28
movaps xmm1, xmm0
movq mm4, mm1
divps xmm1, xmm2
rsqrtss xmm2, xmm2
movss xmm0, xmm2
subps xmm2, xmm1
mulps xmm2, xmm0
rsqrtss xmm2, xmm2
movhlps xmm2, xmm0
mulps xmm2, xmm0
shufps xmm2, xmm2, 0x55
movq mm3, mm1
movq mm4, mm1
divps xmm1, xmm2
mulps xmm2, xmm0
divps xmm1, xmm2
divps xmm1, xmm2
movq mm4, mm1
subps xmm2, xmm1
movq mm3, mm1
shufps xmm2, xmm2, 0
mulps xmm3, xmm1
movq mm3, mm1
sqrtss xmm2, xmm2
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x403a81
subps xmm2, xmm1
shufps xmm2, xmm2, 0
mulps xmm1, xmm0
movq mm3, mm1
movq mm3, mm1
mulps xmm2, xmm0
mulps xmm1, xmm0
shufps xmm2, xmm2, 0x55
movaps xmm1, xmm0
addps xmm2, xmm0
movq mm2, mm0
rsqrtss xmm2, xmm2
movq mm3, mm1
mulps xmm1, xmm0
rsqrtss xmm2, xmm2
mulps xmm0, xmm0
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.0040b0dc
sub esp, 0x10
mov edi, eax
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0
subps xmm0, xmm1
haddps xmm0, xmm0
subps xmm0, xmm1
addps xmm2, xmm0
movaps xmm1, xmm0
movss xmm0, xmm2
movaps xmm1, xmm0
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.0040b00c
movhlps xmm2, xmm0
mulps xmm1, xmm2
mulps xmm0, xmm0
movq mm4, mm1
mulps xmm0, xmm0
mulps xmm0, xmm0
addss xmm2, xmm0
subps xmm0, xmm1
movaps xmm1, xmm0
subps xmm2, xmm1
subps xmm2, xmm1
mulps xmm3, xmm1
rsqrtps xmm0, xmm0
sqrtss xmm2, xmm2
movq mm4, mm1
shufps xmm2, xmm2, 0
movq mm2, mm0
sqrtss xmm2, xmm2
mov dword [ebx + 8], edi
movq mm3, mm1
divps xmm1, xmm2
sqrtss xmm2, xmm2
mulps xmm3, xmm1
haddps xmm0, xmm0
divps xmm1, xmm2
movss xmm0, xmm2
movaps xmm3, xmm2
addss xmm2, xmm0
movq mm3, mm1
mulps xmm3, xmm1
mulps xmm2, xmm0
mulps xmm1, xmm0
haddps xmm0, xmm0
subps xmm0, xmm1
movaps xmm3, xmm2
movq mm4, mm1
mulps xmm1, xmm2
movq mm3, mm1
movaps xmm3, xmm2
movq mm4, mm1
haddps xmm0, xmm0
movss xmm0, xmm2
mov edx, dword [ebp - 0x38]
add esi, 1
mov eax, dword [edx]
movzx ecx, word [eax + 6]
movzx edx, cx
cmp esi, edx
jl 0x403c36
mov ecx, dword [ebp - 0x38]
mov edx, eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], ecx
haddps xmm0, xmm0
divps xmm1, xmm2
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0
subps xmm2, xmm1
mulps xmm3, xmm1
movq mm2, mm0
haddps xmm0, xmm0
rsqrtps xmm0, xmm0
addss xmm2, xmm0
mulps xmm3, xmm1
movq mm3, mm1
movhlps xmm2, xmm0
divps xmm1, xmm2
movaps xmm1, xmm0
movaps xmm3, xmm2
rsqrtss xmm2, xmm2
subps xmm2, xmm1
subps xmm2, xmm1
movq mm2, mm0
subps xmm2, xmm1
mulps xmm1, xmm0
mulps xmm1, xmm2
shufps xmm2, xmm2, 0
movq mm3, mm1
addss xmm2, xmm0
shufps xmm2, xmm2, 0
subps xmm2, xmm1
addss xmm2, xmm0
shufps xmm2, xmm2, 0x55
rsqrtps xmm0, xmm0
movaps xmm1, xmm0
mulps xmm3, xmm1
subps xmm0, xmm1
addss xmm2, xmm0
rsqrtss xmm2, xmm2
mulps xmm2, xmm0
movaps xmm1, xmm0
movaps xmm1, xmm0
mulps xmm1, xmm2
subps xmm2, xmm1
subps xmm2, xmm1
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebx + 0x34]
mov dword [ebp - 0x34], ecx
mulps xmm1, xmm2
sqrtss xmm2, xmm2
subps xmm2, xmm1
subps xmm0, xmm1
mulps xmm2, xmm0
mulps xmm1, xmm2
shufps xmm2, xmm2, 0x55
movhlps xmm2, xmm0
divps xmm1, xmm2
movaps xmm1, xmm0
addss xmm2, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm2
movq mm4, mm1
subps xmm0, xmm1
movq mm2, mm0
mulps xmm3, xmm1
shufps xmm2, xmm2, 0
movq mm2, mm0
shufps xmm2, xmm2, 0x55
movq mm3, mm1
movq mm4, mm1
mulps xmm0, xmm0
test ecx, ecx
je 0x403fd2
subps xmm0, xmm1
movq mm2, mm0
movss xmm0, xmm2
mulps xmm0, xmm0
movq mm3, mm1
mulps xmm0, xmm0
movaps xmm1, xmm0
shufps xmm2, xmm2, 0
shufps xmm2, xmm2, 0
addps xmm2, xmm0
shufps xmm2, xmm2, 0x55
rsqrtps xmm0, xmm0
sqrtss xmm2, xmm2
mulps xmm0, xmm0
mulps xmm1, xmm0
mulps xmm1, xmm0
mulps xmm2, xmm0
shufps xmm2, xmm2, 0x55
rsqrtps xmm0, xmm0
movaps xmm3, xmm2
movss xmm0, xmm2
movq mm4, mm1
mulps xmm3, xmm1
shufps xmm2, xmm2, 0x55
divps xmm1, xmm2
divps xmm1, xmm2
subps xmm0, xmm1
movq mm4, mm1
rsqrtss xmm2, xmm2
movq mm4, mm1
sqrtss xmm2, xmm2
movaps xmm1, xmm0
mulps xmm3, xmm1
rsqrtps xmm0, xmm0
addps xmm2, xmm0
mov ebx, dword [eax + 0xa4]
test ebx, ebx
jne 0x40513e
movq mm4, mm1
addss xmm2, xmm0
mulps xmm0, xmm0
mulps xmm2, xmm0
shufps xmm2, xmm2, 0x55
sqrtss xmm2, xmm2
haddps xmm0, xmm0
mulps xmm1, xmm0
mulps xmm2, xmm0
movhlps xmm2, xmm0
addps xmm2, xmm0
sqrtss xmm2, xmm2
movq mm3, mm1
movq mm3, mm1
shufps xmm2, xmm2, 0
divps xmm1, xmm2
movaps xmm3, xmm2
mulps xmm2, xmm0
shufps xmm2, xmm2, 0
mulps xmm1, xmm0
movq mm3, mm1
movaps xmm3, xmm2
movaps xmm1, xmm0
rsqrtps xmm0, xmm0
divps xmm1, xmm2
movq mm3, mm1
mulps xmm3, xmm1
addss xmm2, xmm0
mulps xmm2, xmm0
haddps xmm0, xmm0
rsqrtps xmm0, xmm0
divps xmm1, xmm2
movq mm3, mm1
subps xmm2, xmm1
mulps xmm1, xmm0
subps xmm2, xmm1
movhlps xmm2, xmm0
mulps xmm3, xmm1
mulps xmm0, xmm0
movaps xmm3, xmm2
mulps xmm2, xmm0
rsqrtss xmm2, xmm2
mulps xmm3, xmm1
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
addps xmm2, xmm0
rsqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
movhlps xmm2, xmm0
mulps xmm1, xmm2
rsqrtps xmm0, xmm0
movq mm4, mm1
mulps xmm1, xmm0
movaps xmm1, xmm0
movq mm3, mm1
divps xmm1, xmm2
haddps xmm0, xmm0
movq mm3, mm1
rsqrtps xmm0, xmm0
divps xmm1, xmm2
shufps xmm2, xmm2, 0
addps xmm2, xmm0
movq mm2, mm0
movhlps xmm2, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm2, xmm0
mulps xmm0, xmm0
mulps xmm0, xmm0
addps xmm2, xmm0
divps xmm1, xmm2
sqrtss xmm2, xmm2
movq mm3, mm1
shufps xmm2, xmm2, 0
movhlps xmm2, xmm0
movss xmm0, xmm2
movss xmm0, xmm2
movhlps xmm2, xmm0
sqrtss xmm2, xmm2
addss xmm2, xmm0
divps xmm1, xmm2
mulps xmm2, xmm0
shufps xmm2, xmm2, 0
rsqrtss xmm2, xmm2
mov ecx, dword [edx + 0x84]
mov dword [ebp - 0x3c], 1
test ecx, ecx
je 0x404104
mov ebx, dword [ebp - 0x2c]
add ebx, dword [edx + 0x80]
mov dword [ebp - 0x34], ebx
subps xmm2, xmm1
movhlps xmm2, xmm0
subps xmm2, xmm1
mulps xmm3, xmm1
subps xmm2, xmm1
subps xmm0, xmm1
movaps xmm3, xmm2
mulps xmm1, xmm2
mulps xmm2, xmm0
shufps xmm2, xmm2, 0
movq mm4, mm1
rsqrtss xmm2, xmm2
movaps xmm3, xmm2
sqrtss xmm2, xmm2
shufps xmm2, xmm2, 0
shufps xmm2, xmm2, 0
mov dword [esp + 4], 0x14
mov dword [esp], ebx
call fcn.0040b0a4
sub esp, 8
test eax, eax
je 0x404888
shufps xmm2, xmm2, 0
movq mm3, mm1
sqrtss xmm2, xmm2
addps xmm2, xmm0
mulps xmm0, xmm0
subps xmm2, xmm1
movaps xmm3, xmm2
addps xmm2, xmm0
movq mm2, mm0
shufps xmm2, xmm2, 0
subps xmm0, xmm1
movhlps xmm2, xmm0
mulps xmm0, xmm0
mulps xmm1, xmm0
mulps xmm1, xmm2
movhlps xmm2, xmm0
movq mm4, mm1
mulps xmm1, xmm2
shufps xmm2, xmm2, 0
divps xmm1, xmm2
mulps xmm0, xmm0
subps xmm2, xmm1
subps xmm2, xmm1
subps xmm2, xmm1
movaps xmm3, xmm2
movaps xmm3, xmm2
movq mm2, mm0
mulps xmm0, xmm0
mulps xmm0, xmm0
rsqrtps xmm0, xmm0
movhlps xmm2, xmm0
haddps xmm0, xmm0
mulps xmm2, xmm0
divps xmm1, xmm2
rsqrtss xmm2, xmm2
mulps xmm1, xmm0
mulps xmm0, xmm0
subps xmm2, xmm1
mulps xmm2, xmm0
mulps xmm1, xmm2
subps xmm0, xmm1
movss xmm0, xmm2
addps xmm2, xmm0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x405615
addps xmm2, xmm0
divps xmm1, xmm2
movq mm4, mm1
subps xmm0, xmm1
mulps xmm0, xmm0
shufps xmm2, xmm2, 0
mulps xmm3, xmm1
movss xmm0, xmm2
mulps xmm2, xmm0
mulps xmm3, xmm1
subps xmm2, xmm1
movq mm2, mm0
shufps xmm2, xmm2, 0x55
subps xmm2, xmm1
rsqrtss xmm2, xmm2
subps xmm2, xmm1
movq mm3, mm1
addss xmm2, xmm0
mov eax, dword [ebp - 0x38]
mov edi, dword [eax]
movzx eax, word [edi + 0x14]
subps xmm2, xmm1
shufps xmm2, xmm2, 0
subps xmm2, xmm1
sqrtss xmm2, xmm2
mulps xmm1, xmm2
haddps xmm0, xmm0
subps xmm2, xmm1
movhlps xmm2, xmm0
mulps xmm3, xmm1
addss xmm2, xmm0
subps xmm2, xmm1
shufps xmm2, xmm2, 0
subps xmm0, xmm1
movq mm3, mm1
cmp word [edi + 6], 0
je 0x4045d9
movzx eax, ax
lea ebx, [edi + eax + 0x18]
mov dword [ebp - 0x2c], 0
jmp 0x40450f
movq mm3, mm1
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0
mulps xmm2, xmm0
mulps xmm1, xmm0
movq mm3, mm1
shufps xmm2, xmm2, 0x55
movaps xmm1, xmm0
rsqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
mulps xmm1, xmm0
haddps xmm0, xmm0
movss xmm0, xmm2
divps xmm1, xmm2
rsqrtss xmm2, xmm2
mulps xmm3, xmm1
movq mm4, mm1
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]
divps xmm1, xmm2
mulps xmm2, xmm0
movhlps xmm2, xmm0
movaps xmm3, xmm2
haddps xmm0, xmm0
movhlps xmm2, xmm0
subps xmm2, xmm1
rsqrtss xmm2, xmm2
movq mm4, mm1
mulps xmm0, xmm0
addss xmm2, xmm0
addss xmm2, xmm0
divps xmm1, xmm2
shufps xmm2, xmm2, 0x55
addss xmm2, xmm0
movss xmm0, xmm2
rsqrtss xmm2, xmm2
mulps xmm1, xmm2
movaps xmm3, xmm2
mulps xmm2, xmm0
movq mm4, mm1
test eax, 0x4000000
je 0x40431c
addss xmm2, xmm0
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
haddps xmm0, xmm0
rsqrtss xmm2, xmm2
mulps xmm2, xmm0
mulps xmm1, xmm0
shufps xmm2, xmm2, 0
rsqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
rsqrtps xmm0, xmm0
rsqrtps xmm0, xmm0
movaps xmm1, xmm0
movq mm3, mm1
movhlps xmm2, xmm0
movhlps xmm2, xmm0
or ch, 2
movss xmm0, xmm2
rsqrtps xmm0, xmm0
divps xmm1, xmm2
haddps xmm0, xmm0
movq mm4, mm1
mulps xmm3, xmm1
addss xmm2, xmm0
subps xmm2, xmm1
movq mm2, mm0
movaps xmm3, xmm2
movss xmm0, xmm2
subps xmm2, xmm1
subps xmm2, xmm1
rsqrtps xmm0, xmm0
movq mm4, mm1
rsqrtps xmm0, xmm0
movq mm3, mm1
rsqrtss xmm2, xmm2
mulps xmm0, xmm0
mulps xmm0, xmm0
addps xmm2, xmm0
mulps xmm3, xmm1
movaps xmm3, xmm2
movhlps xmm2, xmm0
mulps xmm2, xmm0
mulps xmm3, xmm1
subps xmm0, xmm1
movq mm3, mm1
addss xmm2, xmm0
addps xmm2, xmm0
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
subps xmm2, xmm1
rsqrtps xmm0, xmm0
rsqrtss xmm2, xmm2
movhlps xmm2, xmm0
shufps xmm2, xmm2, 0x55
divps xmm1, xmm2
mulps xmm3, xmm1
movq mm3, mm1
mulps xmm2, xmm0
divps xmm1, xmm2
mov edx, dword [ebx + 0x10]
addss xmm2, xmm0
movhlps xmm2, xmm0
rsqrtps xmm0, xmm0
subps xmm2, xmm1
subps xmm2, xmm1
mulps xmm0, xmm0
subps xmm2, xmm1
movaps xmm3, xmm2
movss xmm0, xmm2
shufps xmm2, xmm2, 0
mulps xmm1, xmm0
shufps xmm2, xmm2, 0
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
haddps xmm0, xmm0
movq mm2, mm0
subps xmm2, xmm1
rsqrtps xmm0, xmm0
subps xmm0, xmm1
test edx, edx
jne 0x40448d
shufps xmm2, xmm2, 0x55
sqrtss xmm2, xmm2
mulps xmm3, xmm1
mulps xmm1, xmm2
shufps xmm2, xmm2, 0
movaps xmm3, xmm2
haddps xmm0, xmm0
mulps xmm3, xmm1
subps xmm2, xmm1
shufps xmm2, xmm2, 0
mulps xmm3, xmm1
mulps xmm0, xmm0
mulps xmm0, xmm0
mulps xmm2, xmm0
test al, 0x40
je 0x405044
mulps xmm0, xmm0
sqrtss xmm2, xmm2
mulps xmm2, xmm0
subps xmm2, xmm1
mulps xmm2, xmm0
movq mm2, mm0
mulps xmm1, xmm0
movaps xmm3, xmm2
subps xmm0, xmm1
subps xmm0, xmm1
movq mm3, mm1
movq mm4, mm1
movaps xmm1, xmm0
movaps xmm3, xmm2
movq mm3, mm1
movq mm2, mm0
addps xmm2, xmm0
movq mm4, mm1
subps xmm2, xmm1
mulps xmm1, xmm0
addps xmm2, xmm0
rsqrtps xmm0, xmm0
mulps xmm1, xmm0
mov edx, dword [edi + 0x20]
rsqrtps xmm0, xmm0
haddps xmm0, xmm0
subps xmm0, xmm1
subps xmm2, xmm1
rsqrtss xmm2, xmm2
movss xmm0, xmm2
mulps xmm0, xmm0
divps xmm1, xmm2
rsqrtss xmm2, xmm2
mulps xmm3, xmm1
divps xmm1, xmm2
haddps xmm0, xmm0
movq mm2, mm0
mulps xmm0, xmm0
mulps xmm1, xmm2
haddps xmm0, xmm0
mulps xmm0, xmm0
haddps xmm0, xmm0
movaps xmm3, xmm2
movaps xmm1, xmm0
divps xmm1, xmm2
movaps xmm3, xmm2
rsqrtps xmm0, xmm0
divps xmm1, xmm2
movq mm2, mm0
shufps xmm2, xmm2, 0x55
mulps xmm2, xmm0
shufps xmm2, xmm2, 0x55
rsqrtss xmm2, xmm2
haddps xmm0, xmm0
sqrtss xmm2, xmm2
movaps xmm1, xmm0
movq mm4, mm1
shufps xmm2, xmm2, 0
mulps xmm1, xmm2
subps xmm2, xmm1
movaps xmm3, xmm2
rsqrtps xmm0, xmm0
movq mm2, mm0
mulps xmm0, xmm0
mulps xmm1, xmm0
test edx, edx
jne 0x404f60
mulps xmm3, xmm1
addps xmm2, xmm0
movss xmm0, xmm2
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm0
movq mm4, mm1
shufps xmm2, xmm2, 0
movq mm3, mm1
sqrtss xmm2, xmm2
subps xmm0, xmm1
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm0
rsqrtps xmm0, xmm0
movq mm3, mm1
mulps xmm1, xmm2
subps xmm2, xmm1
divps xmm1, xmm2
add dword [ebp - 0x2c], 1
movzx eax, word [edi + 6]
cmp dword [ebp - 0x2c], eax
jge 0x4045d9
add ebx, 0x28
mov eax, dword [ebx + 0x24]
sqrtss xmm2, xmm2
addss xmm2, xmm0
movq mm3, mm1
movq mm4, mm1
movq mm2, mm0
mulps xmm2, xmm0
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0
subps xmm0, xmm1
rsqrtps xmm0, xmm0
subps xmm0, xmm1
divps xmm1, xmm2
test eax, 0x2000000
je 0x4041e5
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
rsqrtss xmm2, xmm2
mulps xmm2, xmm0
mulps xmm1, xmm0
sqrtss xmm2, xmm2
addps xmm2, xmm0
mulps xmm0, xmm0
sqrtss xmm2, xmm2
movss xmm0, xmm2
addps xmm2, xmm0
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.0040b0ac
sub esp, 0xc
subps xmm2, xmm1
movss xmm0, xmm2
movq mm4, mm1
subps xmm0, xmm1
rsqrtps xmm0, xmm0
addps xmm2, xmm0
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
movhlps xmm2, xmm0
mulps xmm2, xmm0
addps xmm2, xmm0
haddps xmm0, xmm0
mulps xmm2, xmm0
movq mm4, mm1
shufps xmm2, xmm2, 0
addss xmm2, xmm0
movq mm2, mm0
movss xmm0, xmm2
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 0x40450c
mulps xmm1, xmm0
addss xmm2, xmm0
subps xmm0, xmm1
mulps xmm1, xmm0
shufps xmm2, xmm2, 0
mulps xmm3, xmm1
divps xmm1, xmm2
rsqrtss xmm2, xmm2
addps xmm2, xmm0
movq mm2, mm0
addss xmm2, xmm0
shufps xmm2, xmm2, 0x55
subps xmm0, xmm1
movaps xmm1, xmm0
addps xmm2, xmm0
movss xmm0, xmm2
movaps xmm3, xmm2
addps xmm2, xmm0
subps xmm2, xmm1
rsqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
rsqrtps xmm0, xmm0
haddps xmm0, xmm0
rsqrtss xmm2, xmm2
subps xmm2, xmm1
movaps xmm1, xmm0
shufps xmm2, xmm2, 0
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4047b6
subps xmm2, xmm1
sqrtss xmm2, xmm2
subps xmm2, xmm1
divps xmm1, xmm2
mulps xmm1, xmm0
movaps xmm3, xmm2
subps xmm0, xmm1
mulps xmm1, xmm0
shufps xmm2, xmm2, 0x55
movhlps xmm2, xmm0
subps xmm0, xmm1
subps xmm2, xmm1
haddps xmm0, xmm0
movhlps xmm2, xmm0
mulps xmm0, xmm0
subps xmm0, xmm1
rsqrtss xmm2, xmm2
subps xmm2, xmm1
mulps xmm1, xmm0
mulps xmm0, xmm0
shufps xmm2, xmm2, 0
mulps xmm3, xmm1
movq mm2, mm0
divps xmm1, xmm2
subps xmm0, xmm1
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0
subps xmm2, xmm1
mulps xmm1, xmm0
rsqrtss xmm2, xmm2
addss xmm2, xmm0
rsqrtps xmm0, xmm0
rsqrtss xmm2, xmm2
movaps xmm1, xmm0
divps xmm1, xmm2
mulps xmm0, xmm0
subps xmm2, xmm1
haddps xmm0, xmm0
movss xmm0, xmm2
subps xmm2, xmm1
subps xmm2, xmm1
movaps xmm1, xmm0
addps xmm2, xmm0
rsqrtps xmm0, xmm0
addss xmm2, xmm0
movss xmm0, xmm2
movq mm3, mm1
movhlps xmm2, xmm0
subps xmm2, xmm1
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
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
mulps xmm1, xmm2
subps xmm2, xmm1
sqrtss xmm2, xmm2
movaps xmm3, xmm2
sqrtss xmm2, xmm2
mulps xmm1, xmm2
sqrtss xmm2, xmm2
movaps xmm1, xmm0
mulps xmm3, xmm1
mulps xmm1, xmm0
subps xmm2, xmm1
mulps xmm0, xmm0
test eax, eax
je 0x4056c8
rsqrtps xmm0, xmm0
mulps xmm2, xmm0
mulps xmm1, xmm2
sqrtss xmm2, xmm2
mulps xmm1, xmm2
rsqrtss xmm2, xmm2
shufps xmm2, xmm2, 0x55
movaps xmm1, xmm0
addss xmm2, xmm0
rsqrtps xmm0, xmm0
mulps xmm1, xmm0
haddps xmm0, xmm0
movaps xmm1, xmm0
mov ebx, dword [ebp - 0x38]
mov dword [ebx + 0x10], 1
movss xmm0, xmm2
mulps xmm3, xmm1
movss xmm0, xmm2
subps xmm0, xmm1
mulps xmm0, xmm0
sqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
movhlps xmm2, xmm0
shufps xmm2, xmm2, 0x55
haddps xmm0, xmm0
subps xmm2, xmm1
mulps xmm1, xmm2
shufps xmm2, xmm2, 0
mulps xmm1, xmm0
movaps xmm1, xmm0
addps xmm2, xmm0
movss xmm0, xmm2
mulps xmm1, xmm0
mulps xmm0, xmm0
movaps xmm1, xmm0
subps xmm2, xmm1
addps xmm2, xmm0
movq mm3, mm1
mulps xmm3, xmm1
addss xmm2, xmm0
movq mm3, mm1
movss xmm0, xmm2
subps xmm2, xmm1
movaps xmm1, xmm0
movq mm3, mm1
shufps xmm2, xmm2, 0x55
subps xmm2, xmm1
movaps xmm3, xmm2
shufps xmm2, xmm2, 0
mulps xmm2, xmm0
subps xmm2, xmm1
sqrtss xmm2, xmm2
movss xmm0, xmm2
addss xmm2, xmm0
divps xmm1, xmm2
mov eax, dword [ebp - 0x38]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mulps xmm1, xmm0
subps xmm2, xmm1
movss xmm0, xmm2
rsqrtss xmm2, xmm2
addps xmm2, xmm0
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm0
haddps xmm0, xmm0
movhlps xmm2, xmm0
movss xmm0, xmm2
movq mm4, mm1
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0x55
rsqrtss xmm2, xmm2
divps xmm1, xmm2
movq mm3, mm1
rsqrtss xmm2, xmm2
movaps xmm1, xmm0
movq mm4, mm1
rsqrtps xmm0, xmm0
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0
movhlps xmm2, xmm0
rsqrtss xmm2, xmm2
shufps xmm2, xmm2, 0x55
sqrtss xmm2, xmm2
movq mm4, mm1
addps xmm2, xmm0
movq mm2, mm0
mulps xmm0, xmm0
movq mm4, mm1
haddps xmm0, xmm0
subps xmm2, xmm1
mulps xmm1, xmm0
addps xmm2, xmm0
addss xmm2, xmm0
mulps xmm0, xmm0
addps xmm2, xmm0
movaps xmm3, xmm2
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 0x4040c1
add eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.0040b0b4
sub esp, 4
mov edi, eax
movq mm3, mm1
mulps xmm3, xmm1
mulps xmm2, xmm0
movaps xmm1, xmm0
rsqrtss xmm2, xmm2
rsqrtss xmm2, xmm2
mulps xmm2, xmm0
movq mm2, mm0
mulps xmm3, xmm1
movaps xmm1, xmm0
subps xmm2, xmm1
haddps xmm0, xmm0
movq mm3, mm1
subps xmm2, xmm1
haddps xmm0, xmm0
subps xmm0, xmm1
addss xmm2, xmm0
sqrtss xmm2, xmm2
movaps xmm3, xmm2
movhlps xmm2, xmm0
mulps xmm0, xmm0
test eax, eax
je 0x405467
shufps xmm2, xmm2, 0x55
movss xmm0, xmm2
subps xmm2, xmm1
shufps xmm2, xmm2, 0
movhlps xmm2, xmm0
movhlps xmm2, xmm0
mulps xmm1, xmm2
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm2
mulps xmm3, xmm1
addps xmm2, xmm0
haddps xmm0, xmm0
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0x55
movq mm2, mm0
mulps xmm0, xmm0
haddps xmm0, xmm0
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0xc]
lea ebx, [eax*4 + 4]
call fcn.0040b0c4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0040b0bc
sub esp, 0xc
mov ebx, eax
movaps xmm1, xmm0
rsqrtss xmm2, xmm2
movq mm3, mm1
shufps xmm2, xmm2, 0
movss xmm0, xmm2
movhlps xmm2, xmm0
mulps xmm0, xmm0
movq mm3, mm1
subps xmm2, xmm1
addps xmm2, xmm0
movss xmm0, xmm2
rsqrtss xmm2, xmm2
movaps xmm1, xmm0
rsqrtps xmm0, xmm0
mulps xmm0, xmm0
movaps xmm1, xmm0
mov ecx, dword [ebp - 0x38]
mov esi, dword [ecx + 8]
call fcn.0040b0c4
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov dword [esp], eax
call fcn.0040b0cc
sub esp, 0xc
addps xmm2, xmm0
mulps xmm2, xmm0
subps xmm2, xmm1
movq mm3, mm1
subps xmm2, xmm1
shufps xmm2, xmm2, 0
movhlps xmm2, xmm0
subps xmm2, xmm1
mulps xmm1, xmm0
mulps xmm1, xmm2
movaps xmm3, xmm2
movhlps xmm2, xmm0
movhlps xmm2, xmm0
mulps xmm3, xmm1
mulps xmm3, xmm1
subps xmm2, xmm1
movq mm4, mm1
mov eax, dword [ebp - 0x38]
mov dword [eax + 8], ebx
movss xmm0, xmm2
movss xmm0, xmm2
addss xmm2, xmm0
addps xmm2, xmm0
movq mm3, mm1
movq mm3, mm1
movaps xmm1, xmm0
mulps xmm2, xmm0
shufps xmm2, xmm2, 0
subps xmm0, xmm1
sqrtss xmm2, xmm2
mulps xmm0, xmm0
haddps xmm0, xmm0
rsqrtss xmm2, xmm2
subps xmm0, xmm1
subps xmm2, xmm1
addss xmm2, xmm0
mulps xmm1, xmm0
movaps xmm1, xmm0
movq mm2, mm0
shufps xmm2, xmm2, 0
mulps xmm2, xmm0
shufps xmm2, xmm2, 0
rsqrtss xmm2, xmm2
test ebx, ebx
je 0x405592
mov edx, eax
movaps xmm1, xmm0
shufps xmm2, xmm2, 0
rsqrtps xmm0, xmm0
subps xmm0, xmm1
divps xmm1, xmm2
movq mm4, mm1
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0
addss xmm2, xmm0
rsqrtps xmm0, xmm0
haddps xmm0, xmm0
subps xmm2, xmm1
rsqrtps xmm0, xmm0
movq mm3, mm1
movq mm2, mm0
subps xmm2, xmm1
movaps xmm3, xmm2
movq mm2, mm0
movss xmm0, xmm2
mulps xmm1, xmm0
mov eax, dword [eax + 0xc]
mov dword [ebx + eax*4], edi
add eax, 1
mov dword [edx + 0xc], eax
rsqrtps xmm0, xmm0
movaps xmm3, xmm2
mulps xmm2, xmm0
rsqrtps xmm0, xmm0
mulps xmm2, xmm0
movaps xmm3, xmm2
rsqrtss xmm2, xmm2
movss xmm0, xmm2
divps xmm1, xmm2
movq mm2, mm0
shufps xmm2, xmm2, 0
rsqrtps xmm0, xmm0
movq mm2, mm0
shufps xmm2, xmm2, 0x55
rsqrtss xmm2, xmm2
mov ecx, dword [ebp - 0x34]
mov esi, dword [ecx]
test esi, esi
je 0x404ec0
haddps xmm0, xmm0
addps xmm2, xmm0
addss xmm2, xmm0
movq mm3, mm1
movaps xmm3, xmm2
rsqrtss xmm2, xmm2
movq mm3, mm1
mulps xmm1, xmm2
shufps xmm2, xmm2, 0x55
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0
rsqrtps xmm0, xmm0
movq mm2, mm0
haddps xmm0, xmm0
rsqrtss xmm2, xmm2
movq mm2, mm0
rsqrtps xmm0, xmm0
subps xmm0, xmm1
mulps xmm1, xmm2
subps xmm2, xmm1
movq mm4, mm1
movss xmm0, xmm2
add esi, dword [ebp - 0x2c]
movhlps xmm2, xmm0
addps xmm2, xmm0
mulps xmm1, xmm0
shufps xmm2, xmm2, 0
subps xmm0, xmm1
movaps xmm1, xmm0
movaps xmm3, xmm2
shufps xmm2, xmm2, 0
mulps xmm1, xmm2
mulps xmm1, xmm0
movaps xmm1, xmm0
mulps xmm1, xmm0
divps xmm1, xmm2
mov edx, dword [ebp - 0x2c]
add edx, dword [ecx + 0x10]
mulps xmm3, xmm1
subps xmm2, xmm1
subps xmm2, xmm1
divps xmm1, xmm2
subps xmm0, xmm1
movss xmm0, xmm2
subps xmm2, xmm1
mulps xmm1, xmm2
mulps xmm0, xmm0
rsqrtps xmm0, xmm0
subps xmm0, xmm1
movaps xmm1, xmm0
divps xmm1, xmm2
movaps xmm3, xmm2
movaps xmm3, xmm2
rsqrtss xmm2, xmm2
mulps xmm1, xmm2
movq mm4, mm1
shufps xmm2, xmm2, 0x55
mulps xmm1, xmm2
shufps xmm2, xmm2, 0
movss xmm0, xmm2
shufps xmm2, xmm2, 0
addss xmm2, xmm0
divps xmm1, xmm2
mulps xmm0, xmm0
shufps xmm2, xmm2, 0
addps xmm2, xmm0
mov eax, dword [esi]
test eax, eax
je 0x404e1d
mov dword [ebp - 0x30], esi
xor ebx, ebx
mov esi, edx
jmp 0x404caa
movq mm3, mm1
movhlps xmm2, xmm0
movq mm3, mm1
shufps xmm2, xmm2, 0x55
rsqrtss xmm2, xmm2
movaps xmm3, xmm2
movq mm2, mm0
divps xmm1, xmm2
addss xmm2, xmm0
mulps xmm2, xmm0
mulps xmm1, xmm2
subps xmm0, xmm1
mulps xmm0, xmm0
rsqrtss xmm2, xmm2
subps xmm2, xmm1
movhlps xmm2, xmm0
movaps xmm1, xmm0
shufps xmm2, xmm2, 0
subps xmm0, xmm1
movaps xmm1, xmm0
divps xmm1, xmm2
rsqrtps xmm0, xmm0
mulps xmm0, xmm0
subps xmm2, xmm1
mov edx, dword [ebp - 0x2c]
mov dword [esp], edi
lea eax, [edx + eax + 2]
mov dword [esp + 4], eax
call fcn.0040b08c
sub esp, 8
mov dword [esi + ebx], eax
mulps xmm1, xmm0
movss xmm0, xmm2
rsqrtss xmm2, xmm2
movhlps xmm2, xmm0
movss xmm0, xmm2
subps xmm2, xmm1
rsqrtss xmm2, xmm2
movss xmm0, xmm2
addss xmm2, xmm0
mulps xmm1, xmm0
movhlps xmm2, xmm0
movss xmm0, xmm2
movq mm3, mm1
rsqrtps xmm0, xmm0
movq mm4, mm1
shufps xmm2, xmm2, 0
sqrtss xmm2, xmm2
divps xmm1, xmm2
mulps xmm3, xmm1
divps xmm1, xmm2
haddps xmm0, xmm0
divps xmm1, xmm2
movss xmm0, xmm2
mulps xmm1, xmm2
mulps xmm0, xmm0
sqrtss xmm2, xmm2
subps xmm0, xmm1
movq mm4, mm1
mulps xmm1, xmm0
shufps xmm2, xmm2, 0
rsqrtps xmm0, xmm0
test eax, eax
je 0x404d92
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + ebx + 4]
add ebx, 4
test eax, eax
je 0x404e1d
sqrtss xmm2, xmm2
movss xmm0, xmm2
movhlps xmm2, xmm0
shufps xmm2, xmm2, 0
subps xmm2, xmm1
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0
sqrtss xmm2, xmm2
shufps xmm2, xmm2, 0
rsqrtps xmm0, xmm0
mulps xmm0, xmm0
haddps xmm0, xmm0
movq mm4, mm1
movq mm3, mm1
mulps xmm3, xmm1
haddps xmm0, xmm0
mulps xmm1, xmm2
test eax, eax
jns 0x404bc0
movhlps xmm2, xmm0
haddps xmm0, xmm0
movhlps xmm2, xmm0
mulps xmm2, xmm0
shufps xmm2, xmm2, 0
subps xmm0, xmm1
movq mm3, mm1
movhlps xmm2, xmm0
movss xmm0, xmm2
shufps xmm2, xmm2, 0x55
subps xmm2, xmm1
mulps xmm1, xmm2
rsqrtss xmm2, xmm2
movaps xmm1, xmm0
subps xmm0, xmm1
movq mm3, mm1
addss xmm2, xmm0
movhlps xmm2, xmm0
rsqrtps xmm0, xmm0
and eax, 0xffff
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.0040b08c
sub esp, 8
mov dword [esi + ebx], eax
subps xmm2, xmm1
divps xmm1, xmm2
mulps xmm1, xmm0
movq mm4, mm1
mulps xmm3, xmm1
addps xmm2, xmm0
mulps xmm0, xmm0
movq mm2, mm0
rsqrtps xmm0, xmm0
movq mm3, mm1
divps xmm1, xmm2
shufps xmm2, xmm2, 0
movss xmm0, xmm2
haddps xmm0, xmm0
movq mm3, mm1
mulps xmm3, xmm1
subps xmm0, xmm1
movq mm2, mm0
shufps xmm2, xmm2, 0x55
mulps xmm3, xmm1
movaps xmm3, xmm2
rsqrtss xmm2, xmm2
subps xmm2, xmm1
jmp 0x404c68
movaps xmm3, xmm2
mulps xmm1, xmm0
mulps xmm3, xmm1
movss xmm0, xmm2
movaps xmm3, xmm2
rsqrtss xmm2, xmm2
mulps xmm0, xmm0
mulps xmm2, xmm0
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
mulps xmm2, xmm0
rsqrtps xmm0, xmm0
mulps xmm2, xmm0
movaps xmm3, xmm2
mulps xmm2, xmm0
mulps xmm1, xmm2
subps xmm2, xmm1
haddps xmm0, xmm0
shufps xmm2, xmm2, 0x55
movq mm4, mm1
mulps xmm1, xmm0
movq mm3, mm1
movhlps xmm2, xmm0
sqrtss xmm2, xmm2
divps xmm1, xmm2
rsqrtps xmm0, xmm0
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0x55
movaps xmm3, xmm2
sqrtss xmm2, xmm2
movq mm2, mm0
rsqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
mulps xmm0, xmm0
rsqrtps xmm0, xmm0
sqrtss xmm2, xmm2
subps xmm2, xmm1
movss xmm0, xmm2
mov dword [ebp - 0x3c], 0
subps xmm2, xmm1
movq mm4, mm1
mulps xmm3, xmm1
mulps xmm3, xmm1
movq mm3, mm1
mulps xmm1, xmm2
sqrtss xmm2, xmm2
subps xmm2, xmm1
movss xmm0, xmm2
movss xmm0, xmm2
subps xmm2, xmm1
addps xmm2, xmm0
subps xmm0, xmm1
sqrtss xmm2, xmm2
subps xmm2, xmm1
subps xmm0, xmm1
mulps xmm2, xmm0
mulps xmm0, xmm0
movq mm4, mm1
addps xmm2, xmm0
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x4040c1
mulps xmm1, xmm2
mulps xmm1, xmm2
movq mm2, mm0
movhlps xmm2, xmm0
addps xmm2, xmm0
movaps xmm1, xmm0
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0
mulps xmm1, xmm2
haddps xmm0, xmm0
addps xmm2, xmm0
mulps xmm0, xmm0
mulps xmm3, xmm1
movaps xmm3, xmm2
addps xmm2, xmm0
movss xmm0, xmm2
addps xmm2, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
addps xmm2, xmm0
divps xmm1, xmm2
sqrtss xmm2, xmm2
add dword [ebp - 0x34], 0x14
mov ebx, dword [ebp - 0x34]
jmp 0x4040a6
movhlps xmm2, xmm0
movq mm3, mm1
mulps xmm1, xmm0
movaps xmm1, xmm0
movhlps xmm2, xmm0
rsqrtss xmm2, xmm2
addss xmm2, xmm0
mulps xmm0, xmm0
movq mm2, mm0
addps xmm2, xmm0
haddps xmm0, xmm0
rsqrtss xmm2, xmm2
sqrtss xmm2, xmm2
mulps xmm1, xmm0
movq mm3, mm1
shufps xmm2, xmm2, 0x55
movq mm3, mm1
movss xmm0, xmm2
mov esi, dword [ebp - 0x2c]
add esi, dword [ecx + 0x10]
subps xmm2, xmm1
movq mm3, mm1
movq mm2, mm0
subps xmm0, xmm1
movaps xmm3, xmm2
subps xmm2, xmm1
mulps xmm0, xmm0
rsqrtps xmm0, xmm0
rsqrtps xmm0, xmm0
mulps xmm1, xmm2
subps xmm0, xmm1
subps xmm0, xmm1
mulps xmm2, xmm0
mov edx, esi
addss xmm2, xmm0
rsqrtps xmm0, xmm0
subps xmm2, xmm1
sqrtss xmm2, xmm2
addss xmm2, xmm0
movq mm4, mm1
movq mm4, mm1
rsqrtps xmm0, xmm0
rsqrtss xmm2, xmm2
mulps xmm1, xmm0
mulps xmm3, xmm1
movaps xmm3, xmm2
mulps xmm1, xmm0
sqrtss xmm2, xmm2
jmp 0x404b71
movq mm3, mm1
movaps xmm1, xmm0
divps xmm1, xmm2
movq mm3, mm1
movaps xmm3, xmm2
mulps xmm1, xmm0
mulps xmm1, xmm2
subps xmm0, xmm1
rsqrtps xmm0, xmm0
subps xmm0, xmm1
mulps xmm3, xmm1
movq mm4, mm1
rsqrtss xmm2, xmm2
divps xmm1, xmm2
movaps xmm1, xmm0
mulps xmm2, xmm0
movhlps xmm2, xmm0
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.0040b0d4
sub esp, 0x10
test eax, eax
jne 0x405004
mulps xmm2, xmm0
addss xmm2, xmm0
rsqrtps xmm0, xmm0
movaps xmm1, xmm0
movaps xmm1, xmm0
shufps xmm2, xmm2, 0
movaps xmm3, xmm2
sqrtss xmm2, xmm2
sqrtss xmm2, xmm2
shufps xmm2, xmm2, 0
subps xmm0, xmm1
subps xmm2, xmm1
mulps xmm3, xmm1
shufps xmm2, xmm2, 0
movhlps xmm2, xmm0
movq mm2, mm0
mulps xmm3, xmm1
mulps xmm1, xmm0
mulps xmm2, xmm0
mulps xmm0, xmm0
subps xmm2, xmm1
addss xmm2, xmm0
mulps xmm1, xmm2
divps xmm1, xmm2
movss xmm0, xmm2
rsqrtps xmm0, xmm0
addss xmm2, xmm0
mulps xmm0, xmm0
shufps xmm2, xmm2, 0
divps xmm1, xmm2
sqrtss xmm2, xmm2
movaps xmm1, xmm0
divps xmm1, xmm2
subps xmm2, xmm1
sqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
addps xmm2, xmm0
movaps xmm3, xmm2
mulps xmm3, xmm1
sqrtss xmm2, xmm2
mov edx, dword [ebp - 0x38]
mov edi, dword [edx]
jmp 0x4044bc
test al, al
jns 0x404451
subps xmm2, xmm1
subps xmm2, xmm1
sqrtss xmm2, xmm2
movaps xmm3, xmm2
subps xmm0, xmm1
movq mm4, mm1
haddps xmm0, xmm0
mulps xmm2, xmm0
haddps xmm0, xmm0
movq mm3, mm1
subps xmm2, xmm1
movss xmm0, xmm2
mov edx, dword [edi + 0x24]
mulps xmm2, xmm0
divps xmm1, xmm2
subps xmm2, xmm1
subps xmm2, xmm1
movq mm3, mm1
mulps xmm2, xmm0
addss xmm2, xmm0
haddps xmm0, xmm0
movaps xmm3, xmm2
addss xmm2, xmm0
rsqrtss xmm2, xmm2
movhlps xmm2, xmm0
divps xmm1, xmm2
jmp 0x404451
subps xmm2, xmm1
movq mm4, mm1
divps xmm1, xmm2
mulps xmm1, xmm0
subps xmm0, xmm1
subps xmm2, xmm1
movhlps xmm2, xmm0
shufps xmm2, xmm2, 0
movaps xmm3, xmm2
haddps xmm0, xmm0
divps xmm1, xmm2
rsqrtss xmm2, xmm2
subps xmm0, xmm1
mulps xmm1, xmm2
addss xmm2, xmm0
subps xmm2, xmm1
mulps xmm2, xmm0
addss xmm2, xmm0
movss xmm0, xmm2
movq mm4, mm1
rsqrtps xmm0, xmm0
movq mm4, mm1
subps xmm0, xmm1
movhlps xmm2, xmm0
movaps xmm3, xmm2
shufps xmm2, xmm2, 0
mulps xmm1, xmm0
mulps xmm1, xmm0
mulps xmm1, xmm2
subps xmm2, xmm1
movhlps xmm2, xmm0
movss xmm0, xmm2
subps xmm0, xmm1
addss xmm2, xmm0
shufps xmm2, xmm2, 0
subps xmm0, xmm1
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
sqrtss xmm2, xmm2
rsqrtps xmm0, xmm0
subps xmm0, xmm1
movhlps xmm2, xmm0
mulps xmm3, xmm1
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
divps xmm1, xmm2
movq mm4, mm1
mulps xmm2, xmm0
movaps xmm3, xmm2
mulps xmm1, xmm2
addss xmm2, xmm0
shufps xmm2, xmm2, 0
mulps xmm2, xmm0
mulps xmm2, xmm0
subps xmm2, xmm1
movss xmm0, xmm2
shufps xmm2, xmm2, 0
addss xmm2, xmm0
movq mm2, mm0
sqrtss xmm2, xmm2
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
mov esi, dword [ebp - 0x2c]
add esi, dword [eax + 0xa0]
shufps xmm2, xmm2, 0x55
sqrtss xmm2, xmm2
mulps xmm0, xmm0
mulps xmm1, xmm2
movaps xmm3, xmm2
mulps xmm3, xmm1
movss xmm0, xmm2
mulps xmm0, xmm0
shufps xmm2, xmm2, 0x55
rsqrtss xmm2, xmm2
subps xmm2, xmm1
rsqrtps xmm0, xmm0
mulps xmm0, xmm0
divps xmm1, xmm2
subps xmm2, xmm1
sqrtss xmm2, xmm2
movq mm4, mm1
movq mm2, mm0
shufps xmm2, xmm2, 0
mov eax, dword [esi]
test eax, eax
je 0x40543b
nop
lea esi, [esi]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
subps xmm2, xmm1
rsqrtps xmm0, xmm0
movq mm3, mm1
haddps xmm0, xmm0
sqrtss xmm2, xmm2
shufps xmm2, xmm2, 0x55
addps xmm2, xmm0
movq mm2, mm0
shufps xmm2, xmm2, 0x55
movq mm2, mm0
subps xmm0, xmm1
subps xmm2, xmm1
movq mm4, mm1
mulps xmm1, xmm2
movq mm2, mm0
haddps xmm0, xmm0
subps xmm2, xmm1
movaps xmm1, xmm0
mulps xmm0, xmm0
addss xmm2, xmm0
movq mm3, mm1
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
mov edi, dword [esi + 4]
lea ebx, [edi - 8]
mov eax, ebx
shr eax, 1
je 0x4053a8
xor eax, eax
jmp 0x40527a
shufps xmm2, xmm2, 0
mulps xmm1, xmm2
movhlps xmm2, xmm0
mulps xmm1, xmm2
movq mm3, mm1
mulps xmm3, xmm1
mulps xmm3, xmm1
movq mm3, mm1
mulps xmm3, xmm1
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0x55
subps xmm0, xmm1
movss xmm0, xmm2
addss xmm2, xmm0
mulps xmm1, xmm0
lea ebx, [edi - 8]
mov edx, ebx
add eax, 1
shr edx, 1
cmp eax, edx
jae 0x4053a8
movzx ecx, word [esi + eax*2 + 8]
shufps xmm2, xmm2, 0
addss xmm2, xmm0
divps xmm1, xmm2
addps xmm2, xmm0
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0x55
movaps xmm1, xmm0
addss xmm2, xmm0
movq mm3, mm1
shufps xmm2, xmm2, 0
subps xmm2, xmm1
rsqrtss xmm2, xmm2
subps xmm0, xmm1
movq mm3, mm1
mov edx, ecx
sar edx, 0xc
test edx, edx
je 0x405236
cmp edx, 3
jne 0x40526b
addps xmm2, xmm0
movaps xmm3, xmm2
sqrtss xmm2, xmm2
subps xmm0, xmm1
addps xmm2, xmm0
mulps xmm3, xmm1
mulps xmm0, xmm0
rsqrtps xmm0, xmm0
movq mm4, mm1
mulps xmm1, xmm2
shufps xmm2, xmm2, 0x55
and ecx, 0xfff
add ecx, dword [ebp - 0x30]
mulps xmm0, xmm0
rsqrtps xmm0, xmm0
movhlps xmm2, xmm0
movq mm2, mm0
shufps xmm2, xmm2, 0
divps xmm1, xmm2
mulps xmm3, xmm1
mulps xmm1, xmm0
movaps xmm3, xmm2
movq mm3, mm1
sqrtss xmm2, xmm2
subps xmm2, xmm1
rsqrtps xmm0, xmm0
shufps xmm2, xmm2, 0
movaps xmm3, xmm2
movq mm3, mm1
movhlps xmm2, xmm0
rsqrtss xmm2, xmm2
movq mm2, mm0
divps xmm1, xmm2
haddps xmm0, xmm0
addss xmm2, xmm0
shufps xmm2, xmm2, 0x55
addps xmm2, xmm0
mov edx, dword [ebp - 0x34]
add dword [ecx], edx
addss xmm2, xmm0
movhlps xmm2, xmm0
movq mm2, mm0
movss xmm0, xmm2
mulps xmm1, xmm2
divps xmm1, xmm2
shufps xmm2, xmm2, 0x55
subps xmm0, xmm1
haddps xmm0, xmm0
movaps xmm3, xmm2
addss xmm2, xmm0
divps xmm1, xmm2
mulps xmm2, xmm0
movaps xmm1, xmm0
addss xmm2, xmm0
mulps xmm0, xmm0
subps xmm2, xmm1
sqrtss xmm2, xmm2
subps xmm2, xmm1
shufps xmm2, xmm2, 0
subps xmm2, xmm1
movq mm3, mm1
movq mm4, mm1
sqrtss xmm2, xmm2
mov edi, dword [esi + 4]
add eax, 1
lea ebx, [edi - 8]
mov edx, ebx
shr edx, 1
cmp eax, edx
jb 0x40527a
mulps xmm1, xmm2
shufps xmm2, xmm2, 0
movq mm3, mm1
movaps xmm1, xmm0
movq mm4, mm1
shufps xmm2, xmm2, 0
movss xmm0, xmm2
subps xmm2, xmm1
rsqrtss xmm2, xmm2
movq mm2, mm0
movaps xmm1, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
movq mm4, mm1
movaps xmm3, xmm2
movaps xmm1, xmm0
divps xmm1, xmm2
addss xmm2, xmm0
movss xmm0, xmm2
shufps xmm2, xmm2, 0x55
mulps xmm3, xmm1
add esi, edi
shufps xmm2, xmm2, 0x55
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
movhlps xmm2, xmm0
rsqrtps xmm0, xmm0
subps xmm2, xmm1
rsqrtps xmm0, xmm0
movq mm4, mm1
movq mm2, mm0
subps xmm0, xmm1
addps xmm2, xmm0
mulps xmm1, xmm2
movq mm4, mm1
addss xmm2, xmm0
subps xmm2, xmm1
addss xmm2, xmm0
addss xmm2, xmm0
subps xmm0, xmm1
rsqrtps xmm0, xmm0
movq mm2, mm0
mov eax, dword [esi]
test eax, eax
jne 0x4051d0
movhlps xmm2, xmm0
shufps xmm2, xmm2, 0x55
movq mm3, mm1
rsqrtss xmm2, xmm2
sqrtss xmm2, xmm2
addss xmm2, xmm0
subps xmm2, xmm1
divps xmm1, xmm2
shufps xmm2, xmm2, 0
addss xmm2, xmm0
subps xmm0, xmm1
jmp 0x403f42
shufps xmm2, xmm2, 0x55
movq mm2, mm0
movaps xmm3, xmm2
mulps xmm2, xmm0
subps xmm0, xmm1
mulps xmm0, xmm0
movq mm2, mm0
addss xmm2, xmm0
shufps xmm2, xmm2, 0x55
addps xmm2, xmm0
rsqrtss xmm2, xmm2
divps xmm1, xmm2
movq mm3, mm1
subps xmm0, xmm1
mulps xmm1, xmm2
movhlps xmm2, xmm0
subps xmm2, xmm1
divps xmm1, xmm2
movhlps xmm2, xmm0
haddps xmm0, xmm0
mulps xmm2, xmm0
mov dword [ebp - 0x3c], 0
jmp 0x4040c1
subps xmm0, xmm1
sqrtss xmm2, xmm2
movq mm3, mm1
movq mm3, mm1
mulps xmm1, xmm0
addss xmm2, xmm0
rsqrtss xmm2, xmm2
movaps xmm1, xmm0
mulps xmm1, xmm0
mulps xmm0, xmm0
movq mm3, mm1
subps xmm2, xmm1
movaps xmm1, xmm0
subps xmm2, xmm1
movss xmm0, xmm2
mulps xmm1, xmm0
mulps xmm1, xmm0
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.0040b0dc
sub esp, 0x10
mov dword [ebp - 0x40], eax
sqrtss xmm2, xmm2
subps xmm2, xmm1
mulps xmm2, xmm0
subps xmm0, xmm1
movhlps xmm2, xmm0
mulps xmm1, xmm2
movaps xmm3, xmm2
subps xmm0, xmm1
movq mm3, mm1
divps xmm1, xmm2
mulps xmm1, xmm2
mulps xmm0, xmm0
subps xmm2, xmm1
addss xmm2, xmm0
shufps xmm2, xmm2, 0
haddps xmm0, xmm0
subps xmm2, xmm1
subps xmm2, xmm1
rsqrtss xmm2, xmm2
divps xmm1, xmm2
movaps xmm3, xmm2
movq mm2, mm0
shufps xmm2, xmm2, 0
test eax, eax
je 0x405755
shufps xmm2, xmm2, 0
movq mm2, mm0
movaps xmm1, xmm0
mulps xmm0, xmm0
mulps xmm1, xmm2
movq mm3, mm1
mulps xmm0, xmm0
rsqrtss xmm2, xmm2
addps xmm2, xmm0
movhlps xmm2, xmm0
jmp 0x403706
subps xmm2, xmm1
mulps xmm1, xmm2
rsqrtss xmm2, xmm2
subps xmm2, xmm1
haddps xmm0, xmm0
mulps xmm2, xmm0
haddps xmm0, xmm0
rsqrtps xmm0, xmm0
sqrtss xmm2, xmm2
movaps xmm3, xmm2
movq mm3, mm1
movq mm4, mm1
sqrtss xmm2, xmm2
subps xmm2, xmm1
movq mm3, mm1
subps xmm2, xmm1
shufps xmm2, xmm2, 0x55
haddps xmm0, xmm0
movq mm2, mm0
shufps xmm2, xmm2, 0
subps xmm2, xmm1
movss xmm0, xmm2
haddps xmm0, xmm0
movaps xmm3, xmm2
addps xmm2, xmm0
mulps xmm1, xmm0
shufps xmm2, xmm2, 0x55
movq mm4, mm1
rsqrtps xmm0, xmm0
subps xmm2, xmm1
sqrtss xmm2, xmm2
shufps xmm2, xmm2, 0
rsqrtss xmm2, xmm2
movhlps xmm2, xmm0
mulps xmm1, xmm0
mov dword [ebp - 0x3c], 0
jmp 0x4040c1
mulps xmm0, xmm0
movq mm3, mm1
addss xmm2, xmm0
shufps xmm2, xmm2, 0
movq mm2, mm0
divps xmm1, xmm2
subps xmm2, xmm1
subps xmm2, xmm1
haddps xmm0, xmm0
mulps xmm1, xmm0
mulps xmm0, xmm0
rsqrtps xmm0, xmm0
rsqrtps xmm0, xmm0
subps xmm0, xmm1
mulps xmm1, xmm0
movq mm2, mm0
mulps xmm1, xmm0
mulps xmm0, xmm0
movss xmm0, xmm2
subps xmm2, xmm1
subps xmm2, xmm1
mulps xmm1, xmm2
haddps xmm0, xmm0
mulps xmm0, xmm0
haddps xmm0, xmm0
addss xmm2, xmm0
addss xmm2, xmm0
shufps xmm2, xmm2, 0x55
rsqrtss xmm2, xmm2
movq mm2, mm0
movss xmm0, xmm2
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.00402a40
movq mm2, mm0
mulps xmm1, xmm2
movq mm2, mm0
haddps xmm0, xmm0
movq mm2, mm0
addss xmm2, xmm0
movss xmm0, xmm2
rsqrtps xmm0, xmm0
movaps xmm1, xmm0
subps xmm2, xmm1
movaps xmm3, xmm2
mulps xmm1, xmm0
subps xmm0, xmm1
divps xmm1, xmm2
movq mm4, mm1
subps xmm2, xmm1
mulps xmm1, xmm0
subps xmm2, xmm1
xor eax, eax
jmp 0x404880
mulps xmm2, xmm0
mulps xmm3, xmm1
subps xmm2, xmm1
addps xmm2, xmm0
movq mm4, mm1
subps xmm2, xmm1
addps xmm2, xmm0
rsqrtps xmm0, xmm0
haddps xmm0, xmm0
mulps xmm1, xmm2
haddps xmm0, xmm0
movss xmm0, xmm2
shufps xmm2, xmm2, 0
movaps xmm3, xmm2
shufps xmm2, xmm2, 0x55
shufps xmm2, xmm2, 0
mulps xmm1, xmm2
addss xmm2, xmm0
addps xmm2, xmm0
addss xmm2, xmm0
movss xmm0, xmm2
rsqrtss xmm2, xmm2
addps xmm2, xmm0
mulps xmm3, xmm1
movss xmm0, xmm2
mulps xmm0, xmm0
movq mm3, mm1
haddps xmm0, xmm0
rsqrtss xmm2, xmm2
shufps xmm2, xmm2, 0
mulps xmm2, xmm0
movaps xmm1, xmm0
mulps xmm1, xmm2
shufps xmm2, xmm2, 0x55
rsqrtps xmm0, xmm0
movq mm2, mm0
movaps xmm3, xmm2
movaps xmm3, xmm2
movq mm2, mm0
sqrtss xmm2, xmm2
jmp 0x405639
rsqrtps xmm0, xmm0
mulps xmm0, xmm0
movaps xmm3, xmm2
movq mm2, mm0
movaps xmm1, xmm0
mulps xmm2, xmm0
mulps xmm2, xmm0
subps xmm2, xmm1
shufps xmm2, xmm2, 0
shufps xmm2, xmm2, 0
subps xmm0, xmm1
mulps xmm0, xmm0
addss xmm2, xmm0
mulps xmm2, xmm0
movaps xmm1, xmm0
subps xmm2, xmm1
rsqrtss xmm2, xmm2
movq mm4, mm1
rsqrtps xmm0, xmm0
subps xmm0, xmm1
movq mm2, mm0
rsqrtps xmm0, xmm0
movaps xmm1, xmm0
movq mm3, mm1
addss xmm2, xmm0
haddps xmm0, xmm0
movaps xmm1, xmm0
movss xmm0, xmm2
shufps xmm2, xmm2, 0
rsqrtss xmm2, xmm2
movq mm3, mm1
movhlps xmm2, xmm0
mulps xmm0, xmm0
movhlps xmm2, xmm0
rsqrtss xmm2, xmm2
sqrtss xmm2, xmm2
lea esi, [esi]
jmp 0x404880