Function at 0x1400054e0
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, [0x1400915d0]
call fcn.1400046e0
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 0x1400055aa
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.140006470
lea rdx, [0x140006640]
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 0x140005ea9
lea rax, [rsp + 0xf0]
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop dword [rax]
inc rdi
cmp byte [rax + rdi], r12b
jne 0x1400055c0
mov rax, qword [0x140093450]
lea r14, [0x140093438]
cmp rdi, rax
ja 0x14000560b
mov rbx, r14
cmp rax, 0x10
cmovae rbx, qword [0x140093438]
mov qword [0x140093448], rdi
mov r8, rdi
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], r12b
jmp 0x14000561e
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.140006270
mov rax, r14
cmp qword [0x140093450], 0x10
cmovae rax, qword [0x140093438]
mov qword [rsp + 0x60], rax
mov rax, qword [0x140093448]
mov qword [rsp + 0x68], rax
call fcn.1400686a8
vmovups xmm0, xmmword [rsp + 0x60]
vmovdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140004b00
nop
lea rcx, [rsp + 0x30]
call fcn.140005400
test al, al
sete bl
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x1400056ce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400056c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400056c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069604
test bl, bl
je 0x1400057bb
mov rax, r14
cmp qword [0x140093450], 0x10
cmovae rax, qword [0x140093438]
mov qword [rsp + 0x60], rax
mov rax, qword [0x140093448]
mov qword [rsp + 0x68], rax
call fcn.1400686a8
vmovups xmm0, xmmword [rsp + 0x60]
vmovdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.140004b00
nop
lea rcx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rcx, qword [rsp + 0xd0]
call fcn.140068908
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x140005ee6
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x140005799
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005794
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005794
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069604
test bl, bl
je 0x1400057a6
lea rdx, str._Success__Config_directory_created:
jmp 0x1400057c2
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.140006470
jmp 0x1400057f0
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.140006470
cmp qword [0x140093450], 0x10
cmovae r14, qword [0x140093438]
mov r8, qword [0x140093448]
mov rdx, r14
mov rcx, rax
call fcn.140006f40
lea rdx, [0x140006640]
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 0x140005829
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.140006470
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 0x140005595
call fcn.1400073d0
test al, al
jne 0x140005845
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 0x140005590
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, [0x1400915d0]
call fcn.140003e10
mov rdx, rax
mov qword [0x140093320], rax
mov ecx, dword [0x1400927fc]
add rcx, rax
mov qword [0x140093328], rcx
mov ecx, dword [0x140092800]
add rcx, rax
mov qword [0x140093330], rcx
mov ecx, dword [0x1400927f8]
add rcx, rax
mov qword [0x140093338], rcx
mov ecx, dword [0x140092810]
add rcx, rax
mov qword [0x140093348], rcx
mov ecx, dword [0x14009280c]
add rcx, rax
mov qword [0x140093350], rcx
mov eax, dword [0x140092808]
add rax, rdx
mov qword [0x140093358], rax
mov eax, dword [0x140092804]
add rax, rdx
mov qword [0x140093360], rax
test rdx, rdx
jne 0x140005922
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 0x140005590
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x1400915e0]
lea rdx, str._Game__Pid:_d_n
lea rcx, [rsp + 0x30]
call fcn.140006680
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005950
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006f40
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14000599c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005997
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005997
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069604
mov r15, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r14, qword [0x140093320]
mov r9, r14
lea r8, str._Game__Client:_llX_n
xor edx, edx
xor ecx, ecx
call fcn.140004010
test eax, eax
jg 0x1400059ee
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
xor r8d, r8d
lea rdx, [0x14007213f]
lea rcx, [rsp + 0x60]
call fcn.140003070
jmp 0x140005a7d
inc eax
movsxd rbx, eax
mov rcx, rbx
call fcn.140069638
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 0x140005a50
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140003070
mov rcx, rdi
call fcn.140069604
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.140006f40
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140005adf
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005ada
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005ada
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069604
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x1400927fc]
lea rdx, str._Offset__EntityList:_llX_n
lea rcx, [rsp + 0x30]
call fcn.140006680
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005b0d
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006f40
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005b59
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005b54
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069604
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x140092800]
lea rdx, str._Offset__Matrix:_llX_n
lea rcx, [rsp + 0x30]
call fcn.140006680
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005b87
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006f40
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005bd3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005bce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005bce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069604
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x140092810]
lea rdx, str._Offset__LocalPlayerController:_llX_n
lea rcx, [rsp + 0x30]
call fcn.140006680
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005c01
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006f40
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005c4d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005c48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005c48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069604
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x1400927f8]
lea rdx, str._Offset__ViewAngles:_llX_n
lea rcx, [rsp + 0x30]
call fcn.140006680
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005c7b
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006f40
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005cc7
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005cc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005cc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069604
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x14009280c]
lea rdx, str._Offset__LocalPlayerPawn:_llX_n
lea rcx, [rsp + 0x30]
call fcn.140006680
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005cf5
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006f40
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005d41
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005d3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069604
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x140092808]
lea rdx, str._Offset__ForceJump:_llX_n
lea rcx, [rsp + 0x30]
call fcn.140006680
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005d6f
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006f40
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005dbb
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005db6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005db6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069604
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.140006470
lea rdx, [0x140006640]
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, [0x14005b380]
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.140054150
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.140068ff0
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]
mov edx, eax
lea rcx, str.create_directory
call fcn.140005390
int3