Function at 0x140024e10
Capabilities:
Execute command
Get common file path
Set console window title
Terminate process

Disassembly:
push rdi
sub rsp, 0x5b0
mov rax, qword [0x140172080]
xor rax, rsp
mov qword [rsp + 0x5a8], rax
lea rcx, [0x14019f900]
call fcn.140025ae0
lea rcx, [0x14019f590]
call fcn.140025ae0
lea rcx, [0x14019f920]
call fcn.140025ae0
lea rcx, [0x14019f510]
call fcn.140025ae0
lea rcx, [0x14019f5e0]
call fcn.140025ae0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x2a8]
lea rcx, [rsp + 0x30]
call fcn.1400255f0
mov rcx, rax
call fcn.140025920
lea r8, [0x14019f410]
mov rdx, rax
lea rcx, [rsp + 0x238]
call fcn.140026680
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea r8, reloc.WLDAP32.dll_Ordinal_32
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x218]
call fcn.140026750
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
lea r8, [0x14019f430]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x468]
call fcn.1400267a0
nop
lea rcx, [rsp + 0x218]
call fcn.140005d80
nop
lea rcx, [rsp + 0x238]
call fcn.140005d80
lea rcx, [rsp + 0x468]
call fcn.140018970
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x31]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x31]
call fcn.140025690
mov rcx, rax
call fcn.140025900
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call fcn.14001ab50
lea rcx, [0x14019f600]
call fcn.1400d4400
lea rcx, [0x1401422fc]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0x448]
call fcn.140005e10
nop
lea rcx, [rsp + 0x428]
call fcn.140005e10
nop
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x32]
call fcn.140025730
mov rcx, rax
call fcn.1400258e0
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.14001ab50
lea rdx, [rsp + 0x448]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.1400267f0
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x33]
call fcn.1400257d0
mov rcx, rax
call fcn.1400258c0
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.14001ab50
lea rdx, [rsp + 0x428]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.1400267f0
lea rax, [rsp + 0x2c8]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x428]
mov rcx, qword [rsp + 0x98]
call fcn.140018ae0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x2e8]
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0x448]
mov rcx, qword [rsp + 0xb0]
call fcn.140018ae0
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc8], rax
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xc8]
lea rcx, [0x14019f600]
call fcn.1400d6450
movzx eax, byte [0x14019f810]
test eax, eax
je 0x140025498
lea rcx, [0x140142300]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.___________________________________________________________________________n_____________________________________________________________________n_________________________________________________________n_________________________________________V__V_____________n_____________________________________________________n
call fcn.1400240d0
lea rax, [rsp + 0x308]
mov qword [rsp + 0xd0], rax
lea rdx, str.cs2.exe
mov rcx, qword [rsp + 0xd0]
call fcn.140005db0
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [0x14019d720]
call fcn.140024330
mov dword [rsp + 0x3c], eax
lea rax, [rsp + 0x490]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x1400251e6
lea rdx, str._Info__Error:_2.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14001ab50
mov qword [rsp + 0xe0], rax
lea rdx, [0x14001af30]
mov rcx, qword [rsp + 0xe0]
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 0x140025505
lea rdx, [rsp + 0x490]
lea rcx, [0x1401a0ac8]
call fcn.140018990
lea rdx, str.Secret
lea rcx, [0x1401a0ac8]
call fcn.140025b90
lea r8, str.Sounds
lea rdx, [0x1401a0ac8]
lea rcx, [rsp + 0x258]
call fcn.140023350
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
lea rcx, [0x1401a0a68]
call fcn.14001a090
lea rcx, [rsp + 0x258]
call fcn.140005d80
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 1
je 0x140025273
cmp dword [rsp + 0x38], 2
je 0x1400252a8
cmp dword [rsp + 0x38], 3
je 0x1400252dd
jmp 0x140025312
lea rdx, str._ERROR__Launch_the_game_First.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001ab50
mov qword [rsp + 0xf0], rax
lea rdx, [0x14001af30]
mov rcx, qword [rsp + 0xf0]
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 0x140025505
lea rdx, str._ERROR__Run_as_Admin.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001ab50
mov qword [rsp + 0xf8], rax
lea rdx, [0x14001af30]
mov rcx, qword [rsp + 0xf8]
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 0x140025505
lea rdx, str._ERROR__Failed_to_inject.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001ab50
mov qword [rsp + 0x100], rax
lea rdx, [0x14001af30]
mov rcx, qword [rsp + 0x100]
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 0x140025505
call fcn.140027700
movzx eax, al
test eax, eax
jne 0x140025353
lea rdx, str._ERROR__Offsets_Error.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001ab50
mov qword [rsp + 0x108], rax
lea rdx, [0x14001af30]
mov rcx, qword [rsp + 0x108]
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 0x140025505
lea rcx, [0x1401a0920]
call fcn.140023d40
movzx eax, al
test eax, eax
jne 0x14002539b
lea rdx, str._ERROR__Failed_inject.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14001ab50
mov qword [rsp + 0x110], rax
lea rdx, [0x14001af30]
mov rcx, qword [rsp + 0x110]
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 0x140025505
lea rax, [rsp + 0x3a8]
mov qword [rsp + 0x118], rax
lea rdx, [0x140016540]
mov rcx, qword [rsp + 0x118]
call fcn.140026b40
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x328]
mov qword [rsp + 0x130], rax
lea rdx, [0x140142540]
mov rcx, qword [rsp + 0x130]
call fcn.140005db0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x348]
mov qword [rsp + 0x148], rax
lea rdx, str.Counter_Strike_2
mov rcx, qword [rsp + 0x148]
call fcn.140005db0
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x168], rax
mov r9, qword [rsp + 0x158]
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0x168]
mov rcx, qword [0x1401a09b8]
call fcn.1400c2f80
nop
jmp 0x140025496
jmp 0x140025505
movzx eax, byte [0x14019f810]
test eax, eax
jne 0x140025505
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x34]
call fcn.140025870
mov rcx, rax
call fcn.1400258a0
mov qword [rsp + 0x1e8], rax
mov rdx, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x1f0]
call fcn.14001ab50
mov ecx, 0x539
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea rdx, [0x14001af30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x428]
call fcn.140005d80
nop
lea rcx, [rsp + 0x448]
call fcn.140005d80
nop
lea rcx, [rsp + 0x468]
call fcn.140005d80
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x5a8]
xor rcx, rsp
call fcn.14012a070
add rsp, 0x5b0
pop rdi
ret