Function at 0x14000cc80
Capabilities:
Enumerate processes
Enumerate threads
Resume thread
Suspend thread

Disassembly:
push rbp
push r12
push r13
sub rsp, 0x2c0
mov rax, qword [0x140018040]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
movzx ebp, dl
mov r12, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14000cce1
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, str.Failed_to_create_process_snapshot.
call fcn.1400072f0
lea rdx, [0x1400074d0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x14000cf57
mov qword [rsp + 0x2e0], rbx
lea rcx, [rsp + 0x64]
mov qword [rsp + 0x2e8], rsi
xor edx, edx
mov qword [rsp + 0x2f0], rdi
mov r8d, 0x234
mov qword [rsp + 0x2b8], r14
mov qword [rsp + 0x2b0], r15
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000cf26
mov r14, qword [r12]
xor eax, eax
mov r15, qword [r12 + 8]
cmp r14, r15
je 0x14000cf0c
nop dword [rax]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x20], xmm0
lea rax, [rsp + 0x8c]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000cd71
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x20]
call fcn.140007f20
cmp qword [r14 + 0x18], 7
mov rcx, r14
jbe 0x14000cd9b
mov rcx, qword [r14]
mov r10, qword [rsp + 0x38]
lea r8, [rsp + 0x20]
mov r9, qword [rsp + 0x20]
cmp r10, 7
mov rdx, qword [rsp + 0x30]
cmova r8, r9
cmp rdx, qword [r14 + 0x10]
jne 0x14000cddd
test rdx, rdx
je 0x14000cdd9
sub r8, rcx
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14000cddd
add rcx, 2
sub rdx, 1
jne 0x14000cdc5
mov bl, 1
jmp 0x14000cddf
xor bl, bl
cmp r10, 7
jbe 0x14000ce1a
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000ce12
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf1f
mov rcx, r9
call fcn.14000db04
test bl, bl
je 0x14000cefa
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0xc10
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x14000cefa
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000cef1
xorps xmm0, xmm0
mov qword [rsp + 0x54], 0
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x1c
mov rcx, rax
movdqu xmmword [rsp + 0x44], xmm0
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x14000cee8
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x4c], eax
jne 0x14000ced6
mov r8d, dword [rsp + 0x48]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x14000ced6
test bpl, bpl
je 0x14000ceb6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x14000cecd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x14000cecd
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14000ceb6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x14000ce84
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add r14, 0x20
mov eax, 0
cmp r14, r15
jne 0x14000cd50
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14000cd31
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x2b8]
mov rdi, qword [rsp + 0x2f0]
mov rsi, qword [rsp + 0x2e8]
mov rbx, qword [rsp + 0x2e0]
mov r15, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.14000d790
add rsp, 0x2c0
pop r13
pop r12
pop rbp
ret