Function at 0x1400146a0
Capabilities:
Read pipe
Write pipe

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xb80]
sub rsp, 0xc80
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x140042010]
xor rax, rsp
mov qword [rbp + 0xb70], rax
call fcn.140014120
test al, al
je 0x140014940
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x40], eax
lea rdi, [rbp + 0xbc8]
mov byte [rsp + 0x70], 0
call fcn.1400064b0
mov rcx, qword [rax]
or rcx, 2
mov qword [rsp + 0x28], rdi
xor r12d, r12d
mov qword [rsp + 0x20], r12
mov r9, qword [rbp + 0xbc0]
mov r8d, 0x400
lea rdx, [rsp + 0x70]
call fcn.14001dc74
mov rsi, 0xffffffffffffffff
test eax, eax
cmovs eax, esi
test eax, eax
js 0x14001475a
cmp eax, 0x400
jae 0x14001475a
cdqe
mov byte [rsp + rax + 0x70], r12b
mov byte [rbp + 0x36f], r12b
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [rsp + 0x4c]
shl rcx, 0x20
mov eax, dword [rsp + 0x48]
add rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
sar rdx, 0xb
mov r15, rdx
shr r15, 0x3f
add r15, rdx
movabs rax, 0xfffff568cf499800
add r15, rax
movabs rax, 0x55e63b88c230e77f
imul r15
sar rdx, 0x19
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x5f5e100
sub r15, rax
mov byte [rbp + 0x370], r12b
mov r8d, 0x400
lea rdx, [rbp + 0x370]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
lea rcx, [rbp + 0x370]
call fcn.1400190a0
mov r14, rax
test rax, rax
je 0x140014802
inc r14
jmp 0x140014809
lea r14, [rbp + 0x370]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
mov eax, 0x10624dd3
imul r15d
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x3e8
sub r15d, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], r14
mov r9d, r15d
mov r8d, edx
lea rdx, str.__05d._03d__s_p_04d_t_04d_:__s
lea rcx, [rbp + 0x770]
call fcn.140014970
mov byte [rbp + 0xb6f], r12b
nop dword [rax]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x110000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str..pipeDebugServer
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, rsi
jne 0x1400148ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x140014938
mov edx, 0xffffffff
lea rcx, str..pipeDebugServer
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x140014870
jmp 0x140014938
mov dword [rsp + 0x48], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
mov dword [rsp + 0x40], r12d
lea rax, [rbp + 0x770]
inc rsi
cmp byte [rax + rsi], r12b
jne 0x1400148f6
mov r8, rsi
mov qword [rsp + 0x30], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x58]
lea rdx, [rbp + 0x770]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0xb70]
xor rcx, rsp
call fcn.1400174d0
add rsp, 0xc80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret