Function at 0x1400569a0
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 [0x140078010]
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 0x1400569eb
mov r8, qword [rdx]
mov rdx, r8
add r8, qword [rdi]
jmp 0x1400569f1
mov r8, qword [rdi]
add r8, rbx
lea rcx, [rsp + 0x28]
call fcn.140050c60
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 0x140056a61
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140056b38
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056b32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056c63
jmp 0x140056b32
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 0x140056a80
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 0x140056ada
lea rax, [rsp + 0x7c]
sub r9, rax
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x140056bb1
add rdx, 2
sub r8, 1
jne 0x140056ac2
cmp rsi, rcx
jb 0x140056bb1
ja 0x140056bb1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x58]
cmp r15, 8
mov dword [0x14007a8e0], eax
jb 0x140056b38
lea rdx, [r15*2 + 2]
cmp rdx, 0x1000
mov rax, rbp
jb 0x140056b2f
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056c63
mov rcx, rbp
call fcn.1400582d0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140056b72
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140056b6d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140056c6a
mov rcx, r8
call fcn.1400582d0
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rdi], 0
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400582b0
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 0x140056c1f
lea rcx, [rsp + 0x7c]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140056bd0
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 0x140056c17
lea rcx, [rsp + 0x7c]
sub r9, rcx
movzx ecx, word [r9 + rdx]
cmp cx, word [rdx]
jne 0x140056bb1
add rdx, 2
sub r8, 1
jne 0x140056c03
cmp rsi, rax
jmp 0x140056add
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r15, 8
jb 0x140056b38
lea rdx, [r15*2 + 2]
mov rax, rbp
cmp rdx, 0x1000
jb 0x140056b2f
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140056b2f
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