Function at 0x1401eb740
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
mov rsi, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov ecx, SafeArrayCopy
call fcn.1402dd130
mov rbx, rax
mov rdi, rax
mov rcx, rax
call fcn.14017b160
mov qword [rsp + 0x1c8], rbx
mov rcx, qword [rsi + 0xf0]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetNamedPipeClientProcessId]
test eax, eax
je 0x1401eb961
mov rcx, qword [rsi + 0xf0]
call qword [sym.imp.ADVAPI32.dll_ImpersonateNamedPipeClient]
test eax, eax
je 0x1401eb86b
lea r14, [rsp + 0x88]
mov qword [r14], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, 0xf01ff
mov r8d, 1
mov r9, r14
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x1401eb865
mov r14, qword [rsp + 0x88]
test r14, r14
je 0x1401ebbb9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp r14, 0xffffffffffffffff
je 0x1401ebbc1
call fcn.14026d530
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
add rbx, 8
cmp byte [rdi + 0x10], 0
je 0x1401eb987
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1401eb832
call fcn.14026d530
cmp qword [rbx], r14
je 0x1401eb865
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rbx]
inc rax
cmp rax, 2
jae 0x1401ebbe2
cmp r15, 2
jb 0x1401eb85d
mov qword [rbx], r14
call fcn.14026d530
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
movaps xmm0, xmmword [0x14047fb40]
movaps xmmword [rsp + 0x70], xmm0
xor eax, eax
mov qword [rsp + 0x58], rax
mov rbx, qword [rsi + 0xf0]
mov qword [rsi + 0xf0], rax
cmp rbx, 0xffffffffffffffff
je 0x1401eb89c
test rbx, rbx
je 0x1401eb8c0
call fcn.14026d530
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1401eb8b8
mov qword [rsp + 0x58], rbx
call fcn.14026d530
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdi, [rsp + 0x60]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140275110
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov rdx, rdi
call fcn.1401661c0
mov rax, qword [rbx + 8]
inc rax
cmp rax, 1
ja 0x1401eb9df
mov ecx, 2
call fcn.14026cdd0
test al, al
jne 0x1401ebb1c
mov rcx, rsi
call fcn.1401eb640
lea rcx, [rsp + 0x70]
call fcn.1401661f0
mov rdi, qword [rsp + 0x1c8]
mov qword [rsp + 0x1c8], 0
test rdi, rdi
je 0x1401eb940
mov rcx, rdi
call fcn.14017b180
mov rcx, rdi
call fcn.1402dd16c
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1402ddd70
nop
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 2
call fcn.14026cdd0
test al, al
jne 0x1401ebb66
mov rcx, rsi
call fcn.1401eb640
jmp 0x1401eb91f
call fcn.14026d530
mov rax, qword [rbx]
jmp 0x1401eb9a3
test rbx, rbx
je 0x1401ebbfb
mov qword [rbx], 0
lea r15, [r14 + 1]
cmp r15, 2
jae 0x1401eb97d
xor eax, eax
cmp rax, r14
je 0x1401eb9d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rbx]
inc rax
cmp rax, 2
jae 0x1401ebbc9
cmp r15, 2
jb 0x1401eb9ce
mov qword [rbx], r14
call fcn.14026d530
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rdi + 0x10], 1
jmp 0x1401eb865
lea rcx, [rsi + 0x78]
call fcn.140206b90
lea rcx, [rsi + 0xf8]
call fcn.1402537b0
mov rax, qword [rsi + 0xf0]
inc rax
cmp rax, 2
jb 0x1401eba20
call fcn.14026d530
mov rcx, qword [rsi + 0xf0]
call fcn.140252540
mov qword [rsi + 0xf0], 0
movabs r14, 0xfffffffc00000000
lea rbx, [rsi + 0x50]
lea rdx, str.OnReady
lea r8, str.....components_named_mojo_ipc_server_named_mojo_server_endpoint_connector_win.cc
lea rdi, [rsp + 0x88]
mov rcx, rdi
mov r9d, UnRegisterTypeLib
call fcn.14026d510
mov rax, qword [0x14051e188]
mov rcx, rbx
and rcx, r14
cmp rcx, rax
jne 0x1401eba73
mov rcx, rbx
call fcn.140222350
mov rax, qword [0x14051e188]
mov qword [rsp + 0x28], rbx
mov rcx, rdi
and rcx, r14
cmp rcx, rax
jne 0x1401eba90
lea rcx, [rsp + 0x88]
call fcn.140221e30
lea rbx, [rsp + 0x28]
mov qword [rbx + 8], rdi
lea rax, [0x1401ebc40]
mov qword [rbx + 0x10], rax
lea rdi, [rsp + 0x40]
lea r8, [rsp + 0x70]
lea r9, [rsp + 0x1c8]
mov rcx, rbx
mov rdx, rdi
call fcn.1401ebc60
mov rcx, rdi
call fcn.1401ebdb0
cmp qword [rbx], 0
jne 0x1401ebc27
mov rcx, qword [rsp + 0x30]
mov rax, rcx
and rax, r14
cmp rax, qword [0x14051e188]
je 0x1401ebaeb
xor ecx, ecx
jmp 0x1401ebaf5
call fcn.140221f80
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x30], 0
and r14, rcx
cmp r14, qword [0x14051e188]
jne 0x1401ebb0f
call fcn.140222490
mov rcx, rsi
call fcn.1401eb180
jmp 0x1401eb90d
lea rdx, str.....components_named_mojo_ipc_server_named_mojo_server_endpoint_connector_win.cc
lea rdi, [rsp + 0x88]
mov rcx, rdi
mov r8d, 0xb1
mov r9d, 2
call fcn.14015a460
lea rcx, [rsp + 0x98]
lea rdx, str.Endpoint_is_invalid.
mov r8d, reloc.WS2_32.dll_sendto
call fcn.14031d7c0
mov rcx, rdi
call fcn.14015aab0
jmp 0x1401eb905
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....components_named_mojo_ipc_server_named_mojo_server_endpoint_connector_win.cc
lea rbx, [rsp + 0x88]
mov rcx, rbx
mov r8d, 0xa2
mov r9d, 2
call fcn.14037ed30
lea rcx, [rsp + 0x98]
lea rdx, str.Failed_to_get_peer_PID
mov r8d, reloc.WS2_32.dll_shutdown
call fcn.14031d7c0
mov rcx, rbx
call fcn.14037edb0
jmp 0x1401eb973
xor r14d, r14d
jmp 0x1401eb815
xor r14d, r14d
jmp 0x1401eb80d
call fcn.14026d530
mov rcx, qword [rbx]
call fcn.140252540
mov qword [rbx], 0
jmp 0x1401eb9c0
call fcn.14026d530
mov rcx, qword [rbx]
call fcn.140252540
mov qword [rbx], 0
jmp 0x1401eb84f
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.14032ac00
int3