Function at 0x6400a2a0
Capabilities:
Check for software breakpoints
Check http status code
Resolve function by parsing pe exports

Disassembly:
cmp dword [esp + 8], 0
jne case.default.0x6400a2b0
mov eax, dword [esp + 0xc]
cmp eax, 0x13
ja case.default.0x6400a2b0
jmp dword [eax*4 + 0x6400a420]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 4]
push dword [eax]
call sym.QtNetwork4.dll_protected:_void___thiscall_QHttp::stateChanged_int_
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
push dword [eax + 4]
call sym.QtNetwork4.dll_protected:_void___thiscall_QHttp::responseHeaderReceived_class_QHttpResponseHeader_const__
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
push dword [eax + 4]
call sym.QtNetwork4.dll_protected:_void___thiscall_QHttp::readyRead_class_QHttpResponseHeader_const__
ret
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
push dword [eax]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 8]
push dword [eax]
call sym.QtNetwork4.dll_protected:_void___thiscall_QHttp::dataSendProgress_int__int_
ret
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
push dword [eax]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 8]
push dword [eax]
call sym.QtNetwork4.dll_protected:_void___thiscall_QHttp::dataReadProgress_int__int_
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 4]
push dword [eax]
call sym.QtNetwork4.dll_protected:_void___thiscall_QHttp::requestStarted_int_
ret
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
movzx eax, byte [eax]
push eax
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 8]
push dword [eax]
call sym.QtNetwork4.dll_protected:_void___thiscall_QHttp::requestFinished_int__bool_
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 4]
movzx eax, byte [eax]
push eax
call sym.QtNetwork4.dll_protected:_void___thiscall_QHttp::done_bool_
ret
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
push dword [eax]
push dword [ecx + 4]
mov ecx, dword [esp + 0xc]
call sym.QtNetwork4.dll_protected:_void___thiscall_QHttp::proxyAuthenticationRequired_class_QNetworkProxy_const___class_QAuthenticator__
ret
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
push dword [eax]
mov eax, dword [ecx + 8]
movzx eax, word [eax]
push eax
push dword [ecx + 4]
mov ecx, dword [esp + 0x10]
call sym.QtNetwork4.dll_protected:_void___thiscall_QHttp::authenticationRequired_class_QString_const___unsigned_short_int__class_QAuthenticator__
ret
mov ecx, dword [esp + 4]
jmp sym.QtNetwork4.dll_public:_void___thiscall_QHttp::abort_void_
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
jmp 0x6400e990
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
jmp fcn.6400cbf0
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
jmp fcn.6400c5e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 4]
push dword [eax]
call fcn.6400c880
ret
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
jmp 0x6400c340
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 4]
push dword [eax + 4]
push dword [eax]
call fcn.6400c2b0
ret
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
jmp 0x6400c810
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
jmp fcn.6400e250
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
jmp 0x6400c250
sub esp, 0xc
push esi
mov esi, ecx
cmp byte [esi + 0xd6], 0
je 0x6400c2a8
lea eax, [esp + 4]
mov byte [esi + 0xd6], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push 0
push sym.QtNetwork4.dll_struct_QMetaObject_const_QHttp::staticMetaObject
push dword [esi + 4]
mov dword [esi + 0x5c], 3
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 0
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___]
add esp, 0x10
mov ecx, esi
push 0
push 0
call fcn.6400c2b0
pop esi
add esp, 0xc
ret
push 0xffffffffffffffff
push 0x6408149b
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ca240]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x5c]
mov esi, dword [edi + 4]
mov dword [esp + 0x2c], esi
cmp eax, 4
jne 0x6400c429
push str.content_length
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_const__]
lea eax, [esp + 0x14]
mov dword [esp + 0x88], 0
push eax
lea ecx, [edi + 0xa8]
call sym.QtNetwork4.dll_public:_bool___thiscall_QHttpHeader::hasKey_class_QString_const__const
lea ecx, [esp + 0x14]
mov dword [esp + 0x88], 0xffffffff
mov bl, al
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x6400c47b
mov eax, dword [esi + 4]
lea ecx, [edi + 0xa8]
mov esi, dword [eax + 0xc4]
call sym.QtNetwork4.dll_public:_unsigned_int___thiscall_QHttpHeader::contentLength_void_const
mov ecx, eax
mov eax, esi
cdq
add eax, dword [edi + 0x80]
adc edx, dword [edi + 0x84]
cmp eax, ecx
jne 0x6400c400
test edx, edx
je 0x6400c47b
push str.Wrong_content_length
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_const__]
mov dword [esp + 0x88], 1
push 6
jmp 0x6400c45a
cmp eax, 2
je 0x6400c433
cmp eax, 3
jne 0x6400c47b
push str.Server_closed_connection_unexpectedly
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_const__]
mov dword [esp + 0x88], 2
push 4
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.6400ff20
lea ecx, [esp + 0x14]
mov dword [esp + 0x88], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp dword [edi + 0x5c], 6
mov dword [edi + 0x7c], 0
je 0x6400c4bf
lea eax, [esp + 0x14]
mov dword [edi + 0x5c], 6
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push 0
push sym.QtNetwork4.dll_struct_QMetaObject_const_QHttp::staticMetaObject
push dword [edi + 4]
mov dword [esp + 0x24], 6
mov dword [esp + 0x34], 0
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___]
add esp, 0x10
push 0
push 0
lea ecx, [esp + 0x38]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x50]
mov dword [esp + 0x24], eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x60]
mov dword [esp + 0x2c], eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x68]
mov ebp, eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x70]
mov ebx, eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x78]
mov edi, eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
push 0
push 0
lea ecx, [esp + 0x80]
mov esi, eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QGenericArgument::constructor_char_const___void_const__]
mov ecx, dword [esp + 0x14]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x20]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x2c]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x38]
push dword [ecx + 4]
push dword [ecx]
mov ecx, dword [esp + 0x44]
push dword [ecx + 4]
push dword [ecx]
push dword [ebp + 4]
push dword [ebp]
push dword [ebx + 4]
push dword [ebx]
push dword [edi + 4]
push dword [edi]
push dword [esi + 4]
push dword [esi]
push dword [eax + 4]
push dword [eax]
push 2
push str._q_slotDoFinished
push dword [esp + 0x84]
call dword [sym.imp.QtCore4.dll_public:_static_bool___cdecl_QMetaObject::invokeMethod_class_QObject___char_const___enum_Qt::ConnectionType__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument__class_QGenericArgument_]
add esp, 0x5c
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
cmp eax, 5
jne 0x6400c827
pop esi
add esp, 0xc
jmp fcn.640100b0
test eax, eax
je 0x6400c86d
lea eax, [esp + 4]
mov dword [esi + 0x5c], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push 0
push sym.QtNetwork4.dll_struct_QMetaObject_const_QHttp::staticMetaObject
push dword [esi + 4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___]
add esp, 0x10
mov ecx, esi
pop esi
add esp, 0xc
jmp fcn.640100b0
pop esi
add esp, 0xc
ret
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 4]
lea ecx, [ebx + 0x58]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QListData::isEmpty_void_const]
test al, al
jne 0x6400ea4b
mov ecx, dword [ebx + 0x58]
push 1
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::operator__int_const]
test al, al
je 0x6400e9c9
mov eax, dword [ebx + 0x58]
lea ecx, [ebx + 0x58]
push dword [eax + 4]
call fcn.6405e9f0
lea ecx, [ebx + 0x58]
call dword [sym.imp.QtCore4.dll_public:_void_____thiscall_QListData::begin_void_const]
push str.Unknown_error
lea ecx, [esp + 0x10]
mov esi, dword [eax]
mov dword [ebx + 0x60], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QLatin1String::constructor_char_const__]
push eax
lea ecx, [ebx + 0x64]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QLatin1String_const__]
mov eax, dword [edi + 4]
cmp dword [eax + 0xc4], 0
je 0x6400ea16
lea eax, [esp + 0xc]
mov ecx, edi
push eax
call sym.QtNetwork4.dll_public:_class_QByteArray___thiscall_QHttp::readAll_void_
lea ecx, [esp + 0xc]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
mov eax, dword [esi + 4]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push 5
push sym.QtNetwork4.dll_struct_QMetaObject_const_QHttp::staticMetaObject
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.QtCore4.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject___struct_QMetaObject_const___int__void___]
mov eax, dword [esi]
add esp, 0x10
mov ecx, esi
push edi
call dword [eax + 4]
pop edi
pop esi
pop ebx
add esp, 0xc
ret