Function at 0x18016e1c0
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x1805858b8]
xor rax, rsp
mov qword [rsp + 0x280], rax
movzx r14d, dl
xor r13d, r13d
mov ebp, r14d
mov dword [rsp + 0x68], 0x18
xor ebp, 1
mov qword [rsp + 0x70], r13
shl ebp, 0x14
mov r15d, r14d
shl r15d, 0x14
lea r12d, [r14 + 0x40000001]
mov rsi, rcx
mov dword [rsp + 0x78], r13d
mov edi, 0x3e8
call sym.Qt5Core.dll_public:_static_class_QRandomGenerator64____ptr64___cdecl_QRandomGenerator64::global_void_
lea r8, [rsp + 0x44]
mov rcx, rax
lea rdx, [rsp + 0x40]
call sym.Qt5Core.dll_private:_void___cdecl_QRandomGenerator::_fillRange_void____ptr64__void____ptr64____ptr64
call sym.Qt5Core.dll_public:_static_long_long___int64____cdecl_QCoreApplication::applicationPid_void_
mov ecx, dword [rsp + 0x40]
lea r8, str..pipeqt__lX__X
mov dword [rsp + 0x20], ecx
mov r9d, eax
lea rcx, [rsp + 0x80]
mov edx, 0x100
call fcn.180170240
mov r9d, 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x30], r13d
mov edx, r12d
mov dword [rsp + 0x28], ebp
lea r8d, [r9 + 7]
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x18016e2c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x18016e2b3
add edi, 0xffffffff
jne 0x18016e221
lea rdx, str.QProcess:_CreateNamedPipe_failed.
mov ecx, eax
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const____ptr64_
jmp 0x18016e3db
mov edx, 0x40000000
mov qword [rsp + 0x30], r13
mov eax, 0x80000100
mov dword [rsp + 0x28], 0x40000000
test r14b, r14b
mov dword [rsp + 0x78], 1
lea r9, [rsp + 0x68]
mov dword [rsp + 0x20], 3
cmovne edx, eax
lea rcx, [rsp + 0x80]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x18016e32c
lea rcx, str.QProcess:_CreateFile_failed.
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_char_const____ptr64_
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18016e3db
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea edx, [rax + 1]
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
lea rdx, [rsp + 0x48]
mov rcx, rbx
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x18016e3bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x18016e3bb
cmp eax, 0x3e5
je 0x18016e3ab
lea rdx, str.QProcess:_ConnectNamedPipe_failed.
mov ecx, eax
call sym.Qt5Core.dll_void___cdecl_qErrnoWarning_int__char_const____ptr64_
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18016e3db
mov rcx, qword [rsp + 0x60]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14b, r14b
je 0x18016e3d4
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
jmp 0x18016e3db
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1802e1ba0
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret