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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x140081010]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor ebx, ebx
lea rax, [rsp + 0x240]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x140005a47
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov rdi, 0xffffffffffffffff
mov r9d, edi
lea r8, [rsp + 0x240]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x140005a47
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x108], xmm0
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0x120], rbx
lea rax, [rsp + 0x130]
inc rdi
cmp byte [rax + rdi], bl
jne 0x140005247
mov r8, rdi
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x108]
call fcn.140002ca0
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rsp + 0x118]
sub rax, rcx
cmp rax, 9
jb 0x140005a6e
lea r9, [rsp + 0x108]
cmp qword [rsp + 0x120], 0x10
cmovae r9, qword [rsp + 0x108]
mov qword [rsp + 0x30], 9
lea rax, str..Aeonix_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0xe8]
call fcn.1400069c0
nop
mov rsi, qword [rsp + 0xf8]
lea rdi, [rsp + 0xe8]
cmp qword [rsp + 0x100], 0x10
cmovae rdi, qword [rsp + 0xe8]
call fcn.14006452c
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.1400047b0
nop
lea rcx, [rsp + 0x78]
call fcn.1400050b0
movzx edi, al
mov rdx, qword [rsp + 0x90]
cmp rdx, 8
jb 0x140005361
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000535c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000535c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006524c
test dil, dil
jne 0x14000543a
mov rsi, qword [rsp + 0xf8]
lea rdi, [rsp + 0xe8]
cmp qword [rsp + 0x100], 0x10
cmovae rdi, qword [rsp + 0xe8]
call fcn.14006452c
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1400047b0
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
call fcn.14006478c
mov rdi, rax
shr rax, 0x20
test eax, eax
jne 0x140005a74
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140005417
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005412
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005412
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006524c
test dil, dil
je 0x140005425
lea rdx, str.Configuration_directory_created:
jmp 0x140005441
lea rdx, str.Error:_Could_not_create_the_configuration_directory.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140006010
jmp 0x140005477
lea rdx, str.Configuration_directory_already_exists:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006010
lea rdx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 0x10
mov r8, qword [rsp + 0xf8]
cmovae rdx, qword [rsp + 0xe8]
mov rcx, rax
call fcn.140006af0
lea rdx, [0x1400061e0]
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]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, 7
lea rdx, str.cs2.exe
lea rcx, [rsp + 0x50]
call fcn.140002ca0
lea rdx, [rsp + 0x50]
lea rcx, [0x140089598]
call fcn.1400043f0
mov edi, eax
test eax, eax
je 0x1400054fc
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.140006010
mov edx, edi
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]
lea rdx, [0x1400061e0]
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 0x140005991
call fcn.140006f90
test al, al
jne 0x14000551a
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]
call fcn.140006010
jmp 0x1400054e7
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, 0xa
lea rdx, str.client.dll
lea rcx, [rsp + 0x50]
call fcn.140002ca0
lea rdx, [rsp + 0x50]
lea rcx, [0x140089598]
call fcn.140003a40
mov rdx, rax
mov qword [0x14008b250], rax
mov ecx, dword [0x14008a74c]
add rcx, rax
mov qword [0x14008b258], rcx
mov ecx, dword [0x14008a750]
add rcx, rax
mov qword [0x14008b260], rcx
mov ecx, dword [0x14008a748]
add rcx, rax
mov qword [0x14008b268], rcx
mov ecx, dword [0x14008a75c]
add rcx, rax
mov qword [0x14008b278], rcx
mov ecx, dword [0x14008a758]
add rcx, rax
mov qword [0x14008b280], rcx
mov eax, dword [0x14008a754]
add rax, rdx
mov qword [0x14008b288], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test rdx, rdx
jne 0x1400055dd
lea rdx, str._ERROR__Failed_to_call_InitAddress__.
call fcn.140006010
jmp 0x1400054e7
lea rdx, str._Pid_:
call fcn.140006010
mov edx, dword [0x1400895a8]
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___unsigned_long_int____ptr64]
lea rdx, [0x1400061e0]
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]
lea rdx, str._Client_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006010
mov rdx, qword [0x14008b250]
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___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, [0x1400061e0]
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]
lea rdx, str._EntityList_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006010
mov rdi, rax
mov edx, 4
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_int____cdecl_std::setiosflags_int_]
mov r8, qword [rax]
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov edx, dword [rax + 8]
call r8
lea rdx, [0x1400043d0]
mov rcx, rdi
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [0x14008a74c]
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___unsigned_long_int____ptr64]
lea rdx, [0x1400061e0]
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]
lea rdx, str._Matrix_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006010
mov rdi, rax
mov edx, 4
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_int____cdecl_std::setiosflags_int_]
mov r8, qword [rax]
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov edx, dword [rax + 8]
call r8
lea rdx, [0x1400043d0]
mov rcx, rdi
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [0x14008a750]
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___unsigned_long_int____ptr64]
lea rdx, [0x1400061e0]
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]
lea rdx, str._LocalPlayerController_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006010
mov rdi, rax
mov edx, 4
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_int____cdecl_std::setiosflags_int_]
mov r8, qword [rax]
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov edx, dword [rax + 8]
call r8
lea rdx, [0x1400043d0]
mov rcx, rdi
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [0x14008a75c]
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___unsigned_long_int____ptr64]
lea rdx, [0x1400061e0]
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]
lea rdx, str._ViewAngles_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006010
mov rdi, rax
mov edx, 4
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_int____cdecl_std::setiosflags_int_]
mov r8, qword [rax]
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov edx, dword [rax + 8]
call r8
lea rdx, [0x1400043d0]
mov rcx, rdi
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [0x14008a748]
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___unsigned_long_int____ptr64]
lea rdx, [0x1400061e0]
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]
lea rdx, str._LocalPlayerPawn_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006010
mov rdi, rax
mov edx, 4
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_int____cdecl_std::setiosflags_int_]
mov r8, qword [rax]
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov edx, dword [rax + 8]
call r8
lea rdx, [0x1400043d0]
mov rcx, rdi
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [0x14008a758]
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___unsigned_long_int____ptr64]
lea rdx, [0x1400061e0]
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]
lea rdx, str._ForceJump_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006010
mov rdi, rax
mov edx, 4
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_struct_std::_Smanip_int____cdecl_std::setiosflags_int_]
mov r8, qword [rax]
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov edx, dword [rax + 8]
call r8
lea rdx, [0x1400043d0]
mov rcx, rdi
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [0x14008a754]
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___unsigned_long_int____ptr64]
lea rdx, [0x1400061e0]
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]
lea rdx, str.Running...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006010
lea rdx, [0x1400061e0]
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 + 0xa8]
mov qword [rsp + 0x70], rax
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov qword [rsp + 0xa8], rax
lea rax, [0x140058b50]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x98], rax
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, 7
lea rdx, str.SDL_app
lea rcx, [rsp + 0x50]
call fcn.140002ca0
nop
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rbx
mov r8d, 0x10
lea rdx, str.Counter_Strike_2
lea rcx, [rsp + 0x78]
call fcn.140002ca0
nop
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
call fcn.1400524d0
nop
jmp 0x140005991
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rsp + 0x100]
cmp rdx, 0x10
jb 0x1400059e5
inc rdx
mov rcx, qword [rsp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400059e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400059e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006524c
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], 0xf
mov byte [rsp + 0xe8], 0
mov rdx, qword [rsp + 0x120]
cmp rdx, 0x10
jb 0x140005a47
inc rdx
mov rcx, qword [rsp + 0x108]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005a42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005a42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006524c
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140064db0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.1400021d0
nop
shr rdi, 0x20
lea r8, [rsp + 0x50]
mov edx, edi
lea rcx, str.create_directory
call fcn.140005040
int3