Function at 0x140242b2c
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0xc0
mov rax, qword [0x14049e048]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [sym.imp.accore.dll_class_AcMemLocker::Ptr_class_AcDbDatabase____ptr64__curDwg]
cmp qword [rax], 0
je 0x140242e98
mov rax, qword [0x1404b6b50]
mov rcx, qword [rax]
test rcx, rcx
je 0x140242e98
lea rbx, [rcx + 0xab8]
test rbx, rbx
je 0x140242e98
lea r15, [0x1404b6130]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::HitTest]
test al, al
jne 0x140242ba7
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
lea rdx, [0x1404b6160]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CDockingManager::AlignAutoHidePane]
lea rdx, [0x1404b6168]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CDockingManager::AlignAutoHidePane]
mov rax, qword [rbx + 0x98]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140242c48
lea rdx, [rsp + 0x38]
call fcn.14001b514
mov rdi, qword [rax]
test rdi, rdi
je 0x140242c40
lea rdx, [0x14032f730]
cmp qword [rdi + 8], 0
cmovne rdx, qword [rdi + 8]
mov rcx, rbx
call fcn.140025560
mov rsi, rax
test rax, rax
je 0x140242c40
lea rdx, [0x14032f730]
cmp qword [rdi + 0x18], 0
cmovne rdx, qword [rdi + 0x18]
mov r8, qword [rax + 0xe0]
call fcn.14004e190
mov rdi, rax
test rax, rax
je 0x140242c40
mov rcx, rsi
call fcn.140304f3c
mov rcx, rdi
call fcn.1402427bc
cmp qword [rsp + 0x38], 0
jne 0x140242bd8
call fcn.1402417a4
mov rbx, rax
test rax, rax
je 0x140242c87
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
nop
lea rdx, [rsp + 0x38]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CDockingManager::AlignAutoHidePane]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_operator]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rdx, [0x1404b6170]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CDockingManager::AlignAutoHidePane]
call qword [sym.imp.accore.dll_thisProgram]
mov r9, rax
mov r8d, 9
lea rdx, str._.s.dhlp
lea rcx, [rsp + 0x90]
call fcn.14001a998
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
nop
and qword [rsp + 0x20], 0
call qword [sym.imp.acdb24.dll_class_AcDbHostApplicationServices____ptr64___cdecl_acdbHostApplicationServices_void_]
mov rdx, qword [rax]
mov r8, qword [rdx + 0x48]
lea rdx, [rsp + 0x20]
mov rcx, rax
call r8
test eax, eax
je 0x140242cfe
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
jmp 0x140242e8d
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_Ordinal_1667]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140242d58
lea rcx, [0x1404b6138]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rdx, rax
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CFileFind::CloseContext]
test eax, eax
je 0x140242e44
xor edx, edx
lea r8d, [rdx + 0x50]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x40]
call fcn.1400bd3e8
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rdx, rax
xor r9d, r9d
mov r8d, 0x1001
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCToolBarsListPropertyPage::OnTextLabels]
test eax, eax
jne 0x140242dd9
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
nop
lea rax, vtable.AcCStdioFile.0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CScrollView::CScrollView]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor al, al
jmp 0x140242e9a
mov byte [rsp + 0x74], 0
mov dword [rsp + 0x70], 2
lea rcx, [rsp + 0x40]
call fcn.140243050
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400bd794
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CRenderTarget::FillRoundedRectangle]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCVisualManagerWindows7::CleanUp]
mov rdx, r15
lea rcx, [0x1404b6138]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rax, vtable.AcCStdioFile.0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CScrollView::CScrollView]
mov rcx, r15
call qword [sym.imp.mfc140u.dll_CMFCToolBar::DrawButton]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov al, 1
jmp 0x140242e9a
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor al, al
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140088c50
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r15
ret