Function at 0x140015ff4
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140035868]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rsi, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_CControlBar::CControlBar]
nop
lea rdx, [0x1400239a8]
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
mov rbx, rax
mov edi, 1
mov r8d, edi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_CFormView::SetOccDialogInfo]
mov r8, qword [rbx]
mov rcx, qword [rax]
sub r8, rcx
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x140016082
add rcx, 2
test eax, eax
jne 0x14001606e
test edx, edx
sete bl
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
test bl, bl
je 0x1400160d9
mov rax, qword [rsp + 0x20]
mov r8d, dword [rax - 8]
dec r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_CDialog::OnCommandHelp]
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_AfxDaoGetEngine]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
lea rdx, str..
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop
mov r8, rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_AfxThrowNotSupportedException]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400161f2
test edi, edi
je 0x1400161f2
test byte [rbp - 0x80], 0x10
jne 0x1400161de
lea rdx, [0x1400239a8]
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop
mov r8, rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_AfxThrowNotSupportedException]
nop
lea r8, [rbp - 0x54]
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_AfxThrowOleException]
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC42u.dll_AfxDaoGetEngine]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsi]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x1400161de
mov edx, 0x80
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
jmp 0x140016133
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [0x140028d8c]
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop
mov r8, rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_AfxThrowNotSupportedException]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140016359
test byte [rbp - 0x80], 0x10
je 0x14001633b
movzx ecx, word [rbp - 0x54]
movzx eax, word [rbp - 0x52]
cmp cx, word [0x140023978]
jne 0x140016271
cmp ax, word [0x14002397a]
je 0x14001633b
cmp cx, word [0x140028d74]
jne 0x140016294
cmp ax, word [0x140028d76]
jne 0x140016294
movzx eax, word [rbp - 0x50]
cmp ax, word [0x140028d78]
je 0x14001633b
lea rdx, [0x140023f51]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MFC42u.dll_CCtrlView::CCtrlView]
mov rdi, rax
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x68]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
mov rbx, rax
lea rdx, [0x1400239a8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop
mov r8, rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_AfxThrowNotSupportedException]
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_AfxThrowNotSupportedException]
nop
mov rdx, rdi
mov rcx, rax
call fcn.140015ff4
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140016249
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14001c820
mov rbx, qword [rsp + 0x310]
add rsp, 0x2e0
pop rdi
pop rsi
pop rbp
ret