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

Disassembly:
push 0xffffffffffffffff
push 0x6408ebf6
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ca240]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], 0
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 0x6406d706
mov eax, dword [esi + 0x7c]
cmp eax, 1
jne 0x6406d533
lea ebx, [eax + 6]
jmp 0x6406d53e
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 0x6406d58b
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 0x6406d566
or edx, edi
jmp 0x6406d572
mov edx, edi
sub edx, eax
mov eax, 0
cmovs edx, eax
mov eax, dword [esi + 0x8c]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x58]
call eax
test al, al
je 0x6406d5a3
cmp dword [esi + 0x78], ebx
jne 0x6406d557
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 0x6406d58b
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_void_]
mov ecx, dword [esi + 0x8c]
mov edi, dword [esi + 4]
mov dword [esp + 0x44], 0
mov ecx, dword [ecx]
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::SocketError___thiscall_QAbstractSocket::error_void_
cmp dword [esi + 0x78], 7
mov ebx, eax
je 0x6406d697
cmp ebx, 5
ja case.0x6406d5eb.3
jmp dword [ebx*4 + 0x6406d710]
push 0
lea eax, [esp + 0x50]
push str.Connection_to_proxy_refused
push eax
call fcn.6406d370
add esp, 0xc
push eax
push 0xe
mov ecx, edi
mov byte [esp + 0x4c], 1
call fcn.64065a90
lea ecx, [esp + 0x4c]
jmp 0x6406d6bc
push 0
lea eax, [esp + 0x18]
push str.Connection_to_proxy_closed_prematurely
push eax
call fcn.6406d370
add esp, 0xc
push eax
push 0xf
mov ecx, edi
mov byte [esp + 0x4c], 2
call fcn.64065a90
lea ecx, [esp + 0x14]
jmp 0x6406d6bc
push 0
lea eax, [esp + 0x1c]
push str.Proxy_host_not_found
push eax
call fcn.6406d370
add esp, 0xc
push eax
push 0x11
mov ecx, edi
mov byte [esp + 0x4c], 3
call fcn.64065a90
lea ecx, [esp + 0x18]
jmp 0x6406d6bc
mov ecx, dword [esi + 0x8c]
lea eax, [esp + 0x1c]
push eax
mov ecx, dword [ecx]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QIODevice::errorString_void_]
push eax
push ebx
mov ecx, edi
mov byte [esp + 0x4c], 5
call fcn.64065a90
lea ecx, [esp + 0x1c]
jmp 0x6406d6bc
mov ecx, dword [esi + 0x8c]
lea eax, [esp + 0x20]
push eax
mov ecx, dword [ecx]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QIODevice::errorString_void_]
push eax
push ebx
mov ecx, edi
mov byte [esp + 0x4c], 6
call fcn.64065a90
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.64065b20
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 0x6406d706
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 0x6406d706
mov byte [edi], 1
xor al, al
jmp 0x6406d58d