Function at 0x140002ff0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x310]
sub rsp, 0x410
mov rax, qword [0x14002b028]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov rdi, r8
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x68], r8
mov r14d, 1
mov dword [rsp + 0x20], r14d
lea rdx, [0x140022848]
call fcn.140001310
nop
mov dword [rsp + 0x20], r14d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
mov dword [rbp + 0xc0], 0x238
lea rdx, [rbp + 0xc0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea r15, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rbx, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea rsi, [0x140023b78]
lea rdx, [rbp + 0xec]
lea rcx, [rbp - 0x70]
call fcn.14000c480
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000c5d0
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140001b30
nop
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x30], rsi
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 2
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x30], rbx
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp - 0x28], r15
mov qword [rbp + 0x40], 0
mov dword [rbp + 0x48], 4
mov edx, dword [rbp + 0xc8]
lea rcx, [rbp - 0x30]
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]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xor r12d, r12d
mov qword [rbp - 0x80], r12
mov esi, 0xf
mov qword [rbp - 0x78], rsi
mov byte [rsp + 0x70], r12b
or r14d, 8
mov dword [rsp + 0x20], r14d
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
mov ecx, dword [rbp + 0x48]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400031a3
mov rbx, qword [rbp + 0x18]
mov rbx, qword [rbx]
test rbx, rbx
je 0x1400031a3
mov rax, qword [rbp - 8]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x40]
cmovb rbx, qword [rbp + 0x40]
sub rbx, r9
jmp 0x1400031c8
test cl, 4
jne 0x140003200
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax]
test rcx, rcx
je 0x140003200
mov rax, qword [rbp - 0x10]
mov r9, qword [rax]
mov rax, qword [rbp + 0x28]
movsxd rbx, dword [rax]
sub rbx, r9
add rbx, rcx
mov rax, r9
test rax, rax
je 0x140003200
lea rcx, [rsp + 0x70]
cmp rbx, rsi
ja 0x1400031f0
mov qword [rbp - 0x80], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x70], r12b
jmp 0x1400031f8
mov rdx, rbx
call fcn.140001470
mov r12, qword [rbp - 0x80]
mov rsi, qword [rbp - 0x78]
and r14d, 0xfffffff7
or r14d, 4
mov dword [rsp + 0x20], r14d
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000321a
mov rdx, qword [rdi]
lea rcx, [rbp - 0x50]
mov r15, qword [rbp - 0x38]
cmp r15, 0x10
setae r13b
mov rbx, qword [rbp - 0x50]
cmovae rcx, rbx
mov r8, qword [rbp - 0x40]
cmp r8, qword [rdi + 0x10]
jne 0x140003249
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400033e1
cmp rsi, 0x10
jb 0x140003283
lea rdx, [rsi + 1]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000327d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003581
call fcn.14001e2dc
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x28]
call fcn.14000b290
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
test r13b, r13b
je 0x1400032fe
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400032f5
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003588
mov rcx, rbx
call fcn.14001e2dc
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14000333e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003339
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000358f
call fcn.14001e2dc
lea rdx, [rbp + 0xc0]
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003079
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000339f
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000339a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003596
mov rcx, r8
call fcn.14001e2dc
mov rax, qword [rsp + 0x30]
mov byte [rdi], 0
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], 0
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.14001e280
mov rbx, qword [rsp + 0x458]
add rsp, 0x410
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rax, [rsp + 0x70]
mov r13, qword [rsp + 0x30]
cmp r13, rax
je 0x14000343d
lea r9, [rsp + 0x70]
cmp rsi, 0x10
cmovae r9, qword [rsp + 0x70]
mov rax, qword [r13 + 0x18]
cmp r12, rax
ja 0x14000342e
mov r14, r13
cmp rax, 0x10
jb 0x140003415
mov r14, qword [r13]
mov qword [r13 + 0x10], r12
mov r8, r12
mov rdx, r9
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov byte [r12 + r14], 0
jmp 0x14000343d
mov rdx, r12
mov rcx, r13
call fcn.140001470
mov rsi, qword [rbp - 0x78]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp rsi, 0x10
jb 0x140003483
lea rdx, [rsi + 1]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000347d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003581
call fcn.14001e2dc
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x28]
call fcn.14000b290
lea rcx, [rbp - 0x20]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
cmp r15, 0x10
jb 0x1400034ff
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400034f6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003588
mov rcx, rbx
call fcn.14001e2dc
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14000353c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003536
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000358f
call fcn.14001e2dc
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140003572
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000356d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000357a
mov rcx, r8
call fcn.14001e2dc
mov rax, r13
jmp 0x1400033a4
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]
nop
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]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3