Function at 0x14006fe10
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140232f80]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, rcx
xor r12d, r12d
mov esi, r12d
mov dword [rsp + 0x20], r12d
xor r15b, r15b
mov dword [rbp + 0x60], 0x130
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
lea rdx, [rbp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140070113
lea r13, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
lea rbx, [0x1401eed48]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x60], rbx
lea rax, [0x1401ef258]
mov qword [rsp + 0x70], rax
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
or esi, 1
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r13
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x20], r12
mov dword [rbp - 0x18], r12d
lea rdx, [rbp + 0x8c]
lea rcx, [rsp + 0x70]
call fcn.1400800b0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov r8, r12
mov qword [rsp + 0x38], r12
mov r10d, 7
mov qword [rsp + 0x40], r10
mov word [rsp + 0x28], r12w
or esi, 4
mov dword [rsp + 0x20], esi
mov ecx, dword [rbp - 0x18]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14006ff7d
mov rax, qword [rbp - 0x48]
mov rdx, qword [rax]
test rdx, rdx
je 0x14006ff7d
mov rax, qword [rbp - 0x68]
mov r9, qword [rax]
cmp rdx, qword [rbp - 0x20]
cmovb rdx, qword [rbp - 0x20]
jmp 0x14006ffa0
test cl, 4
jne 0x14006ffe3
mov rax, qword [rbp - 0x50]
mov rdx, qword [rax]
test rdx, rdx
je 0x14006ffe3
mov rax, qword [rbp - 0x70]
mov r9, qword [rax]
mov rax, qword [rbp - 0x38]
movsxd rcx, dword [rax]
lea rdx, [rdx + rcx*2]
sub rdx, r9
mov rax, r9
sar rdx, 1
test rax, rax
je 0x14006ffe3
lea rcx, [rsp + 0x28]
cmp rdx, r10
ja 0x14006ffd4
mov qword [rsp + 0x38], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + rbx + 0x28], r12w
jmp 0x14006ffd9
call fcn.1400814f0
mov r8, qword [rsp + 0x38]
mov r10, qword [rsp + 0x40]
and esi, 0xfffffffb
or esi, 2
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], 0
jne 0x14006fff0
lea rdx, [rsp + 0x28]
cmp r10, 8
setae r11b
mov r9, qword [rsp + 0x28]
cmovae rdx, r9
cmp r8, rax
jne 0x140070037
mov rax, rdi
test r8, r8
je 0x140070033
sub rdx, rdi
movzx ecx, word [rax + rdx]
cmp cx, word [rax]
jne 0x140070037
add rax, 2
sub r8, 1
jne 0x140070020
mov bl, 1
jmp 0x140070039
xor bl, bl
test r11b, r11b
je 0x14007006f
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140070067
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400700c8
mov rcx, r9
call fcn.14012065c
test bl, bl
jne 0x1400700cf
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r13
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x78]
call fcn.14007e150
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rdx, [rbp + 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x140070113
jmp 0x14006fe8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r15b, 1
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r13
mov rcx, qword [rsp + 0x60]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x5c], r8d
lea rcx, [rsp + 0x78]
call fcn.14007e150
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, r15b
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140120290
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret