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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rax - 0x758]
sub rsp, 0x830
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14003f6c0]
xor rax, rsp
mov qword [rbp + 0x720], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp + 0x190], rdx
xor esi, esi
mov dword [rsp + 0x30], esi
lea rcx, [rbp + 0x200]
call fcn.1400160c0
nop
lea rdx, str..winmd
lea rcx, [rbp + 0x200]
call fcn.140015d2c
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0x1b8]
call fcn.1400160c0
or qword [rbp + 0x1d8], 0xffffffffffffffff
mov byte [rbp + 0x260], sil
lea rax, [rbp + 0x1b8]
mov qword [rbp + 0x268], rax
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x40]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rbp + 0x270]
lea rcx, [rsp + 0x40]
lea ebx, [rsi + 4]
mov edx, ebx
lea r13d, [rbx + 0x7c]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
add rax, r13
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
add rcx, r13
sub rdx, 1
jne 0x14000fba8
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
lea rcx, [rbp + 0x1b8]
cmp qword [rbp + 0x1d0], 8
cmovae rcx, qword [rbp + 0x1b8]
and dword [rsp + 0x28], edx
and qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8, [rbp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x268]
mov qword [rcx + 0x20], rax
mov rax, qword [rbp + 0x268]
cmp qword [rax + 0x20], 0xffffffffffffffff
jne 0x14000fc83
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x14000ff55
mov byte [rbp + 0x260], 1
mov byte [rbp + 0x4c0], 1
and qword [rbp + 0x4c8], 0
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x40]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rbp + 0x4d0]
lea rcx, [rsp + 0x40]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
add rax, r13
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
add rcx, r13
sub rbx, 1
jne 0x14000fcb0
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
cmp byte [rbp + 0x260], 0
je 0x14000fd2d
mov al, 1
jmp 0x14000fd4b
mov r8d, 0x250
lea rdx, [rbp + 0x4d0]
lea rcx, [rbp + 0x270]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
sete al
test al, al
jne 0x14000feb4
lea rdx, [rbp + 0x29c]
lea rcx, [rbp + 0x198]
call fcn.14001604c
or esi, 1
mov rdx, rdi
lea rcx, [rbp + 0x1e0]
call fcn.1400160c0
nop
lea rdx, [0x140031c04]
lea rcx, [rbp + 0x1e0]
call fcn.140015d2c
lea rdx, [rbp + 0x198]
lea rcx, [rbp + 0x1e0]
call fcn.140015dc0
mov rax, qword [r14 + 0x80]
cmp qword [r14 + 0x88], rax
je 0x14000fdc8
lea rdx, [rbp + 0x1e0]
mov rcx, rax
call fcn.1400160c0
add qword [r14 + 0x80], 0x20
jmp 0x14000fddb
lea r8, [rbp + 0x1e0]
mov rdx, rax
lea rcx, [r14 + 0x78]
call fcn.140019f5c
mov r9, qword [rbp + 0x1a8]
add r9, 0xfffffffffffffffa
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x198]
call fcn.140015ba4
mov rdx, rax
lea rcx, [rbp + 0x198]
call fcn.140015fb0
lea rcx, [rbp + 0x220]
call fcn.140015f40
lea rbx, [r14 + 0x90]
mov rax, qword [rbx + 8]
cmp qword [rbx + 0x10], rax
je 0x14000fe3b
lea rdx, [rbp + 0x198]
mov rcx, rax
call fcn.1400160c0
add qword [rbx + 8], 0x20
jmp 0x14000fe4e
lea r8, [rbp + 0x198]
mov rdx, rax
mov rcx, rbx
call fcn.140019f5c
nop
lea rcx, [rbp + 0x1e0]
call fcn.140015f40
nop
lea rcx, [rbp + 0x198]
call fcn.140015f40
mov rax, qword [rbp + 0x268]
mov rcx, qword [rax + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x14000fd20
lea rdx, [rbp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14000fd20
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x12
jne 0x14000ff1e
mov byte [rbp + 0x260], 1
jmp 0x14000fd20
mov rcx, qword [rbp + 0x1d8]
cmp rcx, 0xffffffffffffffff
je 0x14000fed5
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
or qword [rbp + 0x1d8], 0xffffffffffffffff
lea rcx, [rbp + 0x1b8]
call fcn.140015f40
nop
lea rcx, [rbp + 0x200]
call fcn.140015f40
nop
mov rcx, rdi
call fcn.140015f40
mov rcx, qword [rbp + 0x720]
xor rcx, rsp
call fcn.14002b190
mov rbx, qword [rsp + 0x870]
add rsp, 0x830
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
nop
mov r8d, eax
mov rdx, qword [rbp + 0x268]
lea rcx, [rbp + 0x220]
call fcn.14000610c
lea rdx, [0x14003d558]
lea rcx, [rbp + 0x220]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r8d, eax
lea rdx, [rbp + 0x1b8]
lea rcx, [rbp + 0x220]
call fcn.14000610c
lea rdx, [0x14003d558]
lea rcx, [rbp + 0x220]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3