Function at 0x50dba0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568c3c
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x5d21e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x10], 0
push dword [ebp + 8]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QObject::constructor_class_QObject__]
push dword [ebp + 0xc]
lea esi, [edi + 8]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [edi], vtable.QtLocalPeer.0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ebx, [edi + 0xc]
mov byte [ebp - 4], 1
mov ecx, ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 2
call fcn.0050e0a0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 3
push edi
call dword [sym.imp.QtNetwork4.dll_public:_void___thiscall_QLocalSocket::constructor_class_QObject__]
mov eax, dword [sym.imp.QtCore4.dll_struct_QMapData_QMapData::shared_null]
mov dword [edi + 0x38], eax
add eax, 0x34
lock inc dword [eax]
push esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov eax, dword [esi]
mov byte [ebp - 4], 6
cmp dword [eax + 8], 0
jne 0x50dcde
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QCoreApplication::applicationFilePath_void_]
add esp, 4
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::toLower_void_]
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
mov eax, esp
mov byte [ebp + 0xc], 0x2f
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [eax], 0
push dword [ebp + 0xc]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::section_class_QChar__int__int__class_QFlags_enum_QString::SectionFlag__]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0xffffffffffffffff
push str._a_zA_Z_
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp + 0xc], eax
push 0
push 1
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::constructor_class_QString_const___enum_Qt::CaseSensitivity__enum_QRegExp::PatternSyntax_]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::remove_class_QRegExp_const__]
lea ecx, [ebp - 0x20]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QRegExp::destructor_void_]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 6
lea ecx, [ebp + 8]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::truncate_int_]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toUtf8_void_]
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xc
push dword [eax + 8]
push dword [eax + 0xc]
call dword [sym.imp.QtCore4.dll_unsigned_short_int___cdecl_qChecksum_char_const___unsigned_int_]
movzx eax, ax
push 0x10
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
mov esi, eax
push 0xffffffffffffffff
push str.qtlocalpeer_
mov byte [ebp - 4], 0xd
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromLatin1_helper_char_const___int_]
add esp, 0x1c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea eax, [ebp + 8]
mov dword [ebp - 0x10], 1
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
mov byte [ebp - 0x20], 0x2d
lea ecx, [ebp - 0x20]
push dword [ebp - 0x20]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 3
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QChar_]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push esi
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x10], 7
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [ebp + 0xc]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x14]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, dword [0x5de348]
test esi, esi
jne 0x50dea6
push 0xffffffffffffffff
push 0x5a06c8
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp - 0x20], eax
push esi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLibrary::constructor_class_QString_const___class_QObject__]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x14
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push str.ProcessIdToSessionId
lea ecx, [ebp - 0x44]
call dword [sym.imp.QtCore4.dll_public:_void____thiscall_QLibrary::resolve_char_const__]
lea ecx, [ebp - 0x44]
mov dword [0x5de348], eax
mov byte [ebp - 4], 0xc
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QLibrary::destructor_void_]
mov esi, dword [0x5de348]
test esi, esi
je 0x50df2a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call esi
push 0x10
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::number_unsigned_long_int__int_]
add esp, 0xc
mov esi, eax
mov byte [ebp - 0x2c], 0x2d
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x2c]
mov byte [ebp - 4], 0x15
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push dword [ebp - 0x2c]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x16
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QChar_]
push esi
mov esi, dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x10], 8
call esi
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
call esi
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x10], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 8
call fcn.0053274c
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 0x17
test esi, esi
je 0x50df52
push edi
mov ecx, esi
call dword [sym.imp.QtNetwork4.dll_public:_void___thiscall_QLocalServer::constructor_class_QObject__]
mov dword [esi], vtable.QLocalServer.0
jmp 0x50df54
xor esi, esi
push 0xffffffffffffffff
push str._lockfile
mov byte [ebp - 4], 0xc
mov dword [edi + 0x10], esi
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromLatin1_helper_char_const___int_]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x18
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QDir::tempPath_void_]
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x19
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1a
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QDir::absolutePath_void_]
mov esi, eax
mov byte [ebp - 0x2c], 0x2f
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x2c]
mov byte [ebp - 4], 0x1b
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1c
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0x10
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QChar_]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push ebx
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x10], 0x30
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00439de0
add esp, 0xc
lea ecx, [ebp + 0xc]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x14]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [ebp - 0x30]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x24
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0x14]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFile::setFileName_class_QString_const__]
mov eax, dword [edi + 0x14]
push ecx
lea ecx, [edi + 0x14]
mov edx, dword [eax + 0x30]
mov eax, esp
mov dword [eax], 3
call edx
lea ecx, [ebp - 0x24]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp + 8]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8