Function at 0x1401326b8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rsi, rcx
call qword [sym.imp.mfc140u.dll_Ordinal_6006]
btr dword [rax + 0x60], 0xc
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_Ordinal_6006]
bts dword [rax + 0x60], 8
xor r14d, r14d
cmp byte [0x1404bcf11], r14b
jne 0x140132a98
cmp qword [0x1404bb5b0], r14
jne 0x1401327cd
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor r8d, r8d
lea rdx, [0x14012fa1c]
mov rcx, rax
call qword [sym.imp.USER32.dll_EnumChildWindows]
lea ebx, [r14 - 0x10]
mov edx, ebx
mov rcx, qword [0x1404bb5b0]
call qword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 8
mov r8d, eax
mov edx, ebx
mov rcx, qword [0x1404bb5b0]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [rsp + 0x20], 2
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_Ordinal_6006]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x28], rcx
test rcx, rcx
je 0x1401327cd
call fcn.14000f130
test eax, eax
je 0x1401327cd
lea r9, [rsp + 0x20]
or r8, 0xffffffffffffffff
mov edx, CMFCToolBar::DrawButton
mov rcx, qword [0x1404bb5b0]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x1401327cd
lea ecx, [rbx + 0x13]
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x6c], ecx
movsxd r8, eax
lea r9, [rsp + 0x60]
mov edx, 0x102b
mov rcx, qword [0x1404bb5b0]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1032
mov rcx, qword [0x1404bb5b0]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x14013285d
mov ebx, r14d
xor r9d, r9d
xor r8d, r8d
mov edi, 0x1004
mov edx, edi
mov rcx, qword [0x1404bb5b0]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x140132845
movsxd r8, ebx
mov edx, CMFCMaskedEdit::DoUpdate
mov r9d, 2
mov rcx, qword [0x1404bb5b0]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x140132845
inc ebx
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov rcx, qword [0x1404bb5b0]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, eax
jl 0x14013280b
movsxd r8, ebx
xor r9d, r9d
mov edx, 0x1013
mov rcx, qword [0x1404bb5b0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
lea r9, [rbp - 0x40]
mov edx, CDragListBox::~CDragListBox
mov r8d, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test eax, eax
jle 0x140132a98
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1401328a8
mov ebx, r14d
jmp 0x1401328ae
test al, 0x10
cmovne ebx, r14d
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x4c], r14d
test ebx, ebx
jle 0x140132961
cmp byte [0x1404bcf12], r14b
je 0x140132961
lea rbx, [rsi + 0x620]
xor r8d, r8d
xor edx, edx
lea rcx, [rbx + 0x28]
call qword [sym.imp.acdb24.dll_public:_void___cdecl_PreviewCore::setVersionInfo_enum_AcDb::AcDbDwgVersion__enum_AcDb::MaintenanceReleaseVersion____ptr64]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.14021e70c
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x48]
lea rcx, [rbx + 0x28]
call qword [sym.imp.acdb24.dll_public:_void___cdecl_PreviewCore::getVersionInfo_enum_AcDb::AcDbDwgVersion____ptr64__enum_AcDb::MaintenanceReleaseVersion____ptr64____ptr64]
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x14013299e
mov ebx, r14d
test dword [0x1404bd350], 0x100000
jne 0x14013292a
cmp eax, 0x15
setg bl
mov edx, 0x4b9
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonGallery::GetCompactSize]
test rax, rax
je 0x140132948
mov edx, ebx
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
lea rdx, [rbp - 0x40]
lea rcx, [0x1404bd130]
call fcn.14002a14c
mov byte [0x1404bd338], r14b
jmp 0x140132997
cmp dword [rsi + 0x1208], r14d
je 0x14013299e
mov edx, 0x4b9
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonGallery::GetCompactSize]
test rax, rax
je 0x140132990
xor edx, edx
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
mov dword [rsp + 0x48], SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
mov dword [rsi + CMFCToolBarsCustomizeDialog::FillCategoriesListBox], r14d
cmp dword [rsp + 0x48], r14d
jne 0x1401329ea
lea rdx, [rbp - 0x40]
call fcn.14012e5e4
mov ebx, eax
mov edx, 0x4b9
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonGallery::GetCompactSize]
test rax, rax
je 0x1401329d3
test dword [0x1404bd350], 0x100000
jne 0x1401329d3
mov edx, ebx
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
lea rdx, [rbp - 0x40]
lea rcx, [0x1404bd130]
call fcn.14002a14c
mov byte [0x1404bd338], r14b
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_Ordinal_6006]
test dword [rax + 0x60], 0x200
je 0x140132a5a
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
nop
mov edx, 0x4b6
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonGallery::GetCompactSize]
mov rbx, rax
xor r8d, r8d
lea rdx, [0x1403a7d00]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test rbx, rbx
je 0x140132a4f
mov rcx, rbx
cmp eax, 0xffffffff
je 0x140132a43
xor edx, edx
jmp 0x140132a48
mov edx, 1
call qword [sym.imp.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [0x1404bdcd8]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonComboBox::FindItem]
mov edx, 0x480
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonGallery::GetCompactSize]
test rax, rax
je 0x140132a98
xor r9d, r9d
or r8d, 0xffffffff
xor edx, edx
mov rcx, rax
call fcn.1400d6b14
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140088c50
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret