Function at 0x1400499c0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rdi
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm14
movaps xmmword [rsp + 0x50], xmm15
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140059bc4
lea rcx, [0x140049660]
mov qword [rax], rcx
mov qword [rsp + 0x100], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140059680]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140049da7
cmp dword [rsp + 0x38], 0
je 0x140049d9b
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140049d9b
movsd xmm1, qword [0x14006d438]
movsd xmm4, qword [0x14006d440]
movsd xmm0, qword [0x14006d448]
movsd xmm3, qword [0x140063650]
mulsd xmm1, xmm3
movsd xmm2, qword [0x1400636b0]
divsd xmm1, xmm2
cvtpd2ps xmm6, xmm1
mulsd xmm4, xmm3
divsd xmm4, xmm2
cvtpd2ps xmm7, xmm4
mulsd xmm0, xmm3
divsd xmm0, xmm2
cvtpd2ps xmm8, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm13, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm12, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm10, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm11, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm8, xmm0
movaps xmm3, xmm11
mulss xmm3, xmm9
movaps xmm4, xmm0
mulss xmm4, xmm9
movaps xmm1, xmm10
mulss xmm1, xmm13
xorps xmm14, xmm14
cvtss2sd xmm14, xmm1
movaps xmm2, xmm12
mulss xmm2, xmm13
xorps xmm15, xmm15
cvtss2sd xmm15, xmm2
cvtss2sd xmm9, xmm9
movaps xmm1, xmm3
mulss xmm1, xmm10
mulss xmm0, xmm12
subss xmm1, xmm0
xorps xmm7, xmm7
cvtss2sd xmm7, xmm1
mulss xmm3, xmm12
movaps xmm0, xmm8
mulss xmm0, xmm10
addss xmm3, xmm0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm3
movsd qword [rsp + 0x100], xmm1
movaps xmm1, xmm11
xorps xmm1, xmmword [0x140063c60]
mulss xmm1, xmm13
xorps xmm5, xmm5
cvtss2sd xmm5, xmm1
movaps xmm2, xmm4
mulss xmm2, xmm10
movaps xmm0, xmm11
mulss xmm0, xmm12
addss xmm2, xmm0
xorps xmm2, xmmword [0x140063c60]
xorps xmm6, xmm6
cvtss2sd xmm6, xmm2
mulss xmm11, xmm10
mulss xmm4, xmm12
subss xmm11, xmm4
xorps xmm10, xmm10
cvtss2sd xmm10, xmm11
mulss xmm8, xmm13
xorps xmm1, xmm1
cvtss2sd xmm1, xmm8
movsd xmm3, qword [rbx]
subsd xmm3, qword [0x14006d468]
movsd xmm2, qword [rbx + 8]
subsd xmm2, qword [0x14006d470]
movsd xmm4, qword [rbx + 0x10]
subsd xmm4, qword [0x14006d478]
movsd xmm12, qword [rsp + 0x100]
mulsd xmm12, xmm2
mulsd xmm7, xmm3
addsd xmm12, xmm7
movaps xmm0, xmm4
mulsd xmm0, xmm5
addsd xmm12, xmm0
mulsd xmm10, xmm2
mulsd xmm6, xmm3
addsd xmm10, xmm6
movaps xmm0, xmm4
mulsd xmm0, xmm1
addsd xmm10, xmm0
movsd qword [rsp + 0x100], xmm10
mulsd xmm15, xmm2
mulsd xmm14, xmm3
addsd xmm15, xmm14
mulsd xmm4, xmm9
addsd xmm15, xmm4
movsd xmm11, qword [0x140063640]
maxsd xmm11, xmm15
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xorps xmm6, xmm6
cvtsi2ss xmm6, eax
movss xmm10, dword [0x1400635d4]
mulss xmm6, xmm10
movss xmm0, dword [0x14006cbf8]
mulss xmm0, dword [0x140063688]
divss xmm0, dword [0x140063730]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
divss xmm6, xmm0
cvtps2pd xmm6, xmm6
mulsd xmm6, xmm12
divsd xmm6, xmm11
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm10
cvtps2pd xmm1, xmm0
addsd xmm1, xmm6
movsd qword [rdi], xmm1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mulss xmm0, xmm10
cvtps2pd xmm7, xmm0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xorps xmm6, xmm6
cvtsi2ss xmm6, eax
mulss xmm6, xmm10
movss xmm0, dword [0x14006cbf8]
mulss xmm0, dword [0x140063688]
divss xmm0, dword [0x140063730]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
divss xmm6, xmm0
cvtps2pd xmm1, xmm6
mulsd xmm1, qword [rsp + 0x100]
divsd xmm1, xmm11
subsd xmm7, xmm1
movsd qword [rdi + 8], xmm7
mov rax, rdi
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [rsp + 0x60]
movaps xmm15, xmmword [rsp + 0x50]
mov rsp, r11
pop rdi
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3