Function at 0x1401586e0
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov esi, edx
mov rdi, rcx
xor r8d, r8d
lea rdx, [0x1402d9c30]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
cmp eax, 0xffffffff
jne 0x14015874b
xor r8d, r8d
lea rdx, [0x1402d9c50]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
cmp eax, 0xffffffff
jne 0x14015874b
xor r8d, r8d
lea rdx, str.ClipCompare
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
cmp eax, 0xffffffff
je 0x140158a49
lea rax, [rbp + 0x77]
mov qword [rbp - 0x49], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildMisc.cpp
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
mov r9d, esi
mov r8, qword [rdi]
lea rdx, str.Deleting_files_in_Folder__s_Check_Last_Access__d
lea rcx, [rbp - 0x59]
call fcn.14015b330
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
nop
mov r9d, 0x459
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14015b6c0
nop
lea rcx, [rbp - 0x59]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::HitTest]
test al, al
jne 0x1401587f9
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
lea edx, [rax - 1]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCBaseAccessibleObject::XAccessible::get_accChild]
cmp ax, 0x5c
je 0x1401587f9
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::GetHierarchyLevel]
lea edx, [rax - 1]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCBaseAccessibleObject::XAccessible::get_accChild]
cmp ax, 0x2f
je 0x1401587f9
lea rdx, [0x1402d9ce4]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rbp - 0x51], 0
lea r15, [rax - 1]
lea rcx, [rbp - 1]
call sub.mfc140u.dll_CEnumFormatEtc::CEnumFormatEtc
nop
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov r8, qword [rdi]
lea rdx, [0x1402d9ce8]
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rdx, rax
xor r8d, r8d
lea rcx, [rbp - 1]
call sub.mfc140u.dll_CResetPropExchange::ExchangePersistentProp
test eax, eax
je 0x140158a34
lea rcx, [rbp - 1]
call sub.mfc140u.dll_Ordinal_4578
mov r14d, eax
lea rcx, [rbp - 1]
call sub.mfc140u.dll_CDC::HIMETRICtoDP
test eax, eax
jne 0x140158a2b
mov rcx, qword [rbp - 1]
mov r8, qword [rcx + 0x80]
lea edx, [rax + 0x10]
lea rcx, [rbp - 1]
call r8
test eax, eax
je 0x1401588d1
lea rdx, [rbp + 0x77]
lea rcx, [rbp - 1]
call sub.mfc140u.dll_Ordinal_5385
nop
lea rdx, [rbp + 0x77]
lea rcx, [rbp - 0x59]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
mov edx, esi
mov rcx, rax
call fcn.1401586e0
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test esi, esi
je 0x140158991
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 1]
call sub.mfc140u.dll_CInternetSession::GetGopherConnection
test eax, eax
je 0x140158991
cmp qword [rbp - 0x51], r15
jge 0x140158a2b
lea rax, [rbp - 0x39]
mov qword [rbp - 0x41], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildMisc.cpp
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 1]
call sub.mfc140u.dll_Ordinal_5385
nop
mov r8, qword [rax]
lea rdx, str.Deleting_temp_file__s
lea rcx, [rbp - 0x31]
call fcn.14015b330
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
nop
mov r9d, CFormView::~CFormView
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14015b6c0
nop
lea rcx, [rbp - 0x31]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x29]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 1]
call sub.mfc140u.dll_Ordinal_5385
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x21]
jmp 0x140158a25
lea rax, [rbp - 0x19]
mov qword [rbp - 0x41], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildMisc.cpp
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
lea rdx, [rbp - 9]
lea rcx, [rbp - 1]
call sub.mfc140u.dll_Ordinal_5385
nop
mov r8, qword [rax]
lea rdx, str.Deleting_temp_file__s
lea rcx, [rbp - 0x11]
call fcn.14015b330
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
nop
mov r9d, CGlobalUtils::~CGlobalUtils
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14015b6c0
nop
lea rcx, [rbp - 0x11]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 9]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 1]
call sub.mfc140u.dll_Ordinal_5385
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test r14d, r14d
jne 0x140158857
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 1]
call sub.mfc140u.dll_CDockSite::CDockSite
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rbx, qword [rsp + 0xe8]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret