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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov rax, qword [0x140956ae8]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
xor ebx, ebx
mov r13d, r8d
mov r15, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400ffe6a
cmp word [rcx], bx
je 0x1400ffe6a
mov rdx, rcx
mov r12d, 0x104
mov r8d, r12d
lea rcx, [rbp + 0x190]
call fcn.1401d082c
mov rcx, rdi
mov word [rbp + 0x398], bx
call fcn.14008787c
test eax, eax
je 0x1400ffc06
cmp eax, r12d
jge 0x1400ffc06
cdqe
cmp word [rdi + rax*2 - 2], 0x5c
je 0x1400ffc06
lea rdx, [0x14021f528]
lea rcx, [rbp + 0x190]
call fcn.1401d0874
mov r8, r12
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x3a0]
call fcn.1401d082c
mov word [rbp + 0x5a8], bx
test r15, r15
je 0x1400ffd29
cmp word [r15], bx
je 0x1400ffd29
lea rdx, [0x14023ee30]
mov rcx, r15
call fcn.14008ec44
test eax, eax
je 0x1400ffd29
mov edi, r13d
and edi, 1
je 0x1400ffd22
lea r9, [rbp + 0x3a0]
mov rdx, r12
lea r8, [0x14023ee38]
lea rcx, [rbp + 0x190]
call fcn.1400ffe98
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400ffd1a
lea rax, [rsp + 0x6c]
mov rdx, r12
lea r9, [rbp + 0x3a0]
mov qword [rsp + 0x20], rax
lea r8, [0x14023ee48]
lea rcx, [rbp + 0x190]
call fcn.1400ffe98
test byte [rsp + 0x40], 0x10
je 0x1400ffcff
lea rdx, [0x14023ee54]
lea rcx, [rsp + 0x6c]
call fcn.14008ec44
test eax, eax
je 0x1400ffcff
lea rdx, [0x14021f1b4]
lea rcx, [rsp + 0x6c]
call fcn.14008ec44
test eax, eax
je 0x1400ffcff
mov r8d, r13d
lea rcx, [rbp + 0x190]
mov rdx, r15
call fcn.1400ffb6c
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400ffc95
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r14d, 1
jmp 0x1400ffd39
mov r14d, dword [rsp + 0x30]
jmp 0x1400ffd39
mov edi, r13d
lea r15, [0x14023ee30]
and edi, 1
mov r14d, ebx
lea r9, [rbp + 0x3a0]
mov qword [rsp + 0x20], r15
lea r8, [0x14023ee48]
mov rdx, r12
lea rcx, [rbp + 0x190]
call fcn.1400ffe98
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1400ffe6a
mov esi, r13d
and esi, 2
lea rax, [rsp + 0x6c]
mov edx, 0x104
lea r9, [rbp + 0x3a0]
mov qword [rsp + 0x20], rax
lea r8, [0x14023ee48]
lea rcx, [rbp + 0x190]
call fcn.1400ffe98
test byte [rsp + 0x40], 0x10
je 0x1400ffdf7
test r14d, r14d
jne 0x1400ffe1a
test edi, edi
je 0x1400ffe1a
lea rdx, [0x14023ee54]
lea rcx, [rsp + 0x6c]
call fcn.14008ec44
test eax, eax
je 0x1400ffe1a
lea rdx, [0x14021f1b4]
lea rcx, [rsp + 0x6c]
call fcn.14008ec44
test eax, eax
je 0x1400ffe1a
mov r8d, r13d
lea rcx, [rbp + 0x190]
mov rdx, r15
call fcn.1400ffb6c
jmp 0x1400ffe1a
test esi, esi
je 0x1400ffe0d
mov edx, pe_nt_image_headers64
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400ffd80
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x1400ffe4f
mov edx, pe_nt_image_headers64
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test r14d, r14d
je 0x1400ffe5b
mov ebx, 1
jmp 0x1400ffe6a
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
movsxd rax, ebx
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.1401b0740
mov rbx, qword [rsp + 0x718]
add rsp, 0x6c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret