Function at 0x1400fb940
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov rdi, rcx
mov rdx, rcx
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::HitTest]
test al, al
jne 0x1400fbb24
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov rcx, rax
call fcn.1400fbb40
test al, al
je 0x1400fbb24
lea rcx, [rbp - 0x40]
call sub.mfc140u.dll_CEnumFormatEtc::CEnumFormatEtc
nop
mov rdx, rdi
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
mov r8d, 1
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_Ordinal_12600]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov r8, rax
lea rdx, [0x140154858]
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
nop
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
mov ebx, eax
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
je 0x1400fba27
lea rdx, [0x140154858]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
lea rdx, [0x140185a90]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_COleCurrency::operator]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
xor r8d, r8d
lea rcx, [rbp - 0x40]
call sub.mfc140u.dll_CResetPropExchange::ExchangePersistentProp
test eax, eax
je 0x1400fbb0f
nop dword [rax]
lea rcx, [rbp - 0x40]
call sub.mfc140u.dll_Ordinal_4578
mov ebx, eax
lea rcx, [rbp - 0x40]
call sub.mfc140u.dll_CDC::HIMETRICtoDP
test eax, eax
jne 0x1400fbab7
lea edx, [rax + 0x10]
lea rcx, [rbp - 0x40]
mov r8, qword [rbp - 0x40]
call qword [r8 + 0x80]
test eax, eax
jne 0x1400fbab7
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x40]
call sub.mfc140u.dll_Ordinal_5385
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov edx, 0x10
lea rcx, [rbp - 0x40]
mov rax, qword [rbp - 0x40]
call qword [rax + 0x80]
test eax, eax
je 0x1400fbb07
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x40]
call sub.mfc140u.dll_Ordinal_5385
nop
mov rdx, rax
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rbp - 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test ebx, ebx
jne 0x1400fba60
lea rcx, [rbp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x40]
call sub.mfc140u.dll_CDockSite::CDockSite
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
add rsp, 0x70
pop rdi
pop rbx
pop rbp
ret