Function at 0x64056be0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x464
mov eax, dword [0x640c4350]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
push ebp
mov ebp, dword [esp + 0x470]
lea eax, [esp + 0x10]
push esi
mov esi, dword [esp + 0x478]
push edi
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QSysInfo::machineHostName_void_]
add esp, 4
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp dword [0x640c5780], 0xfffffffe
jle 0x64056c34
call fcn.64057160
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::constructor_int_
lea ecx, [esp + 0x20]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_void_
push esi
lea ecx, [esp + 0x24]
call sym.Qt5Network.dll_public:_bool___thiscall_QHostAddress::setAddress_class_QString_const__
test al, al
je 0x64056e10
cmp dword [0x640c5774], 0
je 0x64056d04
lea ecx, [esp + 0x20]
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
lea ecx, [esp + 0x20]
xorps xmm0, xmm0
test eax, eax
jne 0x64056ca4
lea edi, [eax + 0x10]
mov eax, 2
movdqu xmmword [esp + 0x30], xmm0
lea esi, [esp + 0x30]
mov word [esp + 0x30], ax
call sym.Qt5Network.dll_public:_unsigned_int___thiscall_QHostAddress::toIPv4Address_void_const
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x34], eax
jmp 0x64056cdf
mov eax, 0x17
movq qword [esp + 0x50], xmm0
movdqu xmmword [esp + 0x40], xmm0
mov word [esp + 0x40], ax
lea esi, [esp + 0x40]
lea eax, [esp + 0x5c]
mov dword [esp + 0x58], 0
push eax
mov edi, 0x1c
call sym.Qt5Network.dll_public:_class_QIPv6Address___thiscall_QHostAddress::toIPv6Address_void_
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x48], xmm0
push 0
push 0
push 0
push 0x401
lea eax, [esp + 0x7c]
push eax
push edi
push esi
call dword [0x640c5774]
test eax, eax
jne 0x64056d67
push 0xffffffffffffffff
lea eax, [esp + 0x70]
push eax
jmp 0x64056d45
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_]
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
push 2
push 4
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
je 0x64056d67
push 0xffffffffffffffff
push dword [eax]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const___int_]
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call sym.Qt5Network.dll_public:_class_QString___thiscall_QDnsMailExchangeRecord::exchange_void_
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
lea ecx, [esp + 0x18]
mov bl, al
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x64056daf
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
call sym.Qt5Network.dll_public:_class_QString___thiscall_QHostAddress::toString_void_
push eax
lea ecx, [esp + 0x14]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
lea ecx, [esp + 0x18]
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]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
call fcn.64055c90
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
test ecx, ecx
je 0x64056df5
cmp ecx, 0xffffffff
je 0x64056dff
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x64056dff
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x18]
call fcn.6400e090
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::constructor_class_QHostInfo_const__
jmp 0x6405712f
lea eax, [esp + 0x28]
push esi
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QByteArray___cdecl_QUrl::toAce_class_QString_const__]
add esp, 8
lea ecx, [esp + 0x10]
push esi
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QByteArray::isEmpty_void_const]
test al, al
je 0x64056ec3
push 1
lea ecx, [esp + 0x14]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
mov ecx, esi
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::isEmpty_void_const]
mov ecx, 0x640c42e4
push 0xffffffffffffffff
push 0
test al, al
je 0x64056e76
push str.No_host_name_given
lea eax, [esp + 0x30]
mov ebx, 1
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const___int_]
lea eax, [esp + 0x24]
jmp 0x64056e8f
push str.Invalid_hostname
lea eax, [esp + 0x28]
mov ebx, 2
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const___int_]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
test bl, 2
je 0x64056eab
lea ecx, [esp + 0x1c]
and ebx, 0xfffffffd
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, 1
je 0x64057119
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x64057119
cmp dword [0x640c5778], 0
je 0x64057019
cmp dword [0x640c577c], 0
je 0x64057019
lea eax, [esp + 0x18]
push eax
push 0
push 0
lea ecx, [esp + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push eax
call dword [0x640c5778]
test eax, eax
jne 0x64057105
mov esi, dword [esp + 0x18]
mov eax, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov dword [esp + 0x14], eax
test esi, esi
je 0x64056ffc
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
mov edi, dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const___int_]
mov eax, dword [esi + 4]
sub eax, 2
je 0x64056fad
sub eax, 0x15
je 0x64056f6e
push 2
lea ecx, [esp + 0x14]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
push 0xffffffffffffffff
push 0
push str.Unknown_address_type
lea eax, [esp + 0x38]
mov ecx, 0x640c42e4
push eax
call edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
lea ecx, [esp + 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x64056ff1
lea ecx, [esp + 0x24]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_void_
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x24]
add eax, 8
push eax
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::setAddress_class_QIPv6Address_const__
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.64056b90
test al, al
jne 0x64056fa7
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.64055c90
lea ecx, [esp + 0x24]
jmp 0x64056fec
lea ecx, [esp + 0x1c]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_void_
mov eax, dword [esi + 0x18]
push dword [eax + 4]
call ebx
push eax
lea ecx, [esp + 0x20]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_int_
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.64056b90
test al, al
jne 0x64056fe8
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.64055c90
lea ecx, [esp + 0x1c]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x64056f20
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
push dword [esp + 0x18]
call dword [0x640c577c]
jmp 0x640570d8
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x64057105
mov ecx, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov dword [esp + 0x14], ecx
movsx ecx, word [eax + 8]
sub ecx, 2
je 0x64057083
push 2
lea ecx, [esp + 0x14]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
push 0xffffffffffffffff
push 0
push str.Unknown_address_type
lea eax, [esp + 0x24]
mov ecx, 0x640c42e4
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const___int_]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
lea ecx, [esp + 0x18]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x640570ca
mov esi, dword [eax + 0xc]
mov edi, dword [esi]
test edi, edi
je 0x640570ca
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
lea ecx, [esp + 0x1c]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_void_
push dword [edi]
call ebx
push eax
lea ecx, [esp + 0x20]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_int_
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.64055c90
lea ecx, [esp + 0x1c]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov edi, dword [esi + 4]
lea esi, [esi + 4]
test edi, edi
jne 0x64057092
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
test ecx, ecx
je 0x640570f9
cmp ecx, 0xffffffff
je 0x64057119
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x64057119
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x18]
call fcn.6400e090
jmp 0x64057119
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.64057350
add esp, 8
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::constructor_class_QHostInfo_const__
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x20]
call sym.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_
lea ecx, [esp + 0x10]
call sym.Qt5Network.dll_public:_void___thiscall_QHostInfo::destructor_void_
mov ecx, dword [esp + 0x470]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6408e98c
add esp, 0x464
ret