Function at 0x640629c0
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x640a23eb
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x640ee650]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ee650]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x498]
mov esi, dword [esp + 0x49c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x28], 0
call fcn.64062620
lea ecx, [esp + 0x38]
call fcn.6407a450
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0x494], 1
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_int_
lea ecx, [esp + 0x24]
mov byte [esp + 0x490], 2
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x494], 3
call sym.QtNetwork4.dll_public:_bool___thiscall_QHostAddress::setAddress_class_QString_const__
test al, al
je 0x64062cb1
cmp dword [0x640ee75c], 0
je 0x64062b54
lea ecx, [esp + 0x24]
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
test eax, eax
jne 0x64062ab5
mov dword [esp + 0x60], eax
lea edi, [eax + 0x10]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, 2
lea ecx, [esp + 0x24]
lea esi, [esp + 0x60]
mov word [esp + 0x60], 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 [esp + 0x64], eax
jmp 0x64062b0f
xor eax, eax
mov ecx, 0x17
mov dword [esp + 0x44], eax
lea edx, [esp + 0x70]
mov word [esp + 0x44], cx
push edx
lea ecx, [esp + 0x28]
lea esi, [esp + 0x48]
mov edi, 0x1c
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
call sym.QtNetwork4.dll_public:_class_QIPv6Address___thiscall_QHostAddress::toIPv6Address_void_
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x58], edx
push 0
push 0
push 0
push 0x401
lea eax, [esp + 0x90]
push eax
push edi
push esi
call dword [0x640ee75c]
test eax, eax
jne 0x64062bd8
push 0xffffffffffffffff
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const___int_]
add esp, 0xc
mov byte [esp + 0x490], 4
jmp 0x64062bbc
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_]
mov ecx, eax
mov byte [esp + 0x490], 5
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, [esp + 0x1c]
mov dword [esp + 0x20], eax
mov byte [esp + 0x490], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
push 2
push 4
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
je 0x64062bd8
mov edx, dword [eax]
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const___int_]
add esp, 0xc
mov byte [esp + 0x490], 6
push eax
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
lea ecx, [esp + 0x1c]
mov byte [esp + 0x490], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QHostInfo::hostName_void_
mov ecx, eax
mov byte [esp + 0x490], 7
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::isEmpty_void_const]
lea ecx, [esp + 0x1c]
mov bl, al
mov byte [esp + 0x490], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x64062c40
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QHostAddress::toString_void_
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x494], 8
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
lea ecx, [esp + 0x1c]
mov byte [esp + 0x490], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [esp + 0x18], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x494], 9
call fcn.64060740
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x490], 3
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x64062c98
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x1c]
call fcn.64059950
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_class_QHostInfo_const__
mov dword [esp + 0x28], 1
jmp 0x640630b4
lea ecx, [esp + 0x2c]
push esi
push ecx
call dword [sym.imp.QtCore4.dll_public:_static_class_QByteArray___cdecl_QUrl::toAce_class_QString_const__]
add esp, 8
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x494], 0xa
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
lea ecx, [esp + 0x2c]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QByteArray::isEmpty_void_const]
test al, al
je 0x64062da8
push 1
lea ecx, [esp + 0x18]
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]
push 0
test al, al
je 0x64062d1e
lea edx, [esp + 0x24]
push str.No_host_name_given
push edx
call fcn.640625a0
add esp, 0xc
mov byte [esp + 0x490], 0xb
mov ebx, 2
jmp 0x64062d40
lea eax, [esp + 0x20]
push str.Invalid_hostname
push eax
call fcn.640625a0
add esp, 0xc
mov dword [esp + 0x490], 0xc
mov ebx, 4
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebx
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
mov dword [esp + 0x490], 0xb
test bl, 4
je 0x64062d6f
and ebx, 0xfffffffb
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x490], 0xa
test bl, 2
je 0x64062d90
and ebx, 0xfffffffd
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_class_QHostInfo_const__
or ebx, 1
mov dword [esp + 0x28], ebx
jmp 0x640630a2
cmp dword [0x640ee760], 0
je 0x64062f6c
cmp dword [0x640ee764], 0
je 0x64062f6c
lea edx, [esp + 0x1c]
push edx
push 0
push 0
lea ecx, [esp + 0x38]
call dword [sym.imp.QtCore4.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push eax
call dword [0x640ee760]
test eax, eax
jne 0x6406307d
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [esp + 0x18], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
mov esi, dword [esp + 0x1c]
mov bl, 0xd
mov byte [esp + 0x490], bl
test esi, esi
je 0x64062f26
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
nop
mov eax, dword [esi + 4]
sub eax, 2
je 0x64062ebb
sub eax, 0x15
je 0x64062e68
push 2
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
push 0
lea eax, [esp + 0x40]
push str.Unknown_address_type
push eax
call fcn.640625a0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x494], 0x10
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
lea ecx, [esp + 0x3c]
mov byte [esp + 0x490], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x64062f1b
lea ecx, [esp + 0x30]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
mov ecx, dword [esi + 0x18]
add ecx, 8
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x494], 0xf
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_char__
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x3b]
push eax
lea ecx, [esp + 0x20]
call fcn.64062970
movzx ecx, byte [eax]
neg ecx
sbb ecx, ecx
test eax, ecx
jne 0x64062eb5
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x1c]
call fcn.64060740
lea ecx, [esp + 0x30]
jmp 0x64062f0f
lea ecx, [esp + 0x20]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 4]
push ecx
mov byte [esp + 0x494], 0xe
call edi
push eax
lea ecx, [esp + 0x24]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_int_
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x3a]
push eax
lea ecx, [esp + 0x20]
call fcn.64062970
movzx ecx, byte [eax]
neg ecx
sbb ecx, ecx
test eax, ecx
jne 0x64062f0b
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.64060740
lea ecx, [esp + 0x20]
mov byte [esp + 0x490], bl
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x64062e10
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x640ee764]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x490], 0xa
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x6406308e
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x1c]
call fcn.64059950
jmp 0x6406308e
lea ecx, [esp + 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 0x6406307d
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [esp + 0x18], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
movsx eax, word [esi + 8]
sub eax, 2
mov byte [esp + 0x490], 0x11
je 0x64062fed
push 2
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
push 0
lea eax, [esp + 0x40]
push str.Unknown_address_type
push eax
call fcn.640625a0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x494], 0x13
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
lea ecx, [esp + 0x3c]
mov byte [esp + 0x490], 0x11
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x64063049
mov edi, dword [esi + 0xc]
mov esi, dword [edi]
test esi, esi
je 0x64063049
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
lea esp, [esp]
lea ecx, [esp + 0x20]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
mov ecx, dword [esi]
push ecx
mov byte [esp + 0x494], 0x12
call ebx
push eax
lea ecx, [esp + 0x24]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_int_
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
call fcn.64060740
lea ecx, [esp + 0x20]
mov byte [esp + 0x490], 0x11
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov esi, dword [edi + 4]
add edi, 4
test esi, esi
jne 0x64063000
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x490], 0xa
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x6406308e
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x1c]
call fcn.64059950
jmp 0x6406308e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea esi, [esp + 0x14]
mov edi, eax
call fcn.64062790
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_class_QHostInfo_const__
mov dword [esp + 0x28], 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x490], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x490], 2
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
lea ecx, [esp + 0x14]
mov byte [esp + 0x490], 1
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::destructor_void_
lea ecx, [esp + 0x38]
mov byte [esp + 0x490], 0
call sub.WS2_32.dll_WSACleanup
mov eax, ebp
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.640943f8
add esp, 0x480
ret