Function at 0x14004cdc0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1400a4010]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rsi, rdx
mov qword [rsp + 0x28], rdx
cmp qword [rdx + 0x18], 0x10
jb 0x14004ce09
mov rdi, qword [rdx]
mov rbx, rdi
add rbx, qword [rdx + 0x10]
jmp 0x14004ce13
mov rbx, qword [rdx + 0x10]
add rbx, rsi
mov rdi, rsi
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov ecx, r14d
mov qword [rsp + 0x40], rcx
mov r8d, 7
mov qword [rsp + 0x48], r8
mov rdx, rbx
sub rdx, rdi
cmp rdx, r8
jbe 0x14004ce50
lea rcx, [rsp + 0x30]
call fcn.140058e20
mov ecx, r14d
mov qword [rsp + 0x40], rcx
mov r8, qword [rsp + 0x48]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
cmp rdi, rbx
je 0x14004ceac
nop
movsx r9d, byte [rdi]
cmp rcx, r8
jae 0x14004ce8e
lea rax, [rcx + 1]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp r8, 8
cmovae rax, qword [rsp + 0x30]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r14w
jmp 0x14004ce98
lea rcx, [rsp + 0x30]
call fcn.140058f90
inc rdi
cmp rdi, rbx
je 0x14004ceac
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
jmp 0x14004ce60
mov dword [rsp + 0x50], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14004cf92
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14004cf0e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
cmp rdx, 0x1000
mov rax, rcx
jb 0x14004cf09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004d138
call fcn.14006d39c
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14004cf5c
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14004cf57
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004d13f
mov rcx, r8
call fcn.14006d39c
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14006d200
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rcx, [rsp + 0x7c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14004cfb0
lea r10, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r10, qword [rsp + 0x30]
mov r11, qword [rsp + 0x40]
mov r9, r11
cmp rax, r11
cmovb r9, rax
lea rcx, [rsp + 0x7c]
test r9, r9
je 0x14004d0c3
movzx edx, word [r10]
movzx r8d, word [rsp + 0x7c]
cmp dx, r8w
jb 0x14004d026
lea rdi, [rsp + 0x7c]
sub r10, rdi
cmp dx, r8w
ja 0x14004d026
cmp r9, 1
je 0x14004d0c3
dec r9
add rcx, 2
movzx edx, word [rcx + r10]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x14004d004
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14004d0ea
lea rcx, [rsp + 0x7c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14004d050
lea r10, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae r10, qword [rsp + 0x30]
mov r11, qword [rsp + 0x40]
mov r9, r11
cmp rax, r11
cmovb r9, rax
lea rcx, [rsp + 0x7c]
test r9, r9
je 0x14004d0c3
movzx edx, word [r10]
movzx r8d, word [rsp + 0x7c]
cmp dx, r8w
jb 0x14004d026
lea rdi, [rsp + 0x7c]
sub r10, rdi
cmp dx, r8w
ja 0x14004d026
cmp r9, 1
je 0x14004d0c3
dec r9
add rcx, 2
movzx edx, word [r10 + rcx]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x14004d0a0
jmp 0x14004d026
cmp r11, rax
jb 0x14004d026
ja 0x14004d026
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x58]
mov dword [0x1400a4ebc], eax
jmp 0x14004cecc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14004cf0e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004cf09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004cf09
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