Function at 0x14003ed00
Capabilities:
Create thread
Enumerate threads
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov r13, r9
xor ebx, ebx
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
mov dword [rbp + 0x50], eax
lea rdx, [rsp + 0x68]
call fcn.14003ec10
nop
mov dword [rbp - 0x40], ebx
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rbx
lea edx, [rbx + 2]
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
nop
call qword [sym.imp.MSVCP140.dll__Thrd_hardware_concurrency]
mov r12d, eax
mov rax, qword [rsp + 0x70]
sub rax, qword [rsp + 0x68]
sar rax, 4
xor edx, edx
div r12
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov esi, ebx
mov qword [rsp + 0x40], rbx
mov edi, ebx
mov qword [rsp + 0x50], rbx
test r12, r12
je 0x14003eeba
mov r14d, ebx
mov r15d, ebx
mov rbx, qword [rsp + 0x38]
lea rcx, [0x1401c9030]
lea rax, [rsp + 0x60]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rcx
lea rax, [rbp + 0x50]
mov qword [rbp - 0x68], rax
lea rax, [rbp + 0x58]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x60]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r13
cmp rbx, rsi
je 0x14003ee6f
mov ecx, 0x48
call fcn.14011f464
mov qword [rax], rdi
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rax + 8], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rax + 0x18], xmm1
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rax + 0x28], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rax + 0x38], xmm1
mov qword [rsp + 0x50], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x1400539a0]
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 0x14003eeab
add rbx, 0x10
mov qword [rsp + 0x38], rbx
jmp 0x14003ee92
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x80]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400523b0
mov r14, r15
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
lea rdi, [r14 + 1]
mov r14, rdi
mov qword [rsp + 0x50], rdi
mov r15, rdi
cmp rdi, r12
jae 0x14003eebf
jmp 0x14003edbf
mov dword [rdi], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rbx, qword [rsp + 0x38]
mov r14, qword [rsp + 0x30]
mov rdi, r14
cmp r14, rbx
je 0x14003ef15
nop dword [rax]
cmp dword [rdi + 8], 0
je 0x14003f00a
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rdi + 8], eax
je 0x14003effe
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x14003eff2
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
add rdi, 0x10
cmp rdi, rbx
jne 0x14003eed0
cmp qword [0x1401c9030], 0
je 0x14003efa3
mov dword [rsp + 0x30], Ordinal_35
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14003efa3
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14003ef99
mov ecx, dword [0x1401c9038]
cmp dword [rsp + 0x3c], ecx
jne 0x14003ef87
mov r8d, dword [rsp + 0x38]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x14003ef87
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x14003ef51
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test r14, r14
je 0x14003f029
mov rax, r14
cmp r14, rbx
je 0x14003efc3
cmp dword [rax + 8], 0
jne 0x14003f016
add rax, 0x10
cmp rax, rbx
jne 0x14003efb4
sub rsi, r14
and rsi, 0xfffffffffffffff0
mov rax, r14
cmp rsi, 0x1000
jb 0x14003f01d
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f01d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rdx, rsi
mov rcx, r14
call fcn.14011f7b8
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Mtx_destroy_in_situ]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14003f077
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f072
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f072
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14011f7b8
mov rbx, qword [rsp + 0x168]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret