Function at 0x64081270
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x640fe3b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x4c], 0
mov eax, dword [ebx + 0x40]
xorps xmm0, xmm0
push esi
push edi
lea edi, [ebx + 0x40]
mov dword [ebp - 0x3c], ebx
mov eax, dword [eax]
movq qword [ebp - 0x54], xmm0
movups xmmword [ebp - 0x64], xmm0
cmp eax, 1
je 0x640812b0
test eax, eax
je 0x640812b0
mov al, 1
jmp 0x640812b2
xor al, al
test al, al
je 0x64081377
mov ecx, dword [edi]
mov dword [ebp - 0x18], getpeername
push 1
mov eax, dword [ecx + 8]
add ecx, 0x10
lea edi, [ecx + eax*4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x40]
call dword [sym.imp.Qt5CoreKso.dll_public:_struct_kso_qt::QListData::Data____thiscall_kso_qt::QListData::detach_grow_int___int_]
mov edx, dword [ebx + 0x40]
push edi
mov dword [ebp - 0x28], eax
mov ecx, dword [edx + 8]
lea edx, [edx + ecx*4]
mov ecx, dword [ebp - 0x18]
add edx, 0x10
lea ecx, [edx + ecx*4]
push ecx
push edx
lea ecx, [ebx + 0x40]
call fcn.64081b20
mov esi, dword [ebx + 0x40]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0xc]
add eax, 4
lea ecx, [esi + eax*4]
lea eax, [edi + edx*4]
add edx, 5
push eax
mov eax, dword [esi + 8]
lea edi, [ebx + 0x40]
add eax, edx
push ecx
mov ecx, edi
lea eax, [esi + eax*4]
push eax
call fcn.64081b20
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
test eax, eax
je 0x64081341
cmp eax, 0xffffffff
je 0x64081349
or eax, 0xffffffff
lock xadd dword [ecx], eax
setne al
test al, al
jne 0x64081349
push ecx
mov ecx, edi
call fcn.64081910
mov ecx, dword [edi]
push 0x1c
mov eax, dword [ecx + 8]
add eax, dword [ebp - 0x18]
lea esi, [ecx + eax*4]
call fcn.640ad4f9
movups xmm0, xmmword [ebp - 0x64]
mov ecx, dword [ebp - 0x4c]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x54]
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x18], ecx
mov dword [esi + 0x10], eax
jmp 0x640813a1
mov ecx, edi
call dword [sym.imp.Qt5CoreKso.dll_public:_void_____thiscall_kso_qt::QListData::append_void_]
push 0x1c
mov esi, eax
call fcn.640ad4f9
movups xmm0, xmmword [ebp - 0x64]
mov ecx, dword [ebp - 0x4c]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x54]
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x18], ecx
mov dword [esi], eax
add esp, 4
mov ecx, edi
call fcn.64081960
mov ecx, dword [edi]
xor esi, esi
mov eax, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4 + 0xc]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x48], 0xc
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x24], esi
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::constructor_void_]
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::constructor_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::constructor_void_]
test byte [ebx + 0x64], 7
je 0x640816c9
push 0x14
call fcn.640ad4f9
push 0x14
push 0
mov esi, eax
call fcn.640ad529
add esp, 0xc
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x64081443
push 0x640bef20
push 0x20
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::constructor_class_kso_qt::QLatin1String_]
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.64081be0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
xor bl, bl
jmp 0x6408179d
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x6408177a
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 1
push dword [ebp - 0x20]
mov dword [ebp - 0x14], 0
call edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
push 0
call dword [sym.imp.Qt5CoreKso.dll_public:_class_kso_qt::QByteArray____thiscall_kso_qt::QByteArray::fill_char__int_]
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5CoreKso.dll_public:_char____thiscall_kso_qt::QByteArray::data_void_]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], eax
push ecx
push dword [ebp - 0x14]
push eax
push 1
push dword [ebp - 0x20]
call edi
test eax, eax
jne 0x640814e2
push 0x640bef20
push 0x20
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::constructor_class_kso_qt::QLatin1String_]
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.64081be0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x6408179d
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0
push 5
push dword [ebp - 0x20]
call edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push 0
call dword [sym.imp.Qt5CoreKso.dll_public:_class_kso_qt::QByteArray____thiscall_kso_qt::QByteArray::fill_char__int_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5CoreKso.dll_public:_char____thiscall_kso_qt::QByteArray::data_void_]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push ecx
push dword [ebp - 0x14]
push eax
push 5
push dword [ebp - 0x20]
call edi
test eax, eax
jne 0x64081559
push 0x640bef20
push 0x20
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::constructor_class_kso_qt::QLatin1String_]
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.64081be0
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x6408179d
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x24]
mov dword [ebp - 0xc], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x100
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x640815be
push 0x640bef20
push 0x20
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::constructor_class_kso_qt::QLatin1String_]
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.64081be0
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
xor bl, bl
jmp 0x6408179d
mov eax, dword [ebp - 0x28]
mov ebx, dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push dword [eax]
call ebx
lea edi, [eax + 0x28]
mov eax, dword [ebp - 0x1c]
push dword [eax]
call ebx
push dword [ebp - 0x24]
add eax, 0xfffffffc
add edi, eax
call ebx
dec eax
lea ecx, [ebp - 0x34]
add edi, eax
and edi, 0xfffffffc
push edi
push 0
call dword [sym.imp.Qt5CoreKso.dll_public:_class_kso_qt::QByteArray____thiscall_kso_qt::QByteArray::fill_char__int_]
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5CoreKso.dll_public:_char____thiscall_kso_qt::QByteArray::data_void_]
push 4
push edi
mov edi, eax
mov dword [ebp - 0x38], eax
push edi
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [sym.imp.ADVAPI32.dll_AddAccessAllowedAce]
test byte [ebx + 0x64], 1
je 0x6408162f
mov ecx, dword [ebp - 0x28]
push dword [ecx]
push 0x1f01ff
push 2
push edi
call eax
test eax, eax
je 0x64081663
mov eax, dword [sym.imp.ADVAPI32.dll_AddAccessAllowedAce]
test byte [ebx + 0x64], 2
je 0x64081648
mov ecx, dword [ebp - 0x1c]
push dword [ecx]
push 0x1f01ff
push 2
push edi
call eax
test eax, eax
je 0x64081663
test byte [ebx + 0x64], 4
je 0x64081697
push dword [ebp - 0x24]
push 0x1f01ff
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_AddAccessAllowedAce]
test eax, eax
jne 0x64081697
push 0x640bef20
push 0x20
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::constructor_class_kso_qt::QLatin1String_]
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.64081be0
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
xor bl, bl
jmp 0x6408179d
mov eax, dword [ebp - 0x28]
push 0
push dword [eax]
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorOwner]
mov eax, dword [ebp - 0x1c]
push 0
push dword [eax]
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorGroup]
push 0
push edi
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x64081663
mov dword [ebp - 0x44], esi
lea edi, [ebx + 0x40]
lea eax, [ebp - 0x48]
push eax
push 0xbb8
push 0
push 0
push 0xff
push 0
push 0x40000003
lea ecx, [ebx + 0x50]
call dword [sym.imp.Qt5CoreKso.dll_public:_unsigned_short_int_const____thiscall_kso_qt::QString::utf16_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
cmp eax, 0xffffffff
je 0x6408174f
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x6408170d
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov edx, dword [ebp - 0x18]
lea ecx, [edx + 4]
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov eax, dword [ebx + 0x44]
push ecx
push dword [edx]
mov dword [edx + 0x14], eax
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x64081792
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x64081788
cmp eax, 0x3e5
je 0x6408177e
mov eax, dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x640bef20
push 0x20
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::constructor_class_kso_qt::QLatin1String_]
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.64081be0
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
mov ecx, edi
call fcn.64081b70
xor bl, bl
jmp 0x6408179d
mov eax, dword [ebp - 0x18]
xor cl, cl
mov byte [eax + 0x18], cl
jmp 0x6408179b
mov eax, dword [ebp - 0x18]
mov cl, 1
mov byte [eax + 0x18], cl
jmp 0x6408179b
push dword [ebx + 0x44]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov bl, 1
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::destructor_void_]
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::destructor_void_]
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QByteArray::destructor_void_]
push 0x14
push esi
call fcn.640ad529
mov ecx, dword [ebp - 4]
add esp, 8
mov al, bl
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.640ad545
mov esp, ebp
pop ebp
ret