Function at 0x140151470
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x360
mov rax, qword [0x1404b7a00]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov dword [rsp + 0x40], 1
mov rdi, qword [rsp + 0x370]
xor eax, eax
mov ecx, Ordinal_26
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x370]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, rax
call fcn.1401429e0
mov rax, qword [rsp + 0x370]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x140151528
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x14015151b
and dword [rsp + 0x40], 0xfffffffe
mov rcx, qword [rsp + 0x370]
call fcn.14019e5a0
mov rax, qword [rsp + 0x370]
jmp 0x1401517a5
mov dword [rsp + 0x110], 0x238
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x48]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x140151586
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x140151579
and dword [rsp + 0x40], 0xfffffffe
mov rcx, qword [rsp + 0x370]
call fcn.14019e5a0
mov rax, qword [rsp + 0x370]
jmp 0x1401517a5
lea rcx, [rsp + 0xe0]
call fcn.14012e880
nop
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
lea r8, [rsp + 0x13c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jle 0x14015171f
lea rax, [rsp + 0xc8]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_26
rep stosb byte [rdi], al
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rax], 0
mov rax, qword [rsp + 0x50]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x50]
mov qword [rax + 0x10], 0
movsxd rax, dword [rsp + 0x44]
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.140130380
nop
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rsp + 0x13c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0xa8]
call fcn.1400897d0
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xe0]
call fcn.14008c120
lea rcx, [rsp + 0xa8]
call fcn.14019ec30
nop
lea rcx, [rsp + 0xc8]
call fcn.14019e180
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x100], eax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x370]
call fcn.140131b70
nop
lea rax, [rsp + 0xe0]
mov rcx, rax
call fcn.14019ec30
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x48]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140151586
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
and eax, 1
test eax, eax
je 0x14015179d
and dword [rsp + 0x40], 0xfffffffe
mov rcx, qword [rsp + 0x370]
call fcn.14019e5a0
mov rax, qword [rsp + 0x370]
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.1402c2560
add rsp, 0x360
pop rdi
ret