Function at 0x140006dd0
Capabilities:
Execute command
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1f0
mov rax, qword [0x140055028]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x30], xmm0
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
lea r8d, [rdi + 7]
lea rdx, str.cs2.exe
lea rcx, [rsp + 0x30]
call fcn.140002b40
lea rdx, [rsp + 0x30]
call fcn.140006a10
mov ebx, eax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x140006e70
lea rdx, str.Error_code:_471.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400070f0
lea rdx, [0x1400072c0]
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 0x140007046
test ebx, ebx
je 0x140006e94
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.1400070f0
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]
jmp 0x140006e5b
call fcn.1400075d0
test al, al
jne 0x140006ead
lea rdx, str._ERROR__Failed_to_update_offsets.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x140006e56
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r8d, 0xa
lea rdx, str.client.dll
lea rcx, [rsp + 0x30]
call fcn.140002b40
lea rdx, [rsp + 0x30]
call fcn.140006800
mov rdx, rax
mov qword [0x14018c040], rax
mov ecx, dword [0x14018b84c]
add rcx, rax
mov qword [0x14018c048], rcx
mov ecx, dword [0x14018b850]
add rcx, rax
mov qword [0x14018c050], rcx
mov ecx, dword [0x14018b848]
add rcx, rax
mov qword [0x14018c058], rcx
mov ecx, dword [0x14018b860]
add rcx, rax
mov qword [0x14018c068], rcx
mov ecx, dword [0x14018b85c]
add rcx, rax
mov qword [0x14018c070], rcx
mov eax, dword [0x14018b858]
add rax, rdx
mov qword [0x14018c078], rax
mov eax, dword [0x14018b854]
add rax, rdx
mov qword [0x14018c080], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test rdx, rdx
jne 0x140006f74
lea rdx, str._ERROR__Failed_to_call_InitAddress__.
jmp 0x140006e56
lea rdx, str.Working....
call fcn.1400070f0
lea rdx, [0x1400072c0]
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]
nop
lea rax, [rsp + 0x90]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov qword [rsp + 0x90], rax
lea rax, [0x140003b70]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x78], rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r8d, 7
lea rdx, str.SDL_app
lea rcx, [rsp + 0x30]
call fcn.140002b40
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], rdi
mov r8d, 0x10
lea rdx, str.Counter_Strike_2
lea rcx, [rsp + 0x58]
call fcn.140002b40
nop
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x58]
call fcn.14003dec0
nop
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14003fcc0
mov rbx, qword [rsp + 0x200]
add rsp, 0x1f0
pop rdi
ret