Function at 0x6405e770
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x44c
mov eax, dword [0x640f0ebc]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
mov ebx, dword [esp + 0x458]
push ebp
push esi
push edi
mov edi, dword [esp + 0x460]
push 0x14
call fcn.640ae2b5
add esp, 4
mov esi, eax
push str.Unknown_error
lea ecx, [esi + 4]
mov dword [esi], 0
push 0xd
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QLatin1String_]
mov eax, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
lea ecx, [esi + 0xc]
mov dword [esi + 8], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov dword [edi], esi
mov ecx, ebx
mov dword [esi + 0x10], 0xffffffff
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
xorps xmm0, xmm0
mov ecx, ebx
test eax, eax
jne 0x6405e80a
lea ebp, [eax + 0x10]
mov eax, 2
movups xmmword [esp + 0x18], xmm0
lea esi, [esp + 0x18]
mov word [esp + 0x18], ax
call sym.Qt5Network.dll_public:_enum_QSsl::SslProtocol___thiscall_QSslConfiguration::sessionProtocol_void_
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x1c], eax
jmp 0x6405e842
mov eax, 0x17
movq qword [esp + 0x38], xmm0
movups xmmword [esp + 0x28], xmm0
mov word [esp + 0x28], ax
lea esi, [esp + 0x28]
lea eax, [esp + 0x44]
mov dword [esp + 0x40], 0
push eax
mov ebp, 0x1c
call sym.Qt5Network.dll_public:_class_QDeadlineTimer___thiscall_QNetworkAddressEntry::preferredLifetime_void_
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x30], xmm0
push 0
push 0
push 0
push 0x401
lea eax, [esp + 0x64]
push eax
push ebp
push esi
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov ebp, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
test eax, eax
jne 0x6405e88b
push 0xffffffffffffffff
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const___int_]
mov ecx, dword [edi]
add esp, 0xc
add ecx, 0xc
push eax
call ebp
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [edi]
lea ecx, [esp + 0x10]
add eax, 0xc
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov esi, dword [eax + 4]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test esi, esi
jne 0x6405e8ce
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
call sym.Qt5Network.dll_public:_class_QString___thiscall_QHostAddress::toString_void_
mov ecx, dword [edi]
push eax
add ecx, 0xc
call ebp
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
lea ecx, [esp + 0x14]
push ebx
mov dword [esp + 0x18], eax
call fcn.6405ca60
mov esi, dword [edi]
or ebx, 0xffffffff
mov eax, dword [esi + 8]
cmp eax, dword [esp + 0x14]
je 0x6405e933
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.6405c100
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esi + 8], ecx
mov eax, dword [eax]
test eax, eax
je 0x6405e926
cmp eax, ebx
je 0x6405e933
mov eax, dword [esp + 0x10]
mov ecx, ebx
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x6405e933
push dword [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.6405ce10
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
test eax, eax
je 0x6405e952
cmp eax, 0xffffffff
je 0x6405e95f
mov ecx, dword [esp + 0x14]
lock xadd dword [ecx], ebx
dec ebx
setne cl
test cl, cl
jne 0x6405e95f
push dword [esp + 0x14]
lea ecx, [esp + 0x18]
call fcn.6405ce10
mov ecx, dword [esp + 0x458]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.640ae828
add esp, 0x44c
ret