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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd0
movss xmm0, dword [ebp + 0x18]
mulss xmm0, dword [0x509234]
push esi
mov esi, ecx
push edi
movaps xmm1, xmm0
movss dword [esp + 0x20], xmm0
mov edi, edx
addss xmm1, dword [esi + 8]
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.004d84a0
xorps xmm1, xmm1
sub esp, 8
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x5092b4]
addss xmm1, xmm1
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
fstp qword [esp]
call fcn.004d7560
fstp qword [esp + 0x40]
movsd xmm0, qword [esp + 0x40]
mov ecx, 2
cvtpd2ps xmm0, xmm0
add esp, 8
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov byte [esp + 0x74], 0
mov dword [esp + 0x88], 0
xorps xmm1, xmm1
mov dword [esp + 0x8c], 0
cvttss2si eax, xmm0
mov dword [esp + 0x90], 0
mov byte [esp + 0x94], 0
xorps xmm0, xmm0
movss dword [esp + 0x48], xmm1
cmp eax, ecx
movss dword [esp + 0x44], xmm0
movups xmmword [esp + 0x58], xmm0
cmovl eax, ecx
cmp dword [ebp + 0xc], 0
movss dword [esp + 0x50], xmm1
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
movups xmmword [esp + 0x78], xmm0
movss dword [esp + 0x4c], xmm0
je 0x45618e
movss xmm0, dword [edi + 4]
movss xmm2, dword [edi]
shl eax, 5
add eax, 0xffffffe0
add eax, edi
mov dword [esp + 0xc], eax
subss xmm0, dword [eax + 4]
subss xmm2, dword [eax]
movaps xmm1, xmm0
movss dword [esp + 0x10], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss dword [esp + 8], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x456054
sqrtsd xmm0, xmm0
jmp 0x456059
call fcn.004d98a0
movss xmm1, dword [0x509244]
xorps xmm5, xmm5
movss xmm2, dword [esp + 8]
cvtsd2ss xmm5, xmm0
comiss xmm5, dword [0x509204]
jbe 0x45608a
divss xmm1, xmm5
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x10]
mulss xmm2, xmm0
jmp 0x456090
movss xmm1, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
movaps xmm0, xmm5
movss xmm6, dword [0x509410]
xor ecx, ecx
movss xmm4, dword [esp + 0x20]
mulss xmm0, xmm2
xorps xmm2, xmm6
mov edx, dword [ebp + 8]
mulss xmm5, xmm1
mulss xmm0, dword [0x509234]
mulss xmm5, dword [0x509234]
addss xmm0, dword [eax]
mulss xmm1, xmm4
addss xmm5, dword [eax + 4]
mulss xmm2, xmm4
movaps xmm3, xmm0
subss xmm3, xmm1
addss xmm1, xmm0
movaps xmm7, xmm5
subss xmm7, xmm2
addss xmm2, xmm5
movss dword [esp + 0x58], xmm3
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x5c], xmm7
movups xmm0, xmmword [esp + 0x58]
movss dword [esp + 0x7c], xmm2
movups xmmword [esp + 0x98], xmm0
movups xmm0, xmmword [esp + 0x68]
movss dword [esp + 0x18], xmm3
movups xmmword [esp + 0xa8], xmm0
movups xmm0, xmmword [esp + 0x78]
movss dword [esp + 0x10], xmm1
movups xmmword [esp + 0xb8], xmm0
movups xmm0, xmmword [esp + 0x88]
movss dword [esp + 8], xmm2
movups xmmword [esp + 0xc8], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x98]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x50], xmm0
jmp 0x4563aa
movss xmm0, dword [edi + 0x24]
mov ecx, edi
movss xmm2, dword [edi + 0x20]
add edi, 0x20
dec eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x24], eax
subss xmm0, dword [ecx + 4]
subss xmm2, dword [ecx]
movaps xmm1, xmm0
movss dword [esp + 0x1c], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss dword [esp + 8], xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x4561df
sqrtsd xmm0, xmm0
jmp 0x4561e4
call fcn.004d98a0
movss xmm1, dword [0x509244]
movss xmm2, dword [esp + 8]
movss xmm4, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x509204]
jbe 0x456214
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm4, xmm1
mulss xmm2, xmm0
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x456252
mov eax, dword [esp + 0xc]
xorps xmm2, xmmword [0x509410]
movss xmm1, dword [esp + 0x20]
mulss xmm2, dword [esp + 0x20]
movss xmm6, dword [eax]
movss xmm0, dword [eax + 4]
mulss xmm1, xmm4
subss xmm0, xmm2
addss xmm2, dword [eax + 4]
subss xmm6, xmm1
addss xmm1, dword [eax]
jmp 0x4562a5
cmp eax, 2
jne 0x456326
movss xmm3, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
movaps xmm0, xmm3
mulss xmm0, xmm2
movaps xmm1, xmm3
xorps xmm2, xmmword [0x509410]
movss xmm5, dword [eax]
movss xmm7, dword [eax + 4]
subss xmm5, xmm0
mulss xmm1, xmm4
mulss xmm2, xmm3
subss xmm7, xmm1
movaps xmm6, xmm5
subss xmm6, xmm1
addss xmm1, xmm5
movaps xmm0, xmm7
subss xmm0, xmm2
addss xmm2, xmm7
push ecx
movss dword [esp + 0x14], xmm1
movaps xmm3, xmm1
movss dword [esp + 0xc], xmm2
movaps xmm1, xmm6
movss dword [esp], xmm2
mov ecx, esi
movaps xmm2, xmm0
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x1c], xmm6
call fcn.004551b0
movss xmm0, dword [esp + 0x14]
add esp, 4
movss xmm3, dword [esp + 0x18]
mov ecx, 1
movss xmm7, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
movss xmm4, dword [esp + 0x20]
movss xmm6, dword [0x509410]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 8]
movss dword [esp + 0x58], xmm3
movss dword [esp + 0x5c], xmm7
movss dword [esp + 0x7c], xmm0
jmp 0x4563b0
cmp eax, 1
mov eax, dword [esp + 0xc]
jne 0x456369
movss xmm0, dword [ebp + 0x18]
lea edx, [esp + 0x58]
push 0
push dword [esp + 0x58]
mov ecx, esi
sub esp, 0xc
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm4
movss dword [esp], xmm2
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00455760
mov eax, dword [esp + 0x28]
add esp, 0x1c
movss xmm0, dword [esp + 0x7c]
mov ecx, 1
movss xmm3, dword [esp + 0x58]
mov edx, dword [esp + 0x24]
movss xmm6, dword [0x509410]
movss xmm4, dword [esp + 0x20]
movss xmm7, dword [esp + 0x5c]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x14], xmm7
cmp ecx, edx
jge 0x4569a8
sub edx, ecx
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x10]
jmp 0x4563de
movss xmm4, dword [esp + 0x20]
movss xmm6, dword [0x509410]
mov cl, byte [edi + 0x1c]
test cl, 1
je 0x456795
cmp edx, 1
jne 0x456442
push dword [esp + 0x54]
movss xmm0, dword [ebp + 0x18]
lea edx, [esp + 0x5c]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push edi
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00455b60
movss xmm0, dword [esp + 0x90]
add esp, 0x14
movss xmm7, dword [esp + 0x5c]
movss xmm3, dword [esp + 0x58]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x10], xmm0
jmp 0x456989
cmp edx, 2
je 0x456654
test cl, 2
jne 0x456654
movss xmm6, dword [eax + 8]
test cl, 4
movss xmm2, dword [edi + 8]
movss xmm1, dword [eax + 0xc]
xorps xmm6, xmmword [0x509410]
movss xmm5, dword [edi + 0xc]
xorps xmm2, xmmword [0x509410]
push ecx
movss dword [esp + 0x10], xmm1
mov ecx, esi
movss dword [esp + 0x1c], xmm6
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x20], xmm2
movss dword [esp], xmm7
je 0x456561
movss xmm1, dword [edi]
movaps xmm0, xmm4
mulss xmm0, dword [edi + 0x14]
movss xmm2, dword [edi + 4]
subss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [edi + 0x18]
subss xmm2, xmm0
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x2c], xmm2
call fcn.004551b0
movss xmm2, dword [esp + 0x24]
mov ecx, esi
movss xmm3, dword [esp + 0x30]
movss xmm1, dword [esp + 0x20]
movss xmm5, dword [esp + 0x10]
movss xmm4, dword [esp + 0x1c]
mulss xmm3, xmm2
mulss xmm1, xmm2
addss xmm3, dword [edi]
mulss xmm5, xmm2
addss xmm1, dword [edi + 4]
mulss xmm4, xmm2
addss xmm5, dword [edi]
movss xmm2, dword [esp + 0xc]
addss xmm4, dword [edi + 4]
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x20], xmm1
movss xmm1, dword [esp + 0x14]
movaps xmm3, xmm5
movss dword [esp + 0x10], xmm5
movss dword [esp + 0x1c], xmm4
movss dword [esp], xmm4
call fcn.004551b0
movss xmm0, dword [esp + 0x20]
movss xmm3, dword [esp + 0x30]
movss xmm2, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x10]
jmp 0x456628
movss xmm0, dword [edi]
mulss xmm1, xmm4
mulss xmm6, xmm4
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x10], xmm1
movaps xmm1, xmm0
movss xmm0, dword [edi + 4]
subss xmm1, dword [esp + 0x10]
mulss xmm5, xmm4
mulss xmm2, xmm4
movss dword [esp + 0x2c], xmm0
subss xmm0, xmm6
movss xmm6, dword [esp + 0x18]
movss xmm4, dword [esp + 0x2c]
subss xmm6, xmm5
subss xmm4, xmm2
movss dword [esp + 0x38], xmm1
movaps xmm2, xmm0
movss dword [esp + 0x34], xmm0
movss dword [esp + 0x18], xmm6
movss dword [esp + 0x2c], xmm4
call fcn.004551b0
movss xmm0, dword [esp + 0x34]
mov ecx, esi
movss xmm3, dword [esp + 0x38]
movss xmm2, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x18]
movss dword [esp], xmm0
call fcn.004551b0
movss xmm0, dword [esp + 0x24]
movss xmm2, dword [esp + 0xc]
movaps xmm1, xmm0
mulss xmm1, dword [edi + 0x14]
mulss xmm0, dword [edi + 0x18]
addss xmm1, dword [edi]
addss xmm0, dword [edi + 4]
movss dword [esp + 0x30], xmm1
movaps xmm3, xmm1
movss xmm1, dword [esp + 0x14]
movss dword [esp + 0x20], xmm0
mov ecx, esi
movss dword [esp], xmm0
call fcn.004551b0
movss xmm3, dword [esp + 0x18]
add esp, 4
movss xmm7, dword [esp + 0x28]
movss xmm1, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x1c]
jmp 0x456965
movss xmm3, dword [edi]
movaps xmm1, xmm4
mulss xmm1, dword [eax + 0xc]
movaps xmm5, xmm3
push ecx
movss xmm0, dword [eax + 8]
mov ecx, esi
movss xmm2, dword [edi + 4]
xorps xmm0, xmm6
mulss xmm0, xmm4
subss xmm5, xmm1
movaps xmm6, xmm3
movss dword [esp], xmm7
addss xmm6, xmm1
movaps xmm4, xmm2
movaps xmm1, xmm2
subss xmm4, xmm0
addss xmm1, xmm0
movss dword [esp + 0x3c], xmm5
movaps xmm0, xmm3
movss dword [esp + 0x30], xmm6
movss xmm6, dword [esp + 0x24]
mulss xmm6, dword [edi + 0xc]
movss dword [esp + 0x20], xmm1
movss xmm1, dword [edi + 8]
xorps xmm1, xmmword [0x509410]
subss xmm0, xmm6
mulss xmm1, dword [esp + 0x24]
addss xmm6, xmm3
movss xmm3, dword [esp + 0x1c]
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
movss dword [esp + 0x38], xmm6
addss xmm1, xmm2
movaps xmm2, xmm4
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x34], xmm1
movaps xmm1, xmm5
call fcn.004551b0
movss xmm0, dword [esp + 0x18]
mov ecx, esi
movss xmm3, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x10]
movss xmm1, dword [esp + 0x2c]
movss dword [esp], xmm0
call fcn.004551b0
movss xmm0, dword [esp + 0x20]
mov ecx, esi
movss xmm3, dword [esp + 0x30]
movss xmm2, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss dword [esp], xmm0
call fcn.004551b0
movss xmm0, dword [esp + 0x34]
mov ecx, esi
movss xmm3, dword [esp + 0x38]
movss xmm2, dword [esp + 0x20]
movss xmm1, dword [esp + 0x30]
movss dword [esp], xmm0
call fcn.004551b0
movss xmm3, dword [esp + 0x2c]
add esp, 4
movss xmm7, dword [esp + 0xc]
movss xmm1, dword [esp + 0x34]
movss xmm0, dword [esp + 0x30]
jmp 0x456965
movss xmm2, dword [edi + 4]
movaps xmm0, xmm4
mulss xmm0, dword [edi + 0x18]
movaps xmm3, xmm2
movss xmm5, dword [edi]
movaps xmm1, xmm4
mulss xmm1, dword [edi + 0x14]
movaps xmm6, xmm5
subss xmm3, xmm0
addss xmm2, xmm0
subss xmm6, xmm1
addss xmm5, xmm1
ucomiss xmm3, xmm7
movss dword [esp + 0x2c], xmm6
movss dword [esp + 0x30], xmm3
lahf
movss dword [esp + 0x1c], xmm5
movss dword [esp + 0x28], xmm2
test ah, 0x44
jnp 0x456892
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
inc eax
cmp eax, ecx
jle 0x45682e
lea eax, [ecx + ecx]
test ecx, ecx
jg 0x456800
mov eax, 0x40
mov dword [esi + 0x18], eax
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [esi + 0x10]
call fcn.004bd740
add esp, 8
mov dword [esi + 0x10], eax
test eax, eax
je 0x456892
movss xmm7, dword [esp + 0x14]
movss xmm3, dword [esp + 0x30]
movss xmm6, dword [esp + 0x2c]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
lea ecx, [eax + eax*2]
inc eax
comiss xmm7, xmm3
mov dword [esi + 0x14], eax
jbe 0x456867
movss dword [edx + ecx*8], xmm6
movss xmm6, dword [esp + 0x18]
movss dword [edx + ecx*8 + 4], xmm3
movss dword [edx + ecx*8 + 8], xmm6
movss dword [edx + ecx*8 + 0xc], xmm7
mov dword [edx + ecx*8 + 0x10], 1
jmp 0x456892
movss xmm6, dword [esp + 0x18]
movss xmm0, dword [esp + 0x2c]
movss dword [edx + ecx*8], xmm6
movss dword [edx + ecx*8 + 4], xmm7
movss dword [edx + ecx*8 + 8], xmm0
movss dword [edx + ecx*8 + 0xc], xmm3
mov dword [edx + ecx*8 + 0x10], 0xffffffff
movss xmm0, dword [esp + 8]
movss xmm1, dword [esp + 0x28]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x45694a
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
inc eax
cmp eax, ecx
jle 0x4568ea
lea eax, [ecx + ecx]
test ecx, ecx
jg 0x4568c2
mov eax, 0x40
mov dword [esi + 0x18], eax
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [esi + 0x10]
call fcn.004bd740
add esp, 8
mov dword [esi + 0x10], eax
test eax, eax
je 0x45694a
movss xmm0, dword [esp + 8]
movss xmm1, dword [esp + 0x28]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
movss xmm3, dword [esp + 0x10]
movss xmm2, dword [esp + 0x1c]
lea ecx, [eax + eax*2]
inc eax
comiss xmm1, xmm0
mov dword [esi + 0x14], eax
jbe 0x456929
movss dword [edx + ecx*8], xmm3
movss dword [edx + ecx*8 + 4], xmm0
movss dword [edx + ecx*8 + 8], xmm2
movss dword [edx + ecx*8 + 0xc], xmm1
mov dword [edx + ecx*8 + 0x10], 1
jmp 0x456950
movss dword [edx + ecx*8], xmm2
movss dword [edx + ecx*8 + 4], xmm1
movss dword [edx + ecx*8 + 8], xmm3
movss dword [edx + ecx*8 + 0xc], xmm0
mov dword [edx + ecx*8 + 0x10], 0xffffffff
jmp 0x456950
movss xmm2, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x2c]
movaps xmm1, xmm2
movss xmm7, dword [esp + 0x30]
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x58], xmm3
movss dword [esp + 0x5c], xmm7
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x78], xmm1
movss dword [esp + 8], xmm0
movss dword [esp + 0x7c], xmm0
mov edx, dword [ebp + 0x10]
mov eax, edi
add edi, 0x20
movss dword [esp + 0x14], xmm7
sub dword [esp + 0x24], 1
movss dword [esp + 0x18], xmm3
jne 0x4563d0
cmp dword [ebp + 0xc], 0
je 0x456b26
movss xmm0, dword [esp + 0x44]
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jnp 0x456a62
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
inc eax
cmp eax, ecx
jle 0x456a04
lea eax, [ecx + ecx]
test ecx, ecx
jg 0x4569dc
mov eax, 0x40
mov dword [esi + 0x18], eax
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [esi + 0x10]
call fcn.004bd740
add esp, 8
mov dword [esi + 0x10], eax
test eax, eax
je 0x456a62
movss xmm7, dword [esp + 0x14]
movss xmm0, dword [esp + 0x44]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
movss xmm1, dword [esp + 0x48]
movss xmm6, dword [esp + 0x18]
lea ecx, [eax + eax*2]
inc eax
comiss xmm7, xmm0
mov dword [esi + 0x14], eax
jbe 0x456a43
movss dword [edx + ecx*8], xmm1
movss dword [edx + ecx*8 + 4], xmm0
movss dword [edx + ecx*8 + 8], xmm6
movss dword [edx + ecx*8 + 0xc], xmm7
mov dword [edx + ecx*8 + 0x10], 1
jmp 0x456a62
movss dword [edx + ecx*8], xmm6
movss dword [edx + ecx*8 + 4], xmm7
movss dword [edx + ecx*8 + 8], xmm1
movss dword [edx + ecx*8 + 0xc], xmm0
mov dword [edx + ecx*8 + 0x10], 0xffffffff
movss xmm0, dword [esp + 8]
movss xmm1, dword [esp + 0x4c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x456cf4
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
inc eax
cmp eax, ecx
jle 0x456abe
lea eax, [ecx + ecx]
test ecx, ecx
jg 0x456a92
mov eax, 0x40
mov dword [esi + 0x18], eax
lea eax, [eax + eax*2]
shl eax, 3
push eax
push dword [esi + 0x10]
call fcn.004bd740
add esp, 8
mov dword [esi + 0x10], eax
test eax, eax
je 0x456cf4
movss xmm0, dword [esp + 8]
movss xmm1, dword [esp + 0x4c]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
movss xmm3, dword [esp + 0x10]
movss xmm2, dword [esp + 0x50]
lea ecx, [eax + eax*2]
inc eax
comiss xmm1, xmm0
mov dword [esi + 0x14], eax
jbe 0x456b01
movss dword [edx + ecx*8], xmm3
movss dword [edx + ecx*8 + 4], xmm0
movss dword [edx + ecx*8 + 8], xmm2
movss dword [edx + ecx*8 + 0xc], xmm1
mov dword [edx + ecx*8 + 0x10], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movss dword [edx + ecx*8], xmm2
movss dword [edx + ecx*8 + 4], xmm1
movss dword [edx + ecx*8 + 8], xmm3
movss dword [edx + ecx*8 + 0xc], xmm0
mov dword [edx + ecx*8 + 0x10], 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movss xmm0, dword [edi + 4]
subss xmm0, dword [eax + 4]
movss xmm2, dword [edi]
subss xmm2, dword [eax]
movaps xmm1, xmm0
movss dword [esp + 0xc], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x24], xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x456b68
sqrtsd xmm0, xmm0
jmp 0x456b6d
call fcn.004d98a0
movss xmm3, dword [esp + 0x24]
movss xmm4, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
comiss xmm0, dword [0x509204]
jbe 0x456b9d
movss xmm1, dword [0x509244]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm4, xmm1
mulss xmm3, xmm0
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x456bdd
movss xmm2, dword [0x509410]
movss xmm1, dword [edi]
xorps xmm3, xmm2
movss xmm0, dword [edi + 4]
xorps xmm4, xmm2
mulss xmm4, dword [esp + 0x20]
xorps xmm3, xmm2
mulss xmm3, dword [esp + 0x20]
subss xmm1, xmm4
addss xmm4, dword [edi]
subss xmm0, xmm3
addss xmm3, dword [edi + 4]
jmp 0x456c33
cmp eax, 2
jne 0x456caf
movss xmm5, dword [0x509410]
movss xmm2, dword [esp + 0x20]
xorps xmm3, xmm5
movss xmm6, dword [edi]
movaps xmm0, xmm2
movss xmm7, dword [edi + 4]
xorps xmm4, xmm5
mulss xmm0, xmm3
xorps xmm3, xmm5
mulss xmm4, xmm2
subss xmm6, xmm0
mulss xmm3, xmm2
subss xmm7, xmm4
movaps xmm1, xmm6
subss xmm1, xmm4
movaps xmm0, xmm7
addss xmm4, xmm6
subss xmm0, xmm3
addss xmm3, xmm7
push ecx
movss dword [esp + 0x28], xmm3
movaps xmm2, xmm0
movss dword [esp], xmm3
mov ecx, esi
movaps xmm3, xmm4
movss dword [esp + 0x10], xmm4
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x34], xmm1
call fcn.004551b0
movss xmm0, dword [esp + 0x3c]
mov ecx, esi
movss xmm3, dword [esp + 0x34]
movss xmm2, dword [esp + 0xc]
movss xmm1, dword [esp + 0x14]
movss dword [esp], xmm0
call fcn.004551b0
movss xmm0, dword [esp + 0x18]
mov ecx, esi
movss xmm3, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x28]
movss xmm1, dword [esp + 0x10]
movss dword [esp], xmm0
call fcn.004551b0
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x456cf4
movss xmm0, dword [ebp + 0x18]
lea edx, [esp + 0x78]
xorps xmm4, xmmword [0x509410]
mov ecx, esi
xorps xmm3, xmmword [0x509410]
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x60]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm4
movss dword [esp], xmm3
push edi
push eax
call fcn.00455760
add esp, 0x1c
pop edi
pop esi
mov esp, ebp
pop ebp
ret