Function at 0x1401dec54
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r14
mov rax, qword [0x14044e770]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
xor edx, edx
lea r14d, [rdx + 2]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x1401ded87
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x30], eax
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], r14d
jbe 0x1401ded2a
lea rax, [rsp + 0x30]
mov qword [rbp + 0x1b0], rax
lea eax, [rbx + 5]
mov dword [rbp + 0x1b8], eax
and dword [rbp + 0x1bc], 0
lea rdx, str.The_call_to_CreateToolhelp32Snapshot_has_failed
mov qword [rbp + 0x1c0], rdx
mov dword [rbp + 0x1c8], 0x60
and dword [rbp + 0x1cc], 0
lea rdx, [rbp + 0x190]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14039f1b9]
call fcn.140001158
mov eax, dword [rsp + 0x30]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1401ded5d
mov r8, qword [rcx]
cmp rcx, rsi
setne dl
mov rax, qword [r8 + 0x20]
call qword [str.PM_]
and qword [rsi + 0x38], 0
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1402ae860
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1401dee69
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x30], eax
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], r14d
jbe 0x1401dee1c
lea rax, [rsp + 0x30]
mov qword [rbp + 0x1b0], rax
mov eax, 4
mov dword [rbp + 0x1b8], eax
and dword [rbp + 0x1bc], 0
lea rdx, str.The_call_to_Process32First_has_failed
mov qword [rbp + 0x1c0], rdx
mov dword [rbp + 0x1c8], VarR8FromUI1
and dword [rbp + 0x1cc], 0
lea rdx, [rbp + 0x190]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14039f1b9]
call fcn.140001158
mov eax, dword [rsp + 0x30]
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
test rbx, rbx
je 0x1401dee40
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1401dee61
mov r8, qword [rcx]
cmp rcx, rsi
setne dl
mov rax, qword [r8 + 0x20]
call qword [str.PM_]
and qword [rsi + 0x38], 0
mov eax, r14d
jmp 0x1401ded5f
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x1401deebc
lea rax, str.Iterating_processes
mov qword [rbp + 0x1b0], rax
mov dword [rbp + 0x1b8], 0x28
and dword [rbp + 0x1bc], 0
lea rax, [rbp + 0x190]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a3da1]
call fcn.140001158
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1401deffd
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
mov rax, qword [rax + 0x10]
call qword [str.PM_]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1401deebc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x38], eax
cmp eax, 0x12
je 0x1401def72
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], r14d
jbe 0x1401def69
lea rax, [rsp + 0x38]
mov qword [rbp + 0x1b0], rax
mov eax, 4
mov dword [rbp + 0x1b8], eax
and dword [rbp + 0x1bc], 0
lea rdx, str.The_call_to_Process32Next_has_failed
mov qword [rbp + 0x1c0], rdx
mov dword [rbp + 0x1c8], VarR8FromUI1
and dword [rbp + 0x1cc], 0
lea rdx, [rbp + 0x190]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14039f1b9]
call fcn.140001158
mov eax, dword [rsp + 0x38]
jmp 0x1401dee20
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x1401defc6
lea rax, str.Ended_the_iterating_process
mov qword [rbp + 0x1b0], rax
mov dword [rbp + 0x1b8], 0x38
and dword [rbp + 0x1bc], 0
lea rax, [rbp + 0x190]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403a3da1]
call fcn.140001158
nop
test rbx, rbx
je 0x1401defd5
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1401deff6
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
mov rax, qword [rax + 0x20]
call qword [str.PM_]
and qword [rsi + 0x38], 0
xor eax, eax
jmp 0x1401ded5f
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xbad_function_call_void_]
int3