Function at 0x14008cf8c
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x70], pe_nt_image_headers64
xor edx, edx
lea ebx, [rdx + 2]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
xor edx, edx
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
or r12, 0xffffffffffffffff
cmp rsi, r12
je 0x14008d230
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x14008d227
mov r15d, eax
lea rdx, [rbp - 0x64]
lea rcx, [rbp + 0xe8]
call fcn.1400109fc
nop
mov rax, qword [r14]
mov rbx, qword [rax]
jmp 0x14008d0e2
lea rdi, [rbx + 0x10]
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140010a98
nop
lea rdx, [rdi + 8]
lea rcx, [rsp + 0x28]
call fcn.140010a98
nop
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x20]
call fcn.1400060f8
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x14008d20f
mov rcx, qword [rbp + 0xe8]
call fcn.140060494
test eax, eax
sete dil
mov rdx, qword [rbp + 0xf0]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14008d095
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x28]
mov eax, r12d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test dil, dil
jne 0x14008d0f4
test eax, eax
jg 0x14008d0bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14008d0dc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rbx]
mov rax, qword [r14]
cmp rbx, rax
mov qword [rbp + 0xf8], rax
jne 0x14008d020
jmp 0x14008d10b
test eax, eax
jg 0x14008d101
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rsp + 0x20]
jmp 0x14008d1b7
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
lea rdx, [0x1400bcee3]
lea rcx, [rsp + 0x30]
call fcn.1400109fc
mov rbx, rax
lea rdx, [rbp + 0xe8]
lea rcx, [rsp + 0x38]
call fcn.140010a98
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140006018
nop
mov rbx, qword [r14]
lea r9, [rsp + 0x40]
mov r8, qword [rbx + 8]
mov rdx, rbx
call fcn.14000f948
mov rcx, rax
mov rdx, qword [r14 + 8]
movabs rax, 0x7fffffffffffffe
sub rax, rdx
cmp rax, 1
jb 0x14008d21a
lea rax, [rdx + 1]
mov qword [r14 + 8], rax
mov qword [rbx + 8], rcx
mov rax, qword [rcx + 8]
mov qword [rax], rcx
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14008d1b2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14008d1d4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp + 0xe8]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14008d1f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x14008d227
jmp 0x14008d004
mov ecx, 0x80004005
call fcn.140010d40
nop
lea rcx, str.list_T__too_long
call fcn.14004ae60
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r15d
add rsp, 0x1a0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret