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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401411c8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rcx
xor r15d, r15d
mov dword [rbp - 0x69], r15d
call fcn.1400bc180
test al, al
je 0x1400bc6f3
xor edx, edx
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
mov rdi, rax
mov r12d, 7
mov qword [rbp + 0x1f], r12
mov qword [rbp + 0x17], r15
mov word [rbp + 7], r15w
or rsi, 0xffffffffffffffff
cmp word [rax], r15w
jne 0x1400bc523
mov r8, r15
jmp 0x1400bc530
mov r8, rsi
inc r8
cmp word [rax + r8*2], r15w
jne 0x1400bc526
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.140007004
nop
mov r14d, 1
mov ebx, r14d
mov dword [rbp - 0x69], ebx
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rcx, qword [rbp + 7]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400bc56a
test al, 0x10
jne 0x1400bc670
mov qword [rbp - 1], r12
mov qword [rbp - 9], r15
mov word [rbp - 0x19], r15w
cmp word [rdi], r15w
jne 0x1400bc582
mov r8, r15
jmp 0x1400bc58f
mov r8, rsi
inc r8
cmp word [rdi + r8*2], r15w
jne 0x1400bc585
mov rdx, rdi
lea rcx, [rbp - 0x19]
call fcn.140007004
nop
mov ebx, 3
mov dword [rbp - 0x69], ebx
lea rcx, [rbp - 0x19]
call fcn.14003bae8
test al, al
jne 0x1400bc670
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x29], r15
mov word [rbp - 0x39], r15w
cmp word [rdi], r15w
jne 0x1400bc5cd
mov r8, r15
jmp 0x1400bc5da
mov r8, rsi
inc r8
cmp word [rdi + r8*2], r15w
jne 0x1400bc5d0
mov rdx, rdi
lea rcx, [rbp - 0x39]
call fcn.140007004
nop
mov ebx, r12d
mov dword [rbp - 0x69], ebx
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 8
cmovae rcx, qword [rbp - 0x39]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400bc611
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
cmp eax, 5
je 0x1400bc670
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x49], r15
mov word [rbp - 0x59], r15w
cmp word [rdi], r15w
jne 0x1400bc629
mov rsi, r15
jmp 0x1400bc633
inc rsi
cmp word [rdi + rsi*2], r15w
jne 0x1400bc629
mov r8, rsi
mov rdx, rdi
lea rcx, [rbp - 0x59]
call fcn.140007004
mov ebx, reloc.WS2_32.dll_ntohs
lea rcx, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae rcx, qword [rbp - 0x59]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400bc66d
call qword [sym.imp.api_ms_win_downlevel_kernel32_l1_1_0.dll_GetLastError]
cmp eax, 0x52e
je 0x1400bc670
mov r14b, r15b
test bl, 8
je 0x1400bc696
and ebx, 0xfffffff7
cmp qword [rbp - 0x41], 8
jb 0x1400bc689
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x49], r15
mov word [rbp - 0x59], r15w
test bl, 4
je 0x1400bc6bc
and ebx, 0xfffffffb
cmp qword [rbp - 0x21], 8
jb 0x1400bc6af
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x21], r12
mov qword [rbp - 0x29], r15
mov word [rbp - 0x39], r15w
test bl, 2
je 0x1400bc6df
cmp qword [rbp - 1], 8
jb 0x1400bc6d2
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 1], r12
mov qword [rbp - 9], r15
mov word [rbp - 0x19], r15w
cmp qword [rbp + 0x1f], 8
jb 0x1400bc6f0
mov rcx, qword [rbp + 7]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov al, r14b
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400c20a0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret