Function at 0x402b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x415321
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b55d4]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x30]
push eax
push ebx
push ebx
push ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x94], 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 + 0x8c], 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 + 0x30]
mov byte [esp + 0x84], 1
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QDebug::destructor_void_]
mov edx, dword [esi + 0x20]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QUrl::constructor_class_QUrl_const__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 3
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QUrl::constructor_void_]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 4
call dword [sym.imp.QL_Network.dll_public:_void___thiscall_QNetworkRequest::constructor_class_QUrl_const__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 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 0x418f3c
call edi
add esp, 8
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x88], 7
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 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__]
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esp + 0x8c]
lea ebx, [esi + 0x38]
push ecx
mov ecx, ebx
call ebp
lea edx, [esp + 0x90]
lea ecx, [esi + 0x3c]
push edx
call ebp
push 0
push 0x418e54
call edi
mov dword [esp + 0x24], eax
push 0x10
mov byte [esp + 0x90], 0xa
push str.GameManifest.xml
call edi
add esp, 0x10
mov dword [esp + 0x2c], eax
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0x8c], 0xb
mov dword [esp + 0x2c], 1
call dword [sym.imp.QL_Core.dll_public:_int___thiscall_QString::compare_class_QString_const___enum_Qt::CaseSensitivity_const]
test eax, eax
je 0x402d25
push 5
push str.Temp_
call edi
add esp, 8
mov dword [esp + 0x30], eax
cmp dword [eax + 4], 0
mov ecx, 3
jle 0x402d29
mov byte [esp + 0x17], 0
jmp 0x402d2e
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x17], 1
test cl, 2
je 0x402d48
and ecx, 0xfffffffd
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x30]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x84], 0xa
test cl, 1
je 0x402d62
lea ecx, [esp + 0x2c]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
push ebx
je 0x402d72
lea ecx, [esp + 0x20]
call ebp
jmp 0x402d95
lea ecx, [esp + 0x34]
push str.Temp_
push ecx
call fcn.00401750
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
call ebp
lea ecx, [esp + 0x30]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esi + 0x3c]
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00401000
push 8
mov byte [esp + 0x94], 0xc
call fcn.004142c0
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x84], 0xd
test ebp, ebp
je 0x402de4
lea ecx, [esp + 0x34]
push ecx
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 0x402de6
xor eax, eax
push 8
push str.host.ini
mov byte [esp + 0x8c], 0xc
mov dword [esi + 0x24], eax
call edi
add esp, 8
mov dword [esp + 0x2c], eax
push 0
push 1
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x90], 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 + 0x84], 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 + 0x24], eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x88], 0x11
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QSettings::beginGroup_class_QString_const__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 0x10
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 3
push 0x418e9c
call edi
add esp, 8
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x68]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x90], 0x13
call dword [sym.imp.QL_Core.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
push 0
mov ecx, eax
mov byte [esp + 0x88], 0x14
call dword [sym.imp.QL_Core.dll_public:_int___thiscall_QVariant::toInt_bool__const]
mov ebp, dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::destructor_void_]
cmp eax, 1
lea ecx, [esp + 0x58]
sete byte [esp + 0x17]
mov byte [esp + 0x84], 0x13
call ebp
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 0x12
call ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 0x10
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
je 0x402f6a
push ebx
lea eax, [esp + 0x28]
push 0x418e98
push eax
call fcn.00401750
lea ecx, [esi + 0x3c]
push ecx
push eax
lea ecx, [esp + 0x44]
mov bl, 0x15
push ecx
mov byte [esp + 0x9c], bl
call fcn.00401000
add esp, 0x18
push 2
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 0x16
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QUrl::setPath_class_QString_const___enum_QUrl::ParsingMode_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 0x10
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.QL_Network.dll_public:_void___thiscall_QNetworkRequest::setUrl_class_QUrl_const__]
jmp 0x403124
push 0xa
push str.ServerGame
call edi
add esp, 8
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x58]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x90], 0x18
call dword [sym.imp.QL_Core.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
lea edx, [esp + 0x24]
push edx
mov ecx, eax
mov byte [esp + 0x88], 0x19
call dword [sym.imp.QL_Core.dll_public:_class_QString___thiscall_QVariant::toString_void_]
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 0x1b
call ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x84], 0x1c
call ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 0x1d
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QString::isNull_void_const]
test al, al
je 0x40304c
push ebx
lea eax, [esp + 0x48]
push str._jxnguhanh.net_
push eax
call fcn.00401750
lea ecx, [esi + 0x3c]
push ecx
push eax
lea ecx, [esp + 0x54]
mov bl, 0x1e
push ecx
mov byte [esp + 0x9c], bl
call fcn.00401000
add esp, 0x18
push 2
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 0x1f
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QUrl::setPath_class_QString_const___enum_QUrl::ParsingMode_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x44]
jmp 0x4030f5
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x50]
push str._jxnguhanh.net_
push ecx
call fcn.00401750
push 0x418e98
push eax
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x9c], 0x20
call fcn.00401070
push ebx
push eax
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0xa8], 0x21
call fcn.00401000
lea ecx, [esi + 0x3c]
push ecx
push eax
lea ecx, [esp + 0x70]
mov bl, 0x22
push ecx
mov byte [esp + 0xb4], bl
call fcn.00401000
add esp, 0x30
push 2
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 0x23
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 + 0x84], bl
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 0x21
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], 0x20
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x84], 0x1d
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.QL_Network.dll_public:_void___thiscall_QNetworkRequest::setUrl_class_QUrl_const__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 0x10
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x50]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QSettings::endGroup_void_]
mov eax, dword [esp + 0x1c]
cmp dword [eax + 4], 0
jle 0x403147
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x3c]
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 0x403166
mov ecx, dword [esi + 0x24]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QFile::exists_void_const]
test al, al
je 0x403166
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 + 0x50], esp
call edx
mov ecx, dword [esi + 0x44]
lea eax, [esp + 0x20]
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 0x4018f0
push esi
push ecx
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00402150
mov edi, dword [sym.imp.QL_Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
add esp, 0x18
lea ecx, [esp + 0x4c]
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.00401980
push esi
push ecx
push edx
lea eax, [esp + 0x60]
push eax
call fcn.00402aa0
add esp, 0x18
lea ecx, [esp + 0x4c]
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 + 0x50]
mov byte [esp + 0x84], 0xc
call dword [sym.imp.QL_Core.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], 0xa
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 9
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x84], 6
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 3
call dword [sym.imp.QL_Network.dll_public:_void___thiscall_QNetworkRequest::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 1
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QUrl::destructor_void_]
lea ecx, [esp + 0x8c]
mov byte [esp + 0x84], 0
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x90]
mov dword [esp + 0x84], 0xffffffff
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 8