Function at 0x140004110
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14004c068]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14000415f
mov rbx, qword [rcx]
mov r14, rbx
add rbx, qword [rcx + 0x10]
jmp 0x140004169
mov r14, rsi
mov rbx, qword [rcx + 0x10]
add rbx, rsi
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov ecx, r15d
mov qword [rsp + 0x48], rcx
mov r8d, 7
mov qword [rsp + 0x50], r8
mov rdx, rbx
sub rdx, r14
cmp rdx, r8
jbe 0x1400041a6
lea rcx, [rsp + 0x38]
call fcn.14000a3f0
mov ecx, r15d
mov qword [rsp + 0x48], rcx
mov r8, qword [rsp + 0x50]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
cmp r14, rbx
je 0x140004215
movzx edi, byte [rsp + 0x20]
nop word [rax + rax]
movsx r9d, byte [r14]
cmp rcx, r8
jae 0x1400041ee
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp r8, 8
cmovae rax, qword [rsp + 0x38]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r15w
jmp 0x140004201
movzx r8d, dil
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.14000a560
inc r14
cmp r14, rbx
je 0x140004215
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
jmp 0x1400041c0
mov dword [rsp + 0x60], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140004284
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140004284
nop
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x74]
call fcn.14001c5bc
test eax, eax
je 0x140004351
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140004250
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400042c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400043e0
call fcn.140012464
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140004314
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000430f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400043e6
mov rcx, r8
call fcn.140012464
xor al, al
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], setsockopt
mov byte [rsi], 0
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140012400
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14000438f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000438a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400043e0
call fcn.140012464
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400043d9
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400043d4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400043e6
mov rcx, r8
call fcn.140012464
mov al, 1
jmp 0x140004316
call fcn.1400187ec
nop
call fcn.1400187ec
int3