Function at 0x6406be00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x640a37b6
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ee650]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], 0
mov eax, dword [esi + 0x8c]
mov ecx, dword [eax]
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::SocketState___thiscall_QAbstractSocket::state_void_
test eax, eax
je 0x6406c029
mov eax, dword [esi + 0x7c]
cmp eax, 1
jne 0x6406be53
lea ebx, [eax + 6]
jmp 0x6406be5e
xor ebx, ebx
cmp eax, 2
sete bl
add ebx, 8
lea ecx, [esp + 0x2c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QElapsedTimer::start_void_]
cmp dword [esi + 0x78], ebx
je 0x6406beae
mov edi, dword [esp + 0x4c]
mov ebp, dword [sym.imp.QtCore4.dll_public:_long_long___int64____thiscall_QElapsedTimer::elapsed_void_const]
lea ecx, [esp + 0x2c]
call ebp
cmp edi, 0xffffffff
jne 0x6406be86
or eax, edi
jmp 0x6406be95
mov ecx, edi
sub ecx, eax
mov eax, 0
sets al
dec eax
and eax, ecx
mov ecx, dword [esi + 0x8c]
mov ecx, dword [ecx]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x58]
call eax
test al, al
je 0x6406bec6
cmp dword [esi + 0x78], ebx
jne 0x6406be77
mov al, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
mov ecx, dword [esi + 0x8c]
mov ecx, dword [ecx]
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::SocketState___thiscall_QAbstractSocket::state_void_
test eax, eax
je 0x6406beae
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov edx, dword [esi + 0x8c]
mov ecx, dword [edx]
mov edi, dword [esi + 4]
mov dword [esp + 0x44], 0
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::SocketError___thiscall_QAbstractSocket::error_void_
cmp dword [esi + 0x78], 7
mov ebp, eax
je 0x6406bfba
cmp ebp, 5
ja case.0x6406bf0e.3
jmp dword [ebp*4 + 0x6406c030]
push 0
lea eax, [esp + 0x50]
push str.Connection_to_proxy_refused
push eax
call fcn.6406a740
add esp, 0xc
push eax
push 0xe
mov ecx, edi
mov byte [esp + 0x4c], 1
call fcn.64067a80
lea ecx, [esp + 0x4c]
jmp 0x6406bfdf
push 0
lea ecx, [esp + 0x18]
push str.Connection_to_proxy_closed_prematurely
push ecx
call fcn.6406a740
add esp, 0xc
push eax
push 0xf
mov ecx, edi
mov byte [esp + 0x4c], 2
call fcn.64067a80
lea ecx, [esp + 0x14]
jmp 0x6406bfdf
push 0
lea edx, [esp + 0x1c]
push str.Proxy_host_not_found
push edx
call fcn.6406a740
add esp, 0xc
push eax
push 0x11
mov ecx, edi
mov byte [esp + 0x4c], 3
call fcn.64067a80
lea ecx, [esp + 0x18]
jmp 0x6406bfdf
mov ecx, dword [esi + 0x8c]
mov ecx, dword [ecx]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QIODevice::errorString_void_]
push eax
push ebp
mov ecx, edi
mov byte [esp + 0x4c], 5
call fcn.64067a80
lea ecx, [esp + 0x1c]
jmp 0x6406bfdf
mov eax, dword [esi + 0x8c]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QIODevice::errorString_void_]
push eax
push ebp
mov ecx, edi
mov byte [esp + 0x4c], 6
call fcn.64067a80
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
mov ecx, edi
call fcn.64067b60
lea ecx, [esp + 0x24]
mov dword [esi + 0x78], 0xa
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov edi, dword [esp + 0x50]
test edi, edi
je 0x6406c029
mov ecx, dword [esi + 0x8c]
mov ecx, dword [ecx]
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::SocketError___thiscall_QAbstractSocket::error_void_
cmp eax, 5
jne 0x6406c029
mov byte [edi], 1
xor al, al
jmp 0x6406beb0