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

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x6f0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x720], rbx
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x6e0], rax
mov ebx, r9d
mov rbp, rdx
mov qword [rsp + 0x20], rcx
mov word [rsp + 0x4d0], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x4d2]
call fcn.1400b57e0
mov word [rsp + 0x2c0], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x2c2]
call fcn.1400b57e0
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14002bbaa
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002bba1
mov rcx, rax
call fcn.140050830
jmp 0x14002bba3
xor eax, eax
mov qword [0x1401370f0], rax
lea r9, [0x1400f15b8]
mov r8, rbp
lea rdx, str.ScrubFolder__s___s_
mov rcx, rax
call fcn.140050c00
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x14002bda2
test rbp, rbp
je 0x14002bda2
mov r8, rbp
mov edx, 0x104
lea rcx, [rsp + 0x4d0]
call fcn.1400b1b70
lea rdx, [0x1400f15b8]
lea rcx, [rsp + 0x4d0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
jne 0x14002bc40
xor eax, eax
jmp 0x14002bde6
lea rsi, [rsp + 0x9c]
lea rdi, [0x1400f15a8]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x14002bcfc
lea rsi, [rsp + 0x9c]
lea rdi, [0x1400f15ac]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x14002bcf5
mov r8, rbp
mov edx, 0x104
lea rcx, [rsp + 0x2c0]
call fcn.1400b1b70
lea rdx, [rsp + 0x9c]
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, 0x80
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [rsp + 0x70], 0x10
je 0x14002bce0
test ebx, ebx
je 0x14002bce0
mov r9d, ebx
lea r8, [0x1400f15b8]
lea rdx, [rsp + 0x2c0]
mov rsi, qword [rsp + 0x20]
mov rcx, rsi
call fcn.14002bb00
jmp 0x14002bd01
lea rcx, [rsp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rsi, qword [rsp + 0x20]
jmp 0x14002bd01
mov rsi, qword [rsp + 0x20]
jmp 0x14002bd01
mov rsi, qword [rsp + 0x20]
lea rdx, [rsp + 0x70]
mov rdi, qword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002bc40
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdi, method.CList_class_IControlSiteFactory____ptr64__class_IControlSiteFactory____ptr64_.virtual_0
mov qword [rsp + 0x30], rdi
xor ebx, ebx
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 0xa
lea r8, [rsp + 0x30]
mov rdx, rbp
mov rcx, rsi
call fcn.14002be70
nop
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14002bd7d
mov rax, qword [rax]
test rax, rax
jne 0x14002bd75
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov rcx, qword [rsp + 0x58]
call fcn.14008be00
mov eax, 1
jmp 0x14002bde6
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x14002bdd5
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002bdcc
mov rcx, rax
call fcn.140050830
jmp 0x14002bdce
xor eax, eax
mov qword [0x1401370f0], rax
lea rdx, str.folderToRemove_is_zero_length_or_NULL.__Cannot_remove__aborting...
mov rcx, rax
call fcn.140050c00
xor eax, eax
mov rcx, qword [rsp + 0x6e0]
xor rcx, rsp
call fcn.1400b09d0
mov rbx, qword [rsp + 0x720]
add rsp, 0x6f0
pop rdi
pop rsi
pop rbp
ret