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

Disassembly:
sub rsp, 0x5a8
mov rax, qword [0x1401c03c0]
xor rax, rsp
mov qword [rsp + 0x590], 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.14002f110
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call fcn.140034c40
call fcn.140034b90
movzx eax, al
test eax, eax
je 0x140035dd8
call fcn.140034d00
mov dword [reloc.WLDAP32.dll_Ordinal_60], eax
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 + 0x2b0]
mov qword [rsp + 0x50], rax
lea rdx, [0x1401852b8]
mov rcx, qword [rsp + 0x50]
call fcn.140021310
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [0x14022e050]
call fcn.140034690
test eax, eax
jne 0x140035e80
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x140035e7b
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.140023670
mov qword [rsp + 0x60], rax
lea rdx, [0x140023a50]
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 0x140035dfc
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140035ecd
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.140023670
mov qword [rsp + 0x68], rax
lea rdx, [0x140023a50]
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 + 0x2d0]
mov qword [rsp + 0x70], rax
lea rdx, [0x1401852f0]
mov rcx, qword [rsp + 0x70]
call fcn.140021310
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
lea rcx, [0x14022e050]
call fcn.140034050
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 1
je 0x140035f2b
cmp dword [rsp + 0x40], 2
je 0x140035f74
cmp dword [rsp + 0x40], 3
je 0x140035fba
jmp 0x140035ffe
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.140023670
mov qword [rsp + 0x80], rax
lea rdx, [0x140023a50]
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.140035d30
jmp 0x140035ffe
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.140023670
mov qword [rsp + 0x88], rax
lea rdx, [0x140023a50]
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.140035d30
jmp 0x140035ffe
mov dx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x140185328]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023670
mov qword [rsp + 0x90], rax
lea rdx, [0x140023a50]
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.140035d30
call fcn.140034d40
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140036025
cmp dword [rsp + 0x44], 1
je 0x140036076
cmp dword [rsp + 0x44], 2
je 0x1400360c4
jmp 0x1400360c6
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.140023670
mov qword [rsp + 0x98], rax
lea rdx, [0x140023a50]
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, [0x140185358]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140036112
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.140023670
mov qword [rsp + 0xa0], rax
lea rdx, [0x140023a50]
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, [0x14018539c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140036112
jmp 0x140036112
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.140023670
mov qword [rsp + 0xa8], rax
lea rdx, [0x140023a50]
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, [0x14022e090]
call fcn.140033a60
movzx eax, al
test eax, eax
jne 0x140036169
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.140023670
mov qword [rsp + 0xb0], rax
lea rdx, [0x140023a50]
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.140035d30
mov dx, ntohl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x1401853f0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023670
mov qword [rsp + 0xb8], rax
mov eax, dword [0x14022e060]
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, [0x140023a50]
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._Game____
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140023670
mov qword [rsp + 0xd0], rax
lea rcx, [0x14022e090]
call fcn.1400075f0
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, [0x140023a50]
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 + 0x480]
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 0x140036296
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.140023670
mov qword [rsp + 0xe0], rax
lea rdx, [0x140023a50]
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.140035d30
lea rdx, [rsp + 0x480]
lea rcx, [0x14022e2a0]
call fcn.140021140
lea rdx, [rsp + 0x480]
lea rcx, [0x14022e280]
call fcn.140021140
lea rdx, str.PrivateStore
lea rcx, [0x14022e2a0]
call fcn.140037ed0
lea r8, [0x140185440]
lea rdx, [0x14022e280]
lea rcx, [rsp + 0x250]
call fcn.1400325a0
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
xor r8d, r8d
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x1b0]
call fcn.140032670
nop
lea rcx, [rsp + 0x1b0]
call fcn.140035430
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x1b0]
call fcn.140030680
nop
lea rcx, [rsp + 0x250]
call fcn.140007240
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x1400363f9
xor r8d, r8d
lea rdx, [0x14022e2a0]
lea rcx, [rsp + 0x1f0]
call fcn.140032670
nop
lea r8, str.Software_Data
lea rdx, [0x14022e280]
lea rcx, [rsp + 0x270]
call fcn.1400325a0
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x100], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0x1d0]
call fcn.140032670
nop
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x1d0]
call fcn.140030f70
nop
lea rcx, [rsp + 0x1d0]
call fcn.140030680
nop
lea rcx, [rsp + 0x270]
call fcn.140007240
nop
lea rcx, [rsp + 0x1f0]
call fcn.140030680
xor r8d, r8d
lea rdx, [0x14022e2a0]
lea rcx, [rsp + 0x210]
call fcn.140032670
nop
lea rcx, [rsp + 0x210]
call fcn.140035430
mov byte [rsp + 0x32], al
lea rcx, [rsp + 0x210]
call fcn.140030680
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x14003647c
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.140023670
lea rdx, [0x14022e2a0]
mov rcx, rax
call fcn.140039080
mov qword [rsp + 0x108], rax
lea rdx, [0x140023a50]
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 0x140036531
xor r8d, r8d
lea rdx, [0x14022e2a0]
lea rcx, [rsp + 0x230]
call fcn.140032670
nop
lea rcx, [rsp + 0x230]
call fcn.1400355f0
mov byte [rsp + 0x33], al
lea rcx, [rsp + 0x230]
call fcn.140030680
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x1400364fc
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.140023670
lea rdx, [0x14022e2a0]
mov rcx, rax
call fcn.140039080
mov qword [rsp + 0x110], rax
lea rdx, [0x140023a50]
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]
jmp 0x140036531
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.140023670
mov qword [rsp + 0x118], rax
lea rdx, [0x140023a50]
mov rcx, qword [rsp + 0x118]
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.140035d30
mov edx, 0x110
lea rcx, [rsp + 0x370]
call fcn.1400066f0
lea r8, str.default.cfg
lea rdx, [0x14022e2a0]
lea rcx, [rsp + 0x290]
call fcn.1400325a0
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x370]
call fcn.140037ca0
nop
lea rcx, [rsp + 0x290]
call fcn.140007240
lea rcx, [rsp + 0x370]
call fcn.140037bf0
movzx eax, al
test eax, eax
je 0x1400365d5
mov byte [0x14022dc35], 1
lea rcx, [rsp + 0x370]
call fcn.140037b90
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.140023670
mov qword [rsp + 0x130], rax
lea rdx, [0x140023a50]
mov rcx, qword [rsp + 0x130]
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 + 0x330]
mov qword [rsp + 0x138], rax
lea rdx, [0x14001d8e0]
mov rcx, qword [rsp + 0x138]
call fcn.140039110
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x150], rax
lea rdx, str.SDL_app
mov rcx, qword [rsp + 0x150]
call fcn.140021310
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x180], rax
lea rax, [rsp + 0x310]
mov qword [rsp + 0x168], rax
lea rdx, [0x140185528]
mov rcx, qword [rsp + 0x168]
call fcn.140021310
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x188], rax
mov r9, qword [rsp + 0x178]
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x188]
mov rcx, qword [0x14022e120]
call fcn.1400d2a60
nop
jmp 0x14003672c
lea rcx, [rsp + 0x370]
call fcn.140035120
mov rcx, qword [rsp + 0x590]
xor rcx, rsp
call fcn.140167f50
add rsp, 0x5a8
ret