Function at 0x14004dea0
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 - 0x138]
sub rsp, 0x210
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 [0x140076040]
xor rax, rsp
mov qword [rbp + 0x68], rax
mov rbx, rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
lea r14, [rbp + 0x138]
movabs r15, 0xff00ff00ff00ff00
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x60], r14
mov rsi, qword [r14]
xor rsi, r15
mov qword [rbp + 0x50], rsi
mov qword [r14], r12
mov rax, qword [0x14019adc0]
mov rdx, qword [rax]
mov rax, qword [0x14019adf8]
add rdx, qword [rax]
lea r9d, [r12 + 8]
lea r8, [rbp - 0x20]
call fcn.14004c370
test al, al
mov edx, r12d
je 0x14004df73
mov rdx, qword [rbp - 0x20]
mov rax, qword [0x14019adc0]
add rdx, qword [rax + 0x18]
mov r9d, 8
lea r8, [rbp - 0x20]
call fcn.14004c370
test al, al
mov rdx, r12
je 0x14004df98
mov rdx, qword [rbp - 0x20]
mov rax, qword [0x14019adc0]
add rdx, qword [rax + 0x20]
mov r9d, 8
lea r8, [rbp - 0x20]
call fcn.14004c370
test al, al
mov rdx, r12
je 0x14004dfbd
mov rdx, qword [rbp - 0x20]
mov r9d, 8
lea r8, [rbp - 0x20]
call fcn.14004c370
test al, al
mov rdx, r12
je 0x14004dfd7
mov rdx, qword [rbp - 0x20]
mov rax, qword [0x14019adc0]
add rdx, qword [rax + 0x40]
mov r9d, 8
lea r8, [rbp - 0x18]
call fcn.14004c370
test al, al
jne 0x14004dffe
mov r13, r12
mov qword [rbp - 0x18], r12
jmp 0x14004e002
mov r13, qword [rbp - 0x18]
mov rax, qword [0x14019adf8]
movd xmm7, dword [rax + 0x10]
cvtdq2pd xmm7, xmm7
mulsd xmm7, qword [0x14006c650]
movsd qword [rsp + 0x60], xmm7
movd xmm8, dword [rax + 0xc]
cvtdq2pd xmm8, xmm8
mulsd xmm8, qword [0x14006c650]
movsd qword [rbp - 0x18], xmm8
xorps xmm15, xmm15
xorps xmm11, xmm11
xorps xmm12, xmm12
mov rax, qword [0x14019adc0]
mov rdx, qword [rax + 0x78]
add rdx, rbx
mov r9d, 8
lea r8, [rbp + 0x48]
call fcn.14004c370
test al, al
jne 0x14004e070
mov rdi, r12
mov qword [rbp + 0x48], r12
jmp 0x14004e074
mov rdi, qword [rbp + 0x48]
mov rax, qword [0x14019adb8]
mov ecx, dword [rax + 8]
movsd xmm13, qword [0x14006cae0]
test ecx, ecx
jne 0x14004e597
lea r9d, [rcx + 0x6d]
mov r8, rdi
lea rdx, [rbp - 0x60]
call fcn.14004cc20
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x80], xmm0
mov rax, qword [0x14019adc0]
mov rdx, qword [rax]
mov rax, qword [0x14019adf8]
add rdx, qword [rax]
mov r9d, 8
lea r8, [rbp]
call fcn.14004c370
test al, al
jne 0x14004e0e1
mov rbx, r12
mov qword [rbp], rbx
jmp 0x14004e0e5
mov rbx, qword [rbp]
mov rax, qword [0x14019adc0]
mov rdx, qword [rax + 0x18]
add rdx, rbx
mov r9d, 8
lea r8, [rbp + 8]
call fcn.14004c370
test al, al
jne 0x14004e10f
mov rdx, r12
mov qword [rbp + 8], rdx
jmp 0x14004e113
mov rdx, qword [rbp + 8]
mov rax, qword [0x14019adc0]
add rdx, qword [rax + 0x20]
mov r9d, 8
lea r8, [rbp + 0x10]
call fcn.14004c370
test al, al
jne 0x14004e13a
mov rdx, r12
mov qword [rbp + 0x10], rdx
jmp 0x14004e13e
mov rdx, qword [rbp + 0x10]
mov r9d, 8
lea r8, [rbp + 0x18]
call fcn.14004c370
test al, al
jne 0x14004e15a
mov rdx, r12
mov qword [rbp + 0x18], rdx
jmp 0x14004e15e
mov rdx, qword [rbp + 0x18]
mov rax, qword [0x14019adc0]
add rdx, qword [rax + 0x40]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.14004c370
test al, al
jne 0x14004e185
mov r14, r12
mov qword [rbp + 0x20], r12
jmp 0x14004e189
mov r14, qword [rbp + 0x20]
lea rdx, [rbx + 0x110]
mov r9d, 8
lea r8, [rbp + 0x28]
call fcn.14004c370
test al, al
jne 0x14004e1ac
mov rdi, r12
mov qword [rbp + 0x28], r12
jmp 0x14004e1b0
mov rdi, qword [rbp + 0x28]
lea rdx, [rbx + 0x120]
mov r9d, 8
lea r8, [rbp + 0x30]
call fcn.14004c370
test al, al
jne 0x14004e1d3
mov rbx, r12
mov qword [rbp + 0x30], rbx
jmp 0x14004e1d7
mov rbx, qword [rbp + 0x30]
mov r9d, 8
lea r8, [rbp + 0x38]
mov rdx, rbx
call fcn.14004c370
test al, al
jne 0x14004e1f9
xorps xmm8, xmm8
movsd qword [rbp + 0x38], xmm8
jmp 0x14004e1ff
movsd xmm8, qword [rbp + 0x38]
lea rdx, [rbx + 0x20]
mov r9d, 8
lea r8, [rbp + 0x40]
call fcn.14004c370
test al, al
jne 0x14004e222
xorps xmm9, xmm9
movsd qword [rbp + 0x40], xmm9
jmp 0x14004e228
movsd xmm9, qword [rbp + 0x40]
lea rdx, [rbx + 0x1d0]
mov r9d, 8
lea r8, [rbp - 0x20]
call fcn.14004c370
test al, al
jne 0x14004e24c
xorps xmm6, xmm6
movsd qword [rbp - 0x20], xmm6
jmp 0x14004e251
movsd xmm6, qword [rbp - 0x20]
movups xmmword [rsp + 0x38], xmm15
movsd qword [rsp + 0x30], xmm15
mov r9d, 0x18
lea r8, [rsp + 0x30]
mov rdx, rdi
call fcn.14004c370
test al, al
jne 0x14004e284
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
movsd xmm0, qword [rsp + 0x30]
movsd qword [rbp - 0x10], xmm0
movsd xmm0, qword [rsp + 0x38]
movsd qword [rsp + 0x48], xmm0
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsp + 0x68], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm10, xmm0
mulsd xmm10, qword [0x14006c6a8]
movsd xmm7, qword [0x14006c858]
mulsd xmm8, xmm7
movaps xmm1, xmm9
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm9, xmm0
mulsd xmm9, qword [0x14006c6a8]
mulsd xmm9, xmm7
mulsd xmm9, xmm7
lea rdx, [r14 + 0x394]
mov r9d, 4
lea r8, [rbp - 0x24]
call fcn.14004c370
test al, al
jne 0x14004e311
xorps xmm0, xmm0
movss dword [rbp - 0x24], xmm0
jmp 0x14004e316
movss xmm0, dword [rbp - 0x24]
movss dword [rbp - 0x28], xmm0
mulsd xmm10, qword [0x14006c668]
divsd xmm10, qword [0x14006c6c8]
mulsd xmm9, qword [0x14006c668]
divsd xmm9, qword [0x14006c6c8]
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm10
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, xmm9
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 xmm9, xmm9
cvtss2sd xmm9, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm10, xmm10
cvtss2sd xmm10, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movaps xmm3, xmm10
mulsd xmm3, xmm7
movaps xmm5, xmm4
mulsd xmm5, xmm7
cvtpd2ps xmm0, xmm7
cvtps2pd xmm14, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm12, xmm0
movaps xmm2, xmm9
mulsd xmm2, xmm8
cvtpd2ps xmm0, xmm2
cvtps2pd xmm7, xmm0
movaps xmm1, xmm10
xorps xmm1, xmm13
mulsd xmm1, xmm8
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm15, xmm0
movaps xmm2, xmm3
mulsd xmm2, xmm11
movaps xmm0, xmm4
mulsd xmm0, xmm9
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm13, xmm0
mulsd xmm3, xmm9
movaps xmm0, xmm4
mulsd xmm0, xmm11
subsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
cvtps2pd xmm1, xmm0
movsd qword [rbp - 0x30], xmm1
mulsd xmm4, xmm8
cvtpd2ps xmm0, xmm4
cvtps2pd xmm6, xmm0
movaps xmm1, xmm10
mulsd xmm1, xmm9
movaps xmm0, xmm5
mulsd xmm0, xmm11
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm4, xmm0
mulsd xmm5, xmm9
mulsd xmm10, xmm11
addsd xmm5, xmm10
xorps xmm5, xmmword [0x14006cae0]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm5
cvtps2pd xmm9, xmm0
movsd xmm5, qword [rbp - 0x80]
subsd xmm5, qword [rsp + 0x68]
movups xmm8, xmmword [rsp + 0x50]
movaps xmm3, xmm8
unpckhpd xmm3, xmm8
subsd xmm3, qword [rsp + 0x48]
subsd xmm8, qword [rbp - 0x10]
movaps xmm2, xmm8
mulsd xmm2, xmm7
movaps xmm0, xmm3
mulsd xmm0, xmm12
addsd xmm2, xmm0
movaps xmm1, xmm5
mulsd xmm1, xmm14
addsd xmm2, xmm1
mulsd xmm9, xmm8
movaps xmm0, xmm3
mulsd xmm0, xmm4
addsd xmm9, xmm0
movaps xmm1, xmm5
mulsd xmm1, xmm6
addsd xmm9, xmm1
movsd xmm11, qword [rbp - 0x30]
mulsd xmm11, xmm8
mulsd xmm3, xmm13
addsd xmm11, xmm3
mulsd xmm5, xmm15
addsd xmm11, xmm5
movsd xmm8, qword [0x14006c658]
maxsd xmm8, xmm2
mov rbx, qword [0x14019adf8]
xorps xmm7, xmm7
cvtsi2ss xmm7, dword [rbx + 0xc]
mulss xmm7, dword [0x14006c600]
movss xmm0, dword [rbp - 0x28]
mulss xmm0, dword [0x14006c788]
mulss xmm0, dword [0x14006c6a0]
divss xmm0, dword [0x14006c7e0]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm7
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
movaps xmm0, xmm3
mulsd xmm11, xmm3
xorps xmm2, xmm2
cvtsi2ss xmm2, dword [rbx + 0x10]
mulsd xmm0, xmm9
mulss xmm2, dword [0x14006c600]
divsd xmm0, xmm8
cvtps2pd xmm12, xmm2
subsd xmm12, xmm0
divsd xmm11, xmm8
cvtps2pd xmm0, xmm7
addsd xmm11, xmm0
xorps xmm15, xmm15
jmp 0x14004f317
cmp ecx, 1
jne 0x14004ea76
lea r9d, [rcx + 0x42]
mov r8, rdi
lea rdx, [rbp - 0x48]
call fcn.14004cc20
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x80], xmm0
mov rax, qword [0x14019adc0]
mov rdx, qword [rax]
mov rax, qword [0x14019adf8]
add rdx, qword [rax]
mov r9d, 8
lea r8, [rbp - 0x20]
call fcn.14004c370
test al, al
jne 0x14004e5f2
mov rbx, r12
mov qword [rbp - 0x20], rbx
jmp 0x14004e5f6
mov rbx, qword [rbp - 0x20]
mov rax, qword [0x14019adc0]
mov rdx, qword [rax + 0x18]
add rdx, rbx
mov r9d, 8
lea r8, [rbp + 0x40]
call fcn.14004c370
test al, al
jne 0x14004e620
mov rdx, r12
mov qword [rbp + 0x40], rdx
jmp 0x14004e624
mov rdx, qword [rbp + 0x40]
mov rax, qword [0x14019adc0]
add rdx, qword [rax + 0x20]
mov r9d, 8
lea r8, [rbp + 0x38]
call fcn.14004c370
test al, al
jne 0x14004e64b
mov rdx, r12
mov qword [rbp + 0x38], rdx
jmp 0x14004e64f
mov rdx, qword [rbp + 0x38]
mov r9d, 8
lea r8, [rbp + 0x30]
call fcn.14004c370
test al, al
jne 0x14004e66b
mov rdx, r12
mov qword [rbp + 0x30], rdx
jmp 0x14004e66f
mov rdx, qword [rbp + 0x30]
mov rax, qword [0x14019adc0]
add rdx, qword [rax + 0x40]
mov r9d, 8
lea r8, [rbp + 0x28]
call fcn.14004c370
test al, al
jne 0x14004e696
mov r14, r12
mov qword [rbp + 0x28], r12
jmp 0x14004e69a
mov r14, qword [rbp + 0x28]
lea rdx, [rbx + 0x110]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.14004c370
test al, al
jne 0x14004e6bd
mov rdi, r12
mov qword [rbp + 0x20], r12
jmp 0x14004e6c1
mov rdi, qword [rbp + 0x20]
lea rdx, [rbx + 0x120]
mov r9d, 8
lea r8, [rbp + 0x18]
call fcn.14004c370
test al, al
jne 0x14004e6e4
mov rbx, r12
mov qword [rbp + 0x18], rbx
jmp 0x14004e6e8
mov rbx, qword [rbp + 0x18]
mov r9d, 8
lea r8, [rbp + 0x10]
mov rdx, rbx
call fcn.14004c370
test al, al
jne 0x14004e70a
xorps xmm8, xmm8
movsd qword [rbp + 0x10], xmm8
jmp 0x14004e710
movsd xmm8, qword [rbp + 0x10]
lea rdx, [rbx + 0x20]
mov r9d, 8
lea r8, [rbp + 8]
call fcn.14004c370
test al, al
jne 0x14004e733
xorps xmm9, xmm9
movsd qword [rbp + 8], xmm9
jmp 0x14004e739
movsd xmm9, qword [rbp + 8]
lea rdx, [rbx + 0x1d0]
mov r9d, 8
lea r8, [rbp]
call fcn.14004c370
test al, al
jne 0x14004e75d
xorps xmm6, xmm6
movsd qword [rbp], xmm6
jmp 0x14004e762
movsd xmm6, qword [rbp]
movups xmmword [rsp + 0x38], xmm15
movsd qword [rsp + 0x30], xmm15
mov r9d, 0x18
lea r8, [rsp + 0x30]
mov rdx, rdi
call fcn.14004c370
test al, al
jne 0x14004e795
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rsp + 0x30], xmm1
mov qword [rsp + 0x40], rax
movsd xmm0, qword [rsp + 0x30]
movsd qword [rsp + 0x48], xmm0
movsd xmm0, qword [rsp + 0x38]
movsd qword [rbp - 0x10], xmm0
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbp - 0x30], xmm0
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm10, xmm0
mulsd xmm10, qword [0x14006c6a8]
movsd xmm7, qword [0x14006c858]
mulsd xmm8, xmm7
movaps xmm1, xmm9
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm9, xmm0
mulsd xmm9, qword [0x14006c6a8]
mulsd xmm9, xmm7
mulsd xmm9, xmm7
lea rdx, [r14 + 0x394]
mov r9d, 4
lea r8, [rbp - 0x28]
call fcn.14004c370
test al, al
jne 0x14004e821
xorps xmm0, xmm0
movss dword [rbp - 0x28], xmm0
jmp 0x14004e826
movss xmm0, dword [rbp - 0x28]
movss dword [rbp - 0x24], xmm0
mulsd xmm10, qword [0x14006c668]
divsd xmm10, qword [0x14006c6c8]
mulsd xmm9, qword [0x14006c668]
divsd xmm9, qword [0x14006c6c8]
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm10
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, xmm9
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 xmm9, xmm9
cvtss2sd xmm9, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
xorps xmm10, xmm10
cvtss2sd xmm10, xmm0
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movaps xmm3, xmm10
mulsd xmm3, xmm7
movaps xmm6, xmm4
mulsd xmm6, xmm7
cvtpd2ps xmm0, xmm7
cvtps2pd xmm13, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm7, xmm0
movaps xmm2, xmm9
mulsd xmm2, xmm8
cvtpd2ps xmm0, xmm2
cvtps2pd xmm15, xmm0
movaps xmm1, xmm10
xorps xmm1, xmmword [0x14006cae0]
mulsd xmm1, xmm8
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm14, xmm0
movaps xmm2, xmm4
mulsd xmm2, xmm9
movaps xmm0, xmm11
mulsd xmm0, xmm3
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm12, xmm0
movaps xmm1, xmm9
mulsd xmm1, xmm3
movaps xmm0, xmm4
mulsd xmm0, xmm11
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm2, xmm0
movsd qword [rsp + 0x68], xmm2
mulsd xmm4, xmm8
cvtpd2ps xmm0, xmm4
cvtps2pd xmm5, xmm0
movaps xmm1, xmm10
mulsd xmm1, xmm9
movaps xmm0, xmm6
mulsd xmm0, xmm11
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm3, xmm0
mulsd xmm6, xmm9
mulsd xmm10, xmm11
addsd xmm6, xmm10
xorps xmm6, xmmword [0x14006cae0]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
cvtps2pd xmm9, xmm0
movsd xmm4, qword [rbp - 0x80]
subsd xmm4, qword [rbp - 0x30]
movups xmm6, xmmword [rsp + 0x50]
movaps xmm2, xmm6
unpckhpd xmm2, xmm6
subsd xmm2, qword [rbp - 0x10]
subsd xmm6, qword [rsp + 0x48]
mulsd xmm15, xmm6
movaps xmm0, xmm2
mulsd xmm0, xmm7
addsd xmm15, xmm0
movaps xmm1, xmm4
mulsd xmm1, xmm13
addsd xmm15, xmm1
mulsd xmm9, xmm6
movaps xmm0, xmm2
mulsd xmm0, xmm3
addsd xmm9, xmm0
movaps xmm1, xmm4
mulsd xmm1, xmm5
addsd xmm9, xmm1
movsd xmm10, qword [rsp + 0x68]
mulsd xmm10, xmm6
mulsd xmm2, xmm12
addsd xmm10, xmm2
mulsd xmm4, xmm14
addsd xmm10, xmm4
movsd xmm8, qword [0x14006c658]
maxsd xmm8, xmm15
mov rbx, qword [0x14019adf8]
xorps xmm7, xmm7
cvtsi2ss xmm7, dword [rbx + 0xc]
mulss xmm7, dword [0x14006c600]
movss xmm0, dword [rbp - 0x24]
mulss xmm0, dword [0x14006c788]
mulss xmm0, dword [0x14006c6a0]
divss xmm0, dword [0x14006c7e0]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm7
divss xmm1, xmm0
cvtps2pd xmm11, xmm1
movaps xmm0, xmm11
mulsd xmm11, xmm10
jmp 0x14004e55e
cmp ecx, 2
jne 0x14004f333
lea r9d, [rcx + 0x23]
mov r8, rdi
lea rdx, [rbp - 0x78]
call fcn.14004cc20
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x80], xmm0
mov rax, qword [0x14019adc0]
mov rdx, qword [rax]
mov rax, qword [0x14019adf8]
add rdx, qword [rax]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
mov rbx, r12
je 0x14004eacf
mov rbx, qword [rbp - 0x30]
mov rax, qword [0x14019adc0]
mov rdx, qword [rax + 0x18]
add rdx, rbx
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
mov rdx, r12
je 0x14004eaf7
mov rdx, qword [rbp - 0x30]
mov rax, qword [0x14019adc0]
add rdx, qword [rax + 0x20]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
mov rdx, r12
je 0x14004eb1c
mov rdx, qword [rbp - 0x30]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
mov rdx, r12
je 0x14004eb36
mov rdx, qword [rbp - 0x30]
mov rax, qword [0x14019adc0]
add rdx, qword [rax + 0x40]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
mov r15, r12
je 0x14004eb5b
mov r15, qword [rbp - 0x30]
lea rdx, [rbx + 0x110]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
mov r14, r12
je 0x14004eb7c
mov r14, qword [rbp - 0x30]
lea rdx, [rbx + 0x120]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
mov rbx, r12
je 0x14004eb9d
mov rbx, qword [rbp - 0x30]
mov r9d, 8
lea r8, [rbp - 0x30]
mov rdx, rbx
call fcn.14004c370
test al, al
jne 0x14004ebb8
xorps xmm7, xmm7
jmp 0x14004ebbd
movsd xmm7, qword [rbp - 0x30]
lea rdx, [rbx + 0x20]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
jne 0x14004ebda
xorps xmm9, xmm9
jmp 0x14004ebe0
movsd xmm9, qword [rbp - 0x30]
lea rdx, [rbx + 0x1d0]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
jne 0x14004ebff
xorps xmm6, xmm6
jmp 0x14004ec04
movsd xmm6, qword [rbp - 0x30]
movups xmmword [rsp + 0x38], xmm15
movsd qword [rsp + 0x30], xmm15
mov r9d, 0x18
lea r8, [rsp + 0x30]
mov rdx, r14
call fcn.14004c370
test al, al
jne 0x14004ec37
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x30], xmm2
mov qword [rsp + 0x40], rax
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm11, xmm0
mulsd xmm11, qword [0x14006c6a8]
movsd xmm6, qword [0x14006c858]
mulsd xmm7, xmm6
movaps xmm1, xmm9
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm9, xmm0
mulsd xmm9, qword [0x14006c6a8]
mulsd xmm9, xmm6
mulsd xmm9, xmm6
lea rdx, [r15 + 0x394]
mov r9d, 4
lea r8, [rbp - 0x28]
call fcn.14004c370
test al, al
jne 0x14004ec9f
xorps xmm0, xmm0
movss dword [rbp - 0x28], xmm0
jmp 0x14004eca4
movss xmm0, dword [rbp - 0x28]
movss dword [rbp - 0x24], xmm0
mulsd xmm11, qword [0x14006c668]
divsd xmm11, qword [0x14006c6c8]
mulsd xmm9, qword [0x14006c668]
divsd xmm9, qword [0x14006c6c8]
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, xmm9
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 xmm9, xmm9
cvtss2sd xmm9, 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 - 0x20], xmm6
xorps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
xorps xmm4, xmm4
cvtss2sd xmm4, xmm0
movsd qword [rsp + 0x48], xmm4
movaps xmm3, xmm6
mulsd xmm3, xmm7
movaps xmm10, xmm6
xorps xmm10, xmm13
movsd qword [rbp - 0x10], xmm10
movaps xmm5, xmm4
mulsd xmm5, xmm7
cvtpd2ps xmm0, xmm7
cvtps2pd xmm12, xmm0
movaps xmm1, xmm11
mulsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm6, xmm0
movaps xmm2, xmm9
mulsd xmm2, xmm8
cvtpd2ps xmm0, xmm2
cvtps2pd xmm14, xmm0
movaps xmm1, xmm10
mulsd xmm1, xmm8
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
cvtps2pd xmm13, xmm0
movaps xmm2, xmm3
mulsd xmm2, xmm11
movaps xmm0, xmm4
mulsd xmm0, xmm9
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm10, xmm0
mulsd xmm3, xmm9
movaps xmm0, xmm4
mulsd xmm0, xmm11
subsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
cvtps2pd xmm7, xmm0
movaps xmm1, xmm4
mulsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm4, xmm0
movsd xmm2, qword [rbp - 0x20]
mulsd xmm2, xmm9
movaps xmm0, xmm5
mulsd xmm0, xmm11
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
cvtps2pd xmm3, xmm0
mulsd xmm5, xmm9
movsd xmm0, qword [rbp - 0x20]
mulsd xmm0, xmm11
addsd xmm5, xmm0
xorps xmm5, xmmword [0x14006cae0]
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm5
cvtps2pd xmm8, xmm0
movsd xmm2, qword [rbp - 0x80]
subsd xmm2, qword [rsp + 0x40]
movups xmm5, xmmword [rsp + 0x50]
movaps xmm9, xmm5
unpckhpd xmm9, xmm5
subsd xmm9, qword [rsp + 0x38]
subsd xmm5, qword [rsp + 0x30]
mulsd xmm14, xmm5
movaps xmm0, xmm9
mulsd xmm0, xmm6
addsd xmm14, xmm0
movaps xmm1, xmm2
mulsd xmm1, xmm12
addsd xmm14, xmm1
mulsd xmm8, xmm5
movaps xmm0, xmm9
mulsd xmm0, xmm3
addsd xmm8, xmm0
movaps xmm1, xmm2
mulsd xmm1, xmm4
addsd xmm8, xmm1
mulsd xmm9, xmm10
mulsd xmm7, xmm5
addsd xmm9, xmm7
mulsd xmm2, xmm13
addsd xmm9, xmm2
movsd xmm7, qword [0x14006c658]
maxsd xmm7, xmm14
mov rbx, qword [0x14019adf8]
xorps xmm6, xmm6
cvtsi2ss xmm6, dword [rbx + 0xc]
movss xmm14, dword [0x14006c600]
mulss xmm6, xmm14
movss xmm0, dword [rbp - 0x24]
mulss xmm0, dword [0x14006c788]
mulss xmm0, dword [0x14006c6a0]
divss xmm0, dword [0x14006c7e0]
call sub.api_ms_win_crt_math_l1_1_0.dll_tanf
movaps xmm1, xmm6
divss xmm1, xmm0
cvtps2pd xmm3, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, dword [rbx + 0x10]
mulss xmm2, xmm14
cvtps2pd xmm12, xmm2
mulsd xmm8, xmm3
divsd xmm8, xmm7
subsd xmm12, xmm8
mulsd xmm9, xmm3
divsd xmm9, xmm7
cvtps2pd xmm0, xmm6
addsd xmm9, xmm0
movaps xmmword [rsp + 0x50], xmm9
mov r9d, 8
mov r8, rdi
lea rdx, [rbp - 0x78]
call fcn.14004cc20
movups xmm13, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x80], xmm0
mov rax, qword [0x14019adc0]
mov rdx, qword [rax]
mov rax, qword [0x14019adf8]
add rdx, qword [rax]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
mov rbx, r12
je 0x14004ef7d
mov rbx, qword [rbp - 0x30]
mov rax, qword [0x14019adc0]
mov rdx, qword [rax + 0x18]
add rdx, rbx
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
mov rdx, r12
je 0x14004efa5
mov rdx, qword [rbp - 0x30]
mov rax, qword [0x14019adc0]
add rdx, qword [rax + 0x20]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
mov rdx, r12
je 0x14004efca
mov rdx, qword [rbp - 0x30]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
mov rdx, r12
je 0x14004efe4
mov rdx, qword [rbp - 0x30]
mov rax, qword [0x14019adc0]
add rdx, qword [rax + 0x40]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
mov r14, r12
je 0x14004f009
mov r14, qword [rbp - 0x30]
lea rdx, [rbx + 0x110]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
mov rdi, r12
je 0x14004f02a
mov rdi, qword [rbp - 0x30]
lea rdx, [rbx + 0x120]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
mov rbx, r12
je 0x14004f04b
mov rbx, qword [rbp - 0x30]
mov r9d, 8
lea r8, [rbp - 0x30]
mov rdx, rbx
call fcn.14004c370
test al, al
jne 0x14004f067
xorps xmm8, xmm8
jmp 0x14004f06d
movsd xmm8, qword [rbp - 0x30]
lea rdx, [rbx + 0x20]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
jne 0x14004f08a
xorps xmm9, xmm9
jmp 0x14004f090
movsd xmm9, qword [rbp - 0x30]
lea rdx, [rbx + 0x1d0]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004c370
test al, al
jne 0x14004f0af
xorps xmm6, xmm6
jmp 0x14004f0b4
movsd xmm6, qword [rbp - 0x30]
movups xmmword [rsp + 0x38], xmm15
movsd qword [rsp + 0x30], xmm15
mov r9d, 0x18
lea r8, [rsp + 0x30]
mov rdx, rdi
call fcn.14004c370
test al, al
jne 0x14004f0e7
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x30], xmm2
mov qword [rsp + 0x40], rax
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_asin
movaps xmm7, xmm0
mulsd xmm7, qword [0x14006c6a8]
movsd xmm6, qword [0x14006c858]
mulsd xmm8, xmm6
movaps xmm1, xmm9
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2
movaps xmm9, xmm0
mulsd xmm9, qword [0x14006c6a8]
mulsd xmm9, xmm6
mulsd xmm9, xmm6
lea rdx, [r14 + 0x394]
mov r9d, 4
lea r8, [rbp - 0x28]
call fcn.14004c370
test al, al
jne 0x14004f151
xorps xmm11, xmm11
movss dword [rbp - 0x28], xmm11
jmp 0x14004f157
movss xmm11, dword [rbp - 0x28]
mulsd xmm7, qword [0x14006c668]
divsd xmm7, qword [0x14006c6c8]
mulsd xmm9, qword [0x14006c668]
divsd xmm9, qword [0x14006c6c8]
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 xmm8, xmm8
cvtss2sd xmm8, xmm0
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm9
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 xmm3, xmm3
cvtss2sd xmm3, xmm0
movsd xmm4, qword [rbp - 0x20]
mulsd xmm4, xmm7
cvtpd2ps xmm0, xmm7
cvtps2pd xmm10, xmm0
movaps xmm1, xmm9
mulsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm7, xmm0
movaps xmm2, xmm3
mulsd xmm2, xmm8
cvtpd2ps xmm0, xmm2
cvtps2pd xmm5, xmm0
movsd xmm1, qword [rbp - 0x10]
mulsd xmm1, xmm8
cvtpd2ps xmm0, xmm1
cvtps2pd xmm8, xmm0
movaps xmm1, xmm4
mulsd xmm1, xmm9
movsd xmm2, qword [rsp + 0x48]
movaps xmm0, xmm2
mulsd xmm0, xmm3
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
cvtps2pd xmm6, xmm0
mulsd xmm4, xmm3
mulsd xmm2, xmm9
subsd xmm4, xmm2
cvtpd2ps xmm0, xmm4
cvtps2pd xmm3, xmm0
movsd xmm4, qword [rbp - 0x80]
subsd xmm4, qword [rsp + 0x40]
movaps xmm2, xmm13
unpckhpd xmm2, xmm13
subsd xmm2, qword [rsp + 0x38]
subsd xmm13, qword [rsp + 0x30]
movaps xmm1, xmm13
mulsd xmm1, xmm5
movaps xmm0, xmm2
mulsd xmm0, xmm7
addsd xmm1, xmm0
mulsd xmm10, xmm4
addsd xmm1, xmm10
mulsd xmm13, xmm3
mulsd xmm6, xmm2
addsd xmm13, xmm6
mulsd xmm4, xmm8
addsd xmm13, xmm4
movsd xmm7, qword [0x14006c658]
maxsd xmm7, xmm1
mov rax, qword [0x14019adf8]
xorps xmm6, xmm6
cvtsi2ss xmm6, dword [rax + 0xc]
mulss xmm6, xmm14
mulss xmm11, dword [0x14006c788]
mulss xmm11, dword [0x14006c6a0]
divss xmm11, dword [0x14006c7e0]
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, xmm13
divsd xmm11, xmm7
cvtps2pd xmm0, xmm6
addsd xmm11, xmm0
movaps xmm0, xmmword [rsp + 0x50]
subsd xmm11, xmm0
mulsd xmm11, qword [0x14006c650]
addsd xmm11, xmm0
movabs r15, 0xff00ff00ff00ff00
movsd xmm7, qword [rsp + 0x60]
movsd xmm8, qword [rbp - 0x18]
movsd xmm13, qword [0x14006cae0]
lea r14, [rbp + 0x138]
comisd xmm11, xmm8
jbe 0x14004f349
movaps xmm6, xmm8
subsd xmm6, xmm11
xorps xmm6, xmm13
jmp 0x14004f352
movaps xmm6, xmm11
subsd xmm6, xmm8
mov rax, qword [0x14019adb8]
movss xmm2, dword [rax + 0x14]
cvtps2pd xmm2, xmm2
divsd xmm6, xmm2
movaps xmm0, xmm6
addsd xmm0, xmm8
addsd xmm8, xmm8
comisd xmm0, xmm8
ja 0x14004f380
comisd xmm15, xmm0
jbe 0x14004f383
xorps xmm6, xmm6
comisd xmm12, xmm7
jbe 0x14004f398
movaps xmm0, xmm7
subsd xmm0, xmm12
xorps xmm0, xmm13
jmp 0x14004f3a0
movaps xmm0, xmm12
subsd xmm0, xmm7
divsd xmm0, xmm2
movaps xmm1, xmm0
addsd xmm1, xmm7
addsd xmm7, xmm7
comisd xmm1, xmm7
ja 0x14004f3bc
comisd xmm15, xmm1
jbe 0x14004f3bf
xorps xmm0, xmm0
divsd xmm6, xmm2
xorps xmm0, xmm13
divsd xmm0, xmm2
movsd qword [rbp - 0x30], xmm0
lea rdx, [r13 + 0x520]
mov r9d, 8
lea r8, [rbp - 0x30]
lea rcx, [0x14019ac98]
call fcn.14004c470
movsd qword [rbp - 0x30], xmm6
lea rdx, [r13 + 0x528]
mov r9d, 8
lea r8, [rbp - 0x30]
lea rcx, [0x14019ac98]
call fcn.14004c470
mov rax, qword [0x14019adb8]
cmp byte [rax + 0x18], 0
je 0x14004f4b7
mov ecx, 8
call fcn.1400624fc
lea rcx, [0x14004ddf0]
mov qword [rax], rcx
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140062170]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x10], rax
test rax, rax
je 0x14004f522
cmp dword [rbp - 8], 0
jne 0x14004f479
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 - 8], eax
jne 0x14004f490
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14004f4b7
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor rsi, r15
mov qword [r14], rsi
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.140062240
lea r11, [rsp + 0x210]
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 - 8], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3