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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x4b0
mov rax, qword [0x0400c1b0]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rbp, rcx
mov qword [rsp + 0x38], rcx
mov edi, edx
mov dword [rsp + 0x24], edx
lea rcx, [rsp + 0x44]
xor ebx, ebx
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x40], ebx
call fcn.0400a4d6
lea rcx, [rsp + 0x292]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x290], bx
call fcn.0400a4d6
cmp edi, ebx
je 0x4008d54
cmp rbp, rbx
je 0x4008d54
lea rax, [rsp + 0x290]
mov rsi, rbp
mov r9d, 0x104
sub rsi, rax
lea rcx, [rsp + 0x290]
mov edi, ebx
mov qword [rsp + 0x30], rsi
mov rdx, r9
lea rax, [rdx + 0x7ffffefa]
cmp rax, rbx
je 0x4008b81
movzx eax, word [rsi + rcx]
cmp ax, bx
je 0x4008b81
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x4008b5f
cmp rdx, rbx
jne 0x4008b8f
sub rcx, 2
mov edi, 0x8007007a
test edi, edi
mov word [rcx], bx
setns bl
test ebx, ebx
je 0x4008d54
lea r8, [0x040012bc]
lea rcx, [rsp + 0x290]
mov rdx, r9
call fcn.04008880
xor ebx, ebx
test eax, eax
setns bl
mov dword [rsp + 0x20], ebx
test ebx, ebx
je 0x4008d54
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
je 0x4008d54
mov ebx, dword [rsp + 0x24]
mov rbp, rax
lea rsi, [rsp + 0x6c]
lea rdi, [0x040012b8]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x4008d0e
lea rsi, [rsp + 0x6c]
lea rdi, [0x040012ac]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x4008d0e
mov rbp, qword [rsp + 0x30]
xor esi, esi
mov edx, 0x104
mov edi, esi
lea rcx, [rsp + 0x290]
lea rax, [rdx + 0x7ffffefa]
cmp rax, rsi
je 0x4008c5e
movzx eax, word [rcx + rbp]
cmp ax, si
je 0x4008c5e
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x4008c3c
mov rbp, qword [rsp + 0x28]
cmp rdx, rsi
jne 0x4008c71
sub rcx, 2
mov edi, 0x8007007a
cmp edi, esi
mov word [rcx], si
jl 0x4008d10
mov edi, 0x104
lea r8, [0x040012b4]
lea rcx, [rsp + 0x290]
mov rdx, rdi
call fcn.04008880
cmp eax, esi
jl 0x4008d10
lea r8, [rsp + 0x6c]
lea rcx, [rsp + 0x290]
mov rdx, rdi
call fcn.04008880
cmp eax, esi
jl 0x4008d10
mov edx, dword [rsp + 0x40]
test dl, 0x10
jne 0x4008cfc
test dl, 1
je 0x4008cd4
lea rcx, [rsp + 0x290]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, esi
jne 0x4008d10
xor edx, edx
lea rcx, [rsp + 0x290]
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x4008d10
lea edx, [rbx - 1]
lea rcx, [rsp + 0x290]
call fcn.04008ac4
jmp 0x4008d10
xor esi, esi
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, esi
jne 0x4008bf2
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbp, qword [rsp + 0x38]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, dword [rsp + 0x20]
cmp eax, esi
jne 0x4008d54
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, ebx
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.0400a4b0
mov rbx, qword [rsp + 0x4e0]
add rsp, 0x4b0
pop rdi
pop rsi
pop rbp
ret