Function at 0x1400b0600
Capabilities:
Check if file exists

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov r13, qword [0x140207460]
xor r8d, r8d
mov rax, qword [r13]
mov qword [rsp + 0x38], rax
xor eax, eax
lea r12, [rsp + 0x20]
mov rsi, rdx
mov rax, qword [0x140207c90]
mov qword [rsp + 0x20], 0
mov rdx, rcx
mov rcx, r12
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], rax
call fcn.1400de380
test rax, rax
je 0x1400b01f5
lea r8, str..pipe_
mov edx, 0x104
mov rcx, rsi
call sub.libintl_8.dll_libintl_swprintf
mov r8d, 0x104
mov rdx, qword [rsp + 0x30]
mov r9d, 0xffffffff
movsxd rbp, eax
lea r14, [rbp + rbp]
sub r8, rbp
mov rdi, rbp
lea rbx, [rsi + r14]
mov rcx, rbx
call fcn.1400bb020
test eax, eax
js 0x1400b01f5
movzx edx, word [rbx]
test dx, dx
je 0x1400b01ad
lea rax, [rsi + r14 + 2]
cmp word [rax], 0x3a
je 0x1400b01d8
lea rax, [rsi + rbp*2 + 2]
nop dword [rax]
cmp dx, 0x2f
jne 0x1400b019e
mov edx, 0x5c
mov word [rbx], dx
mov rbx, rax
movzx edx, word [rax]
add rax, 2
test dx, dx
jne 0x1400b0190
mov rcx, r12
call fcn.14007d7e0
xor eax, eax
mov rdx, qword [rsp + 0x38]
sub rdx, qword [r13]
jne 0x1400b01fc
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov ecx, 0x5f
lea rbx, [rsi + r14 + 4]
add edi, 2
mov word [rax], cx
movzx edx, word [rbx]
test dx, dx
je 0x1400b01ad
movsxd rbp, edi
jmp 0x1400b0187
mov eax, 0xffffffff
jmp 0x1400b01b7
call fcn.1401be670
nop
nop word cs:[rax + rax]
nop dword [rax]
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
mov rdi, qword [0x140207460]
mov rax, qword [rdi]
mov qword [rsp + 0xb8], rax
xor eax, eax
cmp qword [rcx + 0x38], 0xffffffffffffffff
mov rbx, rcx
je 0x1400b05d6
lea rbp, str.compat_simple_ipc_ipc_win32.c
lea r8, str.ipc_server
mov edx, 0x220
mov rcx, rbp
lea r12, [rsp + 0x80]
call fcn.14008f620
mov rax, qword [rbx + 0x10]
xor r9d, r9d
mov rcx, rbp
lea r8, str.ipc_server
mov edx, 0x221
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x28], rax
lea rax, [0x1401dffcd]
mov qword [rsp + 0x20], rax
call fcn.14008f960
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
pxor xmm0, xmm0
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], rax
mov rsi, rax
movups xmmword [rsp + 0x80], xmm0
mov rcx, qword [rbx + 0x38]
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400b0350
call rdi
cmp eax, 0x217
je 0x1400b0398
cmp eax, 0x3e5
jne 0x1400b0350
mov rax, qword [rbx + 0x10]
xor r8d, r8d
mov ecx, 2
lea rdx, [rsp + 0xa0]
mov r9d, 0xffffffff
movq xmm0, qword [rax + 0x238]
movhps xmm0, qword [rsp + 0x98]
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x1400b04e0
cmp eax, 1
je 0x1400b0530
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
jmp 0x1400b02d5
call rdi
lea rcx, str.ConnectNamedPipe_failed_for__s___lu_
mov r13d, eax
mov rax, qword [rbx + 0x10]
mov r14, qword [rax + 0x28]
mov rax, qword [0x1402078f0]
mov edx, dword [rax]
test edx, edx
je 0x1400b0379
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
mov r8d, r13d
mov rdx, r14
call fcn.1400a0b40
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
jmp 0x1400b02d5
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rax, qword [0x140207c90]
mov r13, qword [rbx + 0x38]
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x58], rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 2
lea r9, [rsp + 0x48]
mov rdx, r13
mov dword [rsp + 0x28], 0
mov rcx, rax
mov r8, rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400b0543
mov rcx, qword [rsp + 0x48]
mov edx, 0x8002
call qword [sym.imp.msvcrt.dll__open_osfhandle]
mov ecx, eax
test eax, eax
js 0x1400b05aa
lea r13, [rsp + 0x60]
mov r8d, 9
mov dword [rsp + 0x54], eax
mov rdx, r13
call fcn.14003c720
mov r15, qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov r14d, eax
test eax, eax
js 0x1400b0497
mov rax, qword [rbx + 0x10]
lea rdx, [rsp + 0x50]
mov r8, qword [rsp + 0x68]
lea r9, [0x1400b0090]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x70]
call qword [rax + 8]
mov ecx, dword [rsp + 0x54]
mov r14d, eax
call fcn.14003ba80
mov ecx, dword [rsp + 0x54]
call qword [sym.imp.msvcrt.dll__get_osfhandle]
mov r15, qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rax
call r15
mov rcx, r13
call fcn.14007d7e0
mov ecx, dword [rsp + 0x54]
call sub.msvcrt.dll__close
mov rcx, qword [rbx + 0x38]
call r15
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
cmp r14d, 0xfffffffe
jne 0x1400b02d5
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x1400b04e0
mov rcx, qword [rax + 0x238]
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop dword [rax]
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x255
mov rcx, rbp
call fcn.14008f830
mov rsi, qword [0x140207460]
mov rax, qword [rsp + 0xb8]
sub rax, qword [rsi]
jne 0x1400b05d1
xor eax, eax
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x1400b03a6
call rdi
mov r14d, eax
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, r14d
mov r13, rax
call fcn.1400b95f0
mov dword [r13], eax
mov rax, qword [rbx + 0x10]
mov dword [rsp + 0x54], 0xffffffff
lea rcx, str.could_not_create_fd_from_pipe_for__s
mov r13, qword [rax + 0x28]
mov rax, qword [0x1402078f0]
mov eax, dword [rax]
test eax, eax
je 0x1400b0589
call sub.libintl_8.dll_libintl_gettext
mov rcx, rax
mov rdx, r13
call fcn.1400a0b40
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
jmp 0x1400b02d5
call rdi
mov r14d, eax
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, r14d
mov r13, rax
call fcn.1400b95f0
mov rcx, qword [rsp + 0x48]
mov dword [r13], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b055d
call fcn.1401be670
mov r8d, 0x21e
lea rdx, str.compat_simple_ipc_ipc_win32.c
lea rcx, str.server_thread_data__hPipe___INVALID_HANDLE_VALUE
call qword [sym.imp.msvcrt.dll__assert]
nop
nop word cs:[rax + rax]
nop dword [rax]
push rsi
push rbx
sub rsp, 0x248
mov rbx, qword [0x140207460]
mov rax, qword [rbx]
mov qword [rsp + 0x238], rax
xor eax, eax
lea rsi, [rsp + 0x30]
mov rdx, rsi
call fcn.1400b00d0
mov edx, eax
mov eax, 2
test edx, edx
js 0x1400b0648
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
mov edx, eax
xor eax, eax
test edx, edx
je 0x1400b0660
mov rdx, qword [rsp + 0x238]
sub rdx, qword [rbx]
jne 0x1400b06ba
add rsp, 0x248
pop rbx
pop rsi
ret
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
call rsi
mov edx, eax
mov eax, 1
cmp edx, 0x79
je 0x1400b0648
call rsi
mov edx, eax
mov eax, 3
cmp edx, 2
je 0x1400b0648
call rsi
xor r9d, r9d
lea r8, str.ipc_debug
mov edx, 0x3a
mov eax, eax
lea rcx, str.compat_simple_ipc_ipc_win32.c
mov qword [rsp + 0x28], rax
lea rax, str.getstate_waitpipe_gle
mov qword [rsp + 0x20], rax
call fcn.14008f990
mov eax, 4
jmp 0x1400b0648
call fcn.1401be670
nop