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

Disassembly:
push 0xffffffffffffffff
push 0x6408ea46
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ca240]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], 0
mov ebp, dword [esp + 0x54]
mov esi, dword [edi + 4]
cmp ebp, 0xc
ja case.0x6406c838.6
movzx eax, byte [ebp + 0x6406cb0c]
jmp dword [eax*4 + 0x6406caf4]
mov ecx, dword [edi + 0x8c]
mov ecx, dword [ecx]
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::SocketError___thiscall_QAbstractSocket::error_void_
cmp dword [edi + 0x78], 7
mov ebx, eax
je 0x6406c956
cmp ebx, 5
ja case.0x6406c861.3
jmp dword [ebx*4 + 0x6406cb1c]
push 0
lea eax, [esp + 0x5c]
push str.Connection_to_proxy_refused
push eax
call fcn.6406d370
add esp, 0xc
push eax
push 0xe
mov ecx, esi
mov dword [esp + 0x54], 0
call fcn.64065a90
lea ecx, [esp + 0x58]
jmp 0x6406cac2
push 0
lea eax, [esp + 0x1c]
push str.Connection_to_proxy_closed_prematurely
push eax
call fcn.6406d370
add esp, 0xc
push eax
push 0xf
mov ecx, esi
mov dword [esp + 0x54], 1
call fcn.64065a90
lea ecx, [esp + 0x18]
jmp 0x6406cac2
push 0
lea eax, [esp + 0x20]
push str.Proxy_host_not_found
push eax
call fcn.6406d370
add esp, 0xc
push eax
push 0x11
mov ecx, esi
mov dword [esp + 0x54], 2
call fcn.64065a90
lea ecx, [esp + 0x1c]
jmp 0x6406cac2
cmp ebp, 1
jne case.0x6406c861.3
push 0
lea eax, [esp + 0x24]
push str.Connection_to_proxy_timed_out
push eax
call fcn.6406d370
add esp, 0xc
push eax
push 0x10
mov ecx, esi
mov dword [esp + 0x54], 3
call fcn.64065a90
lea ecx, [esp + 0x20]
jmp 0x6406cac2
mov ecx, dword [edi + 0x8c]
lea eax, [esp + 0x24]
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, esi
mov dword [esp + 0x54], 4
call fcn.64065a90
lea ecx, [esp + 0x24]
jmp 0x6406cac2
mov ecx, dword [edi + 0x8c]
lea eax, [esp + 0x28]
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, esi
mov dword [esp + 0x54], 5
call fcn.64065a90
lea ecx, [esp + 0x28]
jmp 0x6406cac2
mov ebx, dword [esp + 0x58]
mov ecx, ebx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::isEmpty_void_const]
test al, al
je 0x6406c9b6
push 0
lea eax, [esp + 0x3c]
push str.Proxy_authentication_failed
push eax
call fcn.6406d370
add esp, 0xc
mov dword [esp + 0x4c], 6
mov ebx, 1
jmp 0x6406ca0f
mov byte [esp + 0x2c], 0x20
lea ecx, [esp + 0x54]
push dword [esp + 0x2c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x38]
push str.Proxy_authentication_failed:__1
push eax
call fcn.6406d370
add esp, 0xc
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 7
push ecx
push 0
push ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], 2
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
mov dword [esp + 0x4c], 8
mov ebx, 6
push eax
push 0xc
mov ecx, esi
mov dword [esp + 0x1c], ebx
call fcn.64065a90
mov dword [esp + 0x4c], 7
test bl, 4
je 0x6406ca3b
and ebx, 0xfffffffb
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x4c], 6
test bl, 2
je 0x6406ca59
and ebx, 0xfffffffd
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x4c], 0xffffffff
test bl, 1
je case.0x6406c838.6
lea ecx, [esp + 0x38]
jmp 0x6406caca
push 0
lea eax, [esp + 0x40]
push str.SOCKS_version_5_protocol_error
push eax
call fcn.6406d370
add esp, 0xc
push eax
push 0x12
mov ecx, esi
mov dword [esp + 0x54], 9
call fcn.64065a90
lea ecx, [esp + 0x3c]
jmp 0x6406cac2
push 0
lea eax, [esp + 0x44]
push str.Host_not_found
push eax
call sym.QtNetwork4.dll_public:_static_class_QString___cdecl_QAbstractSocket::tr_char_const___char_const__
add esp, 0xc
push eax
push 2
mov ecx, esi
mov dword [esp + 0x54], 0xa
call fcn.64065a90
lea ecx, [esp + 0x40]
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0
mov ecx, esi
call fcn.64065b20
mov dword [edi + 0x78], ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 8