Function at 0x1400017f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
xor r15d, r15d
mov ecx, 0x10
call fcn.140002870
mov qword [rax], rsi
lea rcx, [0x1400011e0]
mov qword [rax + 8], rcx
mov qword [rbp + 0x17], rax
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140002810]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 7], rax
test rax, rax
je 0x140001a5e
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
mov eax, r15d
mov qword [rbp - 1], rax
mov edi, r15d
cmp dword [rsi + 0x78], r15d
jbe 0x140001929
mov qword [rbp - 0x19], rsi
lea r12, [0x1400014c0]
mov qword [rbp + 0x17], r12
mov rbx, qword [rbp - 9]
cmp rbx, rax
je 0x1400018f5
mov ecx, 0x10
call fcn.140002870
mov qword [rax], rsi
mov qword [rax + 8], r12
mov qword [rbp + 0x27], rax
lea r14, [rbx + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140002810]
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 0x14000191a
mov rbx, qword [rbp - 9]
add rbx, 0x10
mov qword [rbp - 9], rbx
jmp 0x14000190d
lea r9, [rbp - 0x19]
lea r8, [rbp + 0x17]
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.140002510
mov rbx, qword [rbp - 9]
inc edi
cmp edi, dword [rsi + 0x78]
jae 0x140001929
mov rax, qword [rbp - 1]
jmp 0x1400018a3
mov dword [r14], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
cmp dword [rbp + 0xf], 0
je 0x140001a52
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0xf], eax
je 0x140001a46
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 0x27], xmm0
xor edx, edx
lea rcx, [rbp + 0x27]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140001a3a
xorps xmm0, xmm0
movdqa xmmword [rbp + 7], xmm0
mov rbx, qword [rbp - 0x11]
mov rdi, qword [rbp - 9]
cmp rbx, rdi
je 0x1400019bf
cmp dword [rbx + 8], 0
je 0x140001a52
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbx + 8], eax
je 0x140001a46
movups xmm0, xmmword [rbx]
movaps xmmword [rbp + 0x27], xmm0
xor edx, edx
lea rcx, [rbp + 0x27]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140001a3a
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
add rbx, 0x10
cmp rbx, rdi
jne 0x140001974
mov rdi, qword [rbp - 9]
mov rbx, qword [rbp - 0x11]
test rbx, rbx
je 0x140001a2d
mov rax, rbx
cmp rbx, rdi
je 0x1400019df
nop dword [rax]
cmp dword [rax + 8], 0
jne 0x140001a12
add rax, 0x10
cmp rax, rdi
jne 0x1400019d0
mov rdx, qword [rbp - 1]
sub rdx, rbx
and rdx, 0xfffffffffffffff0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140001a19
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, rbx
call fcn.1400028b4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r15
cmp dword [rbp + 0xf], 0
je 0x140001a6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0xf], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140002850
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret