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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1e0
mov edi, edx
mov rbx, rcx
mov rax, qword [0x140181040]
xor rax, rsp
mov qword [rsp + 0x1d8], rax
call fcn.14003f9e0
cmp eax, 8
jle 0x14010625d
movaps xmm0, xmmword [0x140152e90]
lea r14, [rsp + 0x190]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.DeleteFileWithDispositionFlags
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x247
call fcn.140048ae0
xor esi, esi
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14004c250
cmp byte [rbx + 0x17], 0
mov rcx, rbx
jns 0x140106232
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14010624e
test al, 0x10
je 0x14010628b
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea rcx, [rsp + 0x190]
call fcn.14004c2d0
jmp 0x14010626a
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov rcx, qword [rsp + 0x1d8]
xor rcx, rsp
call fcn.140092f10
mov eax, esi
add rsp, 0x1e0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x188], rax
cmp byte [rbx + 0x17], 0
jns 0x1401062a6
mov rbx, qword [rbx]
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x10100
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rbx, [rsp + 0x188]
mov qword [rbx], rsi
mov rcx, rbx
mov rdx, rax
call fcn.14002f348
mov rcx, qword [rbx]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x14010631f
inc rcx
cmp rcx, 2
jb 0x14010624e
call fcn.140048b00
mov rcx, qword [rsp + 0x188]
call fcn.14003faf0
jmp 0x14010624e
xor esi, esi
jmp 0x1401062f7
lea rcx, [0x14015b28e]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtSetInformationFile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x188]
test rax, rax
je 0x14010631b
mov rbx, rax
or edi, 1
movabs rax, 0xaaaaaaaa00000000
lea rdx, [rsp + 0x178]
mov qword [rdx], rax
mov qword [rdx + 8], 0
lea r8, [rsp + 0x174]
mov dword [r8], edi
mov dword [rsp + 0x20], 0x40
mov r9d, 4
mov rax, rbx
call qword [0x140174e48]
mov edi, eax
cmp eax, 0xc0000022
je 0x1401063fc
cmp edi, 0xc0000121
je 0x1401063fc
mov sil, 1
test edi, edi
je 0x140106432
mov byte [rsp + 0x173], 1
lea rcx, str....._base_files_file_util_win.cc
mov edx, 0x22
call fcn.140047e20
test eax, eax
jg 0x14010643f
mov rcx, qword [rsp + 0x188]
mov dword [rsp + 0x20], 0xd
lea rdx, [rsp + 0x178]
lea r8, [rsp + 0x173]
mov r9d, 1
mov rax, rbx
call qword [0x140174e48]
mov edi, eax
test eax, eax
je 0x140106432
lea rcx, [0x14015b28e]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlNtStatusToDosError
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140106428
mov ecx, edi
call qword [0x140174e48]
mov edi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov rcx, qword [rsp + 0x188]
jmp 0x1401062f7
lea rdx, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x40]
mov rcx, r14
mov r8d, 0x26e
mov r9d, 0xffffffff
call fcn.140066640
lea rcx, [rsp + 0x50]
lea rdx, str.FileDispositionInformationEx_failed_with_status
mov r8d, 0x30
call fcn.14002eeb1
mov rcx, rax
mov edx, edi
call fcn.1400c57fa
lea rdx, str.__falling_back_to_using_FileDispositionInformation
mov r8d, 0x32
mov rcx, rax
call fcn.14002eeb1
mov rcx, r14
call fcn.140066a80
jmp 0x1401063c7
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.14003f9e0
xor edx, edx
cmp eax, 0xd
setge dl
shl edx, 4
or edx, 2
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp 0x1401061a0