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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
and qword [rbp - 0x18], 0
lea rdi, [0x140008128]
mov r15, qword [rbp + 0x70]
mov r12, r9
mov qword [rbp - 0x20], rdi
mov r13, rdx
test r15, r15
jne 0x140002e0a
mov ebx, 0x80070057
jmp 0x140003049
mov rax, qword [r15]
lea rdx, [rbp - 0x18]
mov rcx, r15
mov rax, qword [rax + 0x68]
call qword [0x14000b1e8]
mov ebx, eax
test eax, eax
js 0x14000300d
and dword [rbp + 0x40], 0
lea rax, [0x140008128]
and qword [rbp - 0x28], 0
mov r14d, 1
mov qword [rbp - 0x30], rax
mov rcx, qword [rbp - 0x18]
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x28]
mov edx, r14d
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x14000b1e8]
mov rcx, qword [rbp - 0x28]
test eax, eax
jne 0x140002fc7
and qword [rbp + 0x70], 0
lea rdx, [rbp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x14000b1e8]
mov ebx, eax
test eax, eax
js 0x140002fa3
mov rcx, qword [rbp + 0x70]
call fcn.140002ab8
mov rdi, rax
mov esi, r14d
mov al, byte [r13]
mov rcx, r13
jmp 0x140002eb5
cmp al, 0x2e
jne 0x140002eaa
xor esi, esi
jmp 0x140002eb0
cmp al, 0x5c
cmove esi, r14d
add rcx, r14
mov al, byte [rcx]
test al, al
jne 0x140002ea2
and qword [rbp - 8], 0
test rdi, rdi
jne 0x140002ecd
mov ebx, 0x8007007b
jmp 0x140002fa3
call qword [sym.imp.KERNEL32.dll_GetConsoleCP]
nop dword [rax + rax]
lea r8, [rbp - 8]
mov rcx, rdi
mov edx, eax
call fcn.140002864
mov r14, qword [rbp - 8]
mov ebx, eax
test eax, eax
js 0x140002f89
test r12, r12
je 0x140002f0c
mov r8d, esi
mov rdx, r12
mov rcx, r14
call fcn.140001fe4
test eax, eax
je 0x140002f89
cmp dword [rbp + 0x78], 0
jne 0x140002f46
cmp dword [rbp + 0x80], 0
jne 0x140002f46
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140002f38
mov rcx, qword [rbp + 0x50]
test al, 0x10
jne 0x140002f3c
mov rcx, qword [rbp + 0x60]
call fcn.140002ab8
mov rdi, rax
jmp 0x140002f52
cmp dword [rbp + 0x88], 0
cmove rdi, qword [rbp + 0x70]
mov rax, qword [rbp + 0x68]
mov r9, qword [rbp + 0x70]
mov r8, qword [rbp + 0x50]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call fcn.140002bc0
mov rcx, qword [rbp - 0x28]
mov ebx, eax
mov rdx, qword [rbp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [0x14000b1e8]
test r14, r14
je 0x140002f9d
mov rcx, r14
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov r14d, 1
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140002fbf
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14000b1e8]
xor ecx, ecx
mov qword [rbp - 0x28], rcx
test ebx, ebx
jns 0x140002e42
lea rax, [0x140008128]
mov qword [rbp - 0x30], rax
test rcx, rcx
je 0x140002fea
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14000b1e8]
xor ecx, ecx
mov qword [rbp - 0x28], rcx
lea rax, [0x140008138]
mov qword [rbp - 0x30], rax
test rcx, rcx
je 0x140003006
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
lea rdi, [0x140008128]
mov rcx, qword [rbp - 0x18]
mov qword [rbp - 0x20], rdi
test rcx, rcx
je 0x14000302d
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14000b1e8]
xor ecx, ecx
mov qword [rbp - 0x18], rcx
lea rax, [0x140008138]
mov qword [rbp - 0x20], rax
test rcx, rcx
je 0x140003049
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret