Function at 0x140075400
Capabilities:
Create thread
Enumerate threads
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14025dcd8]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor edi, edi
lea ecx, [rdi + 1]
call fcn.1400904d0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140072490]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400756f6
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x30]
lea rcx, [0x14025d3d8]
call fcn.140072ea0
call fcn.14008d900
cmp dword [rsp + 0x48], edi
je 0x140075705
call sub.MSVCP140.dll__Thrd_id
cmp dword [rsp + 0x48], eax
je 0x140075710
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
xor edx, edx
lea rcx, [rsp + 0x50]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x1400756eb
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0xfffffffffeced300
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [0x14025e0e8]
mov rsi, qword [0x14025da38]
mov rbx, qword [0x14025da30]
cmp rbx, rsi
je 0x140075502
nop
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
add rbx, 8
cmp rbx, rsi
jne 0x1400754f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r15d, eax
mov qword [0x14025e500], rdi
xor edx, edx
lea ecx, [rdx + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbp, rax
lea rsi, [0x14025e100]
cmp rax, 0xffffffffffffffff
je 0x1400755c9
mov dword [rsp + 0x50], 0x1c
lea rdx, [rsp + 0x50]
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1400755c0
cmp dword [rsp + 0x50], 0x10
jb 0x1400755a7
mov r8d, dword [rsp + 0x58]
cmp r8d, r15d
je 0x1400755a7
cmp dword [rsp + 0x5c], r14d
jne 0x1400755a7
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
mov rdx, qword [0x14025e500]
mov ecx, dword [rsp + 0x58]
mov dword [rsi + rdx*4], ecx
inc rdx
mov qword [0x14025e500], rdx
test rax, rax
je 0x1400755a7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x50], 0x1c
lea rdx, [rsp + 0x50]
mov rcx, rbp
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x140075552
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [0x14025da38]
mov rbx, qword [0x14025da30]
cmp rbx, rbp
je 0x1400755ff
nop dword [rax]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov edx, 0x10
mov rcx, qword [rbx]
call fcn.14008ff00
add rbx, 8
cmp rbx, rbp
jne 0x1400755e0
call fcn.1400608a0
mov rcx, qword [0x14025da30]
test rcx, rcx
je 0x14007565e
mov rax, qword [0x14025da40]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x140075647
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400756b8
mov rcx, r8
call fcn.14008ff00
xorps xmm0, xmm0
movdqu xmmword [0x14025da30], xmm0
mov qword [0x14025da40], rdi
cmp qword [0x14025e500], 0
jbe 0x1400756aa
nop dword [rax + rax]
mov r8d, dword [rsi]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x140075698
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
add rsi, 4
movsxd rax, edi
cmp rax, qword [0x14025e500]
jb 0x140075670
cmp dword [rsp + 0x48], 0
je 0x1400756bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14008fda0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x48], edi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 1
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