Function at 0x14006ad80
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x280
mov rdi, rdx
mov r14, rcx
mov dword [rax + 0x18], 1
xor r15d, r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rax + 0x18], 1
mov dword [rsp + 0x40], 0x238
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x14006ae15
lea rdx, str.Failed_to_create_process_snapshot:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
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]
lea rdx, [0x140055d80]
mov rcx, rax
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]
jmp 0x14006af64
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14006af5a
nop dword [rax + rax]
cmp qword [rdi + 0x18], 0xf
jbe 0x14006ae43
mov r9, qword [rdi]
mov rdx, r9
add r9, qword [rdi + 0x10]
jmp 0x14006ae4d
mov r9, qword [rdi + 0x10]
add r9, rdi
mov rdx, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
cmp rdx, r9
jne 0x14006ae7e
mov rdx, r15
mov qword [rsp + 0x30], rdx
mov esi, 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x20], r15w
jmp 0x14006ae95
sub r9, rdx
lea rcx, [rsp + 0x20]
call fcn.14006f0f0
mov rsi, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x6c]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x14006aea1
lea r8, [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
cmp rsi, 7
cmova r8, rbx
cmp rdx, rax
jne 0x14006af0d
lea rax, [rsp + 0x6c]
test rdx, rdx
je 0x14006aee8
lea rcx, [rsp + 0x6c]
sub r8, rcx
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x14006af0d
add rax, 2
sub rdx, 1
jne 0x14006aed4
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x14006aeff
mov eax, dword [rsp + 0x48]
mov dword [rdx], eax
add qword [r14 + 8], 4
jmp 0x14006af0d
lea r8, [rsp + 0x48]
mov rcx, r14
call fcn.14006f240
nop
cmp rsi, 7
jbe 0x14006af44
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14006af3c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006af7e
mov rcx, rbx
call fcn.1400c36f8
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14006ae30
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, r14
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3