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

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x118
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rsp + 0x100], rax
call fcn.1400a6bb0
movzx eax, al
test eax, eax
je 0x1400a7566
call fcn.1400a6b80
movzx eax, al
test eax, eax
jne 0x1400a756d
xor al, al
jmp 0x1400a78d0
mov rcx, qword [rsp + 0x120]
call fcn.140003fd0
test eax, eax
jne 0x1400a7585
xor al, al
jmp 0x1400a78d0
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x48]
call fcn.140007200
nop
lea r8, [0x1402ee978]
lea rdx, [0x1402eea04]
lea rcx, [rsp + 0x48]
call fcn.140006760
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x78]
call fcn.140007200
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x98]
call fcn.140029340
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x48]
call fcn.140007070
nop
lea rcx, [rsp + 0x98]
call fcn.1400031c0
lea rcx, [rsp + 0x48]
call fcn.1400a9e70
movzx eax, al
test eax, eax
jne 0x1400a764b
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0x48]
call fcn.1400031c0
movzx eax, byte [rsp + 0x41]
jmp 0x1400a78d0
lea rcx, [rsp + 0x50]
call fcn.140004410
nop
lea r9, [0x1402eea10]
mov r8, qword [rsp + 0x48]
lea rdx, [0x1402eea80]
lea rcx, [rsp + 0x50]
call fcn.140004850
lea rcx, [rsp + 0x50]
call fcn.140003250
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400a7695
mov dword [rsp + 0x58], 1
jmp 0x1400a769d
mov dword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x58]
mov byte [rsp + 0x40], al
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0x128]
cmp eax, 1
jne 0x1400a77fc
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x1400a77f7
mov dword [rsp + 0x5c], 0x2000080
lea rcx, [rsp + 0x50]
call fcn.140003250
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.14004f470
nop
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xe0]
call fcn.140028f80
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.1400550f0
mov rcx, rax
call fcn.140028660
nop
lea rcx, [rsp + 0xe0]
call fcn.1400049b0
nop
lea rcx, [rsp + 0xc0]
call fcn.1400049b0
lea rcx, [rsp + 0x50]
call fcn.140003250
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000080
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rax
call fcn.1400a9960
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0xffffffffffffffff
jne 0x1400a77d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0x120]
call fcn.140003250
mov edx, dword [rsp + 0x60]
mov rcx, rax
call fcn.1400a8c20
mov byte [rsp + 0x42], 0
lea rcx, [rsp + 0x50]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x48]
call fcn.1400031c0
movzx eax, byte [rsp + 0x42]
jmp 0x1400a78d0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x120]
call fcn.140003250
mov rcx, rax
call fcn.1400a8b40
jmp 0x1400a78b1
movzx eax, byte [rsp + 0x40]
cmp eax, 1
jne 0x1400a78b1
lea rcx, [rsp + 0x50]
call fcn.140003250
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x6000080
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rax
call fcn.1400a9960
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0xffffffffffffffff
jne 0x1400a7891
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x64], eax
mov rcx, qword [rsp + 0x120]
call fcn.140003250
mov edx, dword [rsp + 0x64]
mov rcx, rax
call fcn.1400a8e00
mov byte [rsp + 0x43], 0
lea rcx, [rsp + 0x50]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x48]
call fcn.1400031c0
movzx eax, byte [rsp + 0x43]
jmp 0x1400a78d0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x120]
call fcn.140003250
mov rcx, rax
call fcn.1400a8d20
mov byte [rsp + 0x44], 1
lea rcx, [rsp + 0x50]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x48]
call fcn.1400031c0
movzx eax, byte [rsp + 0x44]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140263a60
add rsp, 0x118
ret