Function at 0x140027ff0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x2e0], rbx
xor r13b, r13b
mov dword [rsp + 0x50], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400282cd
lea rdx, [rsp + 0x50]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x1400282c4
mov edx, 0xa4
lea rcx, [rsp + 0x20]
call fcn.1400244d0
nop
cmp qword [rax + 0x18], 8
jb 0x14002806e
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x1d8]
call fcn.1400282f0
nop
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x14002809b
inc r8
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.1400146a0
mov qword [rsp + 0x38], 7
xor esi, esi
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
or r15, 0xffffffffffffffff
lea r14d, [rsi + 1]
call fcn.14000bcc0
test rax, rax
je 0x1400282b9
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rbp + 0x1d0], rbx
lea rcx, [rsp + 0x7c]
lea rax, [rsp + 0x7c]
test rax, 0xffffffffffff0000
jne 0x14002811f
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.14000b6e0
test rax, rax
je 0x14002821c
mov r8d, edi
mov rdx, rax
lea rcx, [rbp + 0x1d0]
call fcn.14000bf00
mov rbx, qword [rbp + 0x1d0]
jmp 0x14002821c
lea rax, [rsp + 0x7c]
mov rdi, r15
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140028130
test edi, edi
jne 0x140028199
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14002821c
cmp dword [rdx + 0x10], 0
jge 0x14002816a
cmp dword [rbx - 0xc], 0
jl 0x14002826b
mov dword [rbx - 0x10], esi
mov word [rbx], si
jmp 0x14002821c
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140028180
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rbp + 0x1d0], rbx
jmp 0x14002821c
mov r14d, dword [rbx - 0x10]
lea rsi, [rsp + 0x7c]
sub rsi, rbx
sar rsi, 1
test edi, edi
js 0x1400282ae
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400281d6
mov edx, edi
lea rcx, [rbp + 0x1d0]
call fcn.14000c030
mov rbx, qword [rbp + 0x1d0]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
cmp rsi, r14
ja 0x1400281f0
lea r8, [rbx + rsi*2]
mov r9d, edi
call fcn.1400143c0
jmp 0x140028203
movsxd r9, edi
add r9, r9
add rdx, rdx
lea r8, [rsp + 0x7c]
call fcn.1400283a0
cmp edi, dword [rbx - 0xc]
jg 0x1400282a3
mov dword [rbx - 0x10], edi
movsxd rax, edi
xor esi, esi
mov word [rbx + rax*2], si
lea r14d, [rsi + 1]
mov rdx, qword [rbp + 0x1d8]
test rdx, rdx
je 0x140028298
mov rcx, rbx
call fcn.1400e8ae8
movzx r13d, r13b
test eax, eax
cmove r13d, r14d
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140028254
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rsp + 0x50]
mov rcx, r12
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x140028276
jmp 0x1400280b8
mov ecx, 0x80070057
call fcn.14000b790
nop
mov rdx, qword [rbp + 0x1d8]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r15d
sub r15d, 1
jg 0x1400282c4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400282c4
mov ecx, 0x80004005
call fcn.14000b790
nop
mov ecx, 0x80070057
call fcn.14000b790
int3
mov ecx, 0x80070057
call fcn.14000b790
nop
mov ecx, 0x80004005
call fcn.14000b790
nop
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, r13b
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret