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

Disassembly:
push rbp
push r12
push r13
sub rsp, 0x2c0
mov rax, qword [0x140019040]
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 0x14000d9b1
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.140007830
lea rdx, [0x140007a10]
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 0x14000dc27
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 0x14000dbf6
mov r14, qword [r12]
xor eax, eax
mov r15, qword [r12 + 8]
cmp r14, r15
je 0x14000dbdc
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 0x14000da41
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x20]
call fcn.140008460
cmp qword [r14 + 0x18], 7
mov rcx, r14
jbe 0x14000da6b
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 0x14000daad
test rdx, rdx
je 0x14000daa9
sub r8, rcx
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14000daad
add rcx, 2
sub rdx, 1
jne 0x14000da95
mov bl, 1
jmp 0x14000daaf
xor bl, bl
cmp r10, 7
jbe 0x14000daea
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000dae2
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000dbef
mov rcx, r9
call fcn.14000ea70
test bl, bl
je 0x14000dbca
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 0x14000dbca
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000dbc1
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 0x14000dbb8
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x4c], eax
jne 0x14000dba6
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 0x14000dba6
test bpl, bpl
je 0x14000db86
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x14000db9d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x14000db9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14000db86
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 0x14000db54
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 0x14000da20
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x14000da01
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.14000e460
add rsp, 0x2c0
pop r13
pop r12
pop rbp
ret