Function at 0x1400ff5b0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rax, qword [0x140231028]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp qword [rcx + 0x30], 0
je 0x1400ff835
mov rsi, rcx
lea rdx, str.StopWatching
lea r8, str....._basewinobject_watcher.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x30
call fcn.1400c8fe0
mov qword [rsp + 0x68], 0xb
mov al, byte [0x14024358b]
test al, al
jne 0x1400ffa4e
mov eax, dword [0x1402403d0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rdi, qword [rax + 0x160]
test rdi, rdi
je 0x1400ff64d
cmp qword [rdi + 0x18], 0
jne 0x1400ffa77
movabs rax, 0x4000000000000000
lock or qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1401fd0c0]
movaps xmmword [rsp + 0x40], xmm0
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x40], 0
test rax, rax
je 0x1400ffa39
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsp + 0x40]
inc rax
cmp rax, 2
jae 0x1400ff87a
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400ff6af
mov qword [rsp + 0x40], rdi
call fcn.1400b34e0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rdx, qword [rsp + 0x40]
mov byte [rsp + 0x48], 0
lea rax, [rdx + 1]
cmp rax, 1
jbe 0x1400ffa3e
mov rcx, qword [rsi + 0x30]
call qword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
test eax, eax
je 0x1400ff8dd
lea rcx, [rsp + 0x40]
call fcn.1400ffbb0
mov rdi, qword [rsi + 0x20]
mov qword [rsi + 0x20], 0
test rdi, rdi
je 0x1400ff72a
lock dec dword [rdi]
jne 0x1400ff72a
mov rax, qword [rdi + 0x10]
lea rcx, [0x1401268c0]
cmp rax, rcx
jne 0x1400ff839
mov rbx, qword [rdi + 0x28]
test rbx, rbx
jne 0x1400ff8b6
mov rcx, rdi
call fcn.1401298a0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov dword [rsi + 0x10], 0xffffffff
xor eax, eax
mov qword [rsi + 0x18], rax
movups xmmword [rsi + 0x28], xmm0
mov rcx, qword [rsi + 0x38]
mov qword [rsi + 0x38], rax
test rcx, rcx
je 0x1400ff758
lock dec dword [rcx + 8]
je 0x1400ffa41
mov byte [rsi + 0x40], 1
mov rax, qword [rsi + 0x48]
mov byte [rax + 4], 1
mov ecx, 8
call fcn.1401298a8
mov dword [rax], 0
mov byte [rax + 4], 0
test rax, rax
je 0x1400ff792
mov ecx, 1
lock xadd dword [rax], ecx
cmp ecx, 0x7fffffff
je 0x1400ffa4b
mov rcx, qword [rsi + 0x48]
mov qword [rsi + 0x48], rax
mov sil, 1
test rcx, rcx
je 0x1400ff7ab
lock dec dword [rcx]
je 0x1400ff82b
cmp byte [rsp + 0x48], 0
jne 0x1400ff7e7
mov eax, dword [0x140243a80]
mov ecx, dword [0x1402403d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ff90d
mov rax, qword [0x140243a78]
cmp byte [rax], 0
jne 0x1400ffadd
mov rax, qword [rsp + 0x40]
inc rax
cmp rax, 2
jae 0x1400ff847
mov qword [rsp + 0x78], 0xb
mov al, byte [0x14024358b]
test al, al
jne 0x1400ffa9d
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14012c2d0
mov eax, esi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1401298a0
jmp 0x1400ff7ab
xor esi, esi
jmp 0x1400ff80c
mov rcx, rdi
call qword [0x140223bc8]
jmp 0x1400ff72a
call fcn.1400b34e0
mov rdi, qword [rsp + 0x40]
cmp qword [0x140243968], 0
je 0x1400ff9f1
mov rcx, qword [0x140243968]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [0x140223bc8]
jmp 0x1400ff7f5
call fcn.1400b34e0
mov r14, qword [rsp + 0x40]
cmp qword [0x140243968], 0
je 0x1400ff9a9
mov rcx, qword [0x140243968]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x140223bc8]
mov qword [rsp + 0x40], 0
jmp 0x1400ff69b
lock dec dword [rbx]
jne 0x1400ff722
mov rax, qword [rbx + 0x10]
lea rcx, [0x1401eb230]
cmp rax, rcx
je 0x1400ff8f3
mov rcx, rbx
call qword [0x140223bc8]
jmp 0x1400ff722
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1400ff6e1
jmp 0x1400ffb96
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x1400ff996
mov rcx, rbx
call fcn.1401298a0
jmp 0x1400ff722
lea rcx, [0x140243a80]
call fcn.1401299b4
cmp dword [0x140243a80], 0xffffffff
jne 0x1400ff7d7
xor eax, eax
lea rcx, str.tracing_categories_exhausted._must_increase_kMaxCategories
lea rdx, str.wakeup.flow_toplevel.flow
jmp 0x1400ff958
mov r10b, byte [r8 + r9]
lea r11, [r9 + 1]
cmp r10b, byte [r9 + rdx]
mov r9, r11
je 0x1400ff96f
inc rax
cmp rax, 0x16e
je 0x1400ffb44
imul r8, rax, 0x38
mov r8, qword [r8 + rcx]
cmp byte [r8], 0x77
jne 0x1400ff949
mov r10b, 0x77
mov r9d, 1
test r10b, r10b
jne 0x1400ff938
lea rcx, [0x140243580]
add rcx, rax
mov qword [0x140243a78], rcx
lea rcx, [0x140243a80]
call fcn.140129a1c
jmp 0x1400ff7d7
lock dec dword [rcx]
jne 0x1400ff900
call fcn.1401298a0
jmp 0x1400ff900
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14021595f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400ffb9d
lea rcx, [sym.browser.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400ff9eb
call qword [0x140223bc8]
mov rcx, rax
xor edx, edx
call fcn.140047ac0
jmp 0x1400ff892
xor ecx, ecx
mov dl, 1
jmp 0x1400ff9e1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14021595f]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400ffba4
lea rcx, [sym.browser.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400ffa33
call qword [0x140223bc8]
mov rcx, rax
xor edx, edx
call fcn.140047ac0
jmp 0x1400ff85f
xor ecx, ecx
mov dl, 1
jmp 0x1400ffa29
mov byte [rsp + 0x48], 0
int3
call fcn.1400dfb80
jmp 0x1400ff758
int3
movzx ecx, al
lea r9, [rsp + 0x78]
mov qword [r9], rdi
lea rax, str.ScopedAllowBaseSyncPrimitivesOutsideBlockingScope
lea r8, [rsp + 0x70]
mov qword [r8], rax
lea rdx, [rsp + 0x68]
call fcn.140183b80
jmp 0x1400ff614
lea rcx, [rdi + 0x18]
mov rbx, qword [rdi + 0x10]
call fcn.14018e130
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi + 0x10], rcx
jmp 0x1400ff63e
movzx ecx, al
lea rax, str.ScopedAllowBaseSyncPrimitivesOutsideBlockingScope
lea r8, [rsp + 0x40]
mov qword [r8], rax
lea rax, [0x140204430]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
mov byte [rsp + 0x28], 0x45
lea rdx, [rsp + 0x78]
mov r9d, 2
call fcn.1400326c0
jmp 0x1400ff80c
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.1400945a0
test al, al
je 0x1400ff7e7
mov qword [rsp + 0x68], 0x169
mov al, byte [0x1402436e9]
test al, al
je 0x1400ff7e7
movzx ecx, al
xor rdi, qword [0x140241b20]
lea rax, [rsp + 0x78]
mov qword [rax], rdi
lea rdx, str.WaitableEvent_while_Signaled
lea r8, [rsp + 0x70]
mov qword [r8], rdx
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x68]
mov r9d, 3
call fcn.14001dfa0
jmp 0x1400ff7e7
call fcn.1401298ec
mov ecx, dword [rax]
call fcn.14014a784
mov rsi, rax
call fcn.1401298ec
mov edi, dword [rax]
lea rcx, str....._third_partyperfettoincludeperfetto_tracing_track_event_category_registry.h
call fcn.140169250
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], edi
lea rcx, str.PERFETTO_CHECK_false___A_track_event_used_an_unknown_category._Please_add_it_to____PERFETTO_DEFINE_CATEGORIES__.__
mov qword [rsp + 0x20], rcx
lea r9, str._s__errno:__d___s_
mov ecx, 3
mov rdx, rax
mov r8d, 0x11f
call fcn.140169560
int3
xor esi, esi
jmp 0x1400ff7ab
xor ecx, ecx
jmp 0x1400ff9df
xor ecx, ecx
jmp 0x1400ffa27