Function at 0x64042756
Capabilities:
Resolve dns

Disassembly:
push ebp
lea ebp, [esp - 0x444]
sub esp, 0x444
push 0xffffffffffffffff
push 0x64077e3a
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x640b7274]
xor eax, ebp
mov dword [ebp + 0x440], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x44c]
xor eax, eax
mov esi, dword [ebp + 0x450]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], eax
call fcn.64042e3f
lea ecx, [ebp - 0x34]
call fcn.64052bd4
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push 0xffffffffffffffff
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_int_
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
push 2
pop ebx
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call sym.QtNetwork4.dll_public:_bool___thiscall_QHostAddress::setAddress_class_QString_const__
test al, al
je 0x640429c7
cmp dword [0x640b8ecc], 0
je 0x640428aa
lea ecx, [ebp - 0x20]
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
test eax, eax
jne 0x6404282e
push 0x10
pop ebx
push ebx
push eax
lea esi, [ebp + 0x2c]
mov eax, esi
push eax
call fcn.6405b600
add esp, 0xc
lea ecx, [ebp - 0x20]
push 2
pop eax
mov word [ebp + 0x2c], ax
call sym.QtNetwork4.dll_public:_unsigned_int___thiscall_QHostAddress::toIPv4Address_void_const
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp + 0x30], eax
jmp 0x64042864
push 0x1c
pop ebx
push ebx
lea esi, [ebp + 0x10]
mov eax, esi
push 0
push eax
call fcn.6405b600
add esp, 0xc
lea ecx, [ebp - 0x20]
push 0x17
pop eax
mov word [ebp + 0x10], ax
lea eax, [ebp]
push 0x10
push eax
call sym.QtNetwork4.dll_public:_class_QIPv6Address___thiscall_QHostAddress::toIPv6Address_void_
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.640595f0
add esp, 0xc
xor eax, eax
push eax
push eax
push eax
push 0x401
lea eax, [ebp + 0x3c]
push eax
push ebx
push esi
call dword [0x640b8ecc]
test eax, eax
jne 0x64042913
push 0xffffffffffffffff
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
push 2
pop eax
mov byte [ebp - 4], al
jmp 0x6404290a
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_]
mov ecx, eax
mov byte [ebp - 4], 4
call dword [sym.imp.QtCore4.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
push ebx
push 4
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
je 0x64042913
push 0xffffffffffffffff
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QHostInfo::hostName_void_
mov ecx, eax
mov byte [ebp - 4], 6
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::isEmpty_void_const]
push 2
mov bl, al
lea ecx, [ebp - 0x18]
pop eax
mov byte [ebp - 4], al
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x6404296a
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QHostAddress::toString_void_
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
push 2
pop ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x6404296d
push 2
pop ebx
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [ebp - 0x14], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x14]
call fcn.640415d8
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 9
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x640429b4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.6403d713
lea eax, [ebp - 0x10]
mov byte [ebp - 4], bl
push eax
mov ecx, edi
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_class_QHostInfo_const__
jmp 0x64042d07
lea eax, [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QByteArray___cdecl_QUrl::toAce_class_QString_const__]
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
lea ecx, [ebp - 0x2c]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QByteArray::isEmpty_void_const]
test al, al
je 0x64042a82
push 1
lea ecx, [ebp - 0x10]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::isEmpty_void_const]
mov ecx, 0x640b7238
push 0
test al, al
je 0x64042a29
push str.No_host_name_given
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const__]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xb
push 0xa
jmp 0x64042a44
push str.Invalid_hostname
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const__]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0xc
push 0x14
pop ebx
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x38], ebx
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
test bl, 4
je 0x64042a62
lea ecx, [ebp - 0x1c]
and ebx, 0xfffffffb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 2
pop eax
mov dword [ebp - 4], 0xa
test al, bl
je 0x64042cf3
lea ecx, [ebp - 0x24]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x64042cf3
cmp dword [0x640b8ed0], 0
je 0x64042bfd
cmp dword [0x640b8ed4], 0
je 0x64042bfd
lea eax, [ebp - 0x18]
push eax
push 0
push 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.QtCore4.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push eax
call dword [0x640b8ed0]
test eax, eax
jne 0x64042ce1
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [ebp - 0x14], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0xd
test esi, esi
je 0x64042bdf
mov edi, dword [ebp - 0x28]
push 0x10
pop ebx
mov eax, dword [esi + 4]
push 2
pop ecx
sub eax, ecx
je 0x64042b7d
sub eax, 0x15
je 0x64042b36
push ecx
lea ecx, [ebp - 0x10]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
push 0
push str.Unknown_address_type
lea eax, [ebp - 0x28]
mov ecx, 0x640b7238
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const__]
or edi, 0x20
lea eax, [ebp - 0x28]
mov byte [ebp - 4], bl
push eax
lea ecx, [ebp - 0x10]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x64042bd1
lea ecx, [ebp - 0x24]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0x24]
add eax, 8
mov byte [ebp - 4], 0xf
push eax
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_char__
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2d]
push eax
lea ecx, [ebp - 0x14]
call fcn.64042713
xor ecx, ecx
cmp byte [eax], cl
cmovne ecx, eax
test ecx, ecx
jne 0x64042b78
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.640415d8
lea ecx, [ebp - 0x24]
jmp 0x64042bc8
lea ecx, [ebp - 0x1c]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
mov eax, dword [esi + 0x18]
mov byte [ebp - 4], 0xe
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
lea ecx, [ebp - 0x1c]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_int_
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2e]
push eax
lea ecx, [ebp - 0x14]
call fcn.64042713
xor ecx, ecx
cmp byte [eax], cl
cmovne ecx, eax
test ecx, ecx
jne 0x64042bc5
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.640415d8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x64042ae0
mov edi, dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
push dword [ebp - 0x18]
call dword [0x640b8ed4]
mov byte [ebp - 4], 0x11
jmp 0x64042cc3
lea ecx, [ebp - 0x2c]
call dword [sym.imp.QtCore4.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x64042ce1
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [ebp - 0x14], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
movsx eax, word [esi + 8]
mov byte [ebp - 4], 0x12
sub eax, ebx
je 0x64042c70
push ebx
lea ecx, [ebp - 0x10]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
push 0
push str.Unknown_address_type
lea eax, [ebp - 0x18]
mov ecx, 0x640b7238
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QMetaObject::tr_char_const___char_const__]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x10]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x12
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x64042cb3
mov esi, dword [esi + 0xc]
jmp 0x64042cad
lea ecx, [ebp - 0x1c]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
push dword [ebx]
mov byte [ebp - 4], 0x13
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
lea ecx, [ebp - 0x1c]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_int_
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.640415d8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
lea esi, [esi + 4]
mov ebx, dword [esi]
test ebx, ebx
jne 0x64042c75
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x14]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x64042cdb
push dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.6403d713
mov byte [ebp - 4], 0xa
jmp 0x64042cf3
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.64042ee7
pop ecx
pop ecx
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_class_QHostInfo_const__
lea ecx, [ebp - 0x2c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [ebp - 0x20]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
lea ecx, [ebp - 0x10]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::destructor_void_
lea ecx, [ebp - 0x34]
call sub.WS2_32.dll_WSACleanup
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x440]
xor ecx, ebp
call fcn.6405813a
add ebp, 0x444
leave
ret