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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x200
mov rax, qword [0x140074010]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
xor r15d, r15d
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea r8d, [r15 + 7]
lea rdx, str.cs2.exe
lea rcx, [rsp + 0x30]
call fcn.140003470
lea rdx, [rsp + 0x30]
call fcn.140004b40
mov r14d, eax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jne 0x140005d95
lea rax, [rsp + 0xe0]
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [rax + rdi], r15b
jne 0x140005980
mov rax, qword [0x14007e1e0]
lea rsi, [0x14007e1c8]
cmp rdi, rax
ja 0x1400059cb
mov rbx, rsi
cmp rax, 0x10
cmovae rbx, qword [0x14007e1c8]
mov qword [0x14007e1d8], rdi
mov r8, rdi
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], r15b
jmp 0x1400059de
lea r9, [rsp + 0xe0]
mov rdx, rdi
mov rcx, rsi
call fcn.1400040d0
mov r8d, 4
lea rdx, str.HUY
mov rcx, rsi
call fcn.140006160
mov rdi, qword [0x14007e1d8]
mov rbx, rsi
cmp qword [0x14007e1e0], 0x10
cmovae rbx, qword [0x14007e1c8]
call fcn.1400583d8
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140004f00
nop
lea rcx, [rsp + 0x70]
call fcn.140005800
movzx ebx, al
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x140005a83
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005a7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058e9c
test bl, bl
jne 0x140005b52
mov rdi, qword [0x14007e1d8]
mov rbx, rsi
cmp qword [0x14007e1e0], 0x10
cmovae rbx, qword [0x14007e1c8]
call fcn.1400583d8
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140004f00
nop
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call fcn.140058514
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x140005dd2
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140005b30
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005b2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058e9c
test bl, bl
je 0x140005b3d
lea rdx, str._Success__Config_directory_created:
jmp 0x140005b59
lea rdx, str._Error__Could_not_create_the_config_directory.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140006370
jmp 0x140005b87
lea rdx, str._Success__Config_directory_already_exists:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006370
cmp qword [0x14007e1e0], 0x10
cmovae rsi, qword [0x14007e1c8]
mov r8, qword [0x14007e1d8]
mov rdx, rsi
mov rcx, rax
call fcn.140006d20
lea rdx, [0x140006540]
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]
test r14d, r14d
je 0x140005bd0
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.140006370
mov edx, r14d
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, [0x140006540]
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 0x140005d95
call fcn.1400071b0
test al, al
jne 0x140005bee
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]
call fcn.140006370
jmp 0x140005bbb
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov r8d, 0xa
lea rdx, str.client.dll
lea rcx, [rsp + 0x30]
call fcn.140003470
lea rdx, [rsp + 0x30]
call fcn.140004210
mov rdx, rax
mov qword [0x14007e0b0], rax
mov ecx, dword [0x14007d38c]
add rcx, rax
mov qword [0x14007e0b8], rcx
mov ecx, dword [0x14007d390]
add rcx, rax
mov qword [0x14007e0c0], rcx
mov ecx, dword [0x14007d388]
add rcx, rax
mov qword [0x14007e0c8], rcx
mov ecx, dword [0x14007d3a0]
add rcx, rax
mov qword [0x14007e0d8], rcx
mov ecx, dword [0x14007d39c]
add rcx, rax
mov qword [0x14007e0e0], rcx
mov eax, dword [0x14007d398]
add rax, rdx
mov qword [0x14007e0e8], rax
mov eax, dword [0x14007d394]
add rax, rdx
mov qword [0x14007e0f0], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test rdx, rdx
jne 0x140005cba
lea rdx, str._ERROR__Failed_to_call_InitAddress__.
call fcn.140006370
jmp 0x140005bbb
lea rdx, str._Success__Running...
call fcn.140006370
lea rdx, [0x140006540]
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 + 0xa0]
mov qword [rsp + 0x50], rax
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov qword [rsp + 0xa0], rax
lea rax, [0x140055140]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0xd8], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x90], rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
mov r8d, 7
lea rdx, str.SDL_app
lea rcx, [rsp + 0x30]
call fcn.140003470
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x88], r15
mov r8d, 0x10
lea rdx, str.Counter_Strike_2
lea rcx, [rsp + 0x70]
call fcn.140003470
nop
lea r9, [rsp + 0xa0]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x70]
call fcn.140052a80
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 + 0x1f0]
xor rcx, rsp
call fcn.140058a00
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
shr rbx, 0x20
lea r8, [rsp + 0x30]
mov edx, ebx
lea rcx, str.create_directory
call fcn.140005790
int3