Function at 0x6405d5d0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
push 0x14
call fcn.640ae2b5
add esp, 4
mov ebp, eax
push str.Unknown_error
push 0xd
lea ecx, [ebp + 4]
mov dword [ebp], 0
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, [ebp + 0xc]
mov dword [ebp + 8], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x20]
push edi
push eax
mov dword [esp + 0x34], ebp
mov dword [ebp + 0x10], 0xffffffff
call dword [sym.imp.Qt5Core.dll_public:_static_class_QByteArray___cdecl_QUrl::toAce_class_QString_const__]
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [ebp + 0xc]
add esp, 8
push edi
call esi
mov eax, dword [esp + 0x20]
cmp dword [eax + 4], 0
jne 0x6405d6a0
mov dword [ebp], 1
mov eax, dword [edi]
push 0xffffffffffffffff
push 0
cmp dword [eax + 4], 0
jne 0x6405d679
push str.No_host_name_given
lea eax, [esp + 0x24]
push str.QHostInfoAgent
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QCoreApplication::translate_char_const___char_const___char_const___int_]
add esp, 0x14
lea ecx, [ebp + 4]
push eax
call esi
lea ecx, [esp + 0x18]
jmp 0x6405d95a
push str.Invalid_hostname
lea eax, [esp + 0x20]
push str.QHostInfoAgent
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QCoreApplication::translate_char_const___char_const___char_const___int_]
add esp, 0x14
lea ecx, [ebp + 4]
push eax
call esi
lea ecx, [esp + 0x14]
jmp 0x6405d95a
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
lea eax, [esp + 0x34]
xorps xmm0, xmm0
push eax
push 0
lea ecx, [esp + 0x2c]
movups xmmword [esp + 0x3c], xmm0
movups xmmword [esp + 0x4c], xmm0
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x6405d8db
mov ebx, dword [esp + 0x1c]
mov eax, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov edx, dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QCoreApplication::translate_char_const___char_const___char_const___int_]
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x6405d851
nop word [eax + eax]
mov eax, dword [ebx + 4]
sub eax, 2
je 0x6405d7cf
sub eax, 0x15
je 0x6405d745
push 0xffffffffffffffff
push 0
push str.Unknown_address_type
lea eax, [esp + 0x30]
mov dword [ebp], 2
push str.QHostInfoAgent
push eax
call edx
add esp, 0x14
lea ecx, [ebp + 4]
push eax
call esi
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x6405d83c
lea ecx, [esp + 0x14]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_void_
mov esi, dword [ebx + 0x18]
lea ecx, [esp + 0x14]
lea eax, [esi + 8]
push eax
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::setAddress_class_QIPv6Address_const__
mov eax, dword [esi + 0x18]
test eax, eax
je 0x6405d78a
push 0xa
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_unsigned_long_int__int_]
add esp, 0xc
lea ecx, [esp + 0x14]
push eax
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::setScopeId_class_QString_const__
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 8]
add edi, 4
add esi, 4
lea edi, [eax + edi*4]
lea esi, [eax + esi*4]
cmp esi, edi
je 0x6405d7bb
mov ecx, dword [esi]
lea eax, [esp + 0x14]
push eax
call sym.Qt5Network.dll_public:_bool___thiscall_QHostAddress::operator_class_QHostAddress_const__const
test al, al
jne 0x6405d7c9
add esi, 4
cmp esi, edi
jne 0x6405d7a4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.6405ca60
lea ecx, [esp + 0x14]
jmp 0x6405d831
lea ecx, [esp + 0x18]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_void_
mov eax, dword [ebx + 0x18]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
lea ecx, [esp + 0x1c]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_int_
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 8]
add edi, 4
add esi, 4
lea edi, [eax + edi*4]
lea esi, [eax + esi*4]
cmp esi, edi
je 0x6405d81f
mov ecx, dword [esi]
lea eax, [esp + 0x18]
push eax
call sym.Qt5Network.dll_public:_bool___thiscall_QHostAddress::operator_class_QHostAddress_const__const
test al, al
jne 0x6405d82d
add esi, 4
cmp esi, edi
jne 0x6405d808
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call fcn.6405ca60
lea ecx, [esp + 0x18]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov ebx, dword [ebx + 0x1c]
mov edx, dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QCoreApplication::translate_char_const___char_const___char_const___int_]
test ebx, ebx
jne 0x6405d700
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 8]
jne 0x6405d888
push 0xffffffffffffffff
push 0
push str.Unknown_address_type
lea eax, [esp + 0x34]
mov dword [ebp], 2
push str.QHostInfoAgent
push eax
call edx
add esp, 0x14
lea ecx, [ebp + 4]
push eax
call esi
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x6405d8c9
cmp eax, 0xffffffff
je 0x6405d960
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x6405d960
push dword [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.6405ce10
jmp 0x6405d960
cmp eax, 0x2af9
jl 0x6405d915
cmp eax, 0x2afa
jle 0x6405d8f0
cmp eax, 0x2afc
jne 0x6405d915
push 0xffffffffffffffff
push 0
push str.Host_not_found
lea eax, [esp + 0x38]
mov dword [ebp], 1
push str.QHostInfoAgent
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QCoreApplication::translate_char_const___char_const___char_const___int_]
add esp, 0x14
jmp 0x6405d950
push 0
push 0x400
push 0x640f2620
push 0x400
push eax
push 0
push 0x12ff
mov dword [ebp], 2
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push 0x640f2620
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp + 4]
call esi
lea ecx, [esp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, dword [esp + 0x54]
lea ecx, [esp + 0x20]
mov dword [esi], ebp
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret