Function at 0x140001350
Capabilities:
Check if file exists
Get file attributes
Set console window title

Disassembly:
sub rsp, 0x28
lea rcx, [0x1400033e8]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Downloading_cat.dll...
call fcn.140001600
mov rcx, rax
lea rdx, [0x1400017e0]
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 section..text
test al, al
jne 0x140001399
lea rdx, str.Failed_to_download_cat.dll
jmp 0x140001567
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Renaming_.dlls...
call fcn.140001600
mov rcx, rax
lea rdx, [0x1400017e0]
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.C:WindowsSystem32CompPkgSup.dll
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140001560
test al, 0x10
jne 0x140001560
lea rdx, str.C:WindowsSystem32_bCompPkgSup.dll
lea rcx, str.C:WindowsSystem32CompPkgSup.dll
call fcn.1400012a0
test al, al
je 0x140001583
lea rcx, str.C:WindowsSystem32cat.dll
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140001557
test al, 0x10
jne 0x140001557
lea rdx, str.C:WindowsSystem32CompPkgSup.dll
lea rcx, str.C:WindowsSystem32cat.dll
call fcn.1400012a0
test al, al
je 0x140001583
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str..dll_renamed._Press_any_key_in_LOBBY_when_u_see_menu_.
call fcn.140001600
mov rcx, rax
lea rdx, [0x1400017e0]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Unrenaming_DLLs...
call fcn.140001600
mov rcx, rax
lea rdx, [0x1400017e0]
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.C:WindowsSystem32CompPkgSup.dll
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000154e
test al, 0x10
jne 0x14000154e
lea rdx, str.C:WindowsSystem32cat.dll
lea rcx, str.C:WindowsSystem32CompPkgSup.dll
call fcn.1400012a0
test al, al
je 0x140001583
lea rcx, str.C:WindowsSystem32_bCompPkgSup.dll
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140001545
test al, 0x10
jne 0x140001545
lea rdx, str.C:WindowsSystem32CompPkgSup.dll
lea rcx, str.C:WindowsSystem32_bCompPkgSup.dll
call fcn.1400012a0
test al, al
je 0x140001583
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str..dll_reverted.
call fcn.140001600
mov rcx, rax
lea rdx, [0x1400017e0]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Press_any_key_to_exit...
call fcn.140001600
mov rcx, rax
lea rdx, [0x1400017e0]
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 rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
xor eax, eax
add rsp, 0x28
ret
lea rdx, str.bCompPkgSup.dll_does_not_exist.
jmp 0x140001567
lea rdx, str.CompPkgSup.dll_does_not_exist.
jmp 0x140001567
lea rdx, str.cat.dll_does_not_exist.
jmp 0x140001567
lea rdx, str.Original_file_does_not_exist.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001600
lea rdx, [0x1400017e0]
mov rcx, rax
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 eax, 1
add rsp, 0x28
ret