Function at 0x1401efe58
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 [0x14049e510]
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 0x1401eff8b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x30], eax
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], r14d
jbe 0x1401eff2e
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, [0x1403dfae7]
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 0x1401eff61
mov r8, qword [rcx]
cmp rcx, rsi
setne dl
mov rax, qword [r8 + 0x20]
call qword [case.0x140245398.0]
and qword [rsi + 0x38], 0
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1402dfdb0
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 0x1401f006d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x30], eax
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], r14d
jbe 0x1401f0020
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, [0x1403dfae7]
call fcn.140001158
mov eax, dword [rsp + 0x30]
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
test rbx, rbx
je 0x1401f0044
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 0x1401f0065
mov r8, qword [rcx]
cmp rcx, rsi
setne dl
mov rax, qword [r8 + 0x20]
call qword [case.0x140245398.0]
and qword [rsi + 0x38], 0
mov eax, r14d
jmp 0x1401eff63
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x1401f00c0
lea rax, str.Iterating_processes
mov qword [rbp + 0x1b0], rax
mov dword [rbp + 0x1b8], MsiGetActiveDatabase
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, [0x1403dfac3]
call fcn.140001158
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1401f0201
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
mov rax, qword [rax + 0x10]
call qword [case.0x140245398.0]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1401f00c0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x38], eax
cmp eax, 0x12
je 0x1401f0176
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], r14d
jbe 0x1401f016d
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, [0x1403dfae7]
call fcn.140001158
mov eax, dword [rsp + 0x38]
jmp 0x1401f0024
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x1401f01ca
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, [0x1403dfac3]
call fcn.140001158
nop
test rbx, rbx
je 0x1401f01d9
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 0x1401f01fa
mov rax, qword [rcx]
cmp rcx, rsi
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140245398.0]
and qword [rsi + 0x38], 0
xor eax, eax
jmp 0x1401eff63
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xbad_function_call_void_]
int3