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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x210
mov rax, qword [0x140089010]
xor rax, rsp
mov qword [rsp + 0x200], rax
xor r12d, r12d
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0xe8], r12
lea r8d, [r12 + 7]
lea rdx, str.cs2.exe
lea rcx, [rsp + 0xd0]
call fcn.140003070
lea rdx, [rsp + 0xd0]
lea rcx, [0x1400915b8]
call fcn.140004790
mov r15d, eax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x1400055fa
lea rdx, str._Error__Failed_to_get_the_Documents_path.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400064d0
lea rdx, [0x1400066a0]
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 0x140005efa
lea rax, [rsp + 0xf0]
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop dword [rax]
inc rdi
cmp byte [rax + rdi], r12b
jne 0x140005610
mov rax, qword [0x140093400]
lea r14, [0x1400933e8]
cmp rdi, rax
ja 0x14000565b
mov rbx, r14
cmp rax, 0x10
cmovae rbx, qword [0x1400933e8]
mov qword [0x1400933f8], rdi
mov r8, rdi
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], r12b
jmp 0x14000566e
lea r9, [rsp + 0xf0]
mov rdx, rdi
mov rcx, r14
call fcn.140003cd0
mov r8d, 8
lea rdx, str..Aeonix
mov rcx, r14
call fcn.1400062c0
mov rax, r14
cmp qword [0x140093400], 0x10
cmovae rax, qword [0x1400933e8]
mov qword [rsp + 0x60], rax
mov rax, qword [0x1400933f8]
mov qword [rsp + 0x68], rax
call fcn.140069b48
vmovups xmm0, xmmword [rsp + 0x60]
vmovdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140004b50
nop
lea rcx, [rsp + 0x30]
call fcn.140005450
movzx ebx, al
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000571c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005717
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005717
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a92c
test bl, bl
jne 0x14000580c
mov rax, r14
cmp qword [0x140093400], 0x10
cmovae rax, qword [0x1400933e8]
mov qword [rsp + 0x60], rax
mov rax, qword [0x1400933f8]
mov qword [rsp + 0x68], rax
call fcn.140069b48
vmovups xmm0, xmmword [rsp + 0x60]
vmovdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.140004b50
nop
lea rcx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rcx, qword [rsp + 0xd0]
call fcn.140069da8
mov rbx, rax
mov rdx, rax
shr rdx, 0x20
test edx, edx
jne 0x140005f37
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x1400057ea
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400057e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a92c
test bl, bl
je 0x1400057f7
lea rdx, str._Success__Config_directory_created:
jmp 0x140005813
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.1400064d0
jmp 0x140005841
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.1400064d0
cmp qword [0x140093400], 0x10
cmovae r14, qword [0x1400933e8]
mov r8, qword [0x1400933f8]
mov rdx, r14
mov rcx, rax
call fcn.140006fa0
lea rdx, [0x1400066a0]
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 r15d, r15d
je 0x14000587a
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.1400064d0
mov edx, r15d
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 0x1400055e5
call fcn.140007430
test al, al
jne 0x140005896
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 0x1400055e0
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0xe8], r12
mov r8d, 0xa
lea rdx, str.client.dll
lea rcx, [rsp + 0xd0]
call fcn.140003070
lea rdx, [rsp + 0xd0]
lea rcx, [0x1400915b8]
call fcn.140003e10
mov rdx, rax
mov qword [0x1400932d0], rax
mov ecx, dword [0x1400927ac]
add rcx, rax
mov qword [0x1400932d8], rcx
mov ecx, dword [0x1400927b0]
add rcx, rax
mov qword [0x1400932e0], rcx
mov ecx, dword [0x1400927a8]
add rcx, rax
mov qword [0x1400932e8], rcx
mov ecx, dword [0x1400927c0]
add rcx, rax
mov qword [0x1400932f8], rcx
mov ecx, dword [0x1400927bc]
add rcx, rax
mov qword [0x140093300], rcx
mov eax, dword [0x1400927b8]
add rax, rdx
mov qword [0x140093308], rax
mov eax, dword [0x1400927b4]
add rax, rdx
mov qword [0x140093310], rax
test rdx, rdx
jne 0x140005973
lea rdx, str._ERROR__Failed_to_call_InitAddress__.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x1400055e0
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x1400915c8]
lea rdx, str._Game__Pid:_d_n
lea rcx, [rsp + 0x30]
call fcn.1400066e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1400059a1
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006fa0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400059ed
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400059e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400059e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a92c
mov r15, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r14, qword [0x1400932d0]
mov r9, r14
lea r8, str._Game__Client:_llX_n
xor edx, edx
xor ecx, ecx
call fcn.140004010
test eax, eax
jg 0x140005a3f
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
xor r8d, r8d
lea rdx, [0x14007315f]
lea rcx, [rsp + 0x60]
call fcn.140003070
jmp 0x140005ace
inc eax
movsxd rbx, eax
mov rcx, rbx
call fcn.14006a960
mov rdi, rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0xe8], 0xf
mov byte [rsp + 0xd0], 0
mov r9, r14
lea r8, str._Game__Client:_llX_n
mov rdx, rbx
mov rcx, rax
call fcn.140004010
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
inc rsi
cmp byte [rdi + rsi], 0
jne 0x140005aa1
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140003070
mov rcx, rdi
call fcn.14006a92c
vmovups ymm0, ymmword [rsp + 0x30]
vmovups ymmword [rsp + 0x60], ymm0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, r15
vzeroupper
call fcn.140006fa0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140005b30
inc rdx
mov rcx, qword [rsp + 0x60]
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.14006a92c
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x1400927ac]
lea rdx, str._Offset__EntityList:_llX_n
lea rcx, [rsp + 0x30]
call fcn.1400066e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005b5e
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006fa0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005baa
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005ba5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005ba5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a92c
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x1400927b0]
lea rdx, str._Offset__Matrix:_llX_n
lea rcx, [rsp + 0x30]
call fcn.1400066e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005bd8
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006fa0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005c24
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005c1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005c1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a92c
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x1400927c0]
lea rdx, str._Offset__LocalPlayerController:_llX_n
lea rcx, [rsp + 0x30]
call fcn.1400066e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005c52
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006fa0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005c9e
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005c99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005c99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a92c
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x1400927a8]
lea rdx, str._Offset__ViewAngles:_llX_n
lea rcx, [rsp + 0x30]
call fcn.1400066e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005ccc
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006fa0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005d18
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005d13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a92c
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x1400927bc]
lea rdx, str._Offset__LocalPlayerPawn:_llX_n
lea rcx, [rsp + 0x30]
call fcn.1400066e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005d46
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006fa0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005d92
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005d8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a92c
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x1400927b8]
lea rdx, str._Offset__ForceJump:_llX_n
lea rcx, [rsp + 0x30]
call fcn.1400066e0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005dc0
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006fa0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005e0c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005e07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a92c
lea rdx, str._Success__Running...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400064d0
lea rdx, [0x1400066a0]
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, [0x14005c820]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x80], rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], r12
mov qword [rsp + 0xe8], r12
mov r8d, 7
lea rdx, str.SDL_app
lea rcx, [rsp + 0xd0]
call fcn.140003070
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov r8d, 0x10
lea rdx, str.Counter_Strike_2
lea rcx, [rsp + 0x30]
call fcn.140003070
nop
lea r9, [rsp + 0x90]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x30]
call fcn.140054330
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 + 0x200]
xor rcx, rsp
call fcn.14006a490
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret
lea r8, [rsp + 0xd0]
lea rcx, str.create_directory
call fcn.1400053e0
int3