Function at 0x406a70
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40c989
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x5995c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x43c], esi
lea ecx, [ebp - 0x44c]
mov dword [ebp - 0x42c], 0
call dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QNetworkRequest::constructor_void_]
lea eax, [esi + 0x24c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x448], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push 0xffffffffffffffff
lea eax, [ebp - 0x438]
mov dword [ebp - 0x42c], 1
push str.api_broker_config
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf8_char_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 2
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x434]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QUrl::constructor_class_QString_const___enum_QUrl::ParsingMode_]
push eax
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 3
call dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QNetworkRequest::setUrl_class_QUrl_const__]
lea ecx, [ebp - 0x434]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QUrl::destructor_void_]
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov edi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::constructor_char_const___int_]
lea ecx, [ebp - 0x42c]
push 0xffffffffffffffff
push str.application_json
call edi
push 0xffffffffffffffff
push str.Content_Type
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 4
call edi
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x44c]
call dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QNetworkRequest::setRawHeader_class_QByteArray_const___class_QByteArray_const__]
lea ecx, [ebp - 0x444]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
push 8
call fcn.0040a6a5
mov esi, eax
add esp, 4
mov dword [ebp - 0x434], esi
push dword [ebp - 0x43c]
mov ecx, esi
mov byte [ebp - 4], 6
call dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QNetworkAccessManager::constructor_class_QObject__]
push 0xffffffffffffffff
push 0x40ea61
lea ecx, [ebp - 0x42c]
mov dword [esi], vtable.QNetworkAccessManager.0
mov byte [ebp - 4], 0
call edi
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x44c]
mov ecx, esi
push eax
call dword [sym.imp.Qt5Network.dll_public:_class_QNetworkReply____thiscall_QNetworkAccessManager::post_class_QNetworkRequest_const___class_QByteArray_const__]
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0
mov esi, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
push 0
lea ecx, [ebp - 0x46c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QEventLoop::constructor_class_QObject__]
mov ecx, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QEventLoop::quit_void_]
mov eax, dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QNetworkReply::finished_void_]
push 0xc
mov byte [ebp - 4], 8
mov dword [ebp - 0x444], ecx
mov dword [ebp - 0x434], eax
call fcn.0040a6a5
mov ecx, dword [ebp - 0x444]
mov dword [ebp - 0x440], eax
mov dword [eax], 1
mov dword [eax + 4], 0x4037c0
mov dword [eax + 8], ecx
push dword [sym.imp.Qt5Network.dll_struct_QMetaObject_const_QNetworkReply::staticMetaObject]
push 0
push 0
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x438]
push esi
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
add esp, 0x28
lea ecx, [ebp - 0x438]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
push ecx
mov eax, esp
lea ecx, [ebp - 0x46c]
mov dword [eax], 1
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QEventLoop::exec_class_QFlags_enum_QEventLoop::ProcessEventsFlag__]
push 0
lea eax, [ebp - 0x484]
mov ecx, esi
push eax
call dword [sym.imp.Qt5Network.dll_public:_class_QVariant___thiscall_QNetworkReply::attribute_enum_QNetworkRequest::Attribute_]
test dword [ebp - 0x47c], 0x3fffffff
mov edi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
mov byte [ebp - 4], 9
jne 0x406d23
push 5
push str.Error
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [ebp - 0x42c], eax
push 0xa
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0xa
push 0x259
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
add esp, 0x14
mov byte [ebp - 4], 0xb
jmp 0x406d6a
push 0
lea ecx, [ebp - 0x484]
call dword [sym.imp.Qt5Core.dll_public:_int___thiscall_QVariant::toInt_bool__const]
cmp eax, 0xc8
je 0x406db0
push 5
push str.Error
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [ebp - 0x42c], eax
push 0xa
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0xc
push 0x261
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
add esp, 0x14
mov byte [ebp - 4], 0xd
push 0
push ecx
mov ecx, esp
push eax
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x43c]
mov dword [ecx], 0x400
call dword [sym.imp.Qt5Widgets.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_]
add esp, 0x14
lea ecx, [ebp - 0x434]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x42c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 0x42d], 0
jmp 0x407325
push 1
lea eax, [ebp - 0x4b4]
mov ecx, esi
push eax
call dword [sym.imp.Qt5Network.dll_public:_class_QVariant___thiscall_QNetworkReply::attribute_enum_QNetworkRequest::Attribute_]
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QVariant::toString_void_]
push eax
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 0xf
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_class_QString_const__]
lea ecx, [ebp - 0x434]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x4b4]
mov byte [ebp - 4], 0x12
call edi
test dword [ebp - 0x49c], 0x3fffffff
jne 0x406e3d
push 5
push str.Error
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [ebp - 0x42c], eax
push 0xa
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0x13
push 0x269
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
add esp, 0x14
mov byte [ebp - 4], 0x14
jmp 0x406e7b
mov ecx, esi
call dword [sym.imp.Qt5Network.dll_public:_enum_QNetworkReply::NetworkError___thiscall_QNetworkReply::error_void_]
test eax, eax
je 0x406ec1
push 5
push str.Error
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [ebp - 0x42c], eax
push 0xa
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0x15
push 0x271
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
add esp, 0x14
mov byte [ebp - 4], 0x16
push 0
push ecx
mov ecx, esp
push eax
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x43c]
mov dword [ecx], 0x400
call dword [sym.imp.Qt5Widgets.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_]
add esp, 0x14
lea ecx, [ebp - 0x438]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x42c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 0x42d], 0
jmp 0x40731d
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QIODevice::readAll_void_]
push eax
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 0x17
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QByteArray_const__]
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], 0x19
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x450]
call dword [sym.imp.Qt5Core.dll__toLatin1_QString__QGBE_AVQByteArray__XZ]
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 0x1a
push ecx
push eax
lea eax, [ebp - 0x45c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QJsonDocument___cdecl_QJsonDocument::fromJson_class_QByteArray_const___struct_QJsonParseError__]
add esp, 0xc
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0x1c
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x45c]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonObject___thiscall_QJsonDocument::object_void_]
cmp dword [ebp - 0x470], 0
mov byte [ebp - 4], 0x1d
je 0x4070ad
mov edi, dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
push 5
push str.Error
call edi
mov dword [ebp - 0x42c], eax
push 0xa
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0x1e
push 0x280
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
push eax
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0x1f
push str.json_parse_error
push eax
call fcn.00406370
add esp, 0x20
mov esi, dword [sym.imp.Qt5Widgets.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_]
push 0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x43c]
mov dword [ecx], 0x400
call esi
add esp, 0x14
lea ecx, [ebp - 0x434]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x438]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0x1d
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 5
push str.Error
call edi
mov dword [ebp - 0x42c], eax
push str.api_broker_config
push dword [ebp - 0x448]
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0x21
push eax
call fcn.00401400
add esp, 0x14
push 0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x43c]
mov dword [ecx], 0x400
call esi
add esp, 0x14
lea ecx, [ebp - 0x434]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0x1d
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 5
push str.Error
call edi
add esp, 8
mov dword [ebp - 0x42c], eax
push 0
push ecx
mov eax, esp
mov byte [ebp - 4], 0x23
mov dword [eax], 0x400
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x43c]
call esi
add esp, 0x14
lea ecx, [ebp - 0x42c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov edi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
mov byte [ebp - 0x42d], 0
jmp 0x4072f9
mov dword [ebp - 0x42c], 0x599038
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x24
push eax
lea ecx, [ebp - 0x464]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QJsonObject::contains_class_QString_const__const]
lea ecx, [ebp - 0x42c]
mov byte [ebp - 0x42d], al
mov byte [ebp - 4], 0x1d
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [ebp - 0x42d], 0
jne 0x40718b
push 5
push str.Error
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [ebp - 0x42c], eax
push 0xa
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 0x25
push 0x28b
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
push eax
lea eax, [ebp - 0x448]
mov byte [ebp - 4], 0x26
push str.json_parse_error
push eax
call fcn.00406370
add esp, 0x20
push 0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp - 0x42c]
push eax
push dword [ebp - 0x43c]
mov dword [ecx], 0x400
call dword [sym.imp.Qt5Widgets.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_]
add esp, 0x14
lea ecx, [ebp - 0x448]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x434]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x42c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [ebp - 0x42d], 0
jmp 0x4072f9
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 - 0x42c], eax
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x28
push eax
lea eax, [ebp - 0x494]
push eax
lea ecx, [ebp - 0x464]
call dword [sym.imp.Qt5Core.dll_public:_class_QJsonValue___thiscall_QJsonObject::value_class_QString_const__]
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0x2a
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x494]
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QJsonValue::toString_void_]
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 0x2b
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll__toLatin1_QString__QHAE_AVQByteArray__XZ]
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 0x2d
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x454]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QByteArray___cdecl_QByteArray::fromBase64_class_QByteArray_const__]
push 0x400
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 0x2e
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
lea eax, [ebp - 0x428]
lea ecx, [ebp - 0x454]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_QByteArray::toStdString_void_]
cmp dword [ebp - 0x414], 0xf
lea eax, [ebp - 0x428]
mov esi, dword [ebp - 0x418]
cmova eax, dword [ebp - 0x428]
push esi
push eax
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 0x2f
push eax
call sub.VCRUNTIME140.dll_memcpy
push str.CZR2QXTSUxqn8yBr7b_4F4C4gppm6A
lea eax, [ebp - 0x410]
push esi
push eax
call fcn.004096e0
mov ecx, esp
lea edx, [ebp - 0x410]
xorps xmm0, xmm0
lea esi, [edx + 1]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov al, byte [edx]
inc edx
test al, al
jne 0x4072a3
sub edx, esi
lea eax, [ebp - 0x410]
push edx
push eax
call fcn.004051d0
mov ecx, dword [ebp - 0x43c]
call fcn.00408aa0
lea ecx, [ebp - 0x428]
mov byte [ebp - 0x42d], al
call fcn.00401310
lea ecx, [ebp - 0x454]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x458]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x494]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonValue::destructor_void_]
lea ecx, [ebp - 0x464]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonObject::destructor_void_]
lea ecx, [ebp - 0x45c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QJsonDocument::destructor_void_]
lea ecx, [ebp - 0x450]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x4a4]
call edi
lea ecx, [ebp - 0x484]
call edi
lea ecx, [ebp - 0x46c]
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QEventLoop::destructor_void_]
lea ecx, [ebp - 0x44c]
call dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QNetworkRequest::destructor_void_]
mov al, byte [ebp - 0x42d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a674
mov esp, ebp
pop ebp
ret