Function at 0x402ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41a2ff
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4be5d0]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x20], 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 + 0x20]
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 + 0x28]
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 0x41ef84
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__]
lea edx, [esp + 0x8c]
lea ecx, [esi + 0x38]
push edx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call ebp
lea eax, [esp + 0x90]
lea ebx, [esi + 0x3c]
push eax
mov ecx, ebx
call ebp
push 0
push 0x41ee9a
call edi
mov dword [esp + 0x20], 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 ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x98]
mov byte [esp + 0x8c], 0xb
mov dword [esp + 0x28], 1
call dword [sym.imp.QL_Core.dll_public:_int___thiscall_QString::compare_class_QString_const___enum_Qt::CaseSensitivity_const]
test eax, eax
je 0x402d45
push 5
push str.Temp_
call edi
add esp, 8
mov dword [esp + 0x30], eax
cmp dword [eax + 4], 0
mov ecx, 3
jle 0x402d49
mov byte [esp + 0x17], 0
jmp 0x402d4e
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x17], 1
test cl, 2
je 0x402d68
and ecx, 0xfffffffd
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x30]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x84], 0xa
test cl, 1
je 0x402d82
lea ecx, [esp + 0x2c]
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 0x402d95
lea ecx, [esp + 0x1c]
call ebp
jmp 0x402db8
lea edx, [esp + 0x34]
push str.Temp_
push edx
call fcn.00401750
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
call ebp
lea ecx, [esp + 0x30]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00401000
push 8
mov byte [esp + 0x94], 0xc
call fcn.004192b0
mov ebp, eax
add esp, 0x10
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x84], 0xd
test ebp, ebp
je 0x402e04
lea edx, [esp + 0x34]
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 0x402e06
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 eax, [esp + 0x34]
push eax
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 + 0x20], eax
lea ecx, [esp + 0x20]
push ecx
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 + 0x20]
mov byte [esp + 0x84], 0x10
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
push 3
push 0x41eee0
call edi
add esp, 8
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x68]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x60]
push eax
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 + 0x20]
mov byte [esp + 0x84], 0x10
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x17], 0
je 0x402f8a
lea eax, [esi + 0x38]
push eax
lea ecx, [esp + 0x24]
push 0x41eedc
push ecx
call fcn.00401750
push ebx
push eax
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x9c], 0x15
call fcn.00401000
add esp, 0x18
push 2
push eax
lea ecx, [esp + 0x24]
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], 0x15
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x84], 0x10
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.QL_Network.dll_public:_void___thiscall_QNetworkRequest::setUrl_class_QUrl_const__]
jmp 0x4030dc
push 0xa
push str.ServerGame
call edi
add esp, 8
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x58]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QVariant::constructor_void_]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x70]
push edx
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 ecx, [esp + 0x30]
push ecx
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 + 0x20]
mov byte [esp + 0x84], 0x1d
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x50]
push str._jxhoiuc.com_
push eax
call fcn.00401750
push 0x41eedc
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x9c], 0x1e
call fcn.00401070
lea ecx, [esi + 0x38]
push ecx
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0xa8], 0x1f
call fcn.00401000
push ebx
push eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0xb4], 0x20
call fcn.00401000
add esp, 0x30
push 2
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c], 0x21
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], 0x20
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x84], 0x1f
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], 0x1e
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [esp + 0x84], 0x1d
lea ecx, [esp + 0x4c]
call dword [sym.imp.QL_Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.QL_Network.dll_public:_void___thiscall_QNetworkRequest::setUrl_class_QUrl_const__]
lea ecx, [esp + 0x30]
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 edx, dword [esp + 0x18]
cmp dword [edx + 4], 0
jle 0x4030ff
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QDir::mkpath_class_QString_const__const]
mov ecx, dword [ebx]
cmp dword [ecx + 4], 0
jle 0x40311d
mov ecx, dword [esi + 0x24]
call dword [sym.imp.QL_Core.dll_public:_bool___thiscall_QFile::exists_void_const]
test al, al
je 0x40311d
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 edx, dword [ecx]
mov eax, dword [edx + 0x30]
mov dword [esp + 0x50], esp
call eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x44]
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.00402160
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.00402ab0
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 + 0x18]
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 + 0x24]
mov byte [esp + 0x84], 3
call dword [sym.imp.QL_Network.dll_public:_void___thiscall_QNetworkRequest::destructor_void_]
lea ecx, [esp + 0x1c]
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