Function at 0x140037160
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
lea rcx, [rsp + 0x50]
call fcn.140038850
mov ecx, 8
call fcn.1400ef224
lea rcx, [rsp + 0x50]
xor ebx, ebx
mov r9, rax
lea r8, [0x1400375d0]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400373d0
cmp dword [rsp + 0x38], ebx
je 0x1400373c4
vmovups xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400373c4
vpxor xmm0, xmm0, xmm0
lea ecx, [rbx + 8]
vmovdqa xmmword [rsp + 0x30], xmm0
call fcn.1400ef224
lea rcx, [rsp + 0x50]
mov r9, rax
lea r8, [0x140037600]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400373b4
cmp dword [rsp + 0x38], ebx
je 0x1400373a8
vmovups xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400373a8
vpxor xmm0, xmm0, xmm0
lea ecx, [rbx + 8]
vmovdqa xmmword [rsp + 0x30], xmm0
call fcn.1400ef224
lea rcx, [rsp + 0x50]
mov r9, rax
lea r8, [0x140037630]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140037398
cmp dword [rsp + 0x38], ebx
je 0x14003738c
vmovups xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
vmovdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14003738c
lea rcx, [rsp + 0x50]
call fcn.140038540
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0xf
jbe 0x140037319
mov rcx, qword [rbp + 0xa0]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037314
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003736f
call fcn.1400ef4a8
lea rcx, [rbp + 0x50]
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], 0xf
mov byte [rbp + 0xa0], bl
call qword [sym.imp.MSVCP140.dll__Mtx_destroy_in_situ]
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14003737b
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037376
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037376
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ef4a8
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1c0
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x38], ebx
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_]
int3
mov ecx, 6
mov dword [rsp + 0x38], ebx
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_]
int3
mov ecx, 6
mov dword [rsp + 0x38], ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3