Function at 0x18001714c
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 - 0x5c8]
sub rsp, 0x6c0
mov rax, qword [0x1800240b0]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor ebx, ebx
or rdi, 0xffffffffffffffff
call qword [sym.imp.SETUPAPI.dll_SetupGetThreadLogToken]
mov qword [rsp + 0x30], rax
test rsi, rsi
jne 0x1800171a1
lea ebx, [rsi + 0x57]
jmp 0x1800173b9
mov edx, 0x80
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x3a0]
mov r8, rsi
mov edx, 0x104
call fcn.1800035e0
test eax, eax
js 0x1800173a5
lea rdx, [0x180020ab0]
lea rcx, [rbp + 0x3a0]
mov r8d, 0x104
call fcn.18001a2a4
test eax, eax
je 0x1800173a5
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18001736a
test byte [rsp + 0x40], 0x10
je 0x180017246
lea rdx, [0x180020830]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x180017347
lea rdx, [0x180020d18]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x180017347
lea rcx, [rbp + 0x190]
mov r8, rsi
mov edx, 0x104
call fcn.1800035e0
test eax, eax
js 0x180017347
lea rdx, [rsp + 0x6c]
lea rcx, [rbp + 0x190]
mov r8d, 0x104
call fcn.18001a2a4
test eax, eax
je 0x180017347
test byte [rsp + 0x40], 0x10
lea rcx, [rbp + 0x190]
je 0x180017299
call fcn.18001714c
jmp 0x180017347
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor esi, esi
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180017319
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 5
je 0x1800172cc
lea ecx, [rax - 0x20]
cmp ecx, 1
ja 0x1800172e6
mov ecx, esi
inc esi
cmp ecx, 0xa
jae 0x1800172e6
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jne 0x1800172a6
jmp 0x18001731b
test eax, eax
je 0x18001731b
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov edx, 8
lea rax, [rbp + 0x190]
lea r9, [0x1800173f8]
lea r8d, [rdx - 6]
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_SetupWriteTextLog]
xor ebx, ebx
jmp 0x180017342
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
mov edx, 8
lea rax, [rbp + 0x190]
lea r8d, [rdx - 1]
lea r9, [0x1800173e8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_SetupWriteTextLog]
mov rsi, qword [rsp + 0x38]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18001720b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
or rdi, 0xffffffffffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1800173aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x30]
mov edx, 8
mov dword [rsp + 0x28], eax
lea r8d, [rdx - 7]
lea r9, [0x180017428]
mov ebx, eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.SETUPAPI.dll_SetupWriteTextLog]
jmp 0x1800173aa
mov ebx, 0xd
cmp rdi, 0xffffffffffffffff
je 0x1800173b9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.180001ac0
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret