Function at 0x180005cd0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa28
mov byte [rsp + 0x220], 0
lea rax, [rsp + 0x221]
mov rdi, rax
xor eax, eax
mov ecx, 0x7ff
rep stosb byte [rdi], al
lea rax, [0x180014a30]
mov qword [rsp + 0x80], rax
lea rax, [0x180014a34]
mov qword [rsp + 0x90], rax
mov r8d, dword [rsp + 0xa48]
mov rdx, qword [rsp + 0xa40]
lea rcx, [rsp + 0xd0]
call fcn.180008280
lea rcx, [rsp + 0xd0]
call fcn.1800082d0
mov dword [rsp + 0x40], eax
mov edx, 0x8000
lea rcx, [rsp + 0x68]
call fcn.180003470
cmp dword [rsp + 0x40], 0
jle 0x180005d73
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.1800034b0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.1800062d0
test eax, eax
je 0x180005d97
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x98], rax
jmp 0x180005dd2
call entry0
test eax, eax
je 0x180005db2
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
jmp 0x180005dc2
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x98], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x180005dfa
lea rcx, [rsp + 0x68]
call fcn.180003430
jmp 0x180006054
mov dword [rsp + 0xf0], 0x130
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x180005e35
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x68]
call fcn.180003430
jmp 0x180006054
call fcn.180006060
test eax, eax
je 0x180005e48
mov dword [rsp + 0x44], 0x1000
jmp 0x180005e50
mov dword [rsp + 0x44], 0x400
mov r8d, dword [rsp + 0xf8]
xor edx, edx
mov ecx, dword [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x180005ec7
lea rax, [rsp + 0xa8]
lea rcx, str._nd__td__ts_
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll__strrev
mov ecx, dword [rsp + 0xf8]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x110]
lea r8, [rsp + 0x11c]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.180003500
jmp 0x180005fb5
mov r8d, 0x800
lea rdx, [rsp + 0x220]
mov rcx, qword [rsp + 0x58]
call fcn.180005bc0
test eax, eax
jne 0x180005ef4
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x220], 0
lea rdx, [rsp + 0x48]
mov ecx, dword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x180005f12
mov dword [rsp + 0x48], 0xffffffff
mov rcx, qword [rsp + 0x58]
call fcn.1800062d0
test eax, eax
je 0x180005f32
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xa0], rax
jmp 0x180005f42
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0xb8]
lea rcx, str._nd__ts__ts__td__td__ts_
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_send
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xb8]
call sub.msvcrt.dll__strrev
mov ecx, dword [rsp + 0x48]
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x220]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rsp + 0xf8]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x110]
lea r8, [rsp + 0x11c]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.180003500
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x180005e35
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x40], 0
jne 0x18000601c
lea rcx, [rsp + 0x68]
call fcn.1800034f0
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x68]
call fcn.18000bae0
mov r8d, send
mov ecx, dword [rsp + 0x60]
mov edx, ecx
mov rcx, rax
call qword [rsp + 0xa50]
jmp 0x18000604a
lea rcx, [rsp + 0x68]
call fcn.1800034f0
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0x68]
call fcn.18000bae0
mov r8d, reloc.WS2_32.dll_shutdown
mov ecx, dword [rsp + 0x64]
mov edx, ecx
mov rcx, rax
call qword [rsp + 0xa50]
lea rcx, [rsp + 0x68]
call fcn.180003430
add rsp, 0xa28
pop rdi
pop rsi
ret