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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x6d0
mov rax, qword [0x1801345d0]
xor rax, rsp
mov qword [rsp + 0x6c0], rax
mov ebp, edx
mov dword [rsp + 0x44], edx
mov rbx, rcx
test rcx, rcx
je 0x18000e340
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x18000e340
mov qword [rsp + 0x6e8], rsi
xor esi, esi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x20], rsi
call fcn.18000b130
test eax, eax
je 0x18000e33c
mov edi, dword [rsp + 0x40]
cmp edi, 0xffffffff
je 0x18000e33c
test dil, 1
je 0x18000e147
and edi, 0xfffffffe
mov rcx, rbx
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test dil, 0x10
je 0x18000e2ef
lea rcx, [rsp + 0x4b2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x4b0], si
call fcn.18006f140
lea rcx, [rsp + 0x4b0]
sub rcx, rbx
mov rdx, rbx
nop dword [rax]
movzx eax, word [rdx]
add rdx, 2
mov word [rcx + rdx - 2], ax
test ax, ax
jne 0x18000e180
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x4b0]
repne scasw ax, word [rdi]
mov eax, dword [0x1800e4268]
lea rcx, [rsp + 0x54]
mov dword [rdi - 2], eax
movzx eax, word [0x1800e426c]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x50], esi
mov word [rdi + 2], ax
call fcn.18006f140
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18000e2e4
xor ebp, ebp
nop
lea rdx, [0x1800e45f4]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x18000e2c1
lea rdx, [0x1800e45f0]
lea rcx, [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x18000e2c1
lea rcx, [rsp + 0x2a2]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x2a0], bp
call fcn.18006f140
lea rcx, [rsp + 0x2a0]
sub rcx, rbx
mov rdx, rbx
nop
movzx eax, word [rdx]
add rdx, 2
mov word [rcx + rdx - 2], ax
test ax, ax
jne 0x18000e250
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x2a0]
repne scasw ax, word [rdi]
mov eax, dword [0x1800e3518]
or rcx, 0xffffffffffffffff
mov dword [rdi - 2], eax
xor eax, eax
lea rdi, [rsp + 0x2a0]
repne scasw ax, word [rdi]
xor ecx, ecx
lea rdx, [rsp + 0x7c]
nop word [rax + rax]
movzx eax, word [rdx + rcx]
add rcx, 2
mov word [rdi + rcx - 4], ax
test ax, ax
jne 0x18000e2a0
lea rcx, [rsp + 0x2a0]
xor edx, edx
call fcn.18000e0a0
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18000e1f0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [rsp + 0x44]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x18000e2f8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x18000e30f
test ebp, ebp
je 0x18000e30f
lea r8d, [rax + 4]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov rsi, qword [rsp + 0x6e8]
mov rcx, qword [rsp + 0x6c0]
xor rcx, rsp
call fcn.18006f110
lea r11, [rsp + 0x6d0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
xor eax, eax
jmp 0x18000e30f
xor eax, eax
jmp 0x18000e317