Function at 0x14016bcd0
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov r14, rcx
xor esi, esi
mov dword [rbp + 0x6f], esi
mov dword [rbp + 0x77], esi
mov qword [rsp + 0x38], 0x64
lea rax, [0x14016a7f8]
mov qword [rbp - 0x59], rax
lea rax, [0x14016fe10]
mov qword [rbp - 0x51], rax
lea rax, [0x1401712c4]
mov qword [rbp - 0x49], rax
lea rax, [0x140173168]
mov qword [rbp - 0x41], rax
xor r13d, r13d
xorps xmm6, xmm6
xor r12d, r12d
movsd xmm7, qword [0x140313810]
and qword [rbp + 0x7f], 0
call fcn.1401b911c
movsd qword [rsp + 0x30], xmm0
and dword [rbp + 0x77], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x71], xmm0
and qword [rbp - 0x61], 0
lea r8, [rbp + 0x77]
mov rdx, r14
lea rcx, [rbp - 0x71]
call fcn.1400605d4
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor r15d, r15d
mov qword [rbp - 0x79], r15
xor edi, edi
test r14, r14
je 0x14016be77
mov rbx, qword [rsp + 0x48]
mov qword [rbp - 0x39], rdi
lea rax, [rbp - 0x59]
mov qword [rbp - 0x31], rax
lea rax, [rbp + 0x7f]
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x71]
mov qword [rbp - 0x21], rax
lea rax, [rsp + 0x30]
mov qword [rbp - 0x19], rax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x11], rax
cmp rbx, r15
je 0x14016be51
mov ecx, 0x30
call fcn.140010338
test rax, rax
je 0x14016be0b
mov qword [rax], rdi
lea rcx, [rbp - 0x59]
mov qword [rax + 8], rcx
lea rcx, [rbp + 0x7f]
mov qword [rax + 0x10], rcx
lea rcx, [rbp - 0x71]
mov qword [rax + 0x18], rcx
lea rcx, [rsp + 0x30]
mov qword [rax + 0x20], rcx
lea rcx, [rsp + 0x38]
mov qword [rax + 0x28], rcx
or esi, 1
mov dword [rbp + 0x6f], esi
mov qword [rbp + 0x77], rax
lea rsi, [rbx + 8]
mov qword [rsp + 0x28], rsi
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140177478]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x14016bfa9
add rbx, 0x10
mov qword [rsp + 0x48], rbx
mov esi, dword [rbp + 0x6f]
jmp 0x14016be6b
lea r8, [rbp - 0x39]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140177238
mov r15, qword [rbp - 0x79]
mov rbx, qword [rsp + 0x48]
inc rdi
cmp rdi, r14
jb 0x14016bd98
xor esi, esi
xor edi, edi
test r14, r14
je 0x14016bed2
mov rbx, qword [rsp + 0x40]
cmp dword [rbx + 8], 0
je 0x14016bf9e
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 8], eax
je 0x14016bfc2
movups xmm0, xmmword [rbx]
movdqu xmmword [rbp - 9], xmm0
xor edx, edx
lea rcx, [rbp - 9]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x14016bfb7
xorps xmm0, xmm0
movdqu xmmword [rbx], xmm0
mov rax, qword [rbp - 0x71]
add esi, dword [rax + rdi*4]
inc rdi
add rbx, 0x10
cmp rdi, r14
jb 0x14016be85
call fcn.1401b911c
mov eax, esi
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm1, xmm7
subsd xmm0, qword [rsp + 0x30]
divsd xmm1, xmm0
comisd xmm1, xmm6
jbe 0x14016befc
mov r13, qword [rbp + 0x7f]
movaps xmm6, xmm1
lea rcx, [rsp + 0x40]
call fcn.14009be4c
nop
mov rcx, qword [rbp - 0x71]
test rcx, rcx
je 0x14016bf41
mov rdx, qword [rbp - 0x61]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x14016bf3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14016bf97
call fcn.14001037c
mov rax, qword [rbp + 0x7f]
inc rax
mov qword [rbp + 0x7f], rax
cmp rax, 4
mov esi, dword [rbp + 0x6f]
jb 0x14016bd4b
inc r12
cmp r12, 3
jb 0x14016bd46
mov rax, qword [rbp + r13*8 - 0x59]
mov qword [0x14046fe58], rax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
and dword [rsi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3