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

Disassembly:
sub rsp, 0x28
lea rcx, [0x140003410]
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.1400016f0
mov rcx, rax
lea rdx, [0x1400018d0]
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 0x14000164c
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.1400016f0
mov rcx, rax
lea rdx, [0x1400018d0]
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 0x140001645
test al, 0x10
jne 0x140001645
lea rdx, str.C:WindowsSystem32_bCompPkgSup.dll
lea rcx, str.C:WindowsSystem32CompPkgSup.dll
call fcn.1400012a0
test al, al
je 0x140001668
lea rcx, str.C:WindowsSystem32cat.dll
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000163c
test al, 0x10
jne 0x14000163c
lea rdx, str.C:WindowsSystem32CompPkgSup.dll
lea rcx, str.C:WindowsSystem32cat.dll
call fcn.1400012a0
test al, al
je 0x140001668
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str..dll_renamed._Open_game_and_press_any_key_in_LOBBY_when_u_see_menu_.
call fcn.1400016f0
mov rcx, rax
lea rdx, [0x1400018d0]
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.1400016f0
mov rcx, rax
lea rdx, [0x1400018d0]
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 0x140001633
test al, 0x10
jne 0x140001633
lea rdx, str.C:WindowsSystem32cat.dll
lea rcx, str.C:WindowsSystem32CompPkgSup.dll
call fcn.1400012a0
test al, al
je 0x140001668
lea rcx, str.C:WindowsSystem32_bCompPkgSup.dll
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000162a
test al, 0x10
jne 0x14000162a
lea rdx, str.C:WindowsSystem32CompPkgSup.dll
lea rcx, str.C:WindowsSystem32_bCompPkgSup.dll
call fcn.1400012a0
test al, al
je 0x140001668
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.1400016f0
mov rcx, rax
lea rdx, [0x1400018d0]
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:WindowsSystem32cat.dll
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400015ad
test al, 0x10
jne 0x1400015ad
lea rcx, str.C:WindowsSystem32cat.dll
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1400015d0
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_deleting_file:
mov ebx, eax
call fcn.1400016f0
mov rcx, rax
lea rdx, str.C:WindowsSystem32cat.dll
call fcn.1400016f0
mov rcx, rax
lea rdx, str._Error:
call fcn.1400016f0
mov rcx, rax
mov edx, ebx
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 rcx, rax
lea rdx, [0x1400018d0]
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 rbx, qword [rsp + 0x20]
mov eax, 1
add rsp, 0x28
ret
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.cat.dll_does_not_exist_for_deletion.
call fcn.1400016f0
mov rcx, rax
lea rdx, [0x1400018d0]
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.cat.dll_deleted.
call fcn.1400016f0
mov rcx, rax
lea rdx, [0x1400018d0]
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.1400016f0
mov rcx, rax
lea rdx, [0x1400018d0]
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 0x14000164c
lea rdx, str.CompPkgSup.dll_does_not_exist.
jmp 0x14000164c
lea rdx, str.cat.dll_does_not_exist.
jmp 0x14000164c
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.1400016f0
lea rdx, [0x1400018d0]
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