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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov rax, qword [0x140018018]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rdi, rcx
mov esi, 0x104
mov r8d, esi
lea rcx, [rbp + 0x70]
xor edx, edx
xor ebx, ebx
call sub.msvcrt.dll_memset
test rdi, rdi
je 0x14000933b
cmp byte [rdi], bl
je 0x14000933b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
nop dword [rax + rax]
test eax, eax
jne 0x14000933b
lea rax, [rbp + 0x70]
mov r8, rdi
sub r8, rax
lea rcx, [rbp + 0x70]
mov edx, esi
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140009172
mov al, byte [r8 + rcx]
test al, al
je 0x140009172
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140009153
test rdx, rdx
lea rax, [rcx - 1]
cmovne rax, rcx
mov byte [rax], bl
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
test rdx, rdx
je 0x14000933b
lea rcx, [rbp + 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400091a0
sub rsi, rax
lea r8, [0x140014374]
mov rdx, rsi
lea rcx, [rbp + 0x70]
call fcn.140009c18
mov ebx, eax
test eax, eax
js 0x14000933b
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140009320
lea rdx, [0x140014378]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
nop dword [rax + rax]
test eax, eax
je 0x1400092a5
lea rdx, [0x14001437c]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
nop dword [rax + rax]
test eax, eax
je 0x1400092a5
lea rax, [rsp + 0x5c]
mov r9, rdi
lea r8, [0x140014380]
mov qword [rsp + 0x20], rax
mov edx, 0x103
lea rcx, [rbp + 0x70]
call fcn.140009ffc
mov ebx, eax
test eax, eax
js 0x1400092ed
test byte [rsp + 0x30], 0x10
lea rcx, [rbp + 0x70]
je 0x140009280
mov edx, 0x90
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop dword [rax + rax]
lea rcx, [rbp + 0x70]
call fcn.1400090d4
mov ebx, eax
test eax, eax
js 0x1400092ed
jmp 0x1400092a5
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
nop dword [rax + rax]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop dword [rax + rax]
test eax, eax
je 0x1400092d2
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
nop dword [rax + rax]
test eax, eax
jne 0x1400091eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
je 0x1400092fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1400092ed
movzx ebx, ax
or ebx, 0x80070000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
jmp 0x14000933b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
nop dword [rax + rax]
test eax, eax
jne 0x14000933b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14000933b
movzx ebx, ax
or ebx, 0x80070000
mov eax, ebx
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140001580
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret