Function at 0x1800a4950
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x18012e760]
xor rax, rsp
mov qword [rbp + 0x10], rax
xor eax, eax
mov rsi, rcx
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov rax, qword [rcx + 0x70]
add rcx, 0x70
cmp dword [rax], 1
jbe 0x1800a49b2
mov edx, 0x7fffffff
mov r8d, 1
call fcn.1800a5340
jmp 0x1800a49b8
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov ecx, 0x30
mov rbx, rax
call fcn.1800d7bb4
movups xmm0, xmmword [rbp - 0x40]
movups xmm1, xmmword [rbp - 0x30]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax + 0x20], xmm0
mov qword [rbx], rax
mov rax, qword [rsi + 0x70]
cmp dword [rax], 1
jbe 0x1800a49f4
mov edx, dword [rax + 4]
lea rcx, [rsi + 0x70]
call fcn.1800a5240
mov qword [rsp + 0x158], r12
lea rcx, [rsi + 0x70]
mov qword [rsp + 0x160], r13
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::end_void_const___ptr64]
xor edi, edi
lea rcx, [rbp - 0x58]
mov ebx, edi
mov r15, qword [rax - 8]
mov dword [rbp - 0x10], 0x18
mov dword [rbp], edi
mov qword [rbp - 8], rdi
mov qword [rbp - 0x70], rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_void____ptr64]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_void____ptr64]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_void____ptr64]
test byte [rsi + 0xb4], 7
je 0x1800a4e7f
lea ecx, [rdi + 0x28]
call fcn.1800d7bb4
test rax, rax
je 0x1800a4a6d
lea edx, [rdi + 0x28]
xor ecx, ecx
mov rbx, rax
call fcn.1800d7bf0
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x1800a4b3e
mov dword [rsp + 0x70], 0x20
lea rax, str.QLocalServerPrivate::addListener
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x70]
lea rcx, [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_class_QString___cdecl_qt_error_string_int_]
or r8d, 0xffffffff
lea rdx, str._1:__2
lea rcx, [rbp - 0x48]
mov rdi, rax
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const____ptr64__int_]
mov r9, rdi
lea r8, [rsp + 0x60]
mov rcx, rax
lea rdx, [rbp - 0x50]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__class_QString_const____ptr64____ptr64]
mov rdx, rax
lea rcx, [rsi + 0xa8]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x60]
mov dword [rsi + 0xb0], 0xffffffff
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor dil, dil
jmp 0x1800a5040
mov qword [rbp - 0x78], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp - 0x78]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1800a5020
mov rcx, qword [rbp - 0x78]
lea rax, [rbp - 0x80]
xor r9d, r9d
mov dword [rbp - 0x80], edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov r8d, dword [rbp - 0x80]
lea rcx, [rbp - 0x60]
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::fill_char__int____ptr64]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_char____ptr64___cdecl_QByteArray::data_void____ptr64]
mov r9d, dword [rbp - 0x80]
mov edx, 1
mov rcx, qword [rbp - 0x78]
mov r13, rax
lea rax, [rbp - 0x80]
mov r8, r13
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1800a4c27
mov rcx, qword [rbp - 0x78]
lea rax, [rbp - 0x80]
xor r9d, r9d
mov dword [rbp - 0x80], edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [r9 + 5]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov r8d, dword [rbp - 0x80]
lea rcx, [rbp - 0x68]
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::fill_char__int____ptr64]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_char____ptr64___cdecl_QByteArray::data_void____ptr64]
mov r9d, dword [rbp - 0x80]
mov edx, 5
mov rcx, qword [rbp - 0x78]
mov r12, rax
mov qword [rsp + 0x60], rax
mov r8, r12
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1800a4c80
mov dword [rsp + 0x70], 0x20
lea rax, str.QLocalServerPrivate::addListener
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x70]
lea rcx, [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1800a5710
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor dil, dil
jmp 0x1800a5040
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rbp - 0x70]
mov dword [rbp + 8], edi
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 8]
mov dword [rsp + 0x48], edi
xor r9d, r9d
mov dword [rsp + 0x40], edi
xor r8d, r8d
mov dword [rsp + 0x38], edi
mov dl, 1
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov word [rbp + 0xc], 0x100
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x1800a4d19
mov dword [rsp + 0x70], 0x20
lea rax, str.QLocalServerPrivate::addListener
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x70]
lea rcx, [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1800a5710
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor dil, dil
jmp 0x1800a5040
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov rcx, qword [r12]
lea edi, [rax + 0x28]
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov rcx, qword [rbp - 0x70]
add eax, 0xfffffffc
add edi, eax
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
xor edx, edx
lea rcx, [rbp - 0x58]
dec eax
add edi, eax
and edi, 0xfffffffc
mov r8d, edi
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::fill_char__int____ptr64]
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt5Core.dll_public:_char____ptr64___cdecl_QByteArray::data_void____ptr64]
mov r8d, 4
mov edx, edi
mov rcx, rax
mov r12, rax
call qword [sym.imp.ADVAPI32.dll_InitializeAcl]
test byte [rsi + 0xb4], 1
je 0x1800a4d9c
mov r9, qword [r13]
mov edx, 2
mov r8d, 0x1f01ff
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_AddAccessAllowedAce]
test eax, eax
je 0x1800a4e20
test byte [rsi + 0xb4], 2
mov rdi, qword [rsp + 0x60]
je 0x1800a4dc5
mov r9, qword [rdi]
mov edx, 2
mov r8d, 0x1f01ff
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_AddAccessAllowedAce]
test eax, eax
je 0x1800a4e20
test byte [rsi + 0xb4], 4
je 0x1800a4dea
mov r9, qword [rbp - 0x70]
mov edx, 2
mov r8d, 0x1f01ff
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_AddAccessAllowedAce]
test eax, eax
je 0x1800a4e20
mov rdx, qword [r13]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorOwner]
mov rdx, qword [rdi]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorGroup]
xor r9d, r9d
mov r8, r12
mov rcx, rbx
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x1800a4e79
mov dword [rsp + 0x70], 0x20
lea rax, str.QLocalServerPrivate::addListener
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x70]
lea rcx, [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1800a5710
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
xor dil, dil
jmp 0x1800a5040
mov qword [rbp - 8], rbx
xor edi, edi
lea rcx, [rsi + 0x90]
call qword [sym.imp.Qt5Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov r9d, 0xff
xor r8d, r8d
mov rcx, rax
mov edx, 0x40000003
lea rax, [rbp - 0x10]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0xbb8
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [r15], rax
cmp rax, 0xffffffffffffffff
jne 0x1800a4f76
mov dword [rsp + 0x70], 0x20
lea rax, str.QLocalServerPrivate::addListener
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x70]
lea rcx, [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt5Core.dll_class_QString___cdecl_qt_error_string_int_]
or r8d, 0xffffffff
lea rdx, str._1:__2
lea rcx, [rbp - 0x48]
mov rdi, rax
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const____ptr64__int_]
mov r9, rdi
lea r8, [rsp + 0x60]
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__class_QString_const____ptr64____ptr64]
mov rdx, rax
lea rcx, [rsi + 0xa8]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov dword [rsi + 0xb0], 0xffffffff
jmp 0x1800a500c
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1800a4f85
call qword [sym.imp.ADVAPI32.dll_FreeSid]
xor eax, eax
lea rdx, [r15 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rax
mov rax, qword [rsi + 0x78]
mov rcx, qword [r15]
mov qword [r15 + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1800a5033
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x1800a502c
cmp eax, 0x3e5
je 0x1800a5025
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x70], 0x20
lea rax, str.QLocalServerPrivate::addListener
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x70]
lea rcx, [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1800a5710
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsi + 0x70]
call fcn.1800a5680
xor dil, dil
jmp 0x1800a5040
mov byte [r15 + 0x28], 0
jmp 0x1800a503d
mov byte [r15 + 0x28], 1
jmp 0x1800a503d
mov rcx, qword [rsi + 0x78]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov dil, 1
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
mov edx, 0x28
mov rcx, rbx
call fcn.1800d7bf0
mov r13, qword [rsp + 0x160]
movzx eax, dil
mov r12, qword [rsp + 0x158]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1800d83b0
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret