Function at 0x6407ddb0
Capabilities:
Connect pipe
Create pipe

Disassembly:
push 0xffffffffffffffff
push 0x640a56d2
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebp
push esi
push edi
mov eax, dword [0x640ee650]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, 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]
push eax
lea ecx, [ebp + 0x4c]
call fcn.6407dbd0
mov ecx, dword [ebp + 0x4c]
push 1
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::operator__int_const]
test al, al
je 0x6407de21
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ecx + 4]
push edx
lea ecx, [ebp + 0x4c]
call fcn.6407dae0
lea ecx, [ebp + 0x4c]
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
push 0x40000003
lea ecx, [ebp + 0x5c]
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]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x6407def3
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, ebp
mov dword [esp + 0x48], 0
call fcn.6407d7a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [ebp + 0x4c]
push 1
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::operator__int_const]
test al, al
je 0x6407debd
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ecx + 4]
push edx
lea ecx, [ebp + 0x4c]
call fcn.6407dae0
lea ecx, [ebp + 0x4c]
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::end_void_const]
lea esi, [eax - 4]
mov eax, dword [esi]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
lea ecx, [ebp + 0x4c]
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::erase_void___]
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 [ebp + 0x50]
push eax
push edx
mov dword [esi + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x6407dfbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x6407dfb5
cmp eax, 0x3e5
je 0x6407df9c
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, ebp
mov dword [esp + 0x48], 1
call fcn.6407d7a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp + 0x4c]
call fcn.6407dd60
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 [ebp + 0x50]
push edx
jmp 0x6407dfc3
mov eax, dword [ebp + 0x50]
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