Function at 0x401140
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x415594
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x6945d4]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6945d4]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x150]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov esi, dword [sym.imp.QL_Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
push 2
push 0x418ea4
mov dword [esp + 0x54], edi
call esi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x150], ebx
call dword [sym.imp.QL_Core.dll_public:_static_void___cdecl_QCoreApplication::addLibraryPath_class_QString_const__]
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [esp + 0x144], 0xffffffff
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0x50501
push edi
lea ecx, [esp + 0x154]
push ecx
lea ecx, [esp + 0x60]
call dword [sym.imp.QL_Widgets.dll_public:_void___thiscall_QApplication::constructor_int___char____int_]
mov edi, 8
push edi
push str.host.ini
mov dword [esp + 0x14c], 1
call esi
add esp, 8
mov dword [esp + 0x50], eax
push ebx
push 1
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x150], 2
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QSettings::constructor_class_QString_const___enum_QSettings::Format__class_QObject__]
lea ecx, [esp + 0x50]
mov byte [esp + 0x144], 4
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push edi
push str.Download
call esi
add esp, 8
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x148], 5
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QSettings::beginGroup_class_QString_const__]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 4
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0x2a
push str._EFEB2EF6_F8E0_AE44_BABE_1BBEF2C7FD57_
call esi
add esp, 8
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 6
call dword [sym.imp.QL_Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_QString::toStdWString_void_]
cmp dword [eax + 0x14], edi
jb 0x401295
mov eax, dword [eax]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebp, eax
cmp dword [esp + 0x130], edi
jb 0x4012ba
mov edx, dword [esp + 0x11c]
push edx
call sub.QL_CR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x130], 7
mov dword [esp + 0x12c], 0
mov word [esp + 0x11c], ax
mov byte [esp + 0x144], 4
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40135e
push 7
push str.restart
call esi
add esp, 8
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x5c]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x150], edi
mov dword [esp + 0x28], 3
call dword [sym.imp.QL_Core.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
mov ebx, 7
push 0
mov ecx, eax
mov dword [esp + 0x148], 9
mov dword [esp + 0x20], ebx
call dword [sym.imp.QL_Core.dll_public:_int___thiscall_QVariant::toInt_bool__const]
mov byte [esp + 0x23], 1
test eax, eax
je 0x401363
mov byte [esp + 0x23], 0
mov dword [esp + 0x144], edi
mov edi, dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::destructor_void_]
test bl, 4
je 0x401382
and ebx, 0xfffffffb
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1c], ebx
call edi
mov dword [esp + 0x144], 7
test bl, 2
je 0x40139f
and ebx, 0xfffffffd
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], ebx
call edi
mov dword [esp + 0x144], 4
test bl, 1
je 0x4013b9
lea ecx, [esp + 0x14]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x23], 0
je 0x4014df
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 2
push 0x418e54
call esi
add esp, 8
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x28]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_void_]
mov esi, eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::constructor_void_]
mov edi, eax
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push 0x418e28
push eax
mov byte [esp + 0x150], 0xc
call dword [sym.imp.QL_Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
mov ebx, eax
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push 0x418e14
push ecx
mov byte [esp + 0x15c], 0xd
call dword [sym.imp.QL_Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
push 0xffffffffffffffff
push 0
push esi
push edi
lea edx, [esp + 0x3c]
push edx
push ebx
push eax
push 0
mov byte [esp + 0x17c], 0xe
call dword [sym.imp.QL_Widgets.dll_public:_static_int___cdecl_QMessageBox::information_class_QWidget___class_QString_const___class_QString_const___class_QString_const___class_QString_const___class_QString_const___int__int_]
add esp, 0x38
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 0xd
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 0xc
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 0xb
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 0xa
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 4
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 1
call dword [sym.imp.QL_Core.dll_public:_static_void___cdecl_QCoreApplication::exit_int_]
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x144], 1
call dword [sym.imp.QL_Core.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
lea ecx, [esp + 0x54]
mov dword [esp + 0x144], 0xffffffff
call dword [sym.imp.QL_Widgets.dll_public_virtual:_void___thiscall_QApplication::destructor_void_]
mov eax, 1
jmp 0x401a48
mov edi, dword [sym.imp.QL_Core.dll_public:_static_class_QString___cdecl_QDir::currentPath_void_]
lea eax, [esp + 0x30]
push eax
call edi
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x14c], 0xf
call edi
push 0
mov bl, 0x10
push 0x418e12
mov byte [esp + 0x154], bl
call esi
mov dword [esp + 0x28], eax
push 1
push 0x418e10
mov byte [esp + 0x15c], 0x11
call esi
add esp, 0x18
mov dword [esp + 0x14], eax
mov edi, dword [sym.imp.QL_Core.dll_public:_class_QString____thiscall_QString::replace_class_QString_const___class_QString_const___enum_Qt::CaseSensitivity_]
push 1
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 0x12
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 0x11
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0
push 0x418e12
call esi
mov dword [esp + 0x20], eax
push 1
push 0x418e0c
mov byte [esp + 0x154], 0x13
call esi
add esp, 0x10
mov dword [esp + 0x14], eax
push 1
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 0x14
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 0x13
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0
push 0x418e12
call esi
mov dword [esp + 0x20], eax
push 1
push 0x418e08
mov byte [esp + 0x154], 0x15
call esi
add esp, 0x10
mov dword [esp + 0x14], eax
push 1
lea eax, [esp + 0x1c]
mov byte [esp + 0x148], 0x16
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 0x15
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0
push 0x418e12
call esi
mov dword [esp + 0x20], eax
push 1
push 0x418e04
mov byte [esp + 0x154], 0x17
call esi
add esp, 0x10
mov dword [esp + 0x14], eax
push 1
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 0x18
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 0x17
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0
push 0x418e12
call esi
mov dword [esp + 0x20], eax
push 1
push str..__:_
mov byte [esp + 0x154], 0x19
call esi
add esp, 0x10
mov dword [esp + 0x14], eax
push 1
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 0x1a
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 0x19
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0x1c
push str._a_zA_Z0_9___________
call esi
add esp, 8
mov dword [esp + 0x14], eax
push 0
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x150], 0x1b
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QRegExp::constructor_class_QString_const___enum_Qt::CaseSensitivity__enum_QRegExp::PatternSyntax_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], 0x1d
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0
push 0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x40]
call dword [sym.imp.QL_Core.dll_public:_int___thiscall_QRegExp::indexIn_class_QString_const___int__enum_QRegExp::CaretMode_const]
mov edi, dword [sym.imp.QL_Widgets.dll_public:_static_enum_QMessageBox::StandardButton___cdecl_QMessageBox::critical_class_QWidget___class_QString_const___class_QString_const___class_QFlags_enum_QMessageBox::StandardButton___enum_QMessageBox::StandardButton_]
or ebp, 0xffffffff
cmp eax, ebp
jne 0x4017c8
push ebp
lea edx, [esp + 0x30]
push 0x418c98
push edx
call dword [sym.imp.QL_Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
mov ebp, eax
push 0xffffffffffffffff
lea eax, [esp + 0x38]
push 0x418c84
push eax
mov byte [esp + 0x15c], 0x1e
call dword [sym.imp.QL_Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0x18
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push ebp
push eax
push 0
mov byte [esp + 0x158], 0x1f
mov dword [ecx], 0x400
call edi
add esp, 0x14
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 0x1e
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 0x1d
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
or ebp, 0xffffffff
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.QL_Core.dll_public:_static_bool___cdecl_QFile::exists_class_QString_const__]
add esp, 4
test al, al
jne 0x4018be
push ebp
lea edx, [esp + 0x30]
push 0x418c38
push edx
call dword [sym.imp.QL_Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
mov esi, eax
push ebp
lea eax, [esp + 0x38]
push 0x418c84
push eax
mov byte [esp + 0x15c], 0x20
call dword [sym.imp.QL_Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0x18
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push esi
push eax
push 0
mov byte [esp + 0x158], 0x21
mov dword [ecx], 0x400
call edi
add esp, 0x14
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], 0x20
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 0x1d
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 1
call dword [sym.imp.QL_Core.dll_public:_static_void___cdecl_QCoreApplication::exit_int_]
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x144], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QRegExp::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 0xf
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x144], 4
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x144], 1
call dword [sym.imp.QL_Core.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
lea ecx, [esp + 0x54]
mov dword [esp + 0x144], ebp
call dword [sym.imp.QL_Widgets.dll_public_virtual:_void___thiscall_QApplication::destructor_void_]
mov eax, 1
jmp 0x401a48
cmp dword [esp + 0x14c], 1
mov byte [esp + 0x18], 0
jle 0x4018ec
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
push str._CONTINUE
push edx
call dword [sym.imp.QL_CR100.dll__stricmp]
add esp, 8
test eax, eax
jne 0x4018ec
mov byte [esp + 0x18], 1
lea eax, [esp + 0x38]
push 0
push eax
call dword [sym.imp.QL_Core.dll_public:_static_class_QString___cdecl_QStandardPaths::writableLocation_enum_QStandardPaths::StandardLocation_]
push 0xe
push 0x418c1c
mov byte [esp + 0x154], 0x22
call esi
mov dword [esp + 0x54], eax
push str._Jx2TieuNgaoPK.Com.lnk
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x160], 0x23
call fcn.00401070
push eax
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x168], 0x24
call dword [sym.imp.QL_Core.dll_public:_static_bool___cdecl_QFile::link_class_QString_const___class_QString_const__]
add esp, 0x24
lea ecx, [esp + 0x48]
mov byte [esp + 0x144], 0x23
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x144], 0x22
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0
lea ecx, [esp + 0x80]
call fcn.0040d530
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x80]
mov byte [esp + 0x148], 0x25
call fcn.004058a0
test al, al
jne 0x4019c3
push 1
call dword [sym.imp.QL_Core.dll_public:_static_void___cdecl_QCoreApplication::exit_int_]
add esp, 4
lea ecx, [esp + 0x7c]
mov byte [esp + 0x144], 0x22
call fcn.00409620
lea ecx, [esp + 0x38]
mov byte [esp + 0x144], 0x1d
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x40185c
call dword [sym.imp.QL_Widgets.dll_public:_static_int___cdecl_QApplication::exec_void_]
lea ecx, [esp + 0x7c]
mov esi, eax
mov byte [esp + 0x144], 0x22
call fcn.00409620
lea ecx, [esp + 0x38]
mov byte [esp + 0x144], 0x1d
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x144], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QRegExp::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x144], 0xf
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x144], 4
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x144], 1
call dword [sym.imp.QL_Core.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
lea ecx, [esp + 0x54]
mov dword [esp + 0x144], ebp
call dword [sym.imp.QL_Widgets.dll_public_virtual:_void___thiscall_QApplication::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.00414820
add esp, 0x134
ret