Function at 0x14004c660
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 - 0x108]
sub rsp, 0x1e0
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 [0x140070040]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rbx, rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
lea rsi, [rbp + 0x108]
movabs r14, 0xff00ff00ff00ff00
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], rsi
mov r15, qword [rsi]
xor r15, r14
mov qword [rbp + 0x20], r15
mov qword [rsi], rdi
mov rax, qword [0x1402ac290]
mov rcx, qword [rax]
add rcx, qword [0x1402ac120]
call fcn.14005c0a0
mov rcx, qword [0x1402ac290]
mov rcx, qword [rcx + 8]
add rcx, rax
call fcn.14005c0a0
mov rcx, qword [0x1402ac290]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.14005c0a0
mov rcx, rax
call fcn.14005c0a0
mov rcx, qword [0x1402ac290]
mov rcx, qword [rcx + 0x30]
add rcx, rax
call fcn.14005c0a0
mov r13, rax
mov rcx, qword [0x1402ac2c8]
movd xmm7, dword [rcx + 0x10]
cvtdq2pd xmm7, xmm7
mulsd xmm7, qword [0x140067320]
movsd qword [rbp - 0x70], xmm7
movd xmm8, dword [rcx + 0xc]
cvtdq2pd xmm8, xmm8
mulsd xmm8, qword [0x140067320]
movsd qword [rbp - 0x68], xmm8
xorps xmm9, xmm9
xorps xmm10, xmm10
xorps xmm11, xmm11
mov rax, qword [0x1402ac290]
mov rcx, qword [rax + 0x68]
add rcx, rbx
call fcn.14005c0a0
mov r12, rax
mov rcx, qword [0x1402ac288]
mov edx, dword [rcx + 8]
movsd xmm13, qword [0x140067760]
test edx, edx
jne 0x14004cc00
mov r9d, 0x6e
mov r8, rax
lea rdx, [rsp + 0x70]
call fcn.14004b380
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x48], xmm1
lea r12, [rbp + 0x108]
mov r14, qword [r12]
lea rax, [rbp + 0x108]
mov qword [rax], rdi
mov rax, qword [0x1402ac290]
mov rcx, qword [rax]
add rcx, qword [0x1402ac120]
call fcn.14005c0a0
mov rbx, rax
mov rcx, qword [0x1402ac290]
mov rcx, qword [rcx + 8]
add rcx, rax
call fcn.14005c0a0
mov rcx, qword [0x1402ac290]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.14005c0a0
mov rcx, rax
call fcn.14005c0a0
mov rcx, qword [0x1402ac290]
mov rcx, qword [rcx + 0x30]
add rcx, rax
call fcn.14005c0a0
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.14005c0a0
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.14005c0a0
mov rbx, rax
mov rcx, rax
call fcn.14005c140
movaps xmm12, xmm0
lea rcx, [rbx + 0x20]
call fcn.14005c140
movaps xmm10, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.14005c140
movaps xmm6, xmm0
movups xmmword [rsp + 0x58], xmm9
movsd qword [rsp + 0x50], xmm9
xor eax, eax
mov dword [rbp - 0x1f], eax
mov word [rbp - 0x1b], ax
mov byte [rbp - 0x19], al
mov dword [rbp - 0x40], 0x9af2b37
mov qword [rbp - 0x38], rdi
lea rax, [rsp + 0x50]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 0x18
mov eax, dword [0x1402ac160]
mov dword [rbp - 0x3c], eax
mov byte [rbp - 0x20], 0
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, 0x28
lea r8, [rbp - 0x40]
mov edx, 0x228d14
mov rcx, qword [0x1402ac158]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rcx, [rsi + 0x394]
call fcn.14005bff0
mulss xmm0, dword [0x140067450]
movss dword [rsp + 0x40], xmm0
lea rbx, [rbp + 0x108]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm11, xmm0
mulsd xmm11, qword [0x140067370]
mulsd xmm11, qword [0x140067338]
divsd xmm11, qword [0x140067390]
movsd xmm6, qword [0x140067510]
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 [0x140067370]
mulsd xmm10, xmm6
mulsd xmm10, xmm6
mulsd xmm10, qword [0x140067338]
divsd xmm10, qword [0x140067390]
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 xmm12, xmm12
cvtss2sd xmm12, 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 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 xmm6, xmm4
mulsd xmm6, xmm7
mov qword [rbx], rdi
cvtpd2ps xmm0, xmm7
cvtps2pd xmm14, xmm0
movaps xmm1, xmm12
mulsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm11, xmm0
movaps xmm2, xmm10
mulsd xmm2, xmm8
cvtpd2ps xmm0, xmm2
cvtps2pd xmm1, xmm0
movsd qword [rbp - 0x78], xmm1
movaps xmm1, xmm9
xorps xmm1, xmm13
mulsd xmm1, xmm8
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm15, xmm0
movaps xmm2, xmm3
mulsd xmm2, xmm12
movaps xmm0, xmm4
mulsd xmm0, xmm10
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm13, xmm0
mulsd xmm3, xmm10
movaps xmm0, xmm4
mulsd xmm0, xmm12
subsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
cvtps2pd xmm7, xmm0
mulsd xmm4, xmm8
cvtpd2ps xmm0, xmm4
cvtps2pd xmm5, xmm0
movaps xmm1, xmm9
mulsd xmm1, xmm10
movaps xmm0, xmm6
mulsd xmm0, xmm12
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm3, xmm0
mulsd xmm6, xmm10
mulsd xmm9, xmm12
addsd xmm6, xmm9
xorps xmm6, xmmword [0x140067760]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
cvtps2pd xmm2, xmm0
movsd xmm8, qword [rsp + 0x48]
movsd qword [rbp - 0x50], xmm8
subsd xmm8, qword [rsp + 0x60]
movups xmm6, xmmword [rbp + 0x10]
movaps xmm10, xmm6
unpckhpd xmm10, xmm6
subsd xmm10, qword [rsp + 0x58]
subsd xmm6, qword [rsp + 0x50]
movsd xmm4, qword [rbp - 0x78]
mulsd xmm4, xmm6
movaps xmm0, xmm10
mulsd xmm0, xmm11
addsd xmm4, xmm0
movaps xmm1, xmm8
mulsd xmm1, xmm14
addsd xmm4, xmm1
movaps xmm9, xmm10
mulsd xmm9, xmm3
mulsd xmm2, xmm6
addsd xmm9, xmm2
movaps xmm0, xmm8
mulsd xmm0, xmm5
addsd xmm9, xmm0
mulsd xmm10, xmm13
mulsd xmm7, xmm6
addsd xmm10, xmm7
mulsd xmm8, xmm15
addsd xmm10, xmm8
movsd xmm8, qword [0x140067328]
maxsd xmm8, xmm4
mov rbx, qword [0x1402ac2c8]
movd xmm7, dword [rbx + 0xc]
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [0x1400672d0]
movss xmm0, dword [rsp + 0x40]
mulss xmm0, dword [0x140067368]
divss xmm0, dword [0x1400674a0]
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 [0x1400672d0]
cvtps2pd xmm11, xmm2
mulsd xmm9, xmm3
divsd xmm9, xmm8
subsd xmm11, xmm9
mulsd xmm10, xmm3
divsd xmm10, xmm8
cvtps2pd xmm0, xmm7
addsd xmm10, xmm0
jmp 0x14004d7c8
cmp edx, 1
jne 0x14004d01f
mov r9d, 0x43
mov r8, r12
lea rdx, [rsp + 0x70]
call fcn.14004b380
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x48], xmm1
lea r12, [rbp + 0x108]
mov r14, qword [r12]
lea rax, [rbp + 0x108]
mov qword [rax], rdi
mov rax, qword [0x1402ac290]
mov rcx, qword [rax]
add rcx, qword [0x1402ac120]
call fcn.14005c0a0
mov rbx, rax
mov rcx, qword [0x1402ac290]
mov rcx, qword [rcx + 8]
add rcx, rax
call fcn.14005c0a0
mov rcx, qword [0x1402ac290]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.14005c0a0
mov rcx, rax
call fcn.14005c0a0
mov rcx, qword [0x1402ac290]
mov rcx, qword [rcx + 0x30]
add rcx, rax
call fcn.14005c0a0
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.14005c0a0
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.14005c0a0
mov rbx, rax
mov rcx, rax
call fcn.14005c140
movaps xmm12, xmm0
lea rcx, [rbx + 0x20]
call fcn.14005c140
movaps xmm10, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.14005c140
movaps xmm6, xmm0
movups xmmword [rsp + 0x58], xmm9
movsd qword [rsp + 0x50], xmm9
xor eax, eax
mov dword [rbp - 0x1f], eax
mov word [rbp - 0x1b], ax
mov byte [rbp - 0x19], al
mov dword [rbp - 0x40], 0x9af2b37
mov qword [rbp - 0x38], rdi
lea rax, [rsp + 0x50]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 0x18
mov eax, dword [0x1402ac160]
mov dword [rbp - 0x3c], eax
mov byte [rbp - 0x20], 0
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, 0x28
lea r8, [rbp - 0x40]
mov edx, 0x228d14
mov rcx, qword [0x1402ac158]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rcx, [rsi + 0x394]
call fcn.14005bff0
mulss xmm0, dword [0x140067450]
movss dword [rsp + 0x40], xmm0
lea rbx, [rbp + 0x108]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm11, xmm0
mulsd xmm11, qword [0x140067370]
mulsd xmm11, qword [0x140067338]
divsd xmm11, qword [0x140067390]
movsd xmm6, qword [0x140067510]
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 [0x140067370]
mulsd xmm10, xmm6
mulsd xmm10, xmm6
mulsd xmm10, qword [0x140067338]
divsd xmm10, qword [0x140067390]
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 xmm10, xmm10
cvtss2sd xmm10, 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
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
mov qword [rbx], rdi
cvtpd2ps xmm0, xmm7
cvtps2pd xmm13, xmm0
movaps xmm1, xmm10
mulsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm9, xmm0
movaps xmm2, xmm11
mulsd xmm2, xmm8
cvtpd2ps xmm0, xmm2
cvtps2pd xmm15, xmm0
movaps xmm1, xmm6
xorps xmm1, xmmword [0x140067760]
mulsd xmm1, xmm8
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm14, xmm0
movaps xmm2, xmm10
mulsd xmm2, xmm3
movaps xmm0, xmm4
mulsd xmm0, xmm11
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm12, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm3
movaps xmm0, xmm4
mulsd xmm0, xmm10
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm7, xmm0
mulsd xmm4, xmm8
cvtpd2ps xmm0, xmm4
cvtps2pd xmm4, xmm0
movaps xmm1, xmm6
mulsd xmm1, xmm11
movaps xmm0, xmm10
mulsd xmm0, xmm5
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm3, xmm0
mulsd xmm11, xmm5
mulsd xmm6, xmm10
addsd xmm11, xmm6
xorps xmm11, xmmword [0x140067760]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm11
cvtps2pd xmm2, xmm0
movsd xmm6, qword [rsp + 0x48]
movsd qword [rbp - 0x50], xmm6
subsd xmm6, qword [rsp + 0x60]
movups xmm5, xmmword [rbp + 0x10]
movaps xmm10, xmm5
unpckhpd xmm10, xmm5
subsd xmm10, qword [rsp + 0x58]
subsd xmm5, qword [rsp + 0x50]
mulsd xmm15, xmm5
movaps xmm0, xmm10
mulsd xmm0, xmm9
addsd xmm15, xmm0
movaps xmm1, xmm6
mulsd xmm1, xmm13
addsd xmm15, xmm1
movaps xmm9, xmm10
mulsd xmm9, xmm3
mulsd xmm2, xmm5
addsd xmm9, xmm2
movaps xmm0, xmm6
mulsd xmm0, xmm4
addsd xmm9, xmm0
mulsd xmm10, xmm12
mulsd xmm7, xmm5
addsd xmm10, xmm7
mulsd xmm6, xmm14
addsd xmm10, xmm6
movsd xmm8, qword [0x140067328]
maxsd xmm8, xmm15
mov rbx, qword [0x1402ac2c8]
movd xmm7, dword [rbx + 0xc]
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [0x1400672d0]
movss xmm0, dword [rsp + 0x40]
mulss xmm0, dword [0x140067368]
divss xmm0, dword [0x1400674a0]
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 [0x1400672d0]
cvtps2pd xmm11, xmm2
movaps xmm0, xmm3
mulsd xmm0, xmm9
divsd xmm0, xmm8
subsd xmm11, xmm0
jmp 0x14004cbe9
cmp edx, 2
jne 0x14004d7f5
mov r9d, 0x25
mov r8, r12
lea rdx, [rbp - 0x40]
call fcn.14004b380
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x60], xmm1
lea rax, [rbp + 0x108]
mov r14, qword [rax]
lea rax, [rbp + 0x108]
mov qword [rax], rdi
mov rax, qword [0x1402ac290]
mov rcx, qword [rax]
add rcx, qword [0x1402ac120]
call fcn.14005c0a0
mov rbx, rax
mov rcx, qword [0x1402ac290]
mov rcx, qword [rcx + 8]
add rcx, rax
call fcn.14005c0a0
mov rcx, qword [0x1402ac290]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.14005c0a0
mov rcx, rax
call fcn.14005c0a0
mov rcx, qword [0x1402ac290]
mov rcx, qword [rcx + 0x30]
add rcx, rax
call fcn.14005c0a0
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.14005c0a0
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.14005c0a0
mov rbx, rax
mov rcx, rax
call fcn.14005c140
movaps xmm8, xmm0
lea rcx, [rbx + 0x20]
call fcn.14005c140
movaps xmm7, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.14005c140
movaps xmm6, xmm0
movups xmmword [rsp + 0x78], xmm9
movsd qword [rsp + 0x70], xmm9
xor ecx, ecx
mov dword [rbp + 9], ecx
mov word [rbp + 0xd], cx
mov byte [rbp + 0xf], cl
mov dword [rbp - 0x18], 0x9af2b37
mov qword [rbp - 0x10], rdi
lea rax, [rsp + 0x70]
mov qword [rbp - 8], rax
mov qword [rbp], 0x18
mov eax, dword [0x1402ac160]
mov dword [rbp - 0x14], eax
mov byte [rbp + 8], cl
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
mov r9d, 0x28
lea r8, [rbp - 0x18]
mov edx, 0x228d14
mov rcx, qword [0x1402ac158]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rcx, [rsi + 0x394]
call fcn.14005bff0
mulss xmm0, dword [0x140067450]
movss dword [rsp + 0x40], xmm0
lea rbx, [rbp + 0x108]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm6, xmm0
mulsd xmm6, qword [0x140067370]
mulsd xmm6, qword [0x140067338]
divsd xmm6, qword [0x140067390]
movsd xmm9, qword [0x140067510]
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 [0x140067370]
mulsd xmm7, xmm9
mulsd xmm7, xmm9
mulsd xmm7, qword [0x140067338]
divsd xmm7, qword [0x140067390]
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 [rbp - 0x78], xmm6
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm10, xmm10
cvtss2sd xmm10, xmm0
movsd qword [rsp + 0x48], xmm10
movaps xmm3, xmm6
mulsd xmm3, xmm8
movaps xmm4, xmm6
xorps xmm4, xmm13
movsd qword [rbp + 0x10], xmm4
movaps xmm5, xmm10
mulsd xmm5, xmm8
xor edi, edi
mov qword [rbx], rdi
cvtpd2ps xmm0, xmm8
cvtps2pd xmm14, xmm0
movaps xmm1, xmm12
mulsd xmm1, xmm9
cvtpd2ps xmm0, xmm1
cvtps2pd xmm8, xmm0
movaps xmm2, xmm11
mulsd xmm2, xmm9
cvtpd2ps xmm0, xmm2
cvtps2pd xmm7, xmm0
movaps xmm1, xmm4
mulsd xmm1, xmm9
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm15, xmm0
movaps xmm2, xmm10
mulsd xmm2, xmm11
movaps xmm0, xmm3
mulsd xmm0, xmm12
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm13, xmm0
mulsd xmm3, xmm11
movaps xmm0, xmm10
mulsd xmm0, xmm12
subsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
cvtps2pd xmm10, xmm0
movsd xmm1, qword [rsp + 0x48]
mulsd xmm1, xmm9
cvtpd2ps xmm0, xmm1
cvtps2pd xmm6, xmm0
movsd xmm1, qword [rbp - 0x78]
movaps xmm2, xmm1
mulsd xmm2, xmm11
movaps xmm0, xmm5
mulsd xmm0, xmm12
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm4, xmm0
mulsd xmm1, xmm12
mulsd xmm5, xmm11
addsd xmm1, xmm5
xorps xmm1, xmmword [0x140067760]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm2, xmm0
movsd xmm11, qword [rbp - 0x60]
movsd qword [rbp - 0x50], xmm11
subsd xmm11, qword [rbp - 0x80]
movups xmm5, xmmword [rsp + 0x50]
movaps xmm9, xmm5
unpckhpd xmm9, xmm5
subsd xmm9, qword [rsp + 0x78]
subsd xmm5, qword [rsp + 0x70]
movaps xmm3, xmm9
mulsd xmm3, xmm8
movaps xmm0, xmm5
mulsd xmm0, xmm7
addsd xmm3, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm14
addsd xmm3, xmm1
movaps xmm8, xmm9
mulsd xmm8, xmm4
movaps xmm0, xmm5
mulsd xmm0, xmm2
addsd xmm8, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm6
addsd xmm8, xmm1
mulsd xmm9, xmm13
mulsd xmm5, xmm10
addsd xmm9, xmm5
mulsd xmm11, xmm15
addsd xmm9, xmm11
movsd xmm7, qword [0x140067328]
maxsd xmm7, xmm3
mov rbx, qword [0x1402ac2c8]
movd xmm6, dword [rbx + 0xc]
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x1400672d0]
movss xmm0, dword [rsp + 0x40]
mulss xmm0, dword [0x140067368]
divss xmm0, dword [0x1400674a0]
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 [0x1400672d0]
cvtps2pd xmm3, xmm2
movaps xmm0, xmm1
mulsd xmm0, xmm8
divsd xmm0, xmm7
subsd xmm3, xmm0
movsd qword [rsp + 0x40], xmm3
mulsd xmm1, xmm9
divsd xmm1, xmm7
cvtps2pd xmm0, xmm6
addsd xmm1, xmm0
movsd qword [rbp - 0x60], xmm1
lea rax, [rbp + 0x108]
mov qword [rax], r14
mov r9d, 8
mov r8, r12
lea rdx, [rbp - 0x40]
call fcn.14004b380
movups xmm14, xmmword [rax]
movsd xmm13, qword [rax + 0x10]
lea r12, [rbp + 0x108]
mov r14, qword [r12]
lea rax, [rbp + 0x108]
mov qword [rax], rdi
mov rax, qword [0x1402ac290]
mov rcx, qword [rax]
add rcx, qword [0x1402ac120]
call fcn.14005c0a0
mov rbx, rax
mov rcx, qword [0x1402ac290]
mov rcx, qword [rcx + 8]
add rcx, rax
call fcn.14005c0a0
mov rcx, qword [0x1402ac290]
mov rcx, qword [rcx + 0x10]
add rcx, rax
call fcn.14005c0a0
mov rcx, rax
call fcn.14005c0a0
mov rcx, qword [0x1402ac290]
mov rcx, qword [rcx + 0x30]
add rcx, rax
call fcn.14005c0a0
mov rsi, rax
lea rcx, [rbx + 0x110]
call fcn.14005c0a0
mov rdi, rax
lea rcx, [rbx + 0x120]
call fcn.14005c0a0
mov rbx, rax
mov rcx, rax
call fcn.14005c140
movaps xmm8, xmm0
lea rcx, [rbx + 0x20]
call fcn.14005c140
movaps xmm7, xmm0
lea rcx, [rbx + 0x1d0]
call fcn.14005c140
movaps xmm6, xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movsd qword [rsp + 0x70], xmm0
xor eax, eax
mov dword [rbp + 9], eax
mov word [rbp + 0xd], ax
mov byte [rbp + 0xf], al
mov dword [rbp - 0x18], 0x9af2b37
mov qword [rbp - 0x10], rdi
lea rax, [rsp + 0x70]
mov qword [rbp - 8], rax
mov qword [rbp], 0x18
mov eax, dword [0x1402ac160]
mov dword [rbp - 0x14], eax
mov byte [rbp + 8], 0
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, 0x28
lea r8, [rbp - 0x18]
mov edx, 0x228d14
mov rcx, qword [0x1402ac158]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea rcx, [rsi + 0x394]
call fcn.14005bff0
movaps xmm12, xmm0
mulss xmm12, dword [0x140067450]
lea rbx, [rbp + 0x108]
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm6, xmm0
mulsd xmm6, qword [0x140067370]
mulsd xmm6, qword [0x140067338]
divsd xmm6, qword [0x140067390]
movsd xmm9, qword [0x140067510]
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 [0x140067370]
mulsd xmm7, xmm9
mulsd xmm7, xmm9
mulsd xmm7, qword [0x140067338]
divsd xmm7, qword [0x140067390]
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 xmm7, xmm7
cvtss2sd xmm7, xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm3, xmm3
cvtss2sd xmm3, xmm0
movaps xmm4, xmm8
mulsd xmm4, qword [rbp - 0x78]
mov qword [rbx], rdi
cvtpd2ps xmm0, xmm8
cvtps2pd xmm10, xmm0
movaps xmm1, xmm9
mulsd xmm1, xmm7
cvtpd2ps xmm0, xmm1
cvtps2pd xmm11, xmm0
movaps xmm2, xmm9
mulsd xmm2, xmm3
cvtpd2ps xmm0, xmm2
cvtps2pd xmm6, xmm0
mulsd xmm9, qword [rbp + 0x10]
cvtpd2ps xmm0, xmm9
cvtps2pd xmm8, xmm0
movaps xmm1, xmm4
mulsd xmm1, xmm7
movsd xmm2, qword [rsp + 0x48]
movaps xmm0, xmm2
mulsd xmm0, xmm3
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm5, xmm0
mulsd xmm4, xmm3
mulsd xmm2, xmm7
subsd xmm4, xmm2
cvtpd2ps xmm0, xmm4
cvtps2pd xmm2, xmm0
movsd qword [rsp + 0x60], xmm13
subsd xmm13, qword [rbp - 0x80]
movaps xmm1, xmm14
unpckhpd xmm1, xmm14
subsd xmm1, qword [rsp + 0x78]
subsd xmm14, qword [rsp + 0x70]
mulsd xmm11, xmm1
movaps xmm0, xmm14
mulsd xmm0, xmm6
addsd xmm11, xmm0
mulsd xmm10, xmm13
addsd xmm11, xmm10
mulsd xmm14, xmm2
mulsd xmm1, xmm5
addsd xmm14, xmm1
mulsd xmm13, xmm8
addsd xmm14, xmm13
movsd xmm7, qword [0x140067328]
maxsd xmm7, xmm11
mov rax, qword [0x1402ac2c8]
movd xmm6, dword [rax + 0xc]
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x1400672d0]
mulss xmm12, dword [0x140067368]
divss xmm12, dword [0x1400674a0]
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm10, xmm1
mulsd xmm10, xmm14
divsd xmm10, xmm7
cvtps2pd xmm0, xmm6
addsd xmm10, xmm0
subsd xmm10, qword [rbp - 0x60]
mulsd xmm10, qword [0x140067320]
addsd xmm10, qword [rbp - 0x60]
movsd xmm11, qword [rsp + 0x40]
mov qword [r12], r14
movsd xmm7, qword [rbp - 0x70]
movsd xmm8, qword [rbp - 0x68]
xorps xmm9, xmm9
movsd xmm13, qword [0x140067760]
lea rsi, [rbp + 0x108]
movabs r14, 0xff00ff00ff00ff00
comisd xmm10, xmm8
jbe 0x14004d80b
movaps xmm6, xmm8
subsd xmm6, xmm10
xorps xmm6, xmm13
jmp 0x14004d814
movaps xmm6, xmm10
subsd xmm6, xmm8
mov rax, qword [0x1402ac288]
movss xmm2, dword [rax + 0x14]
cvtps2pd xmm2, xmm2
divsd xmm6, xmm2
movaps xmm0, xmm8
addsd xmm0, xmm6
addsd xmm8, xmm8
comisd xmm0, xmm8
ja 0x14004d842
comisd xmm9, xmm0
jbe 0x14004d845
xorps xmm6, xmm6
comisd xmm11, xmm7
jbe 0x14004d85a
movaps xmm1, xmm7
subsd xmm1, xmm11
xorps xmm1, xmm13
jmp 0x14004d862
movaps xmm1, xmm11
subsd xmm1, xmm7
divsd xmm1, xmm2
movaps xmm0, xmm1
addsd xmm0, xmm7
addsd xmm7, xmm7
comisd xmm0, xmm7
ja 0x14004d87e
comisd xmm9, xmm0
jbe 0x14004d881
xorps xmm1, xmm1
divsd xmm6, xmm2
xorps xmm1, xmm13
divsd xmm1, xmm2
lea rcx, [r13 + 0x520]
call fcn.14005c310
lea rcx, [r13 + 0x528]
movaps xmm1, xmm6
call fcn.14005c310
mov rax, qword [0x1402ac288]
cmp byte [rax + 0x18], 0
je 0x14004d94f
mov ecx, 8
call fcn.14005d21c
lea rcx, [0x14004c5b0]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14005ced0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x14004d9ba
cmp dword [rbp - 0x58], 0
jne 0x14004d911
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 - 0x58], eax
jne 0x14004d928
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14004d94f
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor r15, r14
mov qword [rsi], r15
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.14005cf60
lea r11, [rsp + 0x1e0]
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 - 0x58], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3