Function at 0x140001080
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 r12, rcx
test rcx, rcx
jne 0x1400010e0
lea r8d, [rcx + 0x49]
lea rdx, str...........AcrobatViewerWinAcroIPC.cpp
lea rcx, [0x140016acc]
call qword [sym.imp.MSVCR100.dll__wassert]
lea eax, [r12 + 8]
jmp 0x140001395
mov qword [rsp + 0x48], rcx
cmp dword [rcx + 0x24], 0
jne 0x1400010f3
mov rsi, qword [rcx + 0x50]
xor edi, edi
jmp 0x140001111
mov r8d, 0x1dd
lea rdx, str...........AcrobatViewerWinAcroIPC.cpp
lea rcx, [0x140016acc]
call qword [sym.imp.MSVCR100.dll__wassert]
xor edi, edi
mov esi, edi
mov qword [rsp + 0x40], rsi
mov r15, qword [r12 + 0x18]
mov qword [rsp + 0x58], r15
mov r14d, dword [r12 + 8]
mov dword [rsp + 0x3c], r14d
mov r13, qword [r12 + 0x110]
mov qword [rsp + 0x50], r13
nop word [rax + rax]
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140001393
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], edi
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], edi
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 r14d, r14d
je 0x140001243
test r13, r13
je 0x140001243
mov dword [rsp + 0x38], edi
lea rdx, [rsp + 0x38]
mov rcx, rsi
call r13
test eax, eax
je 0x140001243
cmp r14d, dword [rsp + 0x38]
je 0x140001243
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x480], eax
mov dword [rsp + 0x484], 0xfffffffa
mov qword [rsp + 0x20], rdi
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], rdi
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 0x140001140
mov qword [rsp + 0x20], rdi
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 0x140001235
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x34], 0x410
jne 0x14000137c
test eax, eax
je 0x14000131e
cmp eax, 3
je 0x140001321
cmp dword [rsp + 0x7c], 0x400
ja 0x14000131e
mov edx, eax
mov rcx, r12
call fcn.140001e60
test rax, rax
jne 0x1400012bd
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x480], eax
mov dword [rsp + 0x484], 0xffffffff
jmp 0x1400012ed
mov r8, r12
lea rdx, [rsp + 0x480]
lea rcx, [rsp + 0x70]
call rax
nop
jmp 0x1400012ed
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
mov r8d, 0x40c
lea rdx, [rsp + 0x480]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [r12 + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140001235
cmp eax, 3
sete bl
mov dword [rsp + 0x480], eax
mov eax, 0xfffffffb
test bl, bl
cmovne eax, edi
mov dword [rsp + 0x484], eax
mov qword [rsp + 0x20], rdi
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 0x140001140
cmp byte [r12 + 0x20], 0
jne 0x140001140
jmp 0x140001393
mov dword [rsp + 0x480], eax
mov dword [rsp + 0x484], 0xfffffffe
jmp 0x140001214
xor eax, eax
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.140012880
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