Function at 0x14009fb90
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov byte [rsp + 0x20], r9b
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x278]
sub rsp, 0x378
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov r12, qword [rbp + 0x2c0]
mov rsi, qword [rbp + 0x2c8]
mov rax, qword [rbp + 0x2d0]
mov qword [rsp + 0x30], rax
movzx r15d, byte [rbp + 0x2d8]
xor edi, edi
mov dword [rbp - 0x18], edi
test r15b, r15b
je 0x14009fc2e
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r14d, 1
mov r8d, r14d
lea rdx, [0x14014ea14]
lea rcx, [rsp + 0x60]
call fcn.14000c360
lea rbx, [rsp + 0x60]
jmp 0x14009fc43
mov rdx, rsi
lea rcx, [rbp - 0x38]
call fcn.140025cc0
mov rbx, rax
mov r14d, 2
mov dword [rbp - 0x18], r14d
mov r8d, 0x5c
mov rdx, r12
lea rcx, [rbp - 0x58]
call fcn.140031b00
nop
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14009fc68
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.14000bdb0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
or r14d, 4
lea rcx, [rbp - 0x58]
call fcn.14000c080
nop
test r14b, 2
je 0x14009fcc2
and r14d, 0xfffffffd
lea rcx, [rbp - 0x38]
call fcn.14000c080
nop
test r14b, 1
je 0x14009fcd6
and r14d, 0xfffffffe
lea rcx, [rsp + 0x60]
call fcn.14000c080
xor ecx, ecx
call fcn.1400a7d20
movzx edx, al
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rcx, qword [rbp - 0x10]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
mov qword [rbp - 0x18], rax
cmp rax, 0xffffffffffffffff
jne 0x14009fd4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
cmp eax, 2
jne 0x14009ff04
lea rcx, [rbp - 0x10]
call fcn.14000c080
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400b89f0
add rsp, 0x378
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movzx r13d, byte [rbp + 0x2e0]
nop word [rax + rax]
mov edi, dword [rbp + 0x10]
shr edi, 4
and dil, 1
je 0x14009fd9d
movzx ecx, word [rbp + 0x3c]
movzx eax, word [rbp + 0x3e]
cmp cx, 0x2e
jne 0x14009fd98
test ax, ax
je 0x14009fe96
cmp cx, cx
jne 0x14009fd98
cmp ax, cx
jne 0x14009fd98
cmp word [rbp + 0x40], 0
je 0x14009fe96
test r13b, r13b
jne 0x14009fdec
test r15b, r15b
je 0x14009fdbd
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14009fdaf
mov rdx, qword [rsi]
lea rcx, [rbp + 0x3c]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
test eax, eax
je 0x14009fde3
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14009fefe
mov rax, qword [rcx]
lea r8, [rbp + 0x10]
mov rdx, r12
mov rax, qword [rax + 0x10]
call qword [case.0x1400a96cf.0]
test dil, dil
je 0x14009fe96
test r15b, r15b
je 0x14009fe96
mov r8d, 0x5c
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.140031b00
nop
lea rcx, [rbp + 0x3c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], 0
jne 0x14009fe13
lea rdx, [rbp + 0x3c]
mov rcx, rax
call fcn.14000bdb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor ecx, ecx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rcx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 7
mov word [rax], cx
or r14d, 8
mov byte [rsp + 0x28], cl
mov byte [rsp + 0x20], r13b
movzx r9d, r15b
mov r8, qword [rsp + 0x30]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14009fb90
nop
lea rcx, [rsp + 0x40]
call fcn.14000c080
nop
lea rcx, [rbp - 0x80]
call fcn.14000c080
lea rdx, [rbp + 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14009fd60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
cmp eax, 0x12
jne 0x14009fec6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x14009fd22
lea rax, str.Unable_to_enumerate_directory__
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x23
lea r9, [rbp - 0x10]
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.14003f240
lea rdx, [0x140172368]
lea rcx, [rbp - 0x80]
call fcn.1400bb9a0
int3
call fcn.1400b5df4
int3
lea rax, str.Unable_to_enumerate_directory__
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x23
lea r9, [rbp - 0x10]
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.14003f240
lea rdx, [0x140172368]
lea rcx, [rbp - 0x80]
call fcn.1400bb9a0
int3