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

Disassembly:
sub rsp, 0x4e8
mov rax, qword [0x1401be3c0]
xor rax, rsp
mov qword [rsp + 0x4d0], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x38], rax
mov dx, reloc.WS2_32.dll_listen
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x50], rax
lea rdx, [0x140184248]
mov rcx, qword [rsp + 0x50]
call fcn.140020d00
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [0x14022a1f8]
call fcn.140030db0
test eax, eax
jne 0x140032dd1
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x140032dcc
mov dx, reloc.WS2_32.dll_ntohl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._INFO__Waiting_CS2.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023060
mov qword [rsp + 0x60], rax
lea rdx, [0x140023440]
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], 1
jmp 0x140032d4d
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140032e1e
mov dx, reloc.WS2_32.dll_ntohl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._INFO__Connecting_CS2.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023060
mov qword [rsp + 0x68], rax
lea rdx, [0x140023440]
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]
mov ecx, 0x4e20
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x210]
mov qword [rsp + 0x70], rax
lea rdx, [0x140184280]
mov rcx, qword [rsp + 0x70]
call fcn.140020d00
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [0x14022a1f8]
call fcn.140030770
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 1
je 0x140032e7c
cmp dword [rsp + 0x40], 2
je 0x140032ec5
cmp dword [rsp + 0x40], 3
je 0x140032f0b
jmp 0x140032f4f
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._ERROR__CS2_not_found.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023060
mov qword [rsp + 0x80], rax
lea rdx, [0x140023440]
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.140032cc0
jmp 0x140032f4f
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._ERROR__Failed_process.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023060
mov qword [rsp + 0x88], rax
lea rdx, [0x140023440]
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.140032cc0
jmp 0x140032f4f
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x1401842b8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023060
mov qword [rsp + 0x90], rax
lea rdx, [0x140023440]
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.140032cc0
call fcn.140031490
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140032f76
cmp dword [rsp + 0x44], 1
je 0x140032fc7
cmp dword [rsp + 0x44], 2
je 0x140033015
jmp 0x140033017
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._ERROR__Failed___Private_Store.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023060
mov qword [rsp + 0x98], rax
lea rdx, [0x140023440]
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]
lea rcx, [0x1401842e8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140033063
mov dx, reloc.WS2_32.dll_ntohl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._Info__Not_Working__Restart_Your_Computer___Private_Store.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023060
mov qword [rsp + 0xa0], rax
lea rdx, [0x140023440]
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]
lea rcx, [0x14018432c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140033063
jmp 0x140033063
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.140023060
mov qword [rsp + 0xa8], rax
lea rdx, [0x140023440]
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]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x14022a230]
call fcn.14002f570
movzx eax, al
test eax, eax
jne 0x1400330ba
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._ERROR__Failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023060
mov qword [rsp + 0xb0], rax
lea rdx, [0x140023440]
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]
call fcn.140032cc0
mov dx, ntohl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._CS2__PID:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023060
mov qword [rsp + 0xb8], rax
mov eax, dword [0x14022a208]
mov dword [rsp + 0x4c], eax
mov edx, dword [rsp + 0x4c]
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___unsigned_long_int____ptr64]
mov qword [rsp + 0xc0], rax
lea rdx, [0x140023440]
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 rdx, str._CS2__ModuleProcess:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023060
mov qword [rsp + 0xd0], rax
lea rcx, [0x14022a230]
call fcn.1400075c0
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
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_long_unsigned___int64_____ptr64]
mov qword [rsp + 0xd8], rax
lea rdx, [0x140023440]
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 rax, [rsp + 0x3c0]
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 0x1400331e7
mov dx, ntohl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._ERROR_Failed_to_Config_path.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140023060
mov qword [rsp + 0xe0], rax
lea rdx, [0x140023440]
mov rcx, qword [rsp + 0xe0]
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.140032cc0
lea rdx, [rsp + 0x3c0]
lea rcx, [0x14022a420]
call fcn.140020b30
lea rdx, str.PrivateStore
lea rcx, [0x14022a420]
call fcn.140035140
xor r8d, r8d
lea rdx, [0x14022a420]
lea rcx, [rsp + 0x190]
call fcn.1400370c0
nop
lea rcx, [rsp + 0x190]
call fcn.1400323c0
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x190]
call fcn.140031a30
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x140033291
lea rdx, str._Info__Config_Connected:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023060
lea rdx, [0x14022a420]
mov rcx, rax
call fcn.140036dd0
mov qword [rsp + 0xe8], rax
lea rdx, [0x140023440]
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___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 0x140033346
xor r8d, r8d
lea rdx, [0x14022a420]
lea rcx, [rsp + 0x1b0]
call fcn.1400370c0
nop
lea rcx, [rsp + 0x1b0]
call fcn.140032580
mov byte [rsp + 0x32], al
lea rcx, [rsp + 0x1b0]
call fcn.140031a30
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x140033311
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.140023060
lea rdx, [0x14022a420]
mov rcx, rax
call fcn.140036dd0
mov qword [rsp + 0xf0], rax
lea rdx, [0x140023440]
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]
jmp 0x140033346
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.140023060
mov qword [rsp + 0xf8], rax
lea rdx, [0x140023440]
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.140032cc0
mov edx, 0x110
lea rcx, [rsp + 0x2b0]
call fcn.1400066c0
lea r8, str.default.cfg
lea rdx, [0x14022a420]
lea rcx, [rsp + 0x1d0]
call fcn.140036e20
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x2b0]
call fcn.140034ab0
nop
lea rcx, [rsp + 0x1d0]
call fcn.140007210
lea rcx, [rsp + 0x2b0]
call fcn.140034a00
movzx eax, al
test eax, eax
je 0x1400333ea
mov byte [0x140229ded], 1
lea rcx, [rsp + 0x2b0]
call fcn.1400349a0
mov dx, 2
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.___Thread_Created_Sucessfully___Private_Store__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023060
mov qword [rsp + 0x110], rax
lea rdx, [0x140023440]
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]
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 + 0x270]
mov qword [rsp + 0x118], rax
lea rdx, [0x14001d440]
mov rcx, qword [rsp + 0x118]
call fcn.140037110
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x230]
mov qword [rsp + 0x130], rax
lea rdx, str.SDL_app
mov rcx, qword [rsp + 0x130]
call fcn.140020d00
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x250]
mov qword [rsp + 0x148], rax
lea rdx, [0x1401844a0]
mov rcx, qword [rsp + 0x148]
call fcn.140020d00
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x168], rax
mov r9, qword [rsp + 0x158]
mov r8, qword [rsp + 0x160]
mov rdx, qword [rsp + 0x168]
mov rcx, qword [0x14022a2c0]
call fcn.1400d1a80
nop
jmp 0x140033541
lea rcx, [rsp + 0x2b0]
call fcn.140031870
mov rcx, qword [rsp + 0x4d0]
xor rcx, rsp
call fcn.1401668d0
add rsp, 0x4e8
ret