Function at 0x140057660
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 edi, esi
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400576df
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400576df
lea rdx, [0x14017fcd8]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400576db
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400576b1
jmp 0x1400576df
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x140057739
lea rdx, [0x14017fcd8]
mov ecx, edi
call fcn.140043f40
mov r8d, dword [0x1403af7f0]
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, [0x1402100b8]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor edx, edx
mov edi, esi
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005779e
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005779e
nop dword [rax]
lea rdx, [0x14017fd78]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14005779a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140057770
jmp 0x14005779e
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x1400577f8
lea rdx, [0x14017fd78]
mov ecx, edi
call fcn.140043f40
mov r8d, dword [0x1403af7f0]
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, [0x1402100b8]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor edx, edx
mov edi, esi
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005785e
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005785e
nop dword [rax + rax]
lea rdx, [0x14017ff30]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14005785a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140057830
jmp 0x14005785e
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x1400578b8
lea rdx, [0x14017ff30]
mov ecx, edi
call fcn.140043f40
mov r8d, dword [0x1403af7f0]
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, [0x1402100b8]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor edx, edx
mov edi, esi
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005791e
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005791e
nop dword [rax + rax]
lea rdx, [0x14017fe80]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14005791a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400578f0
jmp 0x14005791e
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x140057978
lea rdx, [0x14017fe80]
mov ecx, edi
call fcn.140043f40
mov r8d, dword [0x1403af7f0]
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, [0x1402100b8]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor edx, edx
mov edi, esi
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400579de
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400579de
nop dword [rax + rax]
lea rdx, [0x14017ff88]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400579da
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400579b0
jmp 0x1400579de
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403af7f0], edi
test edi, edi
je 0x140057a38
lea rdx, [0x14017ff88]
mov ecx, edi
call fcn.140043f40
mov r8d, dword [0x1403af7f0]
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, [0x1402100b8]
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