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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598337
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x612678]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x34], ebx
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, [ebx + 8]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebx], vtable.QtLocalPeer.0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [ebx + 0xc], eax
lock inc dword [eax]
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 2
call fcn.00521050
push ebx
lea ecx, [ebx + 0x30]
mov byte [ebp - 4], 3
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 [ebx + 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 0x520c8a
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 - 0x1c]
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 - 0x1c]
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 - 0x1c]
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 - 0x1c]
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 - 0x24]
mov ecx, esi
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toUtf8_void_]
mov eax, dword [ebp - 0x24]
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_]
push 0xffffffffffffffff
push str.qtlocalpeer_
movzx esi, ax
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromLatin1_helper_char_const___int_]
mov dword [ebp - 0x1c], eax
push 0x10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
push esi
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
add esp, 0x1c
mov edi, 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__]
mov esi, eax
mov dword [ebp - 0x10], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
mov byte [ebp - 0x28], 0x2d
lea ecx, [ebp - 0x28]
push dword [ebp - 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 3
mov esi, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QChar_]
mov byte [ebp - 4], 0x11
lea ecx, [ebp + 0xc]
push esi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push edi
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x10], 7
mov esi, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
lea edi, [ebx + 0xc]
push esi
mov ecx, edi
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]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x2c]
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_]
mov eax, dword [0x61f2b4]
test eax, eax
jne 0x520e42
push 0xffffffffffffffff
push 0x5d7998
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
lea eax, [ebp + 0xc]
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 + 0xc]
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 [0x61f2b4], eax
mov byte [ebp - 4], 0xc
call dword [sym.imp.QtCore4.dll_public_virtual:_void___thiscall_QLibrary::destructor_void_]
mov eax, dword [0x61f2b4]
mov dword [ebp - 0x10], 0
test eax, eax
je 0x520edd
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [0x61f2b4]
push 0x10
push dword [ebp + 0xc]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::number_unsigned_long_int__int_]
add esp, 0xc
mov edi, 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 - 0x1c]
mov byte [ebp - 4], 0x16
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QChar_]
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], 8
mov esi, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
lea edi, [ebx + 0xc]
push esi
mov ecx, edi
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [ebp - 0x10], 0
push 8
call fcn.00556257
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 0x17
test esi, esi
je 0x520f05
push ebx
mov ecx, esi
call dword [sym.imp.QtNetwork4.dll_public:_void___thiscall_QLocalServer::constructor_class_QObject__]
mov dword [esi], vtable.QLocalServer.0
jmp 0x520f07
xor esi, esi
push 0xffffffffffffffff
push str._lockfile
mov byte [ebp - 4], 0xc
mov dword [ebx + 0x10], esi
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromLatin1_helper_char_const___int_]
mov dword [ebp - 0x18], 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 - 0x28]
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 - 0x1c]
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 - 0x1c]
mov dword [ebp - 0x10], 0x10
mov esi, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QChar_]
push esi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x1d
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push edi
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x10], 0x30
mov esi, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00447550
add esp, 0xc
lea ecx, [ebp + 0xc]
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 - 0x28]
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 - 0x18]
mov byte [ebp - 4], 0x24
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebx + 0x14]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QFile::setFileName_class_QString_const__]
push ecx
mov eax, esp
lea ecx, [ebx + 0x14]
mov dword [eax], 3
mov eax, dword [ebx + 0x14]
call dword [eax + 0x30]
lea ecx, [ebp - 0x20]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x24]
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, ebx
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