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

Disassembly:
sub rsp, 0x508
mov rax, qword [0x140146340]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov edx, 1
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
call fcn.14002e4f0
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call fcn.1400310c0
nop
call fcn.140031010
movzx eax, al
test eax, eax
je 0x1400323a9
call fcn.140031180
mov dword [0x1401463ec], eax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x38], rax
mov dx, 0xd
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.___________________________________________________________n_______________________________________________________n_____________________________________________________n_______________________________________n_____________________________________n________________________________________n__________________________________________________________n_____________________
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023070
mov qword [rsp + 0x50], rax
lea rdx, [0x140023450]
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 qword [rsp + 0x58], rax
lea rdx, [0x140023450]
mov rcx, qword [rsp + 0x58]
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 qword [rsp + 0x60], rax
lea rdx, [0x140023450]
mov rcx, qword [rsp + 0x60]
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 byte [rsp + 0x30], 0
lea rax, [rsp + 0x208]
mov qword [rsp + 0x68], rax
lea rdx, [0x140113a78]
mov rcx, qword [rsp + 0x68]
call fcn.140020c90
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1401b37e8]
call fcn.140030ae0
test eax, eax
jne 0x1400324a9
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400324a4
mov dx, 0xe
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._INFO__Waiting_for_CS2.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023070
mov qword [rsp + 0x78], rax
lea rdx, [0x140023450]
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]
mov byte [rsp + 0x30], 1
jmp 0x140032425
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400324fd
mov dx, 0xe
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._INFO__Connecting_to_CS2.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023070
mov qword [rsp + 0x80], rax
lea rdx, [0x140023450]
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]
mov ecx, 0x4e20
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rax, [rsp + 0x228]
mov qword [rsp + 0x88], rax
lea rdx, [0x140113ab8]
mov rcx, qword [rsp + 0x88]
call fcn.140020c90
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [0x1401b37e8]
call fcn.1400304a0
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 1
je 0x140032567
cmp dword [rsp + 0x40], 2
je 0x1400325b1
cmp dword [rsp + 0x40], 3
je 0x1400325f8
jmp 0x14003263d
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._ERROR__Game_not_found.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023070
mov qword [rsp + 0x98], rax
lea rdx, [0x140023450]
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.140032330
nop
jmp 0x14003263d
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._ERROR__Failed_to_hook_process__please_run_the_cheat_as_Administrator__Right_click_DragonBurn___Run_as_Adminstrator_.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023070
mov qword [rsp + 0xa0], rax
lea rdx, [0x140023450]
mov rcx, qword [rsp + 0xa0]
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.140032330
nop
jmp 0x14003263d
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._ERROR__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.140023070
mov qword [rsp + 0xa8], rax
lea rdx, [0x140023450]
mov rcx, qword [rsp + 0xa8]
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.140032330
nop
call fcn.1400311c0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140032664
cmp dword [rsp + 0x44], 1
je 0x1400326b6
cmp dword [rsp + 0x44], 2
je 0x140032705
jmp 0x140032707
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x140113b80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023070
mov qword [rsp + 0xb0], rax
lea rdx, [0x140023450]
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 rcx, [0x140113bb0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
jmp 0x140032754
mov dx, 0xe
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._Info__This_version_of_the_cheat_was_made_for_a_later_version_of_the_game_and_may_work_unstable_on_the_current_version.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023070
mov qword [rsp + 0xb8], rax
lea rdx, [0x140023450]
mov rcx, qword [rsp + 0xb8]
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 rcx, [0x140113c38]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
jmp 0x140032754
jmp 0x140032754
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._ERROR__Failed_to_get_the_current_game_version.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023070
mov qword [rsp + 0xc0], rax
lea rdx, [0x140023450]
mov rcx, qword [rsp + 0xc0]
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 rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rcx, [0x1401b3820]
call fcn.14002f370
movzx eax, al
test eax, eax
jne 0x1400327ac
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
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]
call fcn.140023070
mov qword [rsp + 0xc8], rax
lea rdx, [0x140023450]
mov rcx, qword [rsp + 0xc8]
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.140032330
nop
mov dx, 0xb
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._Game__Process_ID:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023070
mov qword [rsp + 0xd0], rax
mov eax, dword [0x1401b37f8]
mov dword [rsp + 0x4c], eax
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0xd0]
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]
mov qword [rsp + 0xd8], rax
lea rdx, [0x140023450]
mov rcx, qword [rsp + 0xd8]
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._Game__Client_Address:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023070
mov qword [rsp + 0xe8], rax
lea rcx, [0x1401b3820]
call fcn.140007180
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
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]
mov qword [rsp + 0xf0], rax
lea rdx, [0x140023450]
mov rcx, qword [rsp + 0xf0]
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 + 0x3e0]
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 0x1400328db
mov dx, 0xc
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._ERROR_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.140023070
mov qword [rsp + 0xf8], rax
lea rdx, [0x140023450]
mov rcx, qword [rsp + 0xf8]
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.140032330
nop
lea rdx, [rsp + 0x3e0]
lea rcx, [0x1401b3a10]
call fcn.140020ac0
lea rdx, str.DragonBurn
lea rcx, [0x1401b3a10]
call fcn.140034470
nop
xor r8d, r8d
lea rdx, [0x1401b3a10]
lea rcx, [rsp + 0x1a8]
call fcn.140036030
nop
lea rcx, [rsp + 0x1a8]
call fcn.140032120
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x1a8]
call fcn.140031760
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x140032987
lea rdx, str._Info__Config_folder_connected:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023070
lea rdx, [0x1401b3a10]
mov rcx, rax
call fcn.140035d30
mov qword [rsp + 0x100], rax
lea rdx, [0x140023450]
mov rcx, qword [rsp + 0x100]
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
jmp 0x140032a3e
xor r8d, r8d
lea rdx, [0x1401b3a10]
lea rcx, [rsp + 0x1c8]
call fcn.140036030
nop
lea rcx, [rsp + 0x1c8]
call fcn.1400322e0
mov byte [rsp + 0x32], al
lea rcx, [rsp + 0x1c8]
call fcn.140031760
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x140032a08
lea rdx, str._Info__Config_folder_created:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023070
lea rdx, [0x1401b3a10]
mov rcx, rax
call fcn.140035d30
mov qword [rsp + 0x108], rax
lea rdx, [0x140023450]
mov rcx, qword [rsp + 0x108]
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
jmp 0x140032a3e
lea rdx, str._Info__Error:_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.140023070
mov qword [rsp + 0x110], rax
lea rdx, [0x140023450]
mov rcx, qword [rsp + 0x110]
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.140032330
nop
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0x2d0]
call fcn.140006290
lea r8, str.default.cfg
lea rdx, [0x1401b3a10]
lea rcx, [rsp + 0x1e8]
call fcn.140035d80
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x2d0]
call fcn.140033de0
nop
lea rcx, [rsp + 0x1e8]
call fcn.140006df0
nop
lea rcx, [rsp + 0x2d0]
call fcn.140033d30
movzx eax, al
test eax, eax
je 0x140032ae4
mov byte [0x1401b33d9], 1
lea rcx, [rsp + 0x2d0]
call fcn.140033cd0
nop
mov dx, 2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.DragonBurn_loaded____nGLHF
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023070
mov qword [rsp + 0x128], rax
lea rdx, [0x140023450]
mov rcx, qword [rsp + 0x128]
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 ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
nop
lea rax, [rsp + 0x288]
mov qword [rsp + 0x130], rax
lea rdx, [0x14001d330]
mov rcx, qword [rsp + 0x130]
call fcn.140036080
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0x248]
mov qword [rsp + 0x148], rax
lea rdx, str.SDL_app
mov rcx, qword [rsp + 0x148]
call fcn.140020c90
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0x268]
mov qword [rsp + 0x160], rax
lea rdx, [0x140113dc8]
mov rcx, qword [rsp + 0x160]
call fcn.140020c90
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x180], rax
mov r9, qword [rsp + 0x170]
mov r8, qword [rsp + 0x178]
mov rdx, qword [rsp + 0x180]
mov rcx, qword [0x1401b38b0]
call fcn.1400d0c10
nop
jmp 0x140032c3b
lea rcx, [rsp + 0x2d0]
call fcn.1400315a0
nop
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140105d70
add rsp, 0x508
ret