Function at 0x14000aa10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x4060
call fcn.1400162b0
sub rsp, rax
mov rax, qword [0x140027010]
xor rax, rsp
mov qword [rsp + 0x4050], rax
mov r15, rdx
mov rbp, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x4000
call sub.VCRUNTIME140.dll_memset
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov edi, r13d
lea ebx, [r13 + 1]
mov r14d, ebx
test rbp, rbp
je 0x14000acd4
test r15, r15
je 0x14000acd4
mov eax, dword [r15]
cmp eax, 0x64
jge 0x14000acd4
inc eax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x2200000
lea r8d, [r13 + 7]
xor r9d, r9d
mov dword [r15], eax
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
or rsi, 0xffffffffffffffff
mov r12, rax
cmp rax, rsi
je 0x14000acd4
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 0x4000
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x900a8
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r14d, eax
test eax, eax
jne 0x14000ab0a
mov r14d, ebx
jmp 0x14000acb2
cmp dword [rsp + 0x50], 0xa000000c
je 0x14000ab38
cmp dword [rsp + 0x50], 0xa0000003
jne 0x14000acb2
movzx edx, word [rsp + 0x5a]
movzx eax, word [rsp + 0x58]
shr rdx, 1
shr rax, 1
add rax, 8
jmp 0x14000ab4c
movzx edx, word [rsp + 0x5a]
movzx eax, word [rsp + 0x58]
shr rdx, 1
shr rax, 1
add rax, 0xa
lea rcx, [rsp + 0x50]
xor r9d, r9d
lea rcx, [rcx + rax*2]
xor r8d, r8d
call fcn.14000998c
mov rbx, rax
mov rdi, rax
test rax, rax
je 0x14000acb2
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x14000ac11
mov rax, rsi
inc rax
cmp word [rbp + rax*2], r13w
jne 0x14000ab83
test rax, rax
je 0x14000acb2
lea rcx, [rbp - 2]
lea rcx, [rcx + rax*2]
mov rdx, rcx
cmp rcx, rbp
jb 0x14000acb2
mov eax, 0x5c
cmp ax, word [rdx]
je 0x14000abbf
mov eax, 0x2f
cmp ax, word [rdx]
jne 0x14000abc4
cmp rcx, rdx
jne 0x14000abd2
sub rdx, 2
cmp rdx, rbp
jae 0x14000abab
jmp 0x14000acb2
sub rdx, rbp
sar rdx, 1
je 0x14000acb2
mov r9, rsi
mov r8, rbx
mov rcx, rbp
call fcn.14000998c
mov rsi, rax
test rax, rax
je 0x14000acb2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, rsi
jmp 0x14000ac43
inc rsi
cmp word [rbx + rsi*2], r13w
jne 0x14000ac11
cmp rsi, 4
jbe 0x14000acb2
lea rdx, [0x14001c398]
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
cmp rax, rbx
jne 0x14000acb2
lea rsi, [rbx + 8]
test rsi, rsi
je 0x14000acb2
mov rcx, rsi
call fcn.14000a6f4
test eax, eax
jne 0x14000ac87
test rsi, rsi
jne 0x14000ac5f
lea ecx, [rax + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14000acb2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000acb2
mov ecx, 0x410
and eax, ecx
cmp eax, ecx
jne 0x14000acb2
mov rdx, r15
mov rcx, rsi
call fcn.14000aa10
test eax, eax
jne 0x14000acb2
mov rcx, rbp
call fcn.14000a470
lea rcx, [0x14001c3c8]
call fcn.14000a470
mov rcx, rsi
call fcn.14000a470
lea rcx, str._is_unsafe_reparse_point_n
call fcn.14000a470
mov r14d, r13d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x14000acd4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, r14d
mov rcx, qword [rsp + 0x4050]
xor rcx, rsp
call fcn.140014e50
mov rbx, qword [rsp + 0x40b0]
add rsp, 0x4060
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret