Function at 0x140061c20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x320
mov rax, qword [0x1400ab010]
xor rax, rsp
mov qword [rsp + 0x310], rax
call fcn.140059ef0
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0xd0], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xd0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140061cbf
lea rbx, [0x14009bad0]
nop
mov rcx, r14
lea rdx, [rsp + 0xfc]
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [rbx + rcx*2 - 2]
jne 0x140061d50
cmp rcx, 8
jne 0x140061ca0
mov esi, dword [rsp + 0xd8]
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov ecx, esi
call fcn.1400594f0
mov rdx, rax
mov rcx, rbx
call fcn.140059260
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov r8d, 7
lea rdx, str.cs2.exe
lea rcx, [rsp + 0x20]
call fcn.14004e480
lea rdx, [rsp + 0x20]
call fcn.140050a70
mov ebx, eax
test eax, eax
je 0x140061d6e
lea rdx, str._ERROR__Failed_to_attach_process__StatusCode:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400645c0
mov edx, ebx
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___int____ptr64]
lea rdx, [0x140064790]
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 0x140061e23
lea rdx, [rsp + 0xd0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140061cbf
jmp 0x140061c90
lea rax, [rsp + 0x88]
mov qword [rsp + 0x48], rax
lea rax, vtable.std::_Func_impl_no_alloc_int____cdecl___void___void___.0
mov qword [rsp + 0x88], rax
lea rax, [0x1400610c0]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
xor r8d, r8d
lea rdx, [0x140075f8e]
lea rcx, [rsp + 0x20]
call fcn.14004e480
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov r8d, 0x10
lea rdx, str.Counter_Strike_2
lea rcx, [rsp + 0x50]
call fcn.14004e480
nop
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
call fcn.14004ef70
nop
jmp 0x140061e23
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.140070520
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret