Function at 0x1400d57f0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rdi
mov eax, reloc.mfc140u.dll_CMFCZoomKernel::Filter
call fcn.1400f7780
sub rsp, rax
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x1248], rbx
mov qword [rsp + 0x1250], rsi
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + reloc.mfc140u.dll_CRenderTarget::FillOpacityMask], rax
mov rsi, rcx
lea rdx, str.F:_testing
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop
mov rcx, rsi
lea rdx, [rsp + 0xa50]
sub rdx, rsi
nop
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d5850
lea rcx, [rsp + 0xa50]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400d5870
mov eax, dword [0x14015fdd4]
mov dword [rcx], eax
movzx eax, word [0x14015fdd8]
mov word [rcx + 4], ax
mov rcx, rsi
lea rdx, [rsp + 0x280]
sub rdx, rsi
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d58a0
lea rcx, [rsp + 0x280]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400d58c0
mov eax, dword [0x140145a80]
mov dword [rcx], eax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
xor ebx, ebx
cmp rax, 0xffffffffffffffff
je 0x1400d5a39
mov edx, ebx
nop word [rax + rax]
movzx ecx, word [rsp + rdx + 0x280]
mov word [rsp + rdx + 0xa50], cx
lea rdx, [rdx + 2]
test cx, cx
jne 0x1400d5900
nop dword [rax]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400d5a0e
lea rcx, [rsp + 0x5c]
call fcn.1400e1180
test eax, eax
jne 0x1400d5920
lea rax, [rsp + 0x280]
sub rax, 2
lea rax, [rax + 2]
cmp word [rax], bx
jne 0x1400d5950
lea r8, [rsp + 0x5c]
xor edx, edx
movzx ecx, word [r8 + rdx*2]
mov word [rax + rdx*2], cx
lea rdx, [rdx + 1]
test cx, cx
jne 0x1400d5960
mov eax, dword [rsp + 0x30]
test al, 0x10
je 0x1400d59be
lea rcx, [rsp + 0x280]
call fcn.1400d57f0
test eax, eax
je 0x1400d5a2f
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, rbx
movzx eax, word [rsp + rcx + 0xa50]
mov word [rsp + rcx + 0x280], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d59a0
jmp 0x1400d5920
test al, 1
je 0x1400d59d5
mov edx, 0x80
lea rcx, [rsp + 0x280]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wchmod]
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400d5a2f
mov rcx, rbx
nop word [rax + rax]
movzx eax, word [rsp + rcx + 0xa50]
mov word [rsp + rcx + 0x280], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d59f0
jmp 0x1400d5920
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1400d5a2f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
jmp 0x1400d5a39
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, ebx
mov rcx, qword [rsp + reloc.mfc140u.dll_CRenderTarget::FillOpacityMask]
xor rcx, rsp
call fcn.1400f76d0
lea r11, [rsp + reloc.mfc140u.dll_CMFCZoomKernel::Filter]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret