Function at 0x14003b1a0
Capabilities:
Get common file path
Get startup folder

Disassembly:
sub rsp, 0x568
mov rax, qword [0x1402063c0]
xor rax, rsp
mov qword [rsp + 0x558], rax
lea rcx, [rsp + 0x1c8]
call fcn.140038e70
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [0x1402cb6c0]
call fcn.1400258b0
lea rcx, [rsp + 0x1c8]
call fcn.140009590
call fcn.140038d40
movzx eax, al
test eax, eax
je 0x14003b20c
lea rcx, [0x1402cb750]
call fcn.140038540
call fcn.140038e30
mov dword [0x14020646c], eax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x38], rax
mov dx, 3
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.____n___________________________________________________________________________n__________________________________________________________________________n___________________________________________________________________n___________________________________________________________________n____________________________________________________________________n_________________________________________________________________n_______________________________________________________________n________________________________________________________n______________________________________________________________________________________________________________________________________________________________________________________________________n_t
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140027b80
mov qword [rsp + 0x50], rax
lea rdx, [0x1400280d0]
mov rcx, qword [rsp + 0x50]
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]
mov dx, 7
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rax, [rsp + 0x208]
mov qword [rsp + 0x58], rax
lea rdx, str.cs2.exe
mov rcx, qword [rsp + 0x58]
call fcn.1400095c0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [0x1402cb468]
call fcn.140037c40
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x440]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 5
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x14003b2ef
lea rdx, str._______Failed_to_get_the_Documents_folder_path.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140027b80
mov qword [rsp + 0x68], rax
lea rdx, [0x1400280d0]
mov rcx, qword [rsp + 0x68]
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]
call fcn.14003b180
lea rdx, [rsp + 0x440]
lea rcx, [0x1402cb730]
call fcn.1400257e0
lea rdx, [0x1401c2d60]
lea rcx, [0x1402cb730]
call fcn.14003e2a0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 1
je 0x14003b33c
cmp dword [rsp + 0x40], 2
je 0x14003b37a
cmp dword [rsp + 0x40], 3
je 0x14003b3b8
jmp 0x14003b3fc
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._______Launch_CS2_first
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140027b80
mov qword [rsp + 0x70], rax
lea rdx, [0x1400280d0]
mov rcx, qword [rsp + 0x70]
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]
call fcn.14003b180
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._______Run_as_admin_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140027b80
mov qword [rsp + 0x78], rax
lea rdx, [0x1400280d0]
mov rcx, qword [rsp + 0x78]
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]
call fcn.14003b180
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._______Failed_to_get_module_address.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140027b80
mov qword [rsp + 0x80], rax
lea rdx, [0x1400280d0]
mov rcx, qword [rsp + 0x80]
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]
call fcn.14003b180
call fcn.14005a9e0
movzx eax, al
test eax, eax
jne 0x14003b44c
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._______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.140027b80
mov qword [rsp + 0x88], rax
lea rdx, [0x1400280d0]
mov rcx, qword [rsp + 0x88]
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]
call fcn.14003b180
lea rcx, [0x1402cb4a0]
call fcn.1400366d0
movzx eax, al
test eax, eax
jne 0x14003b4a3
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._______Failed_to_call_InitAddress__.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140027b80
mov qword [rsp + 0x90], rax
lea rdx, [0x1400280d0]
mov rcx, qword [rsp + 0x90]
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]
call fcn.14003b180
xor r8d, r8d
lea rdx, [0x1402cb730]
lea rcx, [rsp + 0x188]
call fcn.140041ad0
nop
lea rcx, [rsp + 0x188]
call fcn.140039a10
mov byte [rsp + 0x30], al
lea rcx, [rsp + 0x188]
call fcn.140039080
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14003b4e4
jmp 0x14003b55a
xor r8d, r8d
lea rdx, [0x1402cb730]
lea rcx, [rsp + 0x1a8]
call fcn.140041ad0
nop
lea rcx, [rsp + 0x1a8]
call fcn.140039bd0
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x1a8]
call fcn.140039080
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x14003b525
jmp 0x14003b55a
lea rdx, str.____Failed_to_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.140027b80
mov qword [rsp + 0x98], rax
lea rdx, [0x1400280d0]
mov rcx, qword [rsp + 0x98]
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]
call fcn.14003b180
mov edx, 0x110
lea rcx, [rsp + 0x330]
call fcn.14000a1b0
lea r8, str.default.yml
lea rdx, [0x1402cb730]
lea rcx, [rsp + 0x1e8]
call fcn.140041560
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x330]
call fcn.14003ddb0
nop
lea rcx, [rsp + 0x1e8]
call fcn.140009590
lea rcx, [rsp + 0x330]
call fcn.14003dd00
movzx eax, al
test eax, eax
je 0x14003b5fe
mov byte [0x1402caf19], 1
lea rcx, [rsp + 0x330]
call fcn.14003dca0
lea rdx, [0x1400280d0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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]
mov dx, 2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.______Injected_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140027b80
mov qword [rsp + 0xb0], rax
lea rdx, [0x1400280d0]
mov rcx, qword [rsp + 0xb0]
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, [0x1400280d0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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]
mov dx, 7
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0xb8], rax
lea rdx, [0x1400226f0]
mov rcx, qword [rsp + 0xb8]
call fcn.140041d00
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xf8], rax
lea rax, [rsp + 0x228]
mov qword [rsp + 0xd0], rax
lea rdx, [0x1401c2e40]
mov rcx, qword [rsp + 0xd0]
call fcn.1400095c0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x100], rax
lea rax, [rsp + 0x248]
mov qword [rsp + 0xe8], rax
lea rdx, [0x1401c2e68]
mov rcx, qword [rsp + 0xe8]
call fcn.1400095c0
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x108], rax
mov r9, qword [rsp + 0xf8]
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [0x1402cb558]
call fcn.1400fb140
nop
jmp 0x14003b770
lea rcx, [rsp + 0x330]
call fcn.140038df0
mov rcx, qword [rsp + 0x558]
xor rcx, rsp
call fcn.140197e90
add rsp, 0x568
ret