Function at 0x1400591c0
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 0x140059241
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140059241
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 0x14005923d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140059213
jmp 0x140059241
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403d34b4], edi
test edi, edi
je 0x14005929b
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, [0x1402315a8]
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 0x1400592fe
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400592fe
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 0x1400592fa
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400592d0
jmp 0x1400592fe
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403d34b4], edi
test edi, edi
je 0x140059358
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, [0x1402315a8]
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 0x1400593be
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400593be
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 0x1400593ba
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140059390
jmp 0x1400593be
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403d34b4], edi
test edi, edi
je 0x140059418
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, [0x1402315a8]
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 0x14005947e
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005947e
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 0x14005947a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140059450
jmp 0x14005947e
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403d34b4], edi
test edi, edi
je 0x1400594d8
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, [0x1402315a8]
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 0x14005953e
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005953e
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 0x14005953a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140059510
jmp 0x14005953e
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403d34b4], edi
test edi, edi
je 0x140059598
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, [0x1402315a8]
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