Function at 0x140058dc0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
xor esi, esi
xor edx, edx
mov ecx, 2
mov edi, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140058e41
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140058e41
lea rdx, [0x14019c008]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140058e3d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140058e13
jmp 0x140058e41
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403d34b4], edi
test edi, edi
je 0x140058e9b
lea rdx, [0x14019c008]
mov ecx, edi
call fcn.140045760
mov r8d, dword [0x1403d34b4]
xor edx, edx
mov ecx, 0x1fffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rdx, [rbx + 0x294eeb0]
mov qword [rsp + 0x20], rsi
mov rcx, rax
lea r8, [0x140389930]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor edx, edx
mov ecx, 2
mov edi, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140058efe
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140058efe
nop dword [rax]
lea rdx, [0x14019c0a8]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140058efa
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140058ed0
jmp 0x140058efe
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403d34b4], edi
test edi, edi
je 0x140058f58
lea rdx, [0x14019c0a8]
mov ecx, edi
call fcn.140045760
mov r8d, dword [0x1403d34b4]
xor edx, edx
mov ecx, 0x1fffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rdx, [rbx + 0x2852570]
mov qword [rsp + 0x20], rsi
mov rcx, rax
lea r8, [0x140389930]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor edx, edx
mov ecx, 2
mov edi, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140058fbe
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140058fbe
nop word [rax + rax]
lea rdx, [0x14019c260]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140058fba
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140058f90
jmp 0x140058fbe
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403d34b4], edi
test edi, edi
je 0x140059018
lea rdx, [0x14019c260]
mov ecx, edi
call fcn.140045760
mov r8d, dword [0x1403d34b4]
xor edx, edx
mov ecx, 0x1fffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rdx, [rbx + 0x2822cd0]
mov qword [rsp + 0x20], rsi
mov rcx, rax
lea r8, [0x140389930]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor edx, edx
mov ecx, 2
mov edi, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005907e
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005907e
nop word [rax + rax]
lea rdx, [0x14019c1b0]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14005907a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140059050
jmp 0x14005907e
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403d34b4], edi
test edi, edi
je 0x1400590d8
lea rdx, [0x14019c1b0]
mov ecx, edi
call fcn.140045760
mov r8d, dword [0x1403d34b4]
xor edx, edx
mov ecx, 0x1fffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rdx, [rbx + 0x284e350]
mov qword [rsp + 0x20], rsi
mov rcx, rax
lea r8, [0x140389930]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor edx, edx
mov ecx, 2
mov edi, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005913e
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005913e
nop word [rax + rax]
lea rdx, [0x14019c2b8]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14005913a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140059110
jmp 0x14005913e
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403d34b4], edi
test edi, edi
je 0x140059198
lea rdx, [0x14019c2b8]
mov ecx, edi
call fcn.140045760
mov r8d, dword [0x1403d34b4]
xor edx, edx
mov ecx, 0x1fffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rdx, [rbx + 0x2869d30]
mov qword [rsp + 0x20], rsi
mov rcx, rax
lea r8, [0x140389930]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret