Function at 0x140001150
Capabilities:
Connect pipe
Read file on windows
Write file on windows
Write pipe

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x8a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14001e020]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov rdi, rcx
test rcx, rcx
jne 0x1400011ae
lea r8d, [rcx + 0x5d]
lea rdx, str...........AcrobatViewerWinAcroIPC.cpp
lea rcx, [0x140016acc]
call qword [sym.imp.MSVCR100.dll__wassert]
lea eax, [rdi + 8]
jmp 0x1400014d2
mov qword [rsp + 0x50], rcx
xor r12d, r12d
mov r13d, r12d
mov qword [rsp + 0x48], r12
call fcn.140001080
test al, al
je 0x1400011f1
lea rcx, [0x140016ad0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400011f1
lea rdx, str.GetNamedPipeClientProcessId
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
mov qword [rsp + 0x48], rax
mov ecx, dword [rdi + 0x24]
test ecx, ecx
je 0x140001227
cmp ecx, 2
je 0x140001227
cmp ecx, 3
jne 0x140001208
mov rsi, qword [rdi + 0x58]
jmp 0x14000122b
mov r8d, 0x25a
lea rdx, str...........AcrobatViewerWinAcroIPC.cpp
lea rcx, [0x140016acc]
call qword [sym.imp.MSVCR100.dll__wassert]
mov rsi, r12
jmp 0x14000122b
mov rsi, qword [rdi + 0x50]
mov qword [rsp + 0x40], rsi
mov r15, qword [rdi + 0x18]
mov qword [rsp + 0x58], r15
mov r14d, dword [rdi + 8]
mov dword [rsp + 0x3c], r14d
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400014d0
mov dword [rsp + 0x34], r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x80]
call sub.MSVCR100.dll_memset
mov qword [rsp + 0x480], 0
mov dword [rsp + 0x488], r12d
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x48c]
call sub.MSVCR100.dll_memset
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400012c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r14d, r14d
je 0x140001353
test r13, r13
je 0x140001353
mov dword [rsp + 0x38], r12d
lea rdx, [rsp + 0x38]
mov rcx, rsi
call r13
test eax, eax
je 0x140001353
cmp r14d, dword [rsp + 0x38]
je 0x140001353
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x480], eax
mov dword [rsp + 0x484], 0xfffffffa
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x34]
mov r8d, 0x410
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
mov r8d, 0x40c
lea rdx, [rsp + 0x480]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
jmp 0x140001242
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x34]
mov r8d, 0x410
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140001345
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x34], 0x410
jne 0x1400014b9
test eax, eax
je 0x14000145c
cmp eax, 3
je 0x14000145f
cmp dword [rsp + 0x7c], 0x400
ja 0x14000145c
mov edx, eax
mov rcx, rdi
call fcn.140002880
test rax, rax
jne 0x1400013cd
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x480], eax
mov dword [rsp + 0x484], 0xffffffff
jmp 0x1400013fe
mov r8, rdi
lea rdx, [rsp + 0x480]
lea rcx, [rsp + 0x70]
call rax
nop
jmp 0x1400013fe
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
mov r8d, 0x40c
lea rdx, [rsp + 0x480]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp byte [rdi + 0x20], 0
jne 0x140001449
mov r8d, 0x2c8
lea rdx, str...........AcrobatViewerWinAcroIPC.cpp
lea rcx, str.m_locked
call qword [sym.imp.MSVCR100.dll__wassert]
cmp byte [rdi + 0x20], 0
je 0x140001345
mov byte [rdi + 0x20], 0
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140001345
cmp eax, 3
sete bl
mov dword [rsp + 0x480], eax
mov eax, 0xfffffffb
test bl, bl
cmovne eax, r12d
mov dword [rsp + 0x484], eax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
mov r8d, 0x40c
lea rdx, [rsp + 0x480]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test bl, bl
je 0x140001242
cmp byte [rdi + 0x21], 0
jne 0x140001242
jmp 0x1400014d0
mov dword [rsp + 0x480], eax
mov dword [rsp + 0x484], 0xfffffffe
jmp 0x140001324
xor eax, eax
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.1400133b0
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret