Function at 0x140014cd0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1400781b0]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140014f17
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140014f0e
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
xor r15d, r15d
nop word [rax + rax]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], r15w
lea rax, [rbp - 0x64]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140014d74
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x48]
call fcn.14001f5f0
nop
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
lea rdi, [rdx + rax*2]
lea rbx, [rsp + 0x48]
cmovae rbx, qword [rsp + 0x48]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], socket
mov rdx, rdi
sub rdx, rbx
sar rdx, 1
lea rcx, [rsp + 0x28]
call fcn.14001d810
nop
cmp rbx, rdi
je 0x140014e30
nop
movzx r9d, byte [rbx]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
cmp rcx, rdx
jae 0x140014e16
lea rax, [rcx + 1]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x28]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x28]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140014e27
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x28]
call fcn.140022530
add rbx, 2
cmp rbx, rdi
jne 0x140014de0
lea rdx, [rsp + 0x28]
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x40]
cmp rdi, 0x10
cmovae rdx, rbx
mov r8, qword [rsi + 0x10]
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140014e58
mov rcx, qword [rsi]
cmp r8, qword [rsp + 0x38]
jne 0x140014e6c
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140014f45
cmp rdi, 0x10
jb 0x140014ea3
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140014e9b
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014fe3
mov rcx, rbx
call fcn.14004dbe0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], socket
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140014ef8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014ef3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014fea
call fcn.14004dbe0
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140014d50
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14004dbc0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140014f8b
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014f86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140014fe3
call fcn.14004dbe0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], socket
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x140014fdc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov r8, rcx
cmp rdx, 0x1000
jb 0x140014fd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140014fea
call fcn.14004dbe0
mov eax, ebx
jmp 0x140014f19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3