Function at 0x1400149c0
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 - 0xb70]
sub rsp, 0xc70
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rbp + 0xb60], rax
call fcn.140014330
test al, al
je 0x140014c60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x40], eax
lea rdi, [rbp + 0xbb8]
mov byte [rsp + 0x60], 0
call fcn.1400063d0
mov rcx, qword [rax]
or rcx, 2
mov qword [rsp + 0x28], rdi
xor r12d, r12d
mov qword [rsp + 0x20], r12
mov r9, qword [rbp + 0xbb0]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
call fcn.1400210f8
mov rsi, 0xffffffffffffffff
test eax, eax
cmovs eax, esi
test eax, eax
js 0x140014a71
cmp eax, 0x400
jae 0x140014a71
cdqe
mov byte [rsp + rax + 0x60], r12b
mov byte [rbp + 0x35f], 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 + 0x360], r12b
mov r8d, 0x400
lea rdx, [rbp + 0x360]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
lea rcx, [rbp + 0x360]
call fcn.140019e50
mov r14, rax
test rax, rax
je 0x140014b19
inc r14
jmp 0x140014b20
lea r14, [rbp + 0x360]
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 + 0x60]
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 + 0x760]
call fcn.140014dc0
mov byte [rbp + 0xb5f], r12b
nop dword [rax]
nop dword [rax + 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 0x140014bee
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x140014c58
mov edx, 0xffffffff
lea rcx, str..pipeDebugServer
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x140014b90
jmp 0x140014c58
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 + 0x760]
inc rsi
cmp byte [rax + rsi], r12b
jne 0x140014c16
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 + 0x50]
lea rdx, [rbp + 0x760]
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 + 0xb60]
xor rcx, rsp
call fcn.140017c90
add rsp, 0xc70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret