Function at 0x6406d720
Capabilities:
Connect pipe
Create pipe

Disassembly:
push 0xffffffffffffffff
push 0x64081562
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebp
push esi
push edi
mov eax, dword [0x640ba34c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x20]
lea ebp, [edi + 0x50]
push eax
mov ecx, ebp
call fcn.6406d4d0
mov ecx, dword [ebp]
push 1
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::operator__int_const]
test al, al
je 0x6406d792
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
push edx
mov ecx, ebp
call fcn.6406d410
mov ecx, ebp
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::end_void_const]
mov esi, dword [eax - 4]
push 0
push 0xbb8
push 0
push 0
push 0xff
push 0
sub eax, 4
push 0x40000003
lea ecx, [edi + 0x60]
call dword [sym.imp.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x6406d82a
push str.QLocalServerPrivate::addListener
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_const__]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
mov dword [esp + 0x48], 0
call fcn.6406d100
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, ebp
call fcn.6406d6d0
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x38
ret
lea eax, [esi + 4]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov edx, dword [esi]
mov ecx, dword [edi + 0x54]
push eax
push edx
mov dword [esi + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x6406d8f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x6406d8eb
cmp eax, 0x3e5
je 0x6406d8d2
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.QLocalServerPrivate::addListener
lea ecx, [esp + 0x20]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_const__]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x48], 1
call fcn.6406d100
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, ebp
call fcn.6406d6d0
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x38
ret
mov byte [esi + 0x18], 0
mov al, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x38
ret
mov byte [esi + 0x18], 1
mov edx, dword [edi + 0x54]
push edx
jmp 0x6406d8f9
mov eax, dword [edi + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov al, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x38
ret