Function at 0x140017210
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0xa0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x140069040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
mov edx, 6
mov rcx, qword [0x14007cba0]
call fcn.14003fe40
test al, al
jne 0x1400172ba
xor r8d, r8d
lea rdx, [0x14004c81d]
lea rcx, [0x140075c58]
call fcn.140026300
mov qword [0x14007c0d8], rbx
xchg byte [0x14007c0c2], bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400447a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rdi
ret
movzx eax, byte [0x14007c0c2]
test al, al
jne 0x140017284
mov r9, rdi
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140016b60
xorps xmm4, xmm4
movss xmm0, dword [rsp + 0x38]
movss xmm1, dword [rsp + 0x34]
movss xmm5, dword [rsp + 0x30]
ucomiss xmm5, xmm4
jp 0x1400172ff
jne 0x1400172ff
ucomiss xmm1, xmm4
jp 0x1400172ff
jne 0x1400172ff
ucomiss xmm0, xmm4
jp 0x1400172ff
je 0x140017284
movss xmm3, dword [0x14007c0c4]
movaps xmm2, xmm3
mulss xmm2, dword [rsi]
addss xmm2, xmm5
movaps xmm7, xmm3
mulss xmm7, dword [rsi + 4]
addss xmm7, xmm1
mulss xmm3, dword [rsi + 8]
addss xmm3, xmm0
xorps xmm8, xmm8
cvtsi2ss xmm8, dword [0x140075bac]
mulss xmm8, dword [0x140058764]
xorps xmm9, xmm9
cvtsi2ss xmm9, dword [0x140075ba8]
mulss xmm9, dword [0x140058764]
movaps xmm6, xmm7
mulss xmm6, dword [rdi + 4]
movaps xmm0, xmm2
mulss xmm0, dword [rdi]
addss xmm6, xmm0
movaps xmm1, xmm3
mulss xmm1, dword [rdi + 8]
addss xmm6, xmm1
addss xmm6, dword [rdi + 0xc]
movaps xmm5, xmm7
mulss xmm5, dword [rdi + 0x14]
movaps xmm0, xmm2
mulss xmm0, dword [rdi + 0x10]
addss xmm5, xmm0
movaps xmm1, xmm3
mulss xmm1, dword [rdi + 0x18]
addss xmm5, xmm1
addss xmm5, dword [rdi + 0x1c]
mulss xmm7, dword [rdi + 0x24]
mulss xmm2, dword [rdi + 0x20]
addss xmm7, xmm2
mulss xmm3, dword [rdi + 0x28]
addss xmm7, xmm3
addss xmm7, dword [rdi + 0x2c]
movss xmm0, dword [0x140058760]
comiss xmm0, xmm7
ja 0x140017284
mulss xmm6, xmm8
divss xmm6, xmm7
addss xmm6, xmm8
mulss xmm5, xmm9
divss xmm5, xmm7
movaps xmm7, xmm9
subss xmm7, xmm5
comiss xmm4, xmm6
ja 0x140017284
comiss xmm4, xmm7
ja 0x140017284
subss xmm6, xmm8
subss xmm7, xmm9
movaps xmm1, xmm7
mulss xmm1, xmm7
movaps xmm0, xmm6
mulss xmm0, xmm6
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x140017427
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x14001742f
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x140075c04]
comiss xmm1, xmm0
jae 0x140017284
mov ecx, 8
call fcn.140044b88
movss dword [rax], xmm6
movss dword [rax + 4], xmm7
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140036c50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400174b6
cmp dword [rsp + 0x48], 0
je 0x1400174aa
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400174aa
jmp 0x140017284
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3