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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1f8]
sub rsp, 0x2f0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14015b138]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rbx, rcx
mov rdx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14001e6d8
mov rdx, qword [rcx]
xor esi, esi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], si
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x14001e6f3
lea rcx, [rsp + 0x68]
call fcn.1400149d0
nop
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
mov r8d, 1
lea rdx, [0x1401250ac]
lea rcx, [rsp + 0x20]
call fcn.1400149d0
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.14001c9a0
nop
lea rcx, [rsp + 0x68]
cmp rcx, rax
je 0x14001e76e
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14001e75f
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x68]
call fcn.1400149d0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001e7b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e7ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001eaa8
call fcn.1400cd424
movdqa xmm0, xmmword [0x14012d1d0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14001e805
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e800
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001eaa8
call fcn.1400cd424
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001e9e0
nop dword [rax]
lea rdx, [0x1401250a4]
lea rcx, [rbp - 0x44]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14001e9c2
lea rdx, [0x1401250b0]
lea rcx, [rbp - 0x44]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x14001e9c2
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
lea rax, [rbp - 0x44]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14001e880
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x20]
call fcn.1400149d0
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001c9a0
nop
lea rcx, [rsp + 0x68]
cmp rcx, rax
je 0x14001e8d3
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14001e8c4
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x68]
call fcn.1400149d0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001e915
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e910
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001eaa2
call fcn.1400cd424
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x14001e96a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e965
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001eaa2
call fcn.1400cd424
lea rcx, [rsp + 0x68]
test byte [rbp - 0x70], 0x10
je 0x14001e97c
call fcn.14001e690
jmp 0x14001e9c2
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001e9c2
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001e830
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001e9ed
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
sete dil
je 0x14001ea39
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x14001ea39
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001ea14
mov rcx, qword [rbx]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp qword [rbx + 0x18], 8
jb 0x14001ea29
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp eax, 1
sete dil
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14001ea76
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ea71
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001eaae
call fcn.1400cd424
movzx eax, dil
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400cd400
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400d20f4
nop
call fcn.1400d20f4
nop
call fcn.1400d20f4
int3