Function at 0x402e40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x415d02
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6a65d4]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x34]
push eax
push ebx
push ebx
push ebx
lea ecx, [esp + 0x90]
mov dword [esp + 0xac], 1
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QMessageLogger::constructor_char_const___int__char_const__]
mov ecx, eax
call dword [sym.imp.QL_Core.dll_public:_class_QDebug___thiscall_QMessageLogger::debug_void_]
mov ecx, dword [sym.imp.QL_Core.dll_class_QTextStream____cdecl_endl_class_QTextStream__]
push ecx
push str.Downloader::DownloadFile
mov ecx, eax
mov byte [esp + 0xa4], 2
call dword [sym.imp.QL_Core.dll_public:_class_QDebug____thiscall_QDebug::operator___char_const__]
mov ecx, eax
call dword [sym.imp.QL_Core.dll_public:_class_QDebug____thiscall_QDebug::operator___class_QTextStream_____cdecl___class_QTextStream___]
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 1
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov edx, dword [esi + 0x20]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QUrl::constructor_class_QUrl_const__]
lea ecx, [esp + 0x40]
mov byte [esp + 0x9c], 3
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QUrl::constructor_void_]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xa0], 4
call dword [sym.imp.QL_Network.dll_public:_void___thiscall_QNetworkRequest::constructor_class_QUrl_const__]
lea ecx, [esp + 0x40]
mov byte [esp + 0x9c], 6
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QUrl::destructor_void_]
mov edi, dword [sym.imp.QL_Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
push 1
push str..__:_
call edi
add esp, 8
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], 7
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 9
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ebp, dword [sym.imp.QL_Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea edx, [esp + 0xa4]
lea ecx, [esi + 0x38]
push edx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call ebp
lea eax, [esp + 0xa8]
lea ecx, [esi + 0x3c]
push eax
call ebp
push ebx
push 0x419e1a
call edi
mov dword [esp + 0x24], eax
push 0x10
push str.GameManifest.xml
mov byte [esp + 0xac], 0xa
call edi
add esp, 0x10
mov dword [esp + 0x2c], eax
push 0
lea ecx, [esp + 0x30]
push ecx
mov ebx, 1
lea ecx, [esp + 0xb0]
mov byte [esp + 0xa4], 0xb
mov dword [esp + 0x20], ebx
call dword [sym.imp.QL_Core.dll_public:_int___thiscall_QString::compare_class_QString_const___enum_Qt::CaseSensitivity_const]
test eax, eax
je 0x402fea
push 5
push str.Temp_
call edi
add esp, 8
mov dword [esp + 0x34], eax
cmp dword [eax + 4], 0
mov ebx, 3
mov byte [esp + 0x17], 0
jg 0x402fef
mov byte [esp + 0x17], 1
test bl, 2
je 0x403005
and ebx, 0xfffffffd
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ebx
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x9c], 0xa
test bl, 1
je 0x403022
lea ecx, [esp + 0x2c]
and ebx, 0xfffffffe
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
lea eax, [esi + 0x38]
push eax
je 0x403035
lea ecx, [esp + 0x20]
call ebp
jmp 0x403058
lea edx, [esp + 0x38]
push str.Temp_
push edx
call fcn.00401a70
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
call ebp
lea ecx, [esp + 0x34]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esi + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00401000
push 8
mov byte [esp + 0xac], 0xc
call fcn.00414b40
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x44], ebp
mov byte [esp + 0x9c], 0xd
test ebp, ebp
je 0x4030a7
lea edx, [esp + 0x38]
push edx
mov ecx, ebp
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QFile::constructor_class_QString_const__]
mov dword [ebp], vtable.QFile.0
mov eax, ebp
jmp 0x4030a9
xor eax, eax
push 8
push str.host.ini
mov byte [esp + 0xa4], 0xc
mov dword [esi + 0x24], eax
call edi
add esp, 8
mov dword [esp + 0x2c], eax
push 0
push 1
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xa8], 0xe
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QSettings::constructor_class_QString_const___enum_QSettings::Format__class_QObject__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9c], 0x10
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 8
push str.Download
call edi
add esp, 8
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa0], 0x11
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QSettings::beginGroup_class_QString_const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 0x10
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 3
push 0x41a034
call edi
add esp, 8
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x60]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::constructor_void_]
mov ebp, dword [sym.imp.QL_Core.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xa8], 0x13
call ebp
push 0
mov ecx, eax
mov byte [esp + 0xa0], 0x14
call dword [sym.imp.QL_Core.dll_public:_int___thiscall_QVariant::toInt_bool__const]
cmp eax, 1
lea ecx, [esp + 0x50]
sete byte [esp + 0x17]
mov byte [esp + 0x9c], 0x13
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x60]
mov byte [esp + 0x9c], 0x12
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], 0x10
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
je 0x40322a
lea eax, [esi + 0x38]
push eax
lea ecx, [esp + 0x34]
push 0x419e18
push ecx
call fcn.00401a70
lea ecx, [esi + 0x3c]
push ecx
push eax
lea edx, [esp + 0x48]
mov bl, 0x15
push edx
mov byte [esp + 0xb4], bl
call fcn.00401000
add esp, 0x18
push 2
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0x16
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QUrl::setPath_class_QString_const___enum_QUrl::ParsingMode_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x9c], 0x10
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x20]
push eax
jmp 0x403477
push 3
push 0x41a034
call edi
add esp, 8
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x80]
or ebx, 4
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x78]
or ebx, 8
push edx
lea ecx, [esp + 0x54]
mov dword [esp + 0xa8], 0x18
mov dword [esp + 0x24], ebx
call ebp
or ebx, 0x10
push 0
mov ecx, eax
mov dword [esp + 0xa0], 0x19
mov dword [esp + 0x1c], ebx
call dword [sym.imp.QL_Core.dll_public:_int___thiscall_QVariant::toInt_bool__const]
cmp eax, 2
jne 0x40331f
push 0xa
push str.ServerGame
call edi
add esp, 8
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x50]
or ebx, 0x20
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x68]
push ecx
or ebx, 0x40
lea ecx, [esp + 0x54]
mov dword [esp + 0xa8], 0x1b
mov dword [esp + 0x24], ebx
call ebp
lea edx, [esp + 0x44]
or ebx, 0x80
push edx
mov ecx, eax
mov dword [esp + 0xa0], 0x1c
mov dword [esp + 0x1c], ebx
call dword [sym.imp.QL_Core.dll_public:_class_QString___thiscall_QVariant::toString_void_]
or ebx, 0x100
push str.minhlong
mov ecx, eax
mov dword [esp + 0xa0], 0x1d
mov dword [esp + 0x1c], ebx
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
mov byte [esp + 0x17], 1
test al, al
jne 0x403324
mov byte [esp + 0x17], 0
mov dword [esp + 0x9c], 0x1c
test ebx, 0x100
je 0x40334b
and ebx, 0xfffffeff
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], ebx
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov edi, dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::destructor_void_]
mov dword [esp + 0x9c], 0x1b
test bl, bl
jns 0x403370
and ebx, 0xffffff7f
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], ebx
call edi
mov dword [esp + 0x9c], 0x1a
test bl, 0x40
je 0x40338d
and ebx, 0xffffffbf
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ebx
call edi
mov dword [esp + 0x9c], 0x19
test bl, 0x20
je 0x4033ae
and ebx, 0xffffffdf
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], ebx
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x9c], 0x18
test bl, 0x10
je 0x4033cb
and ebx, 0xffffffef
lea ecx, [esp + 0x70]
mov dword [esp + 0x18], ebx
call edi
mov dword [esp + 0x9c], 0x17
test bl, 8
je 0x4033eb
and ebx, 0xfffffff7
lea ecx, [esp + 0x80]
mov dword [esp + 0x18], ebx
call edi
mov dword [esp + 0x9c], 0x10
test bl, 4
je 0x403405
lea ecx, [esp + 0x34]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
je 0x403481
lea eax, [esi + 0x38]
push eax
lea eax, [esp + 0x38]
push str._kiemthechuan2009.com_
push eax
call fcn.00401a70
lea ecx, [esi + 0x3c]
push ecx
push eax
lea ecx, [esp + 0x58]
mov bl, 0x1e
push ecx
mov byte [esp + 0xb4], bl
call fcn.00401000
add esp, 0x18
push 2
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 0x1f
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QUrl::setPath_class_QString_const___enum_QUrl::ParsingMode_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x9c], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c], 0x10
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
call dword [sym.imp.QL_Network.dll_public:_void___thiscall_QNetworkRequest::setUrl_class_QUrl_const__]
lea ecx, [esp + 0x48]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QSettings::endGroup_void_]
mov eax, dword [esp + 0x1c]
cmp dword [eax + 4], 0
jle 0x4034a4
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QDir::mkpath_class_QString_const__const]
mov edx, dword [esi + 0x3c]
cmp dword [edx + 4], 0
jle 0x4034c3
mov ecx, dword [esi + 0x24]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QFile::exists_void_const]
test al, al
je 0x4034c3
mov ecx, dword [esi + 0x24]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QFile::remove_void_]
push ecx
mov eax, esp
mov dword [eax], 2
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
mov dword [esp + 0x48], esp
call edx
mov ecx, dword [esi + 0x44]
lea eax, [esp + 0x24]
push eax
mov byte [esi + 0xc], 1
call dword [sym.imp.QL_Network.dll_public:_class_QNetworkReply____thiscall_QNetworkAccessManager::get_class_QNetworkRequest_const__]
mov dword [esi + 0x40], eax
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 0x6c]
push 0x40000
call eax
mov ecx, dword [sym.imp.QL_Core.dll_public:_void___thiscall_QIODevice::readyRead_void_]
mov edx, dword [esi + 0x40]
push 0
push 0x401c10
push esi
push ecx
push edx
lea eax, [esp + 0x58]
push eax
call fcn.004023e0
mov edi, dword [sym.imp.QL_Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
add esp, 0x18
lea ecx, [esp + 0x44]
call edi
mov ecx, dword [sym.imp.QL_Network.dll_public:_void___thiscall_QNetworkReply::error_enum_QNetworkReply::NetworkError_]
mov edx, dword [esi + 0x40]
push 0
push fcn.00401ca0
push esi
push ecx
push edx
lea eax, [esp + 0x58]
push eax
call fcn.00402d60
add esp, 0x18
lea ecx, [esp + 0x44]
call edi
mov eax, dword [esi + 0x2c]
or dword [eax + 0x14], 1
mov ecx, dword [esi + 0x2c]
push 0x1388
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QTimer::start_int_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x9c], 0xc
call dword [sym.imp.QL_Core.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x9c], 0xa
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 9
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x9c], 6
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x9c], 3
call dword [sym.imp.QL_Network.dll_public:_void___thiscall_QNetworkRequest::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 1
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QUrl::destructor_void_]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x9c], 0
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x9c], 0xffffffff
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 8