Function at 0x1400216bc
Capabilities:
Execute command
Get common file path

Disassembly:
push rdi
sub rsp, 0x530
mov dword [rsp + 0x58], 0
lea rax, [rsp + 0x378]
mov qword [rsp + 0x60], rax
lea rdx, str.cs2.exe
mov rcx, qword [rsp + 0x60]
call fcn.14000f5c4
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [section..data]
call fcn.14001510c
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x420]
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 0x14002176c
lea rdx, str.Failed_to_get_the_Documents_folder_path.
lea rcx, [0x1401a9b00]
call fcn.1400096c8
mov qword [rsp + 0x78], rax
lea rax, [0x14000d8c4]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0x80]
nop
jmp 0x140021f15
lea rdx, [rsp + 0x420]
lea rcx, [0x140156040]
call fcn.14001b924
nop
lea rdx, str._CS2_External
lea rcx, [0x140156040]
call fcn.140014254
nop
cmp dword [rsp + 0x38], 0
je 0x1400217f4
lea rdx, str._ERROR__Failed_to_attach_process__StatusCode:
lea rcx, [0x1401a99e0]
call fcn.1400096c8
mov qword [rsp + 0x88], rax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x88]
call fcn.140010c08
mov qword [rsp + 0x90], rax
lea rax, [0x14000d8c4]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0x98]
nop
jmp 0x140021f15
call fcn.14002de94
movzx eax, al
test eax, eax
jne 0x14002183f
lea rdx, str._ERROR__Failed_to_update_offsets.
lea rcx, [0x1401a99e0]
call fcn.1400096c8
mov qword [rsp + 0xa0], rax
lea rax, [0x14000d8c4]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa0]
call qword [rsp + 0xa8]
nop
jmp 0x140021f15
lea rcx, [0x1401a5090]
call fcn.140009298
movzx eax, al
test eax, eax
jne 0x140021891
lea rdx, str._ERROR__Failed_to_call_InitAddress__.
lea rcx, [0x1401a99e0]
call fcn.1400096c8
mov qword [rsp + 0xb0], rax
lea rax, [0x14000d8c4]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0xb8]
nop
jmp 0x140021f15
mov r8d, dword [0x140156010]
lea rdx, str._Game__Pid:_d_n
lea rcx, [rsp + 0x258]
call fcn.140009b80
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [0x1401a99e0]
call fcn.14000966c
nop
lea rcx, [rsp + 0x258]
call fcn.14001b3a0
nop
lea rax, [rsp + 0x258]
mov qword [rsp + 0x210], rax
lea rcx, [0x1401a5090]
call fcn.1400090a0
mov r8, rax
lea rdx, str._Game__Client:_llX_n
lea rcx, [rsp + 0x278]
call fcn.140009ce4
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [0x1401a99e0]
call fcn.14000966c
nop
lea rcx, [rsp + 0x278]
call fcn.14001b3a0
nop
lea rax, [rsp + 0x278]
mov qword [rsp + 0x218], rax
lea rdx, str.Offset:
lea rcx, [0x1401a99e0]
call fcn.1400096c8
mov qword [rsp + 0xe0], rax
lea rax, [0x14000d8c4]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe0]
call qword [rsp + 0xe8]
nop
mov r8d, dword [0x1401a62c4]
lea rdx, str.__EntityList:_llX_n
lea rcx, [rsp + 0x298]
call fcn.140009b80
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
lea rcx, [0x1401a99e0]
call fcn.14000966c
nop
lea rcx, [rsp + 0x298]
call fcn.14001b3a0
nop
lea rax, [rsp + 0x298]
mov qword [rsp + 0x220], rax
mov r8d, dword [0x1401a62f4]
lea rdx, str.__Matrix:_llX_n
lea rcx, [rsp + 0x2b8]
call fcn.140009b80
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x108]
lea rcx, [0x1401a99e0]
call fcn.14000966c
nop
lea rcx, [rsp + 0x2b8]
call fcn.14001b3a0
nop
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x228], rax
mov r8d, dword [0x1401a62dc]
lea rdx, str.__LocalPlayerController:_llX_n
lea rcx, [rsp + 0x2d8]
call fcn.140009b80
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov rdx, qword [rsp + 0x118]
lea rcx, [0x1401a99e0]
call fcn.14000966c
nop
lea rcx, [rsp + 0x2d8]
call fcn.14001b3a0
nop
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x230], rax
mov r8d, dword [0x1401a62f4]
lea rdx, str.__ViewAngles:_llX_n
lea rcx, [rsp + 0x2f8]
call fcn.140009b80
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x128]
lea rcx, [0x1401a99e0]
call fcn.14000966c
nop
lea rcx, [rsp + 0x2f8]
call fcn.14001b3a0
nop
lea rax, [rsp + 0x2f8]
mov qword [rsp + 0x238], rax
mov r8d, dword [0x1401a62e0]
lea rdx, str.__LocalPlayerPawn:_llX_n
lea rcx, [rsp + 0x318]
call fcn.140009b80
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
lea rcx, [0x1401a99e0]
call fcn.14000966c
nop
lea rcx, [rsp + 0x318]
call fcn.14001b3a0
nop
lea rax, [rsp + 0x318]
mov qword [rsp + 0x240], rax
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x338]
mov r8b, byte [rsp + 0x30]
lea rdx, [0x140156040]
mov rcx, rax
call fcn.14000ab44
nop
lea rcx, [rsp + 0x338]
call fcn.14001d488
mov byte [rsp + 0x31], al
lea rax, [rsp + 0x338]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140002e44
nop
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x248], rax
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x140021c58
lea rdx, str.Config_folder_connected:
lea rcx, [0x1401a99e0]
call fcn.1400096c8
lea rdx, [0x140156040]
mov rcx, rax
call fcn.14000966c
mov qword [rsp + 0x140], rax
lea rax, [0x14000d8c4]
mov qword [rsp + 0x148], rax
mov rcx, qword [rsp + 0x140]
call qword [rsp + 0x148]
nop
jmp 0x140021d4f
lea rax, [rsp + 0x32]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x358]
mov r8b, byte [rsp + 0x32]
lea rdx, [0x140156040]
mov rcx, rax
call fcn.14000ab44
nop
lea rcx, [rsp + 0x358]
call fcn.14001bdd0
mov byte [rsp + 0x33], al
lea rax, [rsp + 0x358]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140002e44
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x250], rax
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x140021d10
lea rdx, str.Config_folder_created:
lea rcx, [0x1401a99e0]
call fcn.1400096c8
lea rdx, [0x140156040]
mov rcx, rax
call fcn.14000966c
mov qword [rsp + 0x150], rax
lea rax, [0x14000d8c4]
mov qword [rsp + 0x158], rax
mov rcx, qword [rsp + 0x150]
call qword [rsp + 0x158]
nop
jmp 0x140021d4f
lea rdx, str.Failed_to_create_the_config_directory.
lea rcx, [0x1401a9b00]
call fcn.1400096c8
mov qword [rsp + 0x160], rax
lea rax, [0x14000d8c4]
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x160]
call qword [rsp + 0x168]
nop
jmp 0x140021f15
lea rdx, str.Runing...
lea rcx, [0x1401a99e0]
call fcn.1400096c8
mov qword [rsp + 0x170], rax
lea rax, [0x14000d8c4]
mov qword [rsp + 0x178], rax
mov rcx, qword [rsp + 0x170]
call qword [rsp + 0x178]
nop
movzx eax, byte [0x1401a6304]
test eax, eax
jne 0x140021dd4
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x200]
call fcn.14000d2f4
nop
lea rcx, [rsp + 0x200]
call fcn.14001beec
nop
lea rcx, [rsp + 0x200]
call fcn.140010b34
nop
lea rax, [rsp + 0x3d8]
mov qword [rsp + 0x40], rax
lea rax, [0x140006a70]
mov qword [rsp + 0x180], rax
mov eax, 8
imul rax, rax, 7
mov rcx, qword [rsp + 0x40]
mov qword [rcx + rax], 0
mov rdx, qword [rsp + 0x180]
mov rcx, qword [rsp + 0x40]
call fcn.14000d278
nop
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1d0], rax
lea rax, [rsp + 0x398]
mov qword [rsp + 0x1a0], rax
lea rdx, str.SDL_app
mov rcx, qword [rsp + 0x1a0]
call fcn.14000f5c4
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1d8], rax
lea rax, [rsp + 0x3b8]
mov qword [rsp + 0x1b8], rax
lea rdx, str.Counter_Strike_2
mov rcx, qword [rsp + 0x1b8]
call fcn.14000f5c4
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1e0], rax
mov r9, qword [rsp + 0x1d0]
mov r8, qword [rsp + 0x1d8]
mov rdx, qword [rsp + 0x1e0]
mov rcx, qword [0x1401a5088]
call fcn.1400bc40c
nop
jmp 0x140021f15
lea rcx, str.pause
call sub.api_ms_win_crt_runtime_l1_1_0.dll_system
xor eax, eax
add rsp, 0x530
pop rdi
ret