Function at 0x140005540
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.140003080
lea rdx, [rsp + 0xd0]
lea rcx, [0x1400915b8]
call fcn.1400047a0
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 0x14000560a
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.1400064e0
lea rdx, [0x1400066b0]
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 0x140005f0a
lea rax, [rsp + 0xf0]
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop dword [rax]
inc rdi
cmp byte [rax + rdi], r12b
jne 0x140005620
mov rax, qword [0x140093400]
lea r14, [0x1400933e8]
cmp rdi, rax
ja 0x14000566b
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 0x14000567e
lea r9, [rsp + 0xf0]
mov rdx, rdi
mov rcx, r14
call fcn.140003ce0
mov r8d, 6
lea rdx, str..lolz
mov rcx, r14
call fcn.1400062d0
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.140004b60
nop
lea rcx, [rsp + 0x30]
call fcn.140005460
movzx ebx, al
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000572c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005727
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005727
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 0x14000581c
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.140004b60
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 0x140005f47
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x1400057fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400057f5
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 0x140005807
lea rdx, str._Success__Config_directory_created:
jmp 0x140005823
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.1400064e0
jmp 0x140005851
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.1400064e0
cmp qword [0x140093400], 0x10
cmovae r14, qword [0x1400933e8]
mov r8, qword [0x1400933f8]
mov rdx, r14
mov rcx, rax
call fcn.140006fb0
lea rdx, [0x1400066b0]
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 0x14000588a
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.1400064e0
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 0x1400055f5
call fcn.140007440
test al, al
jne 0x1400058a6
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 0x1400055f0
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.140003080
lea rdx, [rsp + 0xd0]
lea rcx, [0x1400915b8]
call fcn.140003e20
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 0x140005983
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 0x1400055f0
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.1400066f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1400059b1
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006fb0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400059fd
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400059f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400059f8
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.140004020
test eax, eax
jg 0x140005a4f
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
xor r8d, r8d
lea rdx, [0x14007307f]
lea rcx, [rsp + 0x60]
call fcn.140003080
jmp 0x140005ade
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.140004020
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 0x140005ab1
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140003080
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.140006fb0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140005b40
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005b3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005b3b
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.1400066f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005b6e
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006fb0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005bba
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005bb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005bb5
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.1400066f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005be8
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006fb0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005c34
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005c2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005c2f
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.1400066f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005c62
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006fb0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005cae
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005ca9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005ca9
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.1400066f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005cdc
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006fb0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005d28
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005d23
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.1400066f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005d56
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006fb0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005da2
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005d9d
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.1400066f0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140005dd0
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140006fb0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140005e1c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005e17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005e17
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__Runing...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400064e0
lea rdx, [0x1400066b0]
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.140003080
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.140003080
nop
lea r9, [rsp + 0x90]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x30]
call fcn.140054340
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.1400053f0
int3