Function at 0x402590
Capabilities:
Check http status code

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x40bda2
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5995c0]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp + 0x3c], ebx
mov esi, dword [ebp + 0x7c]
lea eax, [ebp - 0x78]
push 0
push eax
mov ecx, esi
call dword [sym.imp.Qt5Network.dll_public:_class_QVariant___thiscall_QNetworkReply::attribute_enum_QNetworkRequest::Attribute_]
test dword [ebp - 0x70], 0x3fffffff
mov dword [ebp - 4], 0
jne 0x402600
push 0xa
lea eax, [ebp + 0x54]
push 0xd9
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
mov byte [ebp - 4], 1
jmp 0x40264a
push 0
lea ecx, [ebp - 0x78]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QVariant::toInt_bool__const]
cmp eax, 0xc8
je 0x402629
push 0xa
lea eax, [ebp + 0x54]
push 0xe1
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
mov byte [ebp - 4], 2
jmp 0x40264a
mov ecx, esi
call dword [sym.imp.Qt5Network.dll_public:_enum_QNetworkReply::NetworkError___thiscall_QNetworkReply::error_void_]
test eax, eax
je 0x402672
push 0xa
lea eax, [ebp + 0x54]
push 0xe9
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
mov byte [ebp - 4], 3
add esp, 8
mov byte [ebx + 0x14], 0
lea eax, [ebp + 0x54]
mov ecx, esp
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, ebx
call fcn.00409e80
lea ecx, [ebp + 0x54]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x4030cd
lea ecx, [ebp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 4
mov eax, dword [eax + 0x4c]
call eax
test edx, edx
jl 0x402741
jg 0x40269a
test eax, eax
je 0x402741
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QIODevice::read_long_long___int64__]
mov ebx, dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::append_class_QByteArray_const__]
lea ecx, [ebp + 0x4c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_void_]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 5
mov eax, dword [eax + 0x4c]
call eax
test edx, edx
jl 0x4026e7
jg 0x4026c9
cmp eax, 0x400
jbe 0x4026e7
push 0
push 0x400
lea eax, [ebp + 0x38]
mov ecx, esi
push eax
call edi
push eax
lea ecx, [ebp + 0x4c]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [ebp + 0x38]
jmp 0x402707
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x4c]
call eax
push edx
push eax
lea eax, [ebp + 0x30]
mov ecx, esi
push eax
call edi
push eax
lea ecx, [ebp + 0x4c]
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray____thiscall_QByteArray::operator_class_QByteArray__]
lea ecx, [ebp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea eax, [ebp + 0x4c]
push eax
lea ecx, [ebp + 0x14]
call ebx
lea ecx, [ebp + 0x4c]
mov byte [ebp - 4], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x4c]
call eax
test edx, edx
jg 0x4026a6
jl 0x40273e
test eax, eax
jne 0x4026a6
mov ebx, dword [ebp + 0x3c]
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QByteArray_const__]
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.Qt5Core.dll__toUtf8_QString__QGBE_AVQByteArray__XZ]
mov esi, dword [sym.imp.Qt5Core.dll_public:_static_class_QJsonDocument___cdecl_QJsonDocument::fromJson_class_QByteArray_const___struct_QJsonParseError__]
lea ecx, [ebp - 0x48]
push ecx
push eax
lea eax, [ebp + 0x1c]
mov byte [ebp - 4], 7
push eax
call esi
add esp, 0xc
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 9
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QJsonObject___thiscall_QJsonDocument::object_void_]
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp + 0x1c]
call edi
cmp dword [ebp - 0x44], 0
mov byte [ebp - 4], 0xa
je 0x4027bd
push ecx
mov eax, esp
push 0xa
push 0x10c
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
add esp, 0xc
mov ecx, ebx
call fcn.00403880
jmp 0x4030a9
push 4
push 0x40eb8c
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x54]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QJsonObject::contains_class_QString_const__const]
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0xa
mov bl, al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
jne 0x402815
push ecx
mov eax, esp
push 0xa
push 0x115
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
mov ecx, dword [ebp + 0x3c]
add esp, 0xc
call fcn.00403880
jmp 0x4030a9
push 4
push 0x40eb8c
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp + 0x54], eax
mov ebx, dword [sym.imp.Qt5Core.dll_public:_class_QJsonValueRef___thiscall_QJsonObject::operator___class_QString_const__]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp + 0x54]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 0x20]
call ebx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonObject___thiscall_QJsonValueRef::toObject_void_]
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0xe
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 8
push str.listFile
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp + 0x50], eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x58]
call ebx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QJsonValueRef::toString_void_]
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0x11
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_QString::toStdString_void_]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x12
jbe 0x4028ae
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
push eax
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 0x13
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QByteArray___cdecl_QByteArray::fromBase64_class_QByteArray_const__]
add esp, 8
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x14
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QByteArray_const__]
lea ecx, [ebp + 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp + 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0x18
call fcn.00401310
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5Core.dll__toUtf8_QString__QGBE_AVQByteArray__XZ]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x19
push ecx
push eax
lea eax, [ebp + 0x34]
push eax
call esi
add esp, 0xc
lea ecx, [ebp + 0x1c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonDocument____thiscall_QJsonDocument::operator_class_QJsonDocument__]
lea ecx, [ebp + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonDocument::destructor_void_]
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0x18
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 0x1c]
call edi
push eax
lea ecx, [ebp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonObject____thiscall_QJsonObject::operator_class_QJsonObject__]
lea ecx, [ebp + 0xc]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonObject::destructor_void_]
cmp dword [ebp - 0x44], 0
je 0x402965
push ecx
mov eax, esp
push 0xa
push 0x128
jmp 0x4029aa
mov edi, dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
push 7
push str.version
call edi
add esp, 8
mov dword [ebp + 0x54], eax
mov esi, dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QJsonObject::contains_class_QString_const__const]
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x1a
call esi
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0x18
mov bl, al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
jne 0x4029c1
push ecx
mov eax, esp
push 0xa
push 0x12f
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
mov ecx, dword [ebp + 0x3c]
add esp, 0xc
call fcn.00403880
jmp 0x40308e
push 7
push str.version
call edi
add esp, 8
mov dword [ebp + 0x54], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonValueRef___thiscall_QJsonObject::operator___class_QString_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QJsonValueRef::toString_void_]
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 0x1d
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 8
push str.fileList
call edi
add esp, 8
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp + 0x20]
call esi
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0x1d
mov bl, al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
jne 0x402a4e
push ecx
mov eax, esp
push 0xa
push 0x139
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
mov ecx, dword [ebp + 0x3c]
add esp, 0xc
call fcn.00403880
jmp 0x403085
push 8
push str.fileList
call edi
add esp, 8
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonValue___thiscall_QJsonObject::value_class_QString_const__]
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0x21
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x68]
call dword [sym.imp.Qt5Core.dll_public:_enum_QJsonValue::Type___thiscall_QJsonValue::type_void_]
cmp eax, 4
je 0x402aae
push ecx
mov eax, esp
push 0xa
push 0x141
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
mov ecx, dword [ebp + 0x3c]
add esp, 0xc
call fcn.00403880
jmp 0x40307c
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x68]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonArray___thiscall_QJsonValue::toArray_void_]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x22
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonArray::iterator___thiscall_QJsonArray::begin_void_]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonArray::iterator___thiscall_QJsonArray::end_void_]
lea ecx, [ebp + 0x18]
xor bl, bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x23
cmp ecx, dword [ebp - 0x4c]
je 0x40304e
test bl, bl
jne 0x402c63
mov eax, dword [ebp - 0x30]
mov dword [ebp + 0xc], eax
lea eax, [ecx + ecx]
mov dword [ebp + 0x10], eax
lea ecx, [ebp + 0xc]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonObject___thiscall_QJsonValueRef::toObject_void_]
lea eax, [ebp + 0x40]
mov byte [ebp - 4], 0x24
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.Qt5Core.dll_public:_class_QStringList___thiscall_QJsonObject::keys_void_]
mov eax, dword [ebp + 0x40]
mov byte [ebp - 4], 0x25
mov eax, dword [eax]
cmp eax, 1
je 0x402b46
test eax, eax
je 0x402b46
mov eax, dword [ebp + 0x40]
lea ecx, [ebp + 0x40]
push dword [eax + 4]
call fcn.00401aa0
lea ecx, [ebp + 0x40]
call dword [sym.imp.Qt5Core.dll_public:_void_____thiscall_QListData::begin_void_const]
mov esi, eax
mov eax, dword [ebp + 0x40]
mov eax, dword [eax]
cmp eax, 1
je 0x402b6d
test eax, eax
je 0x402b6d
mov eax, dword [ebp + 0x40]
lea ecx, [ebp + 0x40]
push dword [eax + 4]
call fcn.00401aa0
lea ecx, [ebp + 0x40]
call dword [sym.imp.Qt5Core.dll_public:_void_____thiscall_QListData::end_void_const]
mov edi, eax
cmp esi, edi
je 0x402c36
push esi
lea ecx, [ebp + 0x50]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [ebp + 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [ebp + 0x48]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
push str.config
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 0x27
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
jne 0x402bd6
lea ecx, [ebp + 0x48]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp + 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp + 0x50]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
add esi, 4
cmp esi, edi
jne 0x402b80
jmp 0x402c36
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonValue___thiscall_QJsonObject::value_class_QString_const__]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x28
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QJsonValue::toString_void_]
push eax
lea ecx, [ebp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [ebp + 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0xa0]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::destructor_void_]
lea ecx, [ebp + 0x48]
mov bl, 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp + 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp + 0x50]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp + 0x40]
call fcn.00401250
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x23
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonObject::destructor_void_]
mov ecx, dword [ebp - 0x2c]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [ebp - 0x4c]
jne 0x402af4
test bl, bl
je 0x40304e
push 0xc
push str.Launcher.dat
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp + 0x34], eax
lea eax, [ebp + 0x34]
mov byte [ebp - 4], 0x29
push eax
lea ecx, [ebp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QJsonObject::contains_class_QString_const__const]
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 0x23
mov bl, al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push ecx
test bl, bl
jne 0x402ca9
mov eax, esp
push 0xa
push 0x173
jmp 0x403058
mov ebx, dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov esi, esp
push 6
push str.config
call ebx
mov edi, dword [ebp + 0x3c]
add esp, 8
mov dword [esi], eax
mov ecx, edi
lea eax, [ebp]
push eax
call fcn.00401650
mov esi, dword [sym.imp.Qt5Core.dll_bool___cdecl_operator_class_QString_const___class_QString_const__]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 0x2a
push eax
call esi
add esp, 8
test al, al
jne 0x402d30
push 0
push ecx
mov esi, esp
push 6
push str.config
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00403c30
test al, al
jne 0x403043
push ecx
mov esi, esp
push 0x15
push str.update_config_failed.
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00409e80
lea ecx, [ebp]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x40306a
push ecx
push esp
mov ecx, edi
call fcn.00401f90
lea eax, [ebp + 4]
mov ecx, edi
push eax
call fcn.00401650
push 0xc
push str.Launcher.dat
mov byte [ebp - 4], 0x2b
call ebx
add esp, 8
mov dword [ebp + 0x30], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x2c
push eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonValueRef___thiscall_QJsonObject::operator___class_QString_const__]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QJsonValueRef::toString_void_]
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0x2e
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 4]
push eax
call esi
add esp, 8
test al, al
jne 0x402dca
push 0
push ecx
mov esi, esp
push 0xc
push str.Launcher.dat
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00403c30
test al, al
jne 0x403031
push ecx
mov esi, esp
push 0x14
push 0x40f068
jmp 0x403023
lea ecx, [ebp - 0x20]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QJsonArray::size_void_const]
xor ecx, ecx
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x38], ecx
test eax, eax
jle 0x402ff3
mov ebx, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
nop dword [eax]
push ecx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonValue___thiscall_QJsonArray::at_int_]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x2f
push eax
lea ecx, [ebp - 0x88]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonObject___thiscall_QJsonValue::toObject_void_]
lea eax, [ebp + 0x4c]
mov byte [ebp - 4], 0x30
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.Qt5Core.dll_public:_class_QStringList___thiscall_QJsonObject::keys_void_]
mov eax, dword [ebp + 0x4c]
mov byte [ebp - 4], 0x31
mov eax, dword [eax]
cmp eax, 1
je 0x402e46
test eax, eax
je 0x402e46
mov eax, dword [ebp + 0x4c]
lea ecx, [ebp + 0x4c]
push dword [eax + 4]
call fcn.00401aa0
lea ecx, [ebp + 0x4c]
call dword [sym.imp.Qt5Core.dll_public:_void_____thiscall_QListData::begin_void_const]
mov esi, eax
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax]
cmp eax, 1
je 0x402e6d
test eax, eax
je 0x402e6d
mov eax, dword [ebp + 0x4c]
lea ecx, [ebp + 0x4c]
push dword [eax + 4]
call fcn.00401aa0
lea ecx, [ebp + 0x4c]
call dword [sym.imp.Qt5Core.dll_public:_void_____thiscall_QListData::end_void_const]
mov dword [ebp - 0x24], eax
cmp esi, eax
je 0x402fbc
add edi, 0x10
mov dword [ebp + 0x40], edi
nop word [eax + eax]
push esi
lea ecx, [ebp + 0x54]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea ecx, [ebp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [ebp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea eax, [ebp + 0x54]
mov byte [ebp - 4], 0x33
push eax
lea ecx, [ebp + 0x28]
call ebx
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonValue___thiscall_QJsonObject::value_class_QString_const__]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x34
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QJsonValue::toString_void_]
push eax
lea ecx, [ebp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0x33
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::destructor_void_]
mov ecx, edi
call fcn.00401a10
mov eax, dword [edi]
xor ebx, ebx
mov byte [ebp + 0x50], 1
mov edi, dword [eax + 0xc]
add eax, 8
test edi, edi
je 0x402f79
lea eax, [ebp + 0x28]
mov dword [ebp + 0x34], edi
push eax
lea eax, [edi + 0xc]
push eax
call dword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const___class_QString_const__]
add esp, 8
test al, al
jne 0x402f32
mov ebx, edi
mov edi, dword [edi + 4]
jmp 0x402f35
mov edi, dword [edi + 8]
xor al, 1
test edi, edi
jne 0x402f13
mov byte [ebp + 0x50], al
test ebx, ebx
je 0x402f76
lea eax, [ebx + 0xc]
push eax
lea eax, [ebp + 0x28]
push eax
call dword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const___class_QString_const__]
add esp, 8
test al, al
jne 0x402f76
lea edi, [ebx + 0x10]
mov ebx, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea eax, [ebp + 0x28]
mov ecx, edi
push eax
call ebx
lea eax, [ebp + 0x2c]
push eax
lea ecx, [edi + 4]
call ebx
mov edi, dword [ebp + 0x40]
jmp 0x402f92
mov eax, dword [ebp + 0x34]
push dword [ebp + 0x50]
mov edi, dword [ebp + 0x40]
push eax
lea eax, [ebp + 0x28]
push eax
mov ecx, dword [edi]
push eax
call fcn.00401960
mov ebx, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [ebp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp + 0x54]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
add esi, 4
cmp esi, dword [ebp - 0x24]
jne 0x402e90
mov edi, dword [ebp + 0x3c]
lea ecx, [ebp + 0x4c]
call fcn.00401250
lea ecx, [ebp - 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonObject::destructor_void_]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x2e
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::destructor_void_]
mov ecx, dword [ebp + 0x38]
inc ecx
mov dword [ebp + 0x38], ecx
cmp ecx, dword [ebp + 0x48]
jl 0x402df0
mov ebx, dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov ecx, edi
call fcn.004049d0
test al, al
jne 0x40300a
push ecx
mov esi, esp
push 0x16
push str.updateGameFile_failed.
jmp 0x403023
cmp byte [edi + 0x14], 0
je 0x403019
mov ecx, edi
call fcn.00409ef0
jmp 0x403031
push ecx
mov esi, esp
push 0xe
push str.update_failed.
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00409e80
lea ecx, [ebp + 8]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp + 4]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x40306a
push ecx
mov eax, esp
push 0xa
push 0x16c
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
mov ecx, dword [ebp + 0x3c]
add esp, 0xc
call fcn.00403880
lea ecx, [ebp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonArray::destructor_void_]
lea ecx, [ebp - 0x68]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::destructor_void_]
lea ecx, [ebp - 0x40]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x58]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonObject::destructor_void_]
lea ecx, [ebp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonObject::destructor_void_]
lea ecx, [ebp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonDocument::destructor_void_]
lea ecx, [ebp - 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x78]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.0040a674
lea esp, [ebp + 0x74]
pop ebp
ret 4