Function at 0x1400589c0
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 0x140058a41
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140058a41
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 0x140058a3d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140058a13
jmp 0x140058a41
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403d34b4], edi
test edi, edi
je 0x140058a9b
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, [0x1401d4a58]
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 0x140058afe
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140058afe
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 0x140058afa
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140058ad0
jmp 0x140058afe
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403d34b4], edi
test edi, edi
je 0x140058b58
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, [0x1401d4a58]
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 0x140058bbe
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140058bbe
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 0x140058bba
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140058b90
jmp 0x140058bbe
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403d34b4], edi
test edi, edi
je 0x140058c18
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, [0x1401d4a58]
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 0x140058c7e
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140058c7e
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 0x140058c7a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140058c50
jmp 0x140058c7e
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403d34b4], edi
test edi, edi
je 0x140058cd8
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, [0x1401d4a58]
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 0x140058d3e
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140058d3e
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 0x140058d3a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140058d10
jmp 0x140058d3e
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403d34b4], edi
test edi, edi
je 0x140058d98
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, [0x1401d4a58]
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