Function at 0x140005590
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 [0x140089040]
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.140003090
lea rdx, [rsp + 0xd0]
lea rcx, [0x140091628]
call fcn.1400047e0
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 0x14000565a
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.140006530
lea rdx, [0x140006700]
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 0x140005f5a
lea rax, [rsp + 0xf0]
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop dword [rax]
inc rdi
cmp byte [rax + rdi], r12b
jne 0x140005670
mov rax, qword [0x140093470]
lea r14, [0x140093458]
cmp rdi, rax
ja 0x1400056bb
mov rbx, r14
cmp rax, 0xf
cmova rbx, qword [0x140093458]
mov qword [0x140093468], rdi
mov r8, rdi
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], r12b
jmp 0x1400056ce
lea r9, [rsp + 0xf0]
mov rdx, rdi
mov rcx, r14
call fcn.140003d20
mov r8d, 8
lea rdx, str..Aeonix
mov rcx, r14
call fcn.140006320
mov rax, r14
cmp qword [0x140093470], 0xf
cmova rax, qword [0x140093458]
mov qword [rsp + 0x60], rax
mov rax, qword [0x140093468]
mov qword [rsp + 0x68], rax
call fcn.14006982c
vmovups xmm0, xmmword [rsp + 0x60]
vmovdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140004ba0
nop
lea rcx, [rsp + 0x30]
call fcn.1400054b0
movzx ebx, al
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14000577c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005777
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005777
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a60c
test bl, bl
jne 0x14000586c
mov rax, r14
cmp qword [0x140093470], 0xf
cmova rax, qword [0x140093458]
mov qword [rsp + 0x60], rax
mov rax, qword [0x140093468]
mov qword [rsp + 0x68], rax
call fcn.14006982c
vmovups xmm0, xmmword [rsp + 0x60]
vmovdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0xd0]
call fcn.140004ba0
nop
lea rcx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 7
cmova rcx, qword [rsp + 0xd0]
call fcn.140069a8c
mov rbx, rax
mov rdx, rax
shr rdx, 0x20
test edx, edx
jne 0x140005f97
mov rdx, qword [rsp + 0xe8]
cmp rdx, 7
jbe 0x14000584a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005845
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005845
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a60c
test bl, bl
je 0x140005857
lea rdx, str._Success__Config_directory_created:
jmp 0x140005873
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.140006530
jmp 0x1400058a1
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.140006530
cmp qword [0x140093470], 0xf
cmova r14, qword [0x140093458]
mov r8, qword [0x140093468]
mov rdx, r14
mov rcx, rax
call fcn.140007000
lea rdx, [0x140006700]
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 0x1400058da
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.140006530
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 0x140005645
call fcn.140007490
test al, al
jne 0x1400058f6
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 0x140005640
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.140003090
lea rdx, [rsp + 0xd0]
lea rcx, [0x140091628]
call fcn.140003e60
mov rdx, rax
mov qword [0x140093340], rax
mov ecx, dword [0x14009281c]
add rcx, rax
mov qword [0x140093348], rcx
mov ecx, dword [0x140092820]
add rcx, rax
mov qword [0x140093350], rcx
mov ecx, dword [0x140092818]
add rcx, rax
mov qword [0x140093358], rcx
mov ecx, dword [0x140092830]
add rcx, rax
mov qword [0x140093368], rcx
mov ecx, dword [0x14009282c]
add rcx, rax
mov qword [0x140093370], rcx
mov eax, dword [0x140092828]
add rax, rdx
mov qword [0x140093378], rax
mov eax, dword [0x140092824]
add rax, rdx
mov qword [0x140093380], rax
test rdx, rdx
jne 0x1400059d3
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 0x140005640
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x140091638]
lea rdx, str._Game__Pid:_d_n
lea rcx, [rsp + 0x30]
call fcn.140006740
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140005a01
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140007000
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140005a4d
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005a48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a60c
mov r15, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r14, qword [0x140093340]
mov r9, r14
lea r8, str._Game__Client:_llX_n
xor edx, edx
xor ecx, ecx
call fcn.140004060
test eax, eax
jg 0x140005a9f
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
xor r8d, r8d
lea rdx, [0x14007308f]
lea rcx, [rsp + 0x60]
call fcn.140003090
jmp 0x140005b2e
inc eax
movsxd rbx, eax
mov rcx, rbx
call fcn.14006a640
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.140004060
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 0x140005b01
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140003090
mov rcx, rdi
call fcn.14006a60c
vmovups ymm0, ymmword [rsp + 0x30]
vmovups ymmword [rsp + 0x60], ymm0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, r15
vzeroupper
call fcn.140007000
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140005b90
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005b8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a60c
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x14009281c]
lea rdx, str._Offset__EntityList:_llX_n
lea rcx, [rsp + 0x30]
call fcn.140006740
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140005bbe
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140007000
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140005c0a
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005c05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005c05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a60c
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x140092820]
lea rdx, str._Offset__Matrix:_llX_n
lea rcx, [rsp + 0x30]
call fcn.140006740
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140005c38
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140007000
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140005c84
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005c7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005c7f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a60c
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x140092830]
lea rdx, str._Offset__LocalPlayerController:_llX_n
lea rcx, [rsp + 0x30]
call fcn.140006740
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140005cb2
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140007000
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140005cfe
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005cf9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005cf9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a60c
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x140092818]
lea rdx, str._Offset__ViewAngles:_llX_n
lea rcx, [rsp + 0x30]
call fcn.140006740
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140005d2c
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140007000
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140005d78
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005d73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a60c
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x14009282c]
lea rdx, str._Offset__LocalPlayerPawn:_llX_n
lea rcx, [rsp + 0x30]
call fcn.140006740
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140005da6
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140007000
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140005df2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005ded
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005ded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a60c
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov r8d, dword [0x140092828]
lea rdx, str._Offset__ForceJump:_llX_n
lea rcx, [rsp + 0x30]
call fcn.140006740
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140005e20
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140007000
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140005e6c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005e67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a60c
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.140006530
lea rdx, [0x140006700]
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, [0x14005c560]
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.140003090
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.140003090
nop
lea r9, [rsp + 0x90]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x30]
call fcn.140054020
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.14006a180
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.140005440
int3