Function at 0x1400017c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x140020010]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rdi, rcx
mov rdx, 0xffffffffffffffff
mov rax, rdx
inc rax
cmp byte [rcx + rax], 0
jne 0x140001801
lea r15, [rcx + 1]
add r15, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor esi, esi
mov ebx, 7
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbx
cmp rcx, r15
jne 0x140001839
mov word [rsp + 0x20], si
jmp 0x14000193e
mov rax, r15
sub rax, rcx
mov r14, rsi
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x140001a5a
cmp rax, 8
jb 0x1400018f0
mov rbx, rax
or rbx, 7
cmp rbx, rcx
jbe 0x140001870
mov rbx, rcx
jmp 0x14000187c
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
cmovb rcx, rdx
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140001a54
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400018d5
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001a54
mov rcx, rax
call fcn.140016a90
mov rcx, rax
test rax, rax
je 0x140001a17
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400018e4
test rcx, rcx
je 0x1400018e1
call fcn.140016a90
jmp 0x1400018e4
mov rax, rsi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rbx
nop
lea rcx, [rsp + 0x20]
cmp rbx, 8
cmovae rcx, qword [rsp + 0x20]
movsx eax, byte [rdi]
mov word [rcx + r14*2], ax
mov r14, qword [rsp + 0x30]
inc r14
mov qword [rsp + 0x30], r14
inc rdi
cmp rdi, r15
je 0x140001923
mov rbx, qword [rsp + 0x38]
jmp 0x1400018f0
lea rax, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rax, qword [rsp + 0x20]
mov word [rax + r14*2], si
mov rbx, qword [rsp + 0x38]
mov dword [rsp + 0x40], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140001984
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.140014c50
mov rcx, rax
lea rdx, [0x140014e20]
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]
mov rdi, qword [rsp + 0x20]
jmp 0x1400019e8
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov rdi, qword [rsp + 0x20]
test eax, eax
je 0x1400019de
lea r8, [rsp + 0x20]
cmp rbx, 8
cmovae r8, rdi
lea rax, [rsp + 0x6c]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400019c4
add rax, 2
test ecx, ecx
jne 0x1400019b0
test edx, edx
je 0x1400019d8
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x140001997
mov esi, dword [rsp + 0x48]
jmp 0x1400019e8
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp rbx, 8
jb 0x140001a26
lea rdx, [rbx*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001a1e
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140016acc
mov eax, esi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140016a70
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140001180
int3
call fcn.140001220
int3