Function at 0x140003600
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov rax, qword [0x14002b028]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov rdi, rdx
mov qword [rsp + 0x58], rdx
xor esi, esi
mov r14d, esi
mov dword [rsp + 0x20], esi
mov r13d, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x28], rax
mov dword [rbp + 0xb0], 0x238
lea rdx, [rbp + 0xb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea r12, 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 r15, [0x140023b78]
lea rdx, [rbp + 0xdc]
lea rcx, [rbp - 0x60]
call fcn.14000c480
nop
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x38]
call fcn.14000c5d0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140001b30
nop
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x40], r15
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 1
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x40]
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 - 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x40], rbx
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp - 0x38], r12
mov qword [rbp + 0x30], rsi
mov dword [rbp + 0x38], 4
mov edx, dword [rbp + 0xb8]
lea rcx, [rbp - 0x40]
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 + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov esi, 0xf
mov qword [rsp + 0x78], rsi
mov byte [rsp + 0x60], 0
or r14d, 4
mov dword [rsp + 0x20], r14d
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rax
mov ecx, dword [rbp + 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14000379b
mov rbx, qword [rbp + 8]
mov rbx, qword [rbx]
test rbx, rbx
je 0x14000379b
mov rax, qword [rbp - 0x18]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x30]
cmovb rbx, qword [rbp + 0x30]
sub rbx, r9
jmp 0x1400037c0
test cl, 4
jne 0x1400037f1
mov rax, qword [rbp]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400037f1
mov rax, qword [rbp - 0x20]
mov r9, qword [rax]
mov rax, qword [rbp + 0x18]
movsxd rbx, dword [rax]
sub rbx, r9
add rbx, rcx
mov rax, r9
test rax, rax
je 0x1400037f1
lea rcx, [rsp + 0x60]
cmp rbx, rsi
ja 0x1400037e4
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x60], 0
jmp 0x1400037ec
mov rdx, rbx
call fcn.140001470
mov rsi, qword [rsp + 0x78]
and r14d, 0xfffffffb
or r14d, 2
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140003806
mov rdx, qword [rdi]
lea rcx, [rbp - 0x80]
mov r15, qword [rbp - 0x68]
cmp r15, 0x10
setae r12b
mov rbx, qword [rbp - 0x80]
cmovae rcx, rbx
mov r8, qword [rbp - 0x70]
cmp r8, qword [rdi + 0x10]
jne 0x140003835
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140003835
mov cl, 1
jmp 0x140003837
xor cl, cl
lea eax, [r13 + 1]
test cl, cl
cmove eax, r13d
mov r13d, eax
cmp rsi, 0x10
jb 0x14000387e
lea rdx, [rsi + 1]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003878
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003951
call fcn.14001e2dc
nop
mov rax, qword [rbp - 0x40]
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 - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x38]
call fcn.14000b290
lea rcx, [rbp - 0x30]
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 + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
test r12b, r12b
je 0x1400038f5
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400038ec
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003958
mov rcx, rbx
call fcn.14001e2dc
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140003931
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000392c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000395f
call fcn.14001e2dc
lea rdx, [rbp + 0xb0]
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140003966
xor esi, esi
jmp 0x140003676
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
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400039a6
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400039a1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400039ec
mov rcx, r8
call fcn.14001e2dc
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov eax, r13d
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.14001e280
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3