Function at 0x180006170
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x2a0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x18016f298]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rsi, rcx
xor r14d, r14d
mov dword [rsp + 0x50], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp rbp, 0xffffffffffffffff
je 0x1800063f5
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x1800063ec
mov r14d, eax
movabs r15, 0x7fffffffffffffe
call fcn.180002650
mov rcx, rax
test rax, rax
je 0x1800063e1
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x7c]
lea rax, [rsp + 0x7c]
test rax, 0xffffffffffff0000
jne 0x180006254
movzx ebx, cx
mov ecx, ebx
call fcn.1800021f0
test rax, rax
je 0x18000627d
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180001f30
jmp 0x18000627d
lea rcx, [rsp + 0x7c]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x180006260
mov r8d, eax
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x20]
call fcn.180001df0
nop
mov rax, qword [rsi]
mov rbx, qword [rax]
mov qword [rsp + 0x40], rax
cmp rbx, rax
je 0x1800062f3
nop dword [rax]
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x38]
call fcn.180005570
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x1800063c9
mov rcx, qword [rsp + 0x20]
call fcn.180115fd4
test eax, eax
sete dil
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1800062da
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test dil, dil
jne 0x180006392
mov rbx, qword [rbx]
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
cmp rbx, rax
jne 0x180006290
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.180001c00
nop
lea rdx, [0x18014e468]
lea rcx, [rsp + 0x30]
call fcn.180001c00
nop
mov rbx, qword [rsi]
lea r9, [rsp + 0x28]
mov r8, qword [rbx + 8]
mov rdx, rbx
call fcn.18000ad20
mov rcx, rax
mov rdx, qword [rsi + 8]
mov rax, r15
sub rax, rdx
cmp rax, 1
jb 0x1800063d4
lea rax, [rdx + 1]
mov qword [rsi + 8], rax
mov qword [rbx + 8], rcx
mov rax, qword [rcx + 8]
mov qword [rax], rcx
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180006372
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180006392
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1800063b1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x1800063ec
jmp 0x180006201
mov ecx, 0x80004005
call fcn.180002760
nop
lea rcx, str.list_T__too_long
call fcn.180106c54
nop
mov ecx, 0x80004005
call fcn.180002760
int3
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.180107470
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret