Function at 0x140049920
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x14006d040]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rbx, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
lea rdi, [rbp + 0xe8]
movabs r13, 0xff00ff00ff00ff00
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], rdi
mov r14, qword [rdi]
xor r14, r13
mov qword [rbp], r14
mov qword [rdi], rax
mov rax, qword [0x140093a00]
mov rcx, qword [rax]
mov rax, qword [0x140093a38]
add rcx, qword [rax]
call fcn.1400587c0
mov rcx, qword [0x140093a00]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.1400587c0
mov rcx, qword [0x140093a00]
mov rcx, qword [rcx + 0x18]
add rcx, rax
call fcn.1400587c0
mov rcx, rax
call fcn.1400587c0
mov rcx, qword [0x140093a00]
mov rcx, qword [rcx + 0x38]
add rcx, rax
call fcn.1400587c0
mov r15, rax
mov rcx, qword [0x140093a38]
movd xmm7, dword [rcx + 0x10]
cvtdq2pd xmm7, xmm7
mulsd xmm7, qword [0x140063920]
movsd qword [rsp + 0x68], xmm7
movd xmm8, dword [rcx + 0xc]
cvtdq2pd xmm8, xmm8
mulsd xmm8, qword [0x140063920]
movsd qword [rsp + 0x70], xmm8
xorps xmm9, xmm9
xorps xmm11, xmm11
xorps xmm12, xmm12
mov rax, qword [0x140093a00]
mov rcx, qword [rax + 0x70]
add rcx, rbx
call fcn.1400587c0
mov r12, rax
mov rcx, qword [0x1400939f8]
mov edx, dword [rcx + 8]
movsd xmm13, qword [0x140063d80]
test edx, edx
jne 0x140049ead
lea r9d, [rdx + 0x6d]
mov r8, rax
lea rdx, [rsp + 0x78]
call fcn.140048650
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x60], xmm0
mov rax, qword [0x140093a00]
mov rcx, qword [rax]
mov rax, qword [0x140093a38]
add rcx, qword [rax]
call fcn.1400587c0
mov rbx, rax
mov rcx, qword [0x140093a00]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.1400587c0
mov rcx, qword [0x140093a00]
mov rcx, qword [rcx + 0x18]
add rcx, rax
call fcn.1400587c0
mov rcx, rax
call fcn.1400587c0
mov rcx, qword [0x140093a00]
mov rcx, qword [rcx + 0x38]
add rcx, rax
call fcn.1400587c0
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.1400587c0
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.1400587c0
mov rbx, rax
mov rcx, rax
call fcn.1400589f0
movaps xmm12, xmm0
lea rcx, [rbx + 0x20]
call fcn.1400589f0
movaps xmm10, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.1400589f0
movaps xmm6, xmm0
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp - 0x50], xmm1
lea r12, [rbp + 0xe8]
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r12
mov rbx, qword [r12]
xor rbx, r13
mov qword [rbp - 0x50], rbx
mov qword [r12], rax
movups xmmword [rsp + 0x40], xmm9
movsd qword [rsp + 0x38], xmm9
lea r9d, [rax + 0x18]
lea r8, [rsp + 0x38]
mov rdx, rdi
call fcn.140048220
nop
xor rbx, r13
mov qword [r12], rbx
movsd xmm0, qword [rsp + 0x38]
movsd qword [rbp - 0x50], xmm0
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x58], xmm0
movsd xmm0, qword [rsp + 0x48]
movsd qword [rsp + 0x50], xmm0
lea rcx, [rsi + 0x394]
call fcn.1400586c0
mulss xmm0, dword [0x1400639e8]
movss dword [rsp + 0x30], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm11, xmm0
mulsd xmm11, qword [0x140063970]
mulsd xmm11, qword [0x140063938]
divsd xmm11, qword [0x140063988]
movsd xmm6, qword [0x140063a68]
mulsd xmm12, xmm6
movaps xmm1, xmm10
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm10, xmm0
mulsd xmm10, qword [0x140063970]
mulsd xmm10, xmm6
mulsd xmm10, xmm6
mulsd xmm10, qword [0x140063938]
divsd xmm10, qword [0x140063988]
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm11
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm7, xmm7
cvtss2sd xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm8, xmm8
cvtss2sd xmm8, xmm0
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm10
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm11, xmm11
cvtss2sd xmm11, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm13, xmm13
cvtss2sd xmm13, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movaps xmm3, xmm9
mulsd xmm3, xmm7
movaps xmm5, xmm4
mulsd xmm5, xmm7
cvtpd2ps xmm0, xmm7
cvtps2pd xmm15, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm12, xmm0
movaps xmm2, xmm13
mulsd xmm2, xmm8
cvtpd2ps xmm0, xmm2
cvtps2pd xmm7, xmm0
movaps xmm1, xmm9
xorps xmm1, xmmword [0x140063d80]
mulsd xmm1, xmm8
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [rbp - 0x30], xmm0
movaps xmm2, xmm11
mulsd xmm2, xmm3
movaps xmm0, xmm4
mulsd xmm0, xmm13
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm14, xmm0
movaps xmm1, xmm13
mulsd xmm1, xmm3
movaps xmm0, xmm4
mulsd xmm0, xmm11
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm10, xmm0
mulsd xmm4, xmm8
cvtpd2ps xmm0, xmm4
cvtps2pd xmm6, xmm0
movaps xmm1, xmm9
mulsd xmm1, xmm13
movaps xmm0, xmm11
mulsd xmm0, xmm5
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm4, xmm0
mulsd xmm13, xmm5
mulsd xmm9, xmm11
addsd xmm13, xmm9
xorps xmm13, xmmword [0x140063d80]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm13
cvtps2pd xmm2, xmm0
movsd xmm8, qword [rsp + 0x60]
movsd qword [rbp - 0x60], xmm8
subsd xmm8, qword [rsp + 0x50]
movups xmm11, xmmword [rbp - 0x20]
movaps xmm5, xmm11
unpckhpd xmm5, xmm11
subsd xmm5, qword [rsp + 0x58]
subsd xmm11, qword [rbp - 0x50]
movaps xmm3, xmm11
mulsd xmm3, xmm7
movaps xmm0, xmm5
mulsd xmm0, xmm12
addsd xmm3, xmm0
movaps xmm1, xmm8
mulsd xmm1, xmm15
addsd xmm3, xmm1
movaps xmm9, xmm5
mulsd xmm9, xmm4
mulsd xmm2, xmm11
addsd xmm9, xmm2
movaps xmm0, xmm8
mulsd xmm0, xmm6
addsd xmm9, xmm0
mulsd xmm11, xmm10
mulsd xmm5, xmm14
addsd xmm11, xmm5
mulsd xmm8, qword [rbp - 0x30]
addsd xmm11, xmm8
movsd xmm8, qword [0x140063928]
maxsd xmm8, xmm3
mov rbx, qword [0x140093a38]
movd xmm7, dword [rbx + 0xc]
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [0x1400638c8]
movss xmm0, dword [rsp + 0x30]
mulss xmm0, dword [0x140063968]
divss xmm0, dword [0x140063a04]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm7
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1400638c8]
cvtps2pd xmm12, xmm2
mulsd xmm9, xmm3
divsd xmm9, xmm8
subsd xmm12, xmm9
mulsd xmm11, xmm3
divsd xmm11, xmm8
cvtps2pd xmm0, xmm7
addsd xmm11, xmm0
jmp 0x14004a9f0
cmp edx, 1
jne 0x14004a2b4
lea r9d, [rdx + 0x42]
mov r8, r12
lea rdx, [rbp - 0x70]
call fcn.140048650
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x30], xmm1
mov rax, qword [0x140093a00]
mov rcx, qword [rax]
mov rax, qword [0x140093a38]
add rcx, qword [rax]
call fcn.1400587c0
mov rbx, rax
mov rcx, qword [0x140093a00]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.1400587c0
mov rcx, qword [0x140093a00]
mov rcx, qword [rcx + 0x18]
add rcx, rax
call fcn.1400587c0
mov rcx, rax
call fcn.1400587c0
mov rcx, qword [0x140093a00]
mov rcx, qword [rcx + 0x38]
add rcx, rax
call fcn.1400587c0
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.1400587c0
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.1400587c0
mov rbx, rax
mov rcx, rax
call fcn.1400589f0
movaps xmm12, xmm0
lea rcx, [rbx + 0x20]
call fcn.1400589f0
movaps xmm10, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.1400589f0
movaps xmm6, xmm0
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp - 0x50], xmm1
lea r12, [rbp + 0xe8]
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r12
mov rbx, qword [r12]
xor rbx, r13
mov qword [rbp - 0x50], rbx
mov qword [r12], rax
movups xmmword [rsp + 0x40], xmm9
movsd qword [rsp + 0x38], xmm9
lea r9d, [rax + 0x18]
lea r8, [rsp + 0x38]
mov rdx, rdi
call fcn.140048220
nop
xor rbx, r13
mov qword [r12], rbx
movsd xmm0, qword [rsp + 0x38]
movsd qword [rsp + 0x50], xmm0
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x58], xmm0
movsd xmm0, qword [rsp + 0x48]
movsd qword [rbp - 0x50], xmm0
lea rcx, [rsi + 0x394]
call fcn.1400586c0
mulss xmm0, dword [0x1400639e8]
movss dword [rsp + 0x30], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm11, xmm0
mulsd xmm11, qword [0x140063970]
mulsd xmm11, qword [0x140063938]
divsd xmm11, qword [0x140063988]
movsd xmm6, qword [0x140063a68]
mulsd xmm12, xmm6
movaps xmm1, xmm10
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm10, xmm0
mulsd xmm10, qword [0x140063970]
mulsd xmm10, xmm6
mulsd xmm10, xmm6
mulsd xmm10, qword [0x140063938]
divsd xmm10, qword [0x140063988]
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm11
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm7, xmm7
cvtss2sd xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm8, xmm8
cvtss2sd xmm8, xmm0
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm10
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm10, xmm10
cvtss2sd xmm10, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm6, xmm6
cvtss2sd xmm6, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movaps xmm3, xmm6
mulsd xmm3, xmm7
movaps xmm5, xmm4
mulsd xmm5, xmm7
cvtpd2ps xmm0, xmm7
cvtps2pd xmm14, xmm0
movaps xmm1, xmm9
mulsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm7, xmm0
movaps xmm2, xmm10
mulsd xmm2, xmm8
cvtpd2ps xmm0, xmm2
cvtps2pd xmm11, xmm0
movaps xmm1, xmm6
xorps xmm1, xmm13
mulsd xmm1, xmm8
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm15, xmm0
movaps xmm2, xmm4
mulsd xmm2, xmm10
movaps xmm0, xmm9
mulsd xmm0, xmm3
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm13, xmm0
movaps xmm1, xmm10
mulsd xmm1, xmm3
movaps xmm0, xmm4
mulsd xmm0, xmm9
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm12, xmm0
mulsd xmm4, xmm8
cvtpd2ps xmm0, xmm4
cvtps2pd xmm4, xmm0
movaps xmm1, xmm6
mulsd xmm1, xmm10
movaps xmm0, xmm9
mulsd xmm0, xmm5
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm3, xmm0
mulsd xmm6, xmm9
mulsd xmm10, xmm5
addsd xmm6, xmm10
xorps xmm6, xmmword [0x140063d80]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
cvtps2pd xmm1, xmm0
movsd xmm6, qword [rbp - 0x30]
movsd qword [rbp - 0x78], xmm6
subsd xmm6, qword [rbp - 0x50]
movups xmm5, xmmword [rbp - 0x20]
movaps xmm10, xmm5
unpckhpd xmm10, xmm5
subsd xmm10, qword [rsp + 0x58]
subsd xmm5, qword [rsp + 0x50]
movaps xmm2, xmm10
mulsd xmm2, xmm7
mulsd xmm11, xmm5
addsd xmm2, xmm11
movaps xmm0, xmm6
mulsd xmm0, xmm14
addsd xmm2, xmm0
movaps xmm9, xmm10
mulsd xmm9, xmm3
mulsd xmm1, xmm5
addsd xmm9, xmm1
movaps xmm0, xmm6
mulsd xmm0, xmm4
addsd xmm9, xmm0
mulsd xmm10, xmm13
mulsd xmm12, xmm5
addsd xmm10, xmm12
mulsd xmm6, xmm15
addsd xmm10, xmm6
movsd xmm8, qword [0x140063928]
maxsd xmm8, xmm2
mov rbx, qword [0x140093a38]
movd xmm7, dword [rbx + 0xc]
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [0x1400638c8]
movss xmm0, dword [rsp + 0x30]
mulss xmm0, dword [0x140063968]
divss xmm0, dword [0x140063a04]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm7
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1400638c8]
cvtps2pd xmm12, xmm2
movaps xmm0, xmm3
mulsd xmm0, xmm9
divsd xmm0, xmm8
subsd xmm12, xmm0
mulsd xmm3, xmm10
divsd xmm3, xmm8
cvtps2pd xmm11, xmm7
addsd xmm11, xmm3
jmp 0x14004a9f0
cmp edx, 2
jne 0x14004aa11
lea r9d, [rdx + 0x23]
mov r8, r12
lea rdx, [rbp - 0x70]
call fcn.140048650
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x30], xmm1
mov rax, qword [0x140093a00]
mov rcx, qword [rax]
mov rax, qword [0x140093a38]
add rcx, qword [rax]
call fcn.1400587c0
mov rbx, rax
mov rcx, qword [0x140093a00]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.1400587c0
mov rcx, qword [0x140093a00]
mov rcx, qword [rcx + 0x18]
add rcx, rax
call fcn.1400587c0
mov rcx, rax
call fcn.1400587c0
mov rcx, qword [0x140093a00]
mov rcx, qword [rcx + 0x38]
add rcx, rax
call fcn.1400587c0
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.1400587c0
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.1400587c0
mov rbx, rax
mov rcx, rax
call fcn.1400589f0
movaps xmm8, xmm0
lea rcx, [rbx + 0x20]
call fcn.1400589f0
movaps xmm7, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.1400589f0
movaps xmm6, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x50], xmm1
lea r13, [rbp + 0xe8]
movabs rax, 0xff00ff00ff00ff00
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], r13
mov rbx, qword [r13]
xor rbx, rax
mov qword [rbp - 0x50], rbx
mov qword [r13], 0
movups xmmword [rsp + 0x40], xmm9
movsd qword [rsp + 0x38], xmm9
mov r9d, 0x18
lea r8, [rsp + 0x38]
mov rdx, rdi
call fcn.140048220
nop
movabs rax, 0xff00ff00ff00ff00
xor rbx, rax
mov qword [r13], rbx
lea rcx, [rsi + 0x394]
call fcn.1400586c0
mulss xmm0, dword [0x1400639e8]
movss dword [rsp + 0x30], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm6, xmm0
mulsd xmm6, qword [0x140063970]
mulsd xmm6, qword [0x140063938]
divsd xmm6, qword [0x140063988]
movsd xmm9, qword [0x140063a68]
mulsd xmm8, xmm9
movaps xmm1, xmm7
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm7, xmm0
mulsd xmm7, qword [0x140063970]
mulsd xmm7, xmm9
mulsd xmm7, xmm9
mulsd xmm7, qword [0x140063938]
divsd xmm7, qword [0x140063988]
cvtsd2ss xmm6, xmm6
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm8, xmm8
cvtss2sd xmm8, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm7
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm12, xmm12
cvtss2sd xmm12, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm11, xmm11
cvtss2sd xmm11, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm6, xmm6
cvtss2sd xmm6, xmm0
movsd qword [rsp + 0x60], xmm6
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm5, xmm5
cvtss2sd xmm5, xmm0
movsd qword [rsp + 0x58], xmm5
movaps xmm3, xmm6
mulsd xmm3, xmm8
movaps xmm4, xmm6
xorps xmm4, xmm13
movsd qword [rbp - 0x50], xmm4
movaps xmm6, xmm5
mulsd xmm6, xmm8
cvtpd2ps xmm0, xmm8
cvtps2pd xmm13, xmm0
movaps xmm1, xmm12
mulsd xmm1, xmm9
cvtpd2ps xmm0, xmm1
cvtps2pd xmm7, xmm0
movaps xmm2, xmm11
mulsd xmm2, xmm9
cvtpd2ps xmm0, xmm2
cvtps2pd xmm8, xmm0
movaps xmm1, xmm4
mulsd xmm1, xmm9
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm14, xmm0
movaps xmm2, xmm3
mulsd xmm2, xmm12
movaps xmm0, xmm5
mulsd xmm0, xmm11
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm15, xmm0
mulsd xmm3, xmm11
movaps xmm0, xmm5
mulsd xmm0, xmm12
subsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
cvtps2pd xmm10, xmm0
movaps xmm1, xmm5
mulsd xmm1, xmm9
cvtpd2ps xmm0, xmm1
cvtps2pd xmm5, xmm0
movsd xmm2, qword [rsp + 0x60]
mulsd xmm2, xmm11
movaps xmm0, xmm6
mulsd xmm0, xmm12
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm4, xmm0
mulsd xmm6, xmm11
movsd xmm0, qword [rsp + 0x60]
mulsd xmm0, xmm12
addsd xmm6, xmm0
xorps xmm6, xmmword [0x140063d80]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
cvtps2pd xmm1, xmm0
movsd xmm9, qword [rbp - 0x30]
movsd qword [rbp - 0x78], xmm9
subsd xmm9, qword [rsp + 0x48]
movups xmm6, xmmword [rbp - 0x20]
movaps xmm2, xmm6
unpckhpd xmm2, xmm6
subsd xmm2, qword [rsp + 0x40]
subsd xmm6, qword [rsp + 0x38]
movaps xmm3, xmm2
mulsd xmm3, xmm7
mulsd xmm8, xmm6
addsd xmm3, xmm8
mulsd xmm13, xmm9
addsd xmm3, xmm13
movaps xmm8, xmm2
mulsd xmm8, xmm4
mulsd xmm1, xmm6
addsd xmm8, xmm1
movaps xmm0, xmm9
mulsd xmm0, xmm5
addsd xmm8, xmm0
mulsd xmm15, xmm2
mulsd xmm10, xmm6
addsd xmm15, xmm10
mulsd xmm9, xmm14
addsd xmm15, xmm9
movsd xmm7, qword [0x140063928]
maxsd xmm7, xmm3
mov rbx, qword [0x140093a38]
movd xmm6, dword [rbx + 0xc]
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x1400638c8]
movss xmm0, dword [rsp + 0x30]
mulss xmm0, dword [0x140063968]
divss xmm0, dword [0x140063a04]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm1, xmm1
movd xmm2, dword [rbx + 0x10]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1400638c8]
cvtps2pd xmm3, xmm2
movaps xmm0, xmm1
mulsd xmm0, xmm8
divsd xmm0, xmm7
subsd xmm3, xmm0
movsd qword [rsp + 0x50], xmm3
mulsd xmm1, xmm15
divsd xmm1, xmm7
cvtps2pd xmm0, xmm6
addsd xmm1, xmm0
movsd qword [rbp - 0x30], xmm1
mov r9d, 8
mov r8, r12
lea rdx, [rbp - 0x70]
call fcn.140048650
movups xmm12, xmmword [rax]
movsd xmm13, qword [rax + 0x10]
mov rax, qword [0x140093a00]
mov rcx, qword [rax]
mov rax, qword [0x140093a38]
add rcx, qword [rax]
call fcn.1400587c0
mov rbx, rax
mov rcx, qword [0x140093a00]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.1400587c0
mov rcx, qword [0x140093a00]
mov rcx, qword [rcx + 0x18]
add rcx, rax
call fcn.1400587c0
mov rcx, rax
call fcn.1400587c0
mov rcx, qword [0x140093a00]
mov rcx, qword [rcx + 0x38]
add rcx, rax
call fcn.1400587c0
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.1400587c0
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.1400587c0
mov rbx, rax
mov rcx, rax
call fcn.1400589f0
movaps xmm8, xmm0
lea rcx, [rbx + 0x20]
call fcn.1400589f0
movaps xmm7, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.1400589f0
movaps xmm6, xmm0
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp - 0x20], xmm1
lea r12, [rbp + 0xe8]
movabs r13, 0xff00ff00ff00ff00
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], r12
mov rbx, qword [r12]
xor rbx, r13
mov qword [rbp - 0x20], rbx
mov qword [r12], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movsd qword [rsp + 0x38], xmm0
lea r9d, [rax + 0x18]
lea r8, [rsp + 0x38]
mov rdx, rdi
call fcn.140048220
nop
xor rbx, r13
mov qword [r12], rbx
lea rcx, [rsi + 0x394]
call fcn.1400586c0
movaps xmm11, xmm0
mulss xmm11, dword [0x1400639e8]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm6, xmm0
mulsd xmm6, qword [0x140063970]
mulsd xmm6, qword [0x140063938]
divsd xmm6, qword [0x140063988]
movsd xmm9, qword [0x140063a68]
mulsd xmm8, xmm9
movaps xmm1, xmm7
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm8, xmm0
mulsd xmm8, qword [0x140063970]
mulsd xmm8, xmm9
mulsd xmm8, xmm9
mulsd xmm8, qword [0x140063938]
divsd xmm8, qword [0x140063988]
cvtsd2ss xmm6, xmm6
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm7, xmm7
cvtss2sd xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm9, xmm9
cvtss2sd xmm9, xmm0
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm8, xmm8
cvtss2sd xmm8, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm3, xmm3
cvtss2sd xmm3, xmm0
movsd xmm15, qword [rsp + 0x60]
mulsd xmm15, xmm7
cvtpd2ps xmm0, xmm7
cvtps2pd xmm10, xmm0
movaps xmm1, xmm8
mulsd xmm1, xmm9
cvtpd2ps xmm0, xmm1
cvtps2pd xmm6, xmm0
movaps xmm2, xmm3
mulsd xmm2, xmm9
cvtpd2ps xmm0, xmm2
cvtps2pd xmm5, xmm0
mulsd xmm9, qword [rbp - 0x50]
cvtpd2ps xmm0, xmm9
cvtps2pd xmm7, xmm0
movaps xmm1, xmm8
mulsd xmm1, xmm15
movsd xmm2, qword [rsp + 0x58]
movaps xmm0, xmm2
mulsd xmm0, xmm3
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm4, xmm0
mulsd xmm3, xmm15
mulsd xmm2, xmm8
subsd xmm3, xmm2
cvtpd2ps xmm0, xmm3
cvtps2pd xmm3, xmm0
movsd qword [rbp - 0x78], xmm13
subsd xmm13, qword [rsp + 0x48]
movaps xmm8, xmm12
unpckhpd xmm8, xmm12
subsd xmm8, qword [rsp + 0x40]
subsd xmm12, qword [rsp + 0x38]
movaps xmm2, xmm8
mulsd xmm2, xmm6
movaps xmm0, xmm12
mulsd xmm0, xmm5
addsd xmm2, xmm0
movaps xmm1, xmm13
mulsd xmm1, xmm10
addsd xmm2, xmm1
mulsd xmm8, xmm4
mulsd xmm12, xmm3
addsd xmm8, xmm12
mulsd xmm13, xmm7
addsd xmm8, xmm13
movsd xmm7, qword [0x140063928]
maxsd xmm7, xmm2
mov rax, qword [0x140093a38]
movd xmm6, dword [rax + 0xc]
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x1400638c8]
mulss xmm11, dword [0x140063968]
divss xmm11, dword [0x140063a04]
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm11, xmm1
mulsd xmm11, xmm8
divsd xmm11, xmm7
cvtps2pd xmm0, xmm6
addsd xmm11, xmm0
subsd xmm11, qword [rbp - 0x30]
mulsd xmm11, qword [0x140063920]
addsd xmm11, qword [rbp - 0x30]
movsd xmm12, qword [rsp + 0x50]
movsd xmm7, qword [rsp + 0x68]
movsd xmm8, qword [rsp + 0x70]
xorps xmm9, xmm9
movsd xmm13, qword [0x140063d80]
lea rdi, [rbp + 0xe8]
comisd xmm11, xmm8
jbe 0x14004aa27
movaps xmm6, xmm8
subsd xmm6, xmm11
xorps xmm6, xmm13
jmp 0x14004aa30
movaps xmm6, xmm11
subsd xmm6, xmm8
mov rax, qword [0x1400939f8]
movss xmm2, dword [rax + 0x14]
cvtps2pd xmm2, xmm2
divsd xmm6, xmm2
movaps xmm0, xmm6
addsd xmm0, xmm8
addsd xmm8, xmm8
comisd xmm0, xmm8
ja 0x14004aa5e
comisd xmm9, xmm0
jbe 0x14004aa61
xorps xmm6, xmm6
comisd xmm12, xmm7
jbe 0x14004aa76
movaps xmm1, xmm7
subsd xmm1, xmm12
xorps xmm1, xmm13
jmp 0x14004aa7e
movaps xmm1, xmm12
subsd xmm1, xmm7
divsd xmm1, xmm2
movaps xmm0, xmm1
addsd xmm0, xmm7
addsd xmm7, xmm7
comisd xmm0, xmm7
ja 0x14004aa9a
comisd xmm9, xmm0
jbe 0x14004aa9d
xorps xmm1, xmm1
divsd xmm6, xmm2
xorps xmm1, xmm13
divsd xmm1, xmm2
lea rcx, [r15 + 0x520]
call fcn.140058b80
lea rcx, [r15 + 0x528]
movaps xmm1, xmm6
call fcn.140058b80
mov rax, qword [0x1400939f8]
cmp byte [rax + 0x18], 0
je 0x14004ab6d
mov ecx, 8
call fcn.140059d64
lea rcx, [0x1400497d0]
mov qword [rax], rcx
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140059a50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14004abd8
cmp dword [rbp - 0x48], 0
jne 0x14004ab31
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 0x48], eax
jne 0x14004ab48
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x20], xmm0
xor edx, edx
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14004ab6d
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor r14, r13
mov qword [rdi], r14
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140059aa0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
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 [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rbp - 0x48], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3