Function at 0x14000bcb0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov r15, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0xc8], rax
cmp r8, 7
jbe 0x14000c25e
mov rbx, r8
mov rsi, rdx
mov eax, dword [rdx]
cmp rax, r8
jne 0x14000c25e
movzx r12d, word [rsi + 6]
xor ebp, ebp
test r12w, r12w
cmovne rbp, rsi
test rbp, rbp
mov qword [rsp + 0x48], r15
je 0x14000c2d8
movzx r14d, word [rbp + 4]
cmp r14d, 0x10
jb 0x14000c25e
cmp dword [rbp], r14d
jb 0x14000c25e
test r14b, 7
jne 0x14000c25e
lea r15, [r14 - 0x10]
sub rbx, r14
add r14, rsi
lea r13, [rbp + 8]
lea rdx, [rsi + 4]
test rbp, rbp
mov rax, r13
cmove rax, rdx
cmp r15, 0x103
ja 0x14000c259
shr r15, 2
movzx ecx, word [rax]
mov rax, rcx
mov qword [rsp + 0x50], rcx
cmp ecx, r15d
ja 0x14000c259
mov qword [rsp + 0x40], rdx
cmp r9d, 1
jne 0x14000bd93
cmp word [rsp + 0x50], 0
jne 0x14000c259
mov ecx, 0x48
call fcn.140172a4c
mov rdi, rax
mov word [rsp + 0x20], r12w
mov rcx, rax
mov rdx, rbx
mov r8, rbx
mov r9, r15
call fcn.1401afc00
test rbx, rbx
je 0x14000be13
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
call qword [case.0x1401d7990.0]
movzx r12d, word [rax + 6]
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
call qword [case.0x1401d7990.0]
mov r15, rax
test r12w, r12w
je 0x14000c313
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
call qword [case.0x1401d7990.0]
movzx eax, word [rax + 4]
add r15, rax
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.140177150
test rbp, rbp
je 0x14000c2e8
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
call qword [case.0x1401d7990.0]
cmp word [rax + 4], 0x10
je 0x14000be77
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
call qword [case.0x1401d7990.0]
mov rbx, rax
add rbx, 0x10
add rsi, 0x10
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
call qword [case.0x1401d7990.0]
movzx r8d, word [rax + 4]
add r8, 0xfffffffffffffff0
cmp r8, 8
jne 0x14000c31c
mov rax, qword [rsi]
mov qword [rbx], rax
movzx esi, word [r13]
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
call qword [case.0x1401d7990.0]
mov word [rax + 8], si
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x14000c309
lea rax, [rax*8]
lea r12, [rax + rax*4]
mov rcx, r12
call fcn.140172a4c
mov rbx, rax
lea r13, [rax + r12]
xorps xmm6, xmm6
mov rsi, rax
test rsi, rsi
je 0x14000c26a
mov qword [rsi], 0xffffffffffffffff
mov dword [rsi + 8], 0
movups xmmword [rsi + 0x10], xmm6
mov byte [rsi + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test rax, rax
je 0x14000c296
add rsi, 0x28
cmp rsi, r13
jne 0x14000bebf
lea rbp, [rbx + 0x18]
xor r14d, r14d
mov rax, qword [rdi + 0x40]
movsxd rsi, dword [rax + r14*4]
cmp rsi, 0xfffffffffffffff3
ja 0x14000c29c
mov r15, qword [rsp + 0x150]
test r15, r15
je 0x14000c0d2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rsi
mov rdx, r15
mov r8, rax
call fcn.140024420
mov qword [rsp + 0xc0], 0
test rax, rax
je 0x14000bf6d
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
cmp rsi, 0xffffffffffffffff
je 0x14000bf64
mov qword [rsp + 0xc0], rsi
call fcn.1400f24d0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rsi, [rsp + 0x70]
mov rcx, rsi
lea rdx, [rsp + 0xc0]
call fcn.140019820
mov qword [rsp + 0x98], 0xffffffffffffffff
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.14011be90
mov qword [rsp + 0xb0], 0
mov byte [rsp + 0xb8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test rax, rax
je 0x14000c299
mov rax, qword [rsp + 0x78]
inc rax
cmp rax, 2
jae 0x14000c1ea
mov rax, qword [rbp]
inc rax
cmp rax, 1
ja 0x14000bfe6
cmp byte [rbp + 8], 0
je 0x14000c023
mov rsi, qword [rbp - 0x18]
mov qword [rsp + 0xc0], rsi
mov rcx, rbp
call fcn.14000c370
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], 1
mov rcx, rax
mov rdx, rsi
xor r8d, r8d
lea r9, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rax, qword [rsp + 0x98]
mov qword [rbp - 0x18], rax
mov qword [rsp + 0x98], 0xffffffffffffffff
lea rcx, [rbp - 0x10]
lea rdx, [rsp + 0xa0]
call fcn.14011c0d0
mov rcx, rbp
lea rdx, [rsp + 0xb0]
call fcn.14011c1c0
lea rcx, [rsp + 0x98]
call fcn.14011bf80
inc r14
add rbp, 0x28
cmp qword [rsp + 0x50], r14
jne 0x14000befd
lea rdx, [rsp + 0x58]
mov qword [rdx], rbx
mov qword [rdx + 8], r13
mov qword [rdx + 0x10], r13
mov rax, qword [rdi]
mov rax, qword [rax + 0x28]
mov rcx, rdi
call qword [case.0x1401d7990.0]
mov r15, qword [rsp + 0x48]
mov qword [r15], rdi
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1401756e0
mov rax, r15
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x80], 0
test esi, esi
je 0x14000c120
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsp + 0x80]
inc rax
cmp rax, 2
jae 0x14000c1af
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14000c117
mov qword [rsp + 0x80], rsi
call fcn.1400f24d0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rsi, [rsp + 0x88]
mov rcx, rsi
lea rdx, [rsp + 0x80]
call fcn.140019820
mov qword [rsp + 0x98], 0xffffffffffffffff
lea rcx, [rsp + 0xa0]
mov rdx, rsi
call fcn.14011be90
mov qword [rsp + 0xb0], 0
mov byte [rsp + 0xb8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test rax, rax
je 0x14000c32c
mov rax, qword [rsp + 0x90]
inc rax
cmp rax, 2
jb 0x14000bfd3
call fcn.1400f24d0
mov rcx, qword [rsp + 0x90]
call fcn.1401571e0
mov qword [rsp + 0x90], 0
jmp 0x14000bfd3
call fcn.1400f24d0
mov rdx, qword [rsp + 0x80]
cmp qword [0x1402a1a18], 0
je 0x14000c207
mov rcx, qword [0x1402a1a18]
mov rax, qword [rcx]
mov rax, qword [rax]
call qword [case.0x1401d7990.0]
mov qword [rsp + 0x80], 0
jmp 0x14000c100
call fcn.1400f24d0
mov rcx, qword [rsp + 0x78]
call fcn.1401571e0
mov qword [rsp + 0x78], 0
jmp 0x14000bfd3
mov qword [rsp + 0x40], rdx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14026b3c1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000c32f
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14000c253
call qword [case.0x1401d7990.0]
mov rcx, rax
xor edx, edx
call fcn.14003cbf0
mov rdx, qword [rsp + 0x40]
jmp 0x14000c1c6
xor ecx, ecx
mov dl, 1
jmp 0x14000c244
mov r15, qword [rsp + 0x48]
mov qword [r15], 0
jmp 0x14000c0a3
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1401b2820
int3
int3
mov rax, qword [rsp + 0x48]
mov qword [rax], 0
test rbx, rbx
jne 0x14000c336
test rdi, rdi
mov r15, qword [rsp + 0x48]
je 0x14000c0a3
mov rax, qword [rdi]
mov rax, qword [rax]
mov rcx, rdi
mov edx, 1
call qword [case.0x1401d7990.0]
jmp 0x14000c0a3
add rbx, 0xfffffffffffffff8
lea r14, [rsi + 8]
xor r15d, r15d
jmp 0x14000bd45
mov rax, qword [rsp + 0x40]
movzx esi, word [rax]
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
mov rcx, rdi
call qword [case.0x1401d7990.0]
mov word [rax + 4], si
jmp 0x14000be90
xor r13d, r13d
xor ebx, ebx
jmp 0x14000c07b
add r15, 8
jmp 0x14000be05
mov rcx, rbx
mov rdx, rsi
call fcn.140177150
jmp 0x14000be77
int3
xor ecx, ecx
jmp 0x14000c242
neg r12
mov rax, qword [rsp + 0x50]
lea rax, [rax + rax*4]
lea rsi, [rbx + rax*8]
add rsi, 0xffffffffffffffd8
mov rcx, rsi
call fcn.14011bf80
add rsi, 0xffffffffffffffd8
add r12, 0x28
jne 0x14000c34a
mov rcx, rbx
call fcn.140172a44
jmp 0x14000c2b1