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

Disassembly:
push rbp
push r12
push r13
sub rsp, 0x2c0
mov rax, qword [0x14001c040]
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 0x14000fa71
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.1400087b0
lea rdx, [0x140008b70]
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 0x14000fce7
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 0x14000fcb6
mov r14, qword [r12]
xor eax, eax
mov r15, qword [r12 + 8]
cmp r14, r15
je 0x14000fc9c
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 0x14000fb01
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x20]
call fcn.1400093f0
cmp qword [r14 + 0x18], 7
mov rcx, r14
jbe 0x14000fb2b
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 0x14000fb6d
test rdx, rdx
je 0x14000fb69
sub r8, rcx
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14000fb6d
add rcx, 2
sub rdx, 1
jne 0x14000fb55
mov bl, 1
jmp 0x14000fb6f
xor bl, bl
cmp r10, 7
jbe 0x14000fbaa
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000fba2
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000fcaf
mov rcx, r9
call fcn.1400109f0
test bl, bl
je 0x14000fc8a
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 0x14000fc8a
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000fc81
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 0x14000fc78
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x4c], eax
jne 0x14000fc66
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 0x14000fc66
test bpl, bpl
je 0x14000fc46
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x14000fc5d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x14000fc5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14000fc46
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 0x14000fc14
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 0x14000fae0
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14000fac1
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.1400103e0
add rsp, 0x2c0
pop r13
pop r12
pop rbp
ret