Function at 0x140004260
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 [0x140056070]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
cmp qword [rcx + 0x18], 0x10
jb 0x1400042af
mov rbx, qword [rcx]
mov r14, rbx
add rbx, qword [rcx + 0x10]
jmp 0x1400042b9
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 0x1400042f6
lea rcx, [rsp + 0x38]
call fcn.14000e030
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 0x140004365
movzx edi, byte [rsp + 0x20]
nop word [rax + rax]
movsx r9d, byte [r14]
cmp rcx, r8
jae 0x14000433e
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 0x140004351
movzx r8d, dil
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.14000e1a0
inc r14
cmp r14, rbx
je 0x140004365
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
jmp 0x140004310
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 0x1400043d4
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400043d4
nop
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x74]
call fcn.140020b0c
test eax, eax
je 0x1400044a1
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400043a0
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140004416
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004411
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004530
call fcn.1400169a4
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140004464
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000445f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004536
mov rcx, r8
call fcn.1400169a4
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.140016940
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 0x1400044df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004530
call fcn.1400169a4
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140004529
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140004524
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004536
mov rcx, r8
call fcn.1400169a4
mov al, 1
jmp 0x140004466
call fcn.14001cd3c
nop
call fcn.14001cd3c
int3