Function at 0x14000d1f0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x14001c508]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rdi, rcx
lea rdx, [rbp + 0x2f]
lea rcx, str.AutoCAD.Application
call fcn.14000d088
xor esi, esi
test eax, eax
js 0x14000d3f1
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x2f]
call qword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
js 0x14000d3f1
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, str.CLSID_
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
lea rdx, str.LocalServer32
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator_]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
mov r8, rax
mov dword [rsp + 0x20], 0x20019
lea r9, [rbp - 1]
mov rdx, 0xffffffff80000000
lea rcx, [rbp - 0x29]
call qword [sym.imp.UTx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::OpenKey_struct_HKEY______ptr64__wchar_t_const____ptr64__struct_HKEY______ptr64____ptr64__unsigned_long_int_]
cmp dword [rbp - 0x29], esi
je 0x14000d2c6
mov ebx, 0x80004005
jmp 0x14000d3e5
mov qword [rbp + 7], rsi
lea rcx, [rbp + 7]
call qword [sym.imp.UTxShared.dll_void____ptr64___cdecl_UTxShared::StringAllocHint_void____ptr64_]
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], si
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0x20], sil
lea r9, [rbp + 7]
xor r8d, r8d
mov rdx, qword [rbp - 1]
lea rcx, [rbp - 0x19]
call qword [sym.imp.UTx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::Read_struct_HKEY____const___ptr64__wchar_t_const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_UTxStringAllocator_wchar_t______ptr64__bool__unsigned_long_int____ptr64_]
mov ecx, dword [rax]
mov dword [rbp - 0x29], ecx
mov rdx, qword [rbp - 1]
lea rcx, [rbp - 0x19]
call qword [sym.imp.UTx.dll_public:_static_class_UTxResult___cdecl_UTxPref_Reg::CloseKey_struct_HKEY______ptr64_]
cmp dword [rbp - 0x29], esi
je 0x14000d32d
mov ebx, 0x80004005
jmp 0x14000d3c4
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
lea rcx, [rbp - 0x11]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
xor r8d, r8d
lea rdx, str.acad.exe
lea rcx, [rbp - 0x11]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
jns 0x14000d365
mov ebx, 0x80004005
jmp 0x14000d3b9
mov r8d, eax
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x11]
call qword [sym.imp.mfc140u.dll_CStringList::InsertBefore]
nop
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_Ordinal_1667]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_CDumpContext::operator__]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb ecx, ecx
not ecx
mov ebx, 0x80004005
and ebx, ecx
lea rcx, [rbp - 0x11]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
cmp qword [rbp + 0x27], 8
jb 0x14000d3d5
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.UTxShared.dll_void___cdecl_UTxShared::StringDeallocate_void____ptr64_]
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], si
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, ebx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14000df40
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret