Function at 0x14001caf8
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
lea rbp, [rax - 0x238]
sub rsp, 0x320
mov rax, qword [0x14002c010]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
movabs r12, 0x7ffffffffffffffe
mov rax, r12
sub rax, rcx
cmp rax, 2
jb 0x14001cdbe
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001cb59
mov r9, qword [rbx]
mov qword [rsp + 0x30], 2
lea rax, [0x140026a60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.140016c74
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
lea rcx, [rbp - 0x80]
call fcn.14000c584
cmp rdi, 0xffffffffffffffff
je 0x14001cd7b
xor esi, esi
lea r13, [0x140026a68]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
lea rax, [rbp - 0x14]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x14001cbd3
lea rdx, [rbp - 0x14]
lea rcx, [rsp + 0x40]
call fcn.14000cc9c
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
cmp qword [rsp + 0x50], 1
jne 0x14001cc30
mov r8d, 1
lea rax, [0x140026a5c]
mov rcx, rax
sub rdx, rax
movzx eax, word [rcx]
cmp word [rdx + rcx], ax
jne 0x14001cc30
add rcx, 2
sub r8, 1
jne 0x14001cc18
jmp 0x14001cd53
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
cmp qword [rsp + 0x50], 2
jne 0x14001cc6c
mov r8d, 2
mov rdx, r13
sub rcx, r13
movzx eax, word [rdx]
cmp word [rcx + rdx], ax
jne 0x14001cc6c
add rdx, 2
sub r8, 1
jne 0x14001cc55
mov al, 1
jmp 0x14001cc6f
mov al, sil
test al, al
jne 0x14001cd53
mov rcx, qword [rbx + 0x10]
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x14001cdc4
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001cc98
mov r9, qword [rbx]
mov qword [rsp + 0x30], 1
lea rax, [0x140026a58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x60]
call fcn.140016c74
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.14001fc08
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rcx, [rbp - 0x60]
call fcn.14000c584
lea rcx, [rsp + 0x60]
test byte [rbp - 0x40], 0x10
je 0x14001cd14
call fcn.14001caf8
jmp 0x14001cd48
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14001cda7
or eax, 6
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
lea rcx, [rsp + 0x60]
call fcn.14000c584
nop
lea rcx, [rsp + 0x40]
call fcn.14000c584
lea rdx, [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001cbb3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140020140
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
lea rcx, [rsp + 0x60]
call fcn.14000c584
nop
lea rcx, [rsp + 0x40]
call fcn.14000c584
jmp 0x14001cd7b
call fcn.140004bbc
nop
call fcn.140004bbc
int3