Function at 0x14004c000
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1400a4010]
xor rax, rsp
mov qword [rbp + 0x190], rax
lea rdi, [0x1400a4128]
mov rbx, qword [0x1400a4138]
cmp qword [0x1400a4140], 0x10
jb 0x14004c04f
mov rdi, qword [0x1400a4128]
add rbx, rdi
xor esi, esi
mov qword [rsp + 0x28], rsi
mov ecx, esi
mov qword [rsp + 0x38], rcx
mov r8d, 7
mov qword [rsp + 0x40], r8
mov rdx, rbx
sub rdx, rdi
cmp rdx, r8
jbe 0x14004c08c
lea rcx, [rsp + 0x28]
call fcn.140058640
mov ecx, esi
mov qword [rsp + 0x38], rcx
mov r8, qword [rsp + 0x40]
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
cmp rdi, rbx
je 0x14004c0eb
nop dword [rax + rax]
movsx r9d, byte [rdi]
cmp rcx, r8
jae 0x14004c0cd
lea rax, [rcx + 1]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x28]
cmp r8, 8
cmovae rax, qword [rsp + 0x28]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], si
jmp 0x14004c0d7
lea rcx, [rsp + 0x28]
call fcn.1400587b0
inc rdi
cmp rdi, rbx
je 0x14004c0eb
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
jmp 0x14004c0a0
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
je 0x14004c25a
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rcx, [rsp + 0x7c]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14004c125
lea r10, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae r10, qword [rsp + 0x28]
mov r11, qword [rsp + 0x38]
mov r9, r11
cmp rax, r11
cmovb r9, rax
lea rcx, [rsp + 0x7c]
test r9, r9
je 0x14004c233
movzx edx, word [r10]
movzx r8d, word [rsp + 0x7c]
cmp dx, r8w
jb 0x14004c19b
lea rdi, [rsp + 0x7c]
sub r10, rdi
cmp dx, r8w
ja 0x14004c19b
cmp r9, 1
je 0x14004c233
dec r9
add rcx, 2
movzx edx, word [rcx + r10]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x14004c179
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14004c251
lea rcx, [rsp + 0x7c]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14004c1c0
lea r10, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae r10, qword [rsp + 0x28]
mov r11, qword [rsp + 0x38]
mov r9, r11
cmp rax, r11
cmovb r9, rax
lea rcx, [rsp + 0x7c]
test r9, r9
je 0x14004c233
movzx edx, word [r10]
movzx r8d, word [rsp + 0x7c]
cmp dx, r8w
jb 0x14004c19b
lea rdi, [rsp + 0x7c]
sub r10, rdi
cmp dx, r8w
ja 0x14004c19b
cmp r9, 1
je 0x14004c233
dec r9
add rcx, 2
movzx edx, word [rcx + r10]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x14004c210
jmp 0x14004c19b
cmp r11, rax
jb 0x14004c19b
ja 0x14004c19b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [rsp + 0x58]
jmp 0x14004c25a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14004c29f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c29a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c29a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006cbbc
mov rax, rsi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14006ca20
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret