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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, reloc.mfc140u.dll_CRenderTarget::FillOpacityMask
call fcn.1400f7780
sub rsp, rax
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + 0x1210], rax
lea r8, [rsp + 0xa40]
mov rdi, rdx
sub r8, rcx
mov rsi, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [r8 + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d5ab0
lea rcx, [rsp + 0xa40]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400d5ad0
mov eax, dword [0x14015fdd4]
lea rbx, [rsp + 0x270]
mov dword [rcx], eax
sub rbx, rsi
movzx eax, word [0x14015fdd8]
mov word [rcx + 4], ax
mov rcx, rsi
nop dword [rax]
movzx eax, word [rcx]
mov word [rbx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d5b00
lea rcx, [rsp + 0x270]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400d5b20
mov eax, dword [0x140145a80]
lea rdx, [rsp + 0x20]
mov dword [rcx], eax
lea rcx, [rsp + 0xa40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1400d5b56
xor eax, eax
jmp 0x1400d5cdf
xor ecx, ecx
nop dword [rax + rax]
movzx eax, word [rsp + rcx + 0x270]
mov word [rsp + rcx + CGlobalUtils::CalcExpectedDockedRect], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d5b60
nop dword [rax]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400d5cbe
lea rcx, [rsp + 0x4c]
call fcn.1400e1180
test eax, eax
jne 0x1400d5b80
mov rax, rsi
nop word [rax + rax]
movzx ecx, word [rax]
mov word [rbx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x1400d5bb0
lea rcx, [rsp + 0x270]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400d5bd0
mov eax, dword [0x140145a80]
mov dword [rcx], eax
lea rcx, [rsp + 0x270]
sub rcx, 2
nop
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400d5bf0
lea r8, [rsp + 0x4c]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1400d5c10
test byte [rsp + 0x20], 0x10
je 0x1400d5c8e
movzx eax, word [rdi]
cmp ax, word [0x14012c468]
je 0x1400d5c4e
mov rdx, rdi
lea rcx, [rsp + 0x270]
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
jne 0x1400d5b80
mov rdx, rdi
lea rcx, [rsp + 0x270]
call fcn.1400d5a70
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor ecx, ecx
nop
movzx eax, word [rsp + rcx + 0xa40]
mov word [rsp + rcx + 0x270], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d5c70
jmp 0x1400d5b80
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
nop
movzx eax, word [rsp + rcx + 0xa40]
mov word [rsp + rcx + 0x270], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400d5ca0
jmp 0x1400d5b80
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1400d5b80
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rcx, qword [rsp + 0x1210]
xor rcx, rsp
call fcn.1400f76d0
mov rbx, qword [rsp + 0x1250]
add rsp, reloc.mfc140u.dll_CRenderTarget::FillOpacityMask
pop rdi
pop rsi
pop rbp
ret