Function at 0x140024200
Capabilities:
Read pipe
Write pipe

Disassembly:
jmp 0x140024200
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 r13
push r14
push r15
lea rbp, [rsp - 0xb78]
sub rsp, 0xc78
mov rax, qword [0x1400cb008]
xor rax, rsp
mov qword [rbp + 0xb60], rax
call fcn.140003396
test al, al
je 0x1400244a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0x40], eax
lea rdi, [rbp + 0xbc8]
mov byte [rsp + 0x60], 0
call fcn.14000120d
mov rcx, qword [rax]
or rcx, 2
mov qword [rsp + 0x28], rdi
xor r13d, r13d
mov qword [rsp + 0x20], r13
mov r9, qword [rbp + 0xbc0]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
call fcn.1400027ac
mov r14, 0xffffffffffffffff
test eax, eax
cmovs eax, r14d
test eax, eax
js 0x1400242b4
cmp eax, 0x400
jae 0x1400242b4
cdqe
mov byte [rsp + rax + 0x60], r13b
mov byte [rbp + 0x35f], r13b
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 r12, rdx
shr r12, 0x3f
add r12, rdx
movabs rax, 0xfffff568cf499800
add r12, rax
movabs rax, 0x55e63b88c230e77f
imul r12
sar rdx, 0x19
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x5f5e100
sub r12, rax
mov byte [rbp + 0x360], r13b
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.140004aa7
mov r15, rax
test rax, rax
je 0x14002435c
inc r15
jmp 0x140024363
lea r15, [rbp + 0x360]
mov eax, 0x10624dd3
imul r12d
mov esi, edx
sar esi, 6
mov eax, esi
shr eax, 0x1f
add esi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
imul ecx, esi, 0x3e8
sub r12d, ecx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
mov r9d, r12d
mov r8d, esi
lea rdx, str.__05d._03d__s_p_04d_t_04d_:__s
lea rcx, [rbp + 0x760]
call fcn.140001f14
mov byte [rbp + 0xb5f], r13b
nop word [rax + rax]
mov qword [rsp + 0x30], r13
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, r14
jne 0x14002442e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x140024498
mov edx, 0xffffffff
lea rcx, str..pipeDebugServer
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x1400243d0
jmp 0x140024498
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], r13d
lea rax, [rbp + 0x760]
inc r14
cmp byte [rax + r14], r13b
jne 0x140024456
mov r8, r14
mov qword [rsp + 0x30], r13
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.1400029d2
add rsp, 0xc78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret