Function at 0x140057a80
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 0x140057aff
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140057aff
lea rdx, [0x140180ec8]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140057afb
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140057ad1
jmp 0x140057aff
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b1860], edi
test edi, edi
je 0x140057b59
lea rdx, [0x140180ec8]
mov ecx, edi
call fcn.140044360
mov r8d, dword [0x1403b1860]
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, [0x1402120b8]
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 0x140057bbe
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140057bbe
nop dword [rax]
lea rdx, [0x140180f68]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140057bba
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140057b90
jmp 0x140057bbe
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b1860], edi
test edi, edi
je 0x140057c18
lea rdx, [0x140180f68]
mov ecx, edi
call fcn.140044360
mov r8d, dword [0x1403b1860]
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, [0x1402120b8]
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 0x140057c7e
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140057c7e
nop dword [rax + rax]
lea rdx, [0x140181120]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140057c7a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140057c50
jmp 0x140057c7e
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b1860], edi
test edi, edi
je 0x140057cd8
lea rdx, [0x140181120]
mov ecx, edi
call fcn.140044360
mov r8d, dword [0x1403b1860]
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, [0x1402120b8]
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 0x140057d3e
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140057d3e
nop dword [rax + rax]
lea rdx, [0x140181070]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140057d3a
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140057d10
jmp 0x140057d3e
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b1860], edi
test edi, edi
je 0x140057d98
lea rdx, [0x140181070]
mov ecx, edi
call fcn.140044360
mov r8d, dword [0x1403b1860]
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, [0x1402120b8]
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 0x140057dfe
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140057dfe
nop dword [rax + rax]
lea rdx, [0x140181178]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140057dfa
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140057dd0
jmp 0x140057dfe
mov edi, dword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1403b1860], edi
test edi, edi
je 0x140057e58
lea rdx, [0x140181178]
mov ecx, edi
call fcn.140044360
mov r8d, dword [0x1403b1860]
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, [0x1402120b8]
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