Function at 0x14006a7c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x280
mov rsi, rcx
mov dword [rsp + 0x40], 0x238
mov ecx, 2
xor edx, edx
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14006a839
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Could_not_create_process_snapshot:
call fcn.140055ba0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140055d80]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
jmp 0x14006a97c
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x290], rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14006a968
cmp qword [rsi + 0x18], 0xf
jbe 0x14006a86a
mov r9, qword [rsi]
mov r8, r9
add r9, qword [rsi + 0x10]
jmp 0x14006a874
mov r9, qword [rsi + 0x10]
mov r8, rsi
add r9, rsi
mov qword [rsp + 0x38], rbp
xorps xmm0, xmm0
mov rdx, rbp
mov qword [rsp + 0x30], rdx
movups xmmword [rsp + 0x20], xmm0
cmp r8, r9
jne 0x14006a89f
mov edi, 7
mov word [rsp + 0x20], bp
mov qword [rsp + 0x38], rdi
jmp 0x14006a8b9
sub r9, r8
lea rcx, [rsp + 0x20]
mov rdx, r8
call fcn.14006f0f0
mov rdx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
lea rcx, [rsp + 0x6c]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bp
jne 0x14006a8c5
mov rbx, qword [rsp + 0x20]
lea r8, [rsp + 0x20]
cmp rdi, 7
cmova r8, rbx
cmp rdx, rax
jne 0x14006a996
lea rax, [rsp + 0x6c]
test rdx, rdx
je 0x14006a918
lea rcx, [rsp + 0x6c]
sub r8, rcx
nop dword [rax + rax]
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x14006a996
add rax, 2
sub rdx, 1
jne 0x14006a900
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
cmp rdi, 7
jbe 0x14006a968
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14006a960
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006a9e5
mov rcx, rbx
call fcn.1400c36f8
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x290]
mov rax, rbp
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
cmp rdi, 7
jbe 0x14006a9cd
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14006a9c5
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006a9e5
mov rcx, rbx
call fcn.1400c36f8
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14006a857
jmp 0x14006a968
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3