Function at 0x14004d8c0
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 [0x140074040]
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 [0x14033a850]
mov rdx, qword [rax]
mov rax, qword [0x14033a888]
add rdx, qword [rax]
lea r9d, [r12 + 8]
lea r8, [rbp - 0x20]
call fcn.14004be20
test al, al
mov edx, r12d
je 0x14004d993
mov rdx, qword [rbp - 0x20]
mov rax, qword [0x14033a850]
add rdx, qword [rax + 0x18]
mov r9d, 8
lea r8, [rbp - 0x20]
call fcn.14004be20
test al, al
mov rdx, r12
je 0x14004d9b8
mov rdx, qword [rbp - 0x20]
mov rax, qword [0x14033a850]
add rdx, qword [rax + 0x20]
mov r9d, 8
lea r8, [rbp - 0x20]
call fcn.14004be20
test al, al
mov rdx, r12
je 0x14004d9dd
mov rdx, qword [rbp - 0x20]
mov r9d, 8
lea r8, [rbp - 0x20]
call fcn.14004be20
test al, al
mov rdx, r12
je 0x14004d9f7
mov rdx, qword [rbp - 0x20]
mov rax, qword [0x14033a850]
add rdx, qword [rax + 0x40]
mov r9d, 8
lea r8, [rbp - 0x18]
call fcn.14004be20
test al, al
jne 0x14004da1e
mov r13, r12
mov qword [rbp - 0x18], r12
jmp 0x14004da22
mov r13, qword [rbp - 0x18]
mov rax, qword [0x14033a888]
movd xmm7, dword [rax + 0x10]
cvtdq2pd xmm7, xmm7
mulsd xmm7, qword [0x14006a680]
movsd qword [rsp + 0x60], xmm7
movd xmm8, dword [rax + 0xc]
cvtdq2pd xmm8, xmm8
mulsd xmm8, qword [0x14006a680]
movsd qword [rbp - 0x18], xmm8
xorps xmm15, xmm15
xorps xmm11, xmm11
xorps xmm12, xmm12
mov rax, qword [0x14033a850]
mov rdx, qword [rax + 0x78]
add rdx, rbx
mov r9d, 8
lea r8, [rbp + 0x48]
call fcn.14004be20
test al, al
jne 0x14004da90
mov rdi, r12
mov qword [rbp + 0x48], r12
jmp 0x14004da94
mov rdi, qword [rbp + 0x48]
mov rax, qword [0x14033a848]
mov ecx, dword [rax + 8]
movsd xmm13, qword [0x14006aaa0]
test ecx, ecx
jne 0x14004dfb7
lea r9d, [rcx + 0x6d]
mov r8, rdi
lea rdx, [rbp - 0x60]
call fcn.14004c5d0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x80], xmm0
mov rax, qword [0x14033a850]
mov rdx, qword [rax]
mov rax, qword [0x14033a888]
add rdx, qword [rax]
mov r9d, 8
lea r8, [rbp]
call fcn.14004be20
test al, al
jne 0x14004db01
mov rbx, r12
mov qword [rbp], rbx
jmp 0x14004db05
mov rbx, qword [rbp]
mov rax, qword [0x14033a850]
mov rdx, qword [rax + 0x18]
add rdx, rbx
mov r9d, 8
lea r8, [rbp + 8]
call fcn.14004be20
test al, al
jne 0x14004db2f
mov rdx, r12
mov qword [rbp + 8], rdx
jmp 0x14004db33
mov rdx, qword [rbp + 8]
mov rax, qword [0x14033a850]
add rdx, qword [rax + 0x20]
mov r9d, 8
lea r8, [rbp + 0x10]
call fcn.14004be20
test al, al
jne 0x14004db5a
mov rdx, r12
mov qword [rbp + 0x10], rdx
jmp 0x14004db5e
mov rdx, qword [rbp + 0x10]
mov r9d, 8
lea r8, [rbp + 0x18]
call fcn.14004be20
test al, al
jne 0x14004db7a
mov rdx, r12
mov qword [rbp + 0x18], rdx
jmp 0x14004db7e
mov rdx, qword [rbp + 0x18]
mov rax, qword [0x14033a850]
add rdx, qword [rax + 0x40]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.14004be20
test al, al
jne 0x14004dba5
mov r14, r12
mov qword [rbp + 0x20], r12
jmp 0x14004dba9
mov r14, qword [rbp + 0x20]
lea rdx, [rbx + 0x110]
mov r9d, 8
lea r8, [rbp + 0x28]
call fcn.14004be20
test al, al
jne 0x14004dbcc
mov rdi, r12
mov qword [rbp + 0x28], r12
jmp 0x14004dbd0
mov rdi, qword [rbp + 0x28]
lea rdx, [rbx + 0x120]
mov r9d, 8
lea r8, [rbp + 0x30]
call fcn.14004be20
test al, al
jne 0x14004dbf3
mov rbx, r12
mov qword [rbp + 0x30], rbx
jmp 0x14004dbf7
mov rbx, qword [rbp + 0x30]
mov r9d, 8
lea r8, [rbp + 0x38]
mov rdx, rbx
call fcn.14004be20
test al, al
jne 0x14004dc19
xorps xmm8, xmm8
movsd qword [rbp + 0x38], xmm8
jmp 0x14004dc1f
movsd xmm8, qword [rbp + 0x38]
lea rdx, [rbx + 0x20]
mov r9d, 8
lea r8, [rbp + 0x40]
call fcn.14004be20
test al, al
jne 0x14004dc42
xorps xmm9, xmm9
movsd qword [rbp + 0x40], xmm9
jmp 0x14004dc48
movsd xmm9, qword [rbp + 0x40]
lea rdx, [rbx + 0x1d0]
mov r9d, 8
lea r8, [rbp - 0x20]
call fcn.14004be20
test al, al
jne 0x14004dc6c
xorps xmm6, xmm6
movsd qword [rbp - 0x20], xmm6
jmp 0x14004dc71
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.14004be20
test al, al
jne 0x14004dca4
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 [0x14006a6d8]
movsd xmm7, qword [0x14006a880]
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 [0x14006a6d8]
mulsd xmm9, xmm7
mulsd xmm9, xmm7
lea rdx, [r14 + 0x394]
mov r9d, 4
lea r8, [rbp - 0x24]
call fcn.14004be20
test al, al
jne 0x14004dd31
xorps xmm0, xmm0
movss dword [rbp - 0x24], xmm0
jmp 0x14004dd36
movss xmm0, dword [rbp - 0x24]
movss dword [rbp - 0x28], xmm0
mulsd xmm10, qword [0x14006a698]
divsd xmm10, qword [0x14006a6f8]
mulsd xmm9, qword [0x14006a698]
divsd xmm9, qword [0x14006a6f8]
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 [0x14006aaa0]
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 [0x14006a688]
maxsd xmm8, xmm2
mov rbx, qword [0x14033a888]
xorps xmm7, xmm7
cvtsi2ss xmm7, dword [rbx + 0xc]
mulss xmm7, dword [0x14006a630]
movss xmm0, dword [rbp - 0x28]
mulss xmm0, dword [0x14006a7b4]
mulss xmm0, dword [0x14006a6d0]
divss xmm0, dword [0x14006a810]
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 [0x14006a630]
divsd xmm0, xmm8
cvtps2pd xmm12, xmm2
subsd xmm12, xmm0
divsd xmm11, xmm8
cvtps2pd xmm0, xmm7
addsd xmm11, xmm0
xorps xmm15, xmm15
jmp 0x14004ed37
cmp ecx, 1
jne 0x14004e496
lea r9d, [rcx + 0x42]
mov r8, rdi
lea rdx, [rbp - 0x48]
call fcn.14004c5d0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x80], xmm0
mov rax, qword [0x14033a850]
mov rdx, qword [rax]
mov rax, qword [0x14033a888]
add rdx, qword [rax]
mov r9d, 8
lea r8, [rbp - 0x20]
call fcn.14004be20
test al, al
jne 0x14004e012
mov rbx, r12
mov qword [rbp - 0x20], rbx
jmp 0x14004e016
mov rbx, qword [rbp - 0x20]
mov rax, qword [0x14033a850]
mov rdx, qword [rax + 0x18]
add rdx, rbx
mov r9d, 8
lea r8, [rbp + 0x40]
call fcn.14004be20
test al, al
jne 0x14004e040
mov rdx, r12
mov qword [rbp + 0x40], rdx
jmp 0x14004e044
mov rdx, qword [rbp + 0x40]
mov rax, qword [0x14033a850]
add rdx, qword [rax + 0x20]
mov r9d, 8
lea r8, [rbp + 0x38]
call fcn.14004be20
test al, al
jne 0x14004e06b
mov rdx, r12
mov qword [rbp + 0x38], rdx
jmp 0x14004e06f
mov rdx, qword [rbp + 0x38]
mov r9d, 8
lea r8, [rbp + 0x30]
call fcn.14004be20
test al, al
jne 0x14004e08b
mov rdx, r12
mov qword [rbp + 0x30], rdx
jmp 0x14004e08f
mov rdx, qword [rbp + 0x30]
mov rax, qword [0x14033a850]
add rdx, qword [rax + 0x40]
mov r9d, 8
lea r8, [rbp + 0x28]
call fcn.14004be20
test al, al
jne 0x14004e0b6
mov r14, r12
mov qword [rbp + 0x28], r12
jmp 0x14004e0ba
mov r14, qword [rbp + 0x28]
lea rdx, [rbx + 0x110]
mov r9d, 8
lea r8, [rbp + 0x20]
call fcn.14004be20
test al, al
jne 0x14004e0dd
mov rdi, r12
mov qword [rbp + 0x20], r12
jmp 0x14004e0e1
mov rdi, qword [rbp + 0x20]
lea rdx, [rbx + 0x120]
mov r9d, 8
lea r8, [rbp + 0x18]
call fcn.14004be20
test al, al
jne 0x14004e104
mov rbx, r12
mov qword [rbp + 0x18], rbx
jmp 0x14004e108
mov rbx, qword [rbp + 0x18]
mov r9d, 8
lea r8, [rbp + 0x10]
mov rdx, rbx
call fcn.14004be20
test al, al
jne 0x14004e12a
xorps xmm8, xmm8
movsd qword [rbp + 0x10], xmm8
jmp 0x14004e130
movsd xmm8, qword [rbp + 0x10]
lea rdx, [rbx + 0x20]
mov r9d, 8
lea r8, [rbp + 8]
call fcn.14004be20
test al, al
jne 0x14004e153
xorps xmm9, xmm9
movsd qword [rbp + 8], xmm9
jmp 0x14004e159
movsd xmm9, qword [rbp + 8]
lea rdx, [rbx + 0x1d0]
mov r9d, 8
lea r8, [rbp]
call fcn.14004be20
test al, al
jne 0x14004e17d
xorps xmm6, xmm6
movsd qword [rbp], xmm6
jmp 0x14004e182
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.14004be20
test al, al
jne 0x14004e1b5
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 [0x14006a6d8]
movsd xmm7, qword [0x14006a880]
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 [0x14006a6d8]
mulsd xmm9, xmm7
mulsd xmm9, xmm7
lea rdx, [r14 + 0x394]
mov r9d, 4
lea r8, [rbp - 0x28]
call fcn.14004be20
test al, al
jne 0x14004e241
xorps xmm0, xmm0
movss dword [rbp - 0x28], xmm0
jmp 0x14004e246
movss xmm0, dword [rbp - 0x28]
movss dword [rbp - 0x24], xmm0
mulsd xmm10, qword [0x14006a698]
divsd xmm10, qword [0x14006a6f8]
mulsd xmm9, qword [0x14006a698]
divsd xmm9, qword [0x14006a6f8]
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 [0x14006aaa0]
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 [0x14006aaa0]
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 [0x14006a688]
maxsd xmm8, xmm15
mov rbx, qword [0x14033a888]
xorps xmm7, xmm7
cvtsi2ss xmm7, dword [rbx + 0xc]
mulss xmm7, dword [0x14006a630]
movss xmm0, dword [rbp - 0x24]
mulss xmm0, dword [0x14006a7b4]
mulss xmm0, dword [0x14006a6d0]
divss xmm0, dword [0x14006a810]
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 0x14004df7e
cmp ecx, 2
jne 0x14004ed53
lea r9d, [rcx + 0x23]
mov r8, rdi
lea rdx, [rbp - 0x78]
call fcn.14004c5d0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x80], xmm0
mov rax, qword [0x14033a850]
mov rdx, qword [rax]
mov rax, qword [0x14033a888]
add rdx, qword [rax]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
mov rbx, r12
je 0x14004e4ef
mov rbx, qword [rbp - 0x30]
mov rax, qword [0x14033a850]
mov rdx, qword [rax + 0x18]
add rdx, rbx
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
mov rdx, r12
je 0x14004e517
mov rdx, qword [rbp - 0x30]
mov rax, qword [0x14033a850]
add rdx, qword [rax + 0x20]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
mov rdx, r12
je 0x14004e53c
mov rdx, qword [rbp - 0x30]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
mov rdx, r12
je 0x14004e556
mov rdx, qword [rbp - 0x30]
mov rax, qword [0x14033a850]
add rdx, qword [rax + 0x40]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
mov r15, r12
je 0x14004e57b
mov r15, qword [rbp - 0x30]
lea rdx, [rbx + 0x110]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
mov r14, r12
je 0x14004e59c
mov r14, qword [rbp - 0x30]
lea rdx, [rbx + 0x120]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
mov rbx, r12
je 0x14004e5bd
mov rbx, qword [rbp - 0x30]
mov r9d, 8
lea r8, [rbp - 0x30]
mov rdx, rbx
call fcn.14004be20
test al, al
jne 0x14004e5d8
xorps xmm7, xmm7
jmp 0x14004e5dd
movsd xmm7, qword [rbp - 0x30]
lea rdx, [rbx + 0x20]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
jne 0x14004e5fa
xorps xmm9, xmm9
jmp 0x14004e600
movsd xmm9, qword [rbp - 0x30]
lea rdx, [rbx + 0x1d0]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
jne 0x14004e61f
xorps xmm6, xmm6
jmp 0x14004e624
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.14004be20
test al, al
jne 0x14004e657
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 [0x14006a6d8]
movsd xmm6, qword [0x14006a880]
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 [0x14006a6d8]
mulsd xmm9, xmm6
mulsd xmm9, xmm6
lea rdx, [r15 + 0x394]
mov r9d, 4
lea r8, [rbp - 0x28]
call fcn.14004be20
test al, al
jne 0x14004e6bf
xorps xmm0, xmm0
movss dword [rbp - 0x28], xmm0
jmp 0x14004e6c4
movss xmm0, dword [rbp - 0x28]
movss dword [rbp - 0x24], xmm0
mulsd xmm11, qword [0x14006a698]
divsd xmm11, qword [0x14006a6f8]
mulsd xmm9, qword [0x14006a698]
divsd xmm9, qword [0x14006a6f8]
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 [0x14006aaa0]
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 [0x14006a688]
maxsd xmm7, xmm14
mov rbx, qword [0x14033a888]
xorps xmm6, xmm6
cvtsi2ss xmm6, dword [rbx + 0xc]
movss xmm14, dword [0x14006a630]
mulss xmm6, xmm14
movss xmm0, dword [rbp - 0x24]
mulss xmm0, dword [0x14006a7b4]
mulss xmm0, dword [0x14006a6d0]
divss xmm0, dword [0x14006a810]
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.14004c5d0
movups xmm13, xmmword [rax]
movsd xmm0, qword [rax + 0x10]
movsd qword [rbp - 0x80], xmm0
mov rax, qword [0x14033a850]
mov rdx, qword [rax]
mov rax, qword [0x14033a888]
add rdx, qword [rax]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
mov rbx, r12
je 0x14004e99d
mov rbx, qword [rbp - 0x30]
mov rax, qword [0x14033a850]
mov rdx, qword [rax + 0x18]
add rdx, rbx
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
mov rdx, r12
je 0x14004e9c5
mov rdx, qword [rbp - 0x30]
mov rax, qword [0x14033a850]
add rdx, qword [rax + 0x20]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
mov rdx, r12
je 0x14004e9ea
mov rdx, qword [rbp - 0x30]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
mov rdx, r12
je 0x14004ea04
mov rdx, qword [rbp - 0x30]
mov rax, qword [0x14033a850]
add rdx, qword [rax + 0x40]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
mov r14, r12
je 0x14004ea29
mov r14, qword [rbp - 0x30]
lea rdx, [rbx + 0x110]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
mov rdi, r12
je 0x14004ea4a
mov rdi, qword [rbp - 0x30]
lea rdx, [rbx + 0x120]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
mov rbx, r12
je 0x14004ea6b
mov rbx, qword [rbp - 0x30]
mov r9d, 8
lea r8, [rbp - 0x30]
mov rdx, rbx
call fcn.14004be20
test al, al
jne 0x14004ea87
xorps xmm8, xmm8
jmp 0x14004ea8d
movsd xmm8, qword [rbp - 0x30]
lea rdx, [rbx + 0x20]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
jne 0x14004eaaa
xorps xmm9, xmm9
jmp 0x14004eab0
movsd xmm9, qword [rbp - 0x30]
lea rdx, [rbx + 0x1d0]
mov r9d, 8
lea r8, [rbp - 0x30]
call fcn.14004be20
test al, al
jne 0x14004eacf
xorps xmm6, xmm6
jmp 0x14004ead4
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.14004be20
test al, al
jne 0x14004eb07
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 [0x14006a6d8]
movsd xmm6, qword [0x14006a880]
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 [0x14006a6d8]
mulsd xmm9, xmm6
mulsd xmm9, xmm6
lea rdx, [r14 + 0x394]
mov r9d, 4
lea r8, [rbp - 0x28]
call fcn.14004be20
test al, al
jne 0x14004eb71
xorps xmm11, xmm11
movss dword [rbp - 0x28], xmm11
jmp 0x14004eb77
movss xmm11, dword [rbp - 0x28]
mulsd xmm7, qword [0x14006a698]
divsd xmm7, qword [0x14006a6f8]
mulsd xmm9, qword [0x14006a698]
divsd xmm9, qword [0x14006a6f8]
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 [0x14006a688]
maxsd xmm7, xmm1
mov rax, qword [0x14033a888]
xorps xmm6, xmm6
cvtsi2ss xmm6, dword [rax + 0xc]
mulss xmm6, xmm14
mulss xmm11, dword [0x14006a7b4]
mulss xmm11, dword [0x14006a6d0]
divss xmm11, dword [0x14006a810]
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 [0x14006a680]
addsd xmm11, xmm0
movabs r15, 0xff00ff00ff00ff00
movsd xmm7, qword [rsp + 0x60]
movsd xmm8, qword [rbp - 0x18]
movsd xmm13, qword [0x14006aaa0]
lea r14, [rbp + 0x138]
comisd xmm11, xmm8
jbe 0x14004ed69
movaps xmm6, xmm8
subsd xmm6, xmm11
xorps xmm6, xmm13
jmp 0x14004ed72
movaps xmm6, xmm11
subsd xmm6, xmm8
mov rax, qword [0x14033a848]
movss xmm1, dword [rax + 0x14]
cvtps2pd xmm1, xmm1
divsd xmm6, xmm1
movaps xmm0, xmm6
addsd xmm0, xmm8
addsd xmm8, xmm8
comisd xmm0, xmm8
ja 0x14004eda0
comisd xmm15, xmm0
jbe 0x14004eda3
xorps xmm6, xmm6
comisd xmm12, xmm7
jbe 0x14004edb8
movaps xmm2, xmm7
subsd xmm2, xmm12
xorps xmm2, xmm13
jmp 0x14004edc0
movaps xmm2, xmm12
subsd xmm2, xmm7
divsd xmm2, xmm1
movaps xmm0, xmm2
addsd xmm0, xmm7
addsd xmm7, xmm7
comisd xmm0, xmm7
ja 0x14004eddc
comisd xmm15, xmm0
jbe 0x14004eddf
xorps xmm2, xmm2
divsd xmm6, xmm1
xorps xmm2, xmm13
divsd xmm2, xmm1
lea rdx, [r13 + 0x520]
call fcn.14005fd50
lea rdx, [r13 + 0x528]
movaps xmm2, xmm6
call fcn.14005fd50
mov rax, qword [0x14033a848]
cmp byte [rax + 0x18], 0
je 0x14004eeae
mov ecx, 8
call fcn.140060cbc
lea rcx, [0x14004d810]
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, [0x140060930]
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 0x14004ef19
cmp dword [rbp - 8], 0
jne 0x14004ee70
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 0x14004ee87
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 0x14004eeae
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.140060a00
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