Function at 0x1400584b0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x2a0
mov rax, qword [0x14007a010]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbx, rdx
mov qword [rsp + 0x20], rdx
lea rdi, [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400584fb
mov r8, qword [rdx]
mov rdx, r8
add r8, qword [rdi]
jmp 0x140058501
mov r8, qword [rdi]
add r8, rbx
lea rcx, [rsp + 0x28]
call fcn.1400522c0
mov dword [rsp + 0x50], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140058571
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140058648
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058642
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058773
jmp 0x140058642
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rax, [rsp + 0x7c]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140058590
mov rsi, qword [rsp + 0x38]
lea r9, [rsp + 0x28]
mov rbp, qword [rsp + 0x28]
mov r15, qword [rsp + 0x40]
cmp r15, 8
cmovae r9, rbp
mov r8, rsi
cmp rcx, rsi
cmovb r8, rcx
lea rdx, [rsp + 0x7c]
test r8, r8
je 0x1400585ea
lea rax, [rsp + 0x7c]
sub r9, rax
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x1400586c1
add rdx, 2
sub r8, 1
jne 0x1400585d2
cmp rsi, rcx
jb 0x1400586c1
ja 0x1400586c1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x58]
cmp r15, 8
mov dword [0x14007c8f0], eax
jb 0x140058648
lea rdx, [r15*2 + 2]
cmp rdx, 0x1000
mov rax, rbp
jb 0x14005863f
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058773
mov rcx, rbp
call fcn.14005a350
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140058682
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14005867d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005877a
mov rcx, r8
call fcn.14005a350
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rdi], 0
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14005a330
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14005872f
lea rcx, [rsp + 0x7c]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400586e0
lea r9, [rsp + 0x28]
cmp r15, 8
cmovae r9, rbp
mov r8, rsi
cmp rax, rsi
cmovb r8, rax
lea rdx, [rsp + 0x7c]
test r8, r8
je 0x140058727
lea rcx, [rsp + 0x7c]
sub r9, rcx
movzx ecx, word [r9 + rdx]
cmp cx, word [rdx]
jne 0x1400586c1
add rdx, 2
sub r8, 1
jne 0x140058713
cmp rsi, rax
jmp 0x1400585ed
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r15, 8
jb 0x140058648
lea rdx, [r15*2 + 2]
mov rax, rbp
cmp rdx, 0x1000
jb 0x14005863f
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005863f
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