Function at 0x140025eb0
Capabilities:
Connect pipe
Create pipe

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140043480]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r14, rcx
mov ecx, 0x30
call fcn.14002a2c0
mov qword [rbp - 0x18], rax
xor r13d, r13d
lea rsi, [r13 - 1]
test rax, rax
je 0x140025f24
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov qword [rax], rsi
movups xmmword [rax + 8], xmm0
movups xmmword [rax + 0x18], xmm0
mov byte [rax + 0x28], r13b
jmp 0x140025f27
mov rax, r13
mov qword [rbp - 0x18], rax
mov rdx, qword [r14 + 0x18]
cmp rdx, qword [r14 + 0x20]
je 0x140025f3f
mov qword [rdx], rax
add qword [r14 + 0x18], 8
jmp 0x140025f4c
lea r8, [rbp - 0x18]
lea rcx, [r14 + 0x10]
call fcn.140025960
mov rax, qword [r14 + 0x18]
mov rbx, qword [rax - 8]
mov qword [rbp - 0x68], r13
mov rax, qword [sym.imp.ADVAPI32.dll_FreeSid]
mov qword [rbp - 0x60], rax
mov dword [rbp + 0x78], 0
mov word [rbp + 0x7c], 0x100
lea rax, [rbp - 0x68]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x14002600f
mov qword [rbp - 0x80], r13
lea rax, str.appendListener__init_world_auth_sid
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], 0x23
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt6Core.dll___0QString__QEAA___QEAU__QArrayDataPointer__S___Z]
nop
mov rdx, rax
mov rcx, r14
call fcn.140026be0
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x140026008
lock xadd dword [rax], esi
cmp esi, 1
jne 0x140026008
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor bl, bl
jmp 0x140026639
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.140025750
mov rcx, qword [rbp - 0x68]
mov dword [rax + 4], 2
mov dword [rax], 0x10000000
mov dword [rax + 8], r13d
mov dword [rax + 0x1c], r13d
mov dword [rax + 0x20], 5
mov qword [rax + 0x28], rcx
mov qword [rbp - 0x40], r13
mov rax, qword [sym.imp.ADVAPI32.dll_FreeSid]
mov qword [rbp - 0x38], rax
lea rcx, [r14 + 0x68]
call qword [sym.imp.Qt6Core.dll_public:_bool___cdecl_QString::isEmpty_void_const___ptr64]
movabs r12, 0x2aaaaaaaaaaaaaab
test al, al
jne 0x1400261f0
lea rdx, [rbp + 0x80]
lea rcx, [r14 + 0x68]
call qword [sym.imp.Qt6Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
cmp qword [rax + 0x18], 7
jbe 0x140026090
mov rax, qword [rax]
lea rdx, [rbp - 0x40]
mov rcx, rax
call sub.ADVAPI32.dll_ConvertStringSidToSidW
mov r12d, eax
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x1400260e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400260e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400260e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140029ea8
test r12d, r12d
jne 0x14002619b
mov qword [rsp + 0x60], r13
lea rax, str.appendListener__ConvertStringSidToSid__1
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0x28
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x20]
call qword [sym.imp.Qt6Core.dll___0QString__QEAA___QEAU__QArrayDataPointer__S___Z]
mov rbx, rax
lea edx, [r12 + 0x20]
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt6Core.dll___0QChar__QEAA__S_Z]
movzx ecx, word [rax]
mov word [rsp + 0x20], cx
xor r9d, r9d
lea r8, [r14 + 0x68]
lea rdx, [rbp + 8]
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
nop
mov rdx, rax
mov rcx, r14
call fcn.140026be0
nop
lea rcx, [rbp + 8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14002618a
lock xadd dword [rax], esi
cmp esi, 1
jne 0x14002618a
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor bl, bl
movabs r12, 0x2aaaaaaaaaaaaaab
jmp 0x1400265cc
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbp - 0x70]
je 0x1400261bd
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
lea rax, [rdx + 0x30]
mov qword [rbp - 0x78], rax
jmp 0x1400261c9
lea rcx, [rbp - 0x80]
call fcn.140025750
mov rdx, rax
mov rcx, qword [rbp - 0x40]
mov dword [rdx + 4], 2
mov dword [rdx], 0x10000000
mov dword [rdx + 8], r13d
mov qword [rdx + 0x1c], r13
mov qword [rdx + 0x28], rcx
movabs r12, 0x2aaaaaaaaaaaaaab
mov qword [rbp - 0x50], r13
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbp - 0x48], rax
mov rcx, qword [rbp - 0x78]
sub rcx, qword [rbp - 0x80]
mov rax, r12
imul rcx
mov rcx, rdx
sar rcx, 3
mov rax, rcx
shr rax, 0x3f
add rcx, rax
lea r9, [rbp - 0x50]
xor r8d, r8d
mov rdx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov r15d, eax
test eax, eax
je 0x14002633a
mov qword [rsp + 0x60], r13
lea rax, str.appendListener__SetEntriesInAcl__1____2
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0x27
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt6Core.dll___0QString__QEAA___QEAU__QArrayDataPointer__S___Z]
mov rbx, rax
mov edx, 0x20
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt6Core.dll___0QChar__QEAA__S_Z]
movzx ecx, word [rax]
mov word [rsp + 0x28], cx
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
mov r8d, r15d
lea rdx, [rbp + 0x60]
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QString::arg_unsigned_long_int__int__int__class_QChar____ptr64]
mov rdi, rax
mov edx, 0x20
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt6Core.dll___0QChar__QEAA__S_Z]
movzx ebx, word [rax]
mov edx, r15d
lea rcx, [rbp + 8]
call qword [sym.imp.Qt6Core.dll_class_QString___cdecl_qt_error_string_int_]
nop
mov word [rsp + 0x20], bx
xor r9d, r9d
mov r8, rax
lea rdx, [rbp + 0x20]
mov rcx, rdi
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
nop
mov rdx, rax
mov rcx, r14
call fcn.140026be0
nop
lea rcx, [rbp + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x60]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400265ac
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1400265ac
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor bl, bl
jmp 0x1400265bc
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rax
lea edx, [rax + 1]
lea rcx, [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x1400263ca
mov qword [rsp + 0x60], r13
lea rax, str.appendListener__InitializeSecurityDescriptor
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0x2c
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt6Core.dll___0QString__QEAA___QEAU__QArrayDataPointer__S___Z]
nop
mov rdx, rax
mov rcx, r14
call fcn.140026be0
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400265ac
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1400265ac
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor bl, bl
jmp 0x1400265bc
xor r9d, r9d
mov r8, qword [rbp - 0x50]
lea edx, [r9 + 1]
lea rcx, [rbp + 0x38]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x140026451
mov qword [rsp + 0x60], r13
lea rax, str.appendListener__SetSecurityDescriptorDacl
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0x29
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt6Core.dll___0QString__QEAA___QEAU__QArrayDataPointer__S___Z]
nop
mov rdx, rax
mov rcx, r14
call fcn.140026be0
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400265ac
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1400265ac
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor bl, bl
jmp 0x1400265bc
mov dword [rbp - 0x10], 0x18
mov dword [rbp], r13d
lea rax, [rbp + 0x38]
mov qword [rbp - 8], rax
lea rcx, [r14 + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_unsigned_short_int_const____ptr64___cdecl_QString::utf16_void_const___ptr64]
mov rcx, rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0xbb8
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov edx, 0x40000003
mov r9d, 0xff
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
jne 0x1400264f2
mov qword [rsp + 0x60], r13
lea rax, str.appendListener__CreateNamedPipe
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0x1f
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt6Core.dll___0QString__QEAA___QEAU__QArrayDataPointer__S___Z]
nop
mov rdx, rax
mov rcx, r14
call fcn.140026be0
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
jmp 0x140026585
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140026502
call qword [rbp - 0x60]
mov qword [rbp - 0x68], r13
mov rax, qword [r14 + 0x28]
mov qword [rbx + 0x20], rax
lea rdx, [rbx + 8]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1400265b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140026536
xor al, al
mov byte [rbx + 0x28], al
jmp 0x1400265ba
cmp eax, 0x217
jne 0x140026544
mov al, 1
mov byte [rbx + 0x28], al
jmp 0x1400265ba
mov qword [rsp + 0x60], r13
lea rax, str.appendListener__ConnectNamedPipe
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 0x20
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt6Core.dll___0QString__QEAA___QEAU__QArrayDataPointer__S___Z]
nop
mov rdx, rax
mov rcx, r14
call fcn.140026be0
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400265a3
lock xadd dword [rax], esi
cmp esi, 1
jne 0x1400265a3
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [r14 + 0x10]
call fcn.140026b80
xor bl, bl
jmp 0x1400265bc
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov bl, 1
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400265cc
call qword [rbp - 0x48]
mov qword [rbp - 0x50], r13
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400265dc
call qword [rbp - 0x38]
mov qword [rbp - 0x40], r13
mov r10, qword [rbp - 0x80]
test r10, r10
je 0x140026639
mov rcx, qword [rbp - 0x70]
sub rcx, r10
mov rax, r12
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 4
mov rax, r10
cmp rdx, 0x1000
jb 0x140026630
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140026630
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r10
call fcn.140029ea8
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140026646
call qword [rbp - 0x60]
nop
movzx eax, bl
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14002a180
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret