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

Disassembly:
sub rsp, 0x508
mov rax, qword [0x140145340]
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.14002e240
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call fcn.140030e30
call fcn.140030d80
movzx eax, al
test eax, eax
je 0x1400320e8
call fcn.140030ef0
mov dword [0x1401453ec], 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.140022e40
mov qword [rsp + 0x50], rax
lea rdx, [0x140023220]
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, [0x140023220]
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, [0x140023220]
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, [0x140112a88]
mov rcx, qword [rsp + 0x68]
call fcn.140020ab0
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [0x1401b2808]
call fcn.140030850
test eax, eax
jne 0x1400321e8
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400321e3
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.140022e40
mov qword [rsp + 0x78], rax
lea rdx, [0x140023220]
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 0x140032164
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14003223b
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.140022e40
mov qword [rsp + 0x80], rax
lea rdx, [0x140023220]
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]
lea rax, [rsp + 0x228]
mov qword [rsp + 0x88], rax
lea rdx, [0x140112ac8]
mov rcx, qword [rsp + 0x88]
call fcn.140020ab0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [0x1401b2808]
call fcn.140030210
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 1
je 0x1400322a5
cmp dword [rsp + 0x40], 2
je 0x1400322ee
cmp dword [rsp + 0x40], 3
je 0x140032334
jmp 0x140032378
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.140022e40
mov qword [rsp + 0x98], rax
lea rdx, [0x140023220]
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.140032070
jmp 0x140032378
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.140022e40
mov qword [rsp + 0xa0], rax
lea rdx, [0x140023220]
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.140032070
jmp 0x140032378
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.140022e40
mov qword [rsp + 0xa8], rax
lea rdx, [0x140023220]
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.140032070
call fcn.140030f30
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x14003239f
cmp dword [rsp + 0x44], 1
je 0x1400323f0
cmp dword [rsp + 0x44], 2
je 0x14003243e
jmp 0x140032440
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x140112b90]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140022e40
mov qword [rsp + 0xb0], rax
lea rdx, [0x140023220]
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, [0x140112bc0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x14003248c
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.140022e40
mov qword [rsp + 0xb8], rax
lea rdx, [0x140023220]
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, [0x140112c48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x14003248c
jmp 0x14003248c
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.140022e40
mov qword [rsp + 0xc0], rax
lea rdx, [0x140023220]
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]
lea rcx, [0x1401b2840]
call fcn.14002f0f0
movzx eax, al
test eax, eax
jne 0x1400324e3
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.140022e40
mov qword [rsp + 0xc8], rax
lea rdx, [0x140023220]
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.140032070
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.140022e40
mov qword [rsp + 0xd0], rax
mov eax, dword [0x1401b2818]
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, [0x140023220]
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.140022e40
mov qword [rsp + 0xe8], rax
lea rcx, [0x1401b2840]
call fcn.140007160
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, [0x140023220]
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]
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 0x140032610
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.140022e40
mov qword [rsp + 0xf8], rax
lea rdx, [0x140023220]
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.140032070
lea rdx, [rsp + 0x3e0]
lea rcx, [0x1401b2a30]
call fcn.1400208e0
lea rdx, str.DragonBurn
lea rcx, [0x1401b2a30]
call fcn.140034180
xor r8d, r8d
lea rdx, [0x1401b2a30]
lea rcx, [rsp + 0x1a8]
call fcn.140035d00
nop
lea rcx, [rsp + 0x1a8]
call fcn.140031e60
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x1a8]
call fcn.1400314d0
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x1400326ba
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.140022e40
lea rdx, [0x1401b2a30]
mov rcx, rax
call fcn.140035a10
mov qword [rsp + 0x100], rax
lea rdx, [0x140023220]
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]
jmp 0x14003276f
xor r8d, r8d
lea rdx, [0x1401b2a30]
lea rcx, [rsp + 0x1c8]
call fcn.140035d00
nop
lea rcx, [rsp + 0x1c8]
call fcn.140032020
mov byte [rsp + 0x32], al
lea rcx, [rsp + 0x1c8]
call fcn.1400314d0
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x14003273a
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.140022e40
lea rdx, [0x1401b2a30]
mov rcx, rax
call fcn.140035a10
mov qword [rsp + 0x108], rax
lea rdx, [0x140023220]
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]
jmp 0x14003276f
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.140022e40
mov qword [rsp + 0x110], rax
lea rdx, [0x140023220]
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.140032070
mov edx, 0x110
lea rcx, [rsp + 0x2d0]
call fcn.140006280
lea r8, str.default.cfg
lea rdx, [0x1401b2a30]
lea rcx, [rsp + 0x1e8]
call fcn.140035a60
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.140033af0
nop
lea rcx, [rsp + 0x1e8]
call fcn.140006dd0
lea rcx, [rsp + 0x2d0]
call fcn.140033a40
movzx eax, al
test eax, eax
je 0x140032813
mov byte [0x1401b23e9], 1
lea rcx, [rsp + 0x2d0]
call fcn.1400339e0
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.140022e40
mov qword [rsp + 0x128], rax
lea rdx, [0x140023220]
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, [0x14001d1d0]
mov rcx, qword [rsp + 0x130]
call fcn.140035d50
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.140020ab0
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, [0x140112dd8]
mov rcx, qword [rsp + 0x160]
call fcn.140020ab0
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 [0x1401b28d0]
call fcn.1400d01f0
nop
jmp 0x14003296a
lea rcx, [rsp + 0x2d0]
call fcn.140031310
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.1401052d0
add rsp, 0x508
ret