Function at 0x64060120
Capabilities:
Access peb ldr_data
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x6408cddb
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x640ca240]
xor eax, esp
mov dword [esp + 0x474], eax
push esi
push edi
mov eax, dword [0x640ca240]
xor eax, esp
push eax
lea eax, [esp + 0x484]
mov dword fs:[0], eax
mov edi, dword [esp + 0x494]
mov esi, dword [esp + 0x498]
mov dword [esp + 0x30], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x28], 0
call fcn.64060930
lea ecx, [esp + 0x10]
call fcn.640775f0
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
mov dword [esp + 0x490], 1
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_int_
lea ecx, [esp + 0x24]
mov byte [esp + 0x48c], 2
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x490], 3
call sym.QtNetwork4.dll_public:_bool___thiscall_QHostAddress::setAddress_class_QString_const__
test al, al
je 0x64060413
cmp dword [0x640cb6a8], 0
je 0x64060387
lea ecx, [esp + 0x24]
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
lea ecx, [esp + 0x24]
xorps xmm0, xmm0
test eax, eax
jne 0x64060210
lea edi, [eax + 0x10]
mov eax, 2
movdqu xmmword [esp + 0x6c], xmm0
lea esi, [esp + 0x6c]
mov word [esp + 0x6c], 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 + 0x70], eax
jmp 0x6406024b
mov eax, 0x17
movq qword [esp + 0x60], xmm0
movdqu xmmword [esp + 0x50], xmm0
mov word [esp + 0x50], ax
lea esi, [esp + 0x50]
lea eax, [esp + 0x40]
mov dword [esp + 0x68], 0
push eax
mov edi, 0x1c
call sym.QtNetwork4.dll_public:_class_QIPv6Address___thiscall_QHostAddress::toIPv6Address_void_
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x58], xmm0
push 0
push 0
push 0
push 0x401
lea eax, [esp + 0x8c]
push eax
push edi
push esi
call dword [0x640cb6a8]
test eax, eax
jne 0x640602a6
push 0xffffffffffffffff
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x3c]
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, [esp + 0x40]
mov byte [esp + 0x490], 4
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
lea ecx, [esp + 0x34]
mov byte [esp + 0x48c], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QHostInfo::hostName_void_
mov ecx, eax
mov byte [esp + 0x48c], 7
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::isEmpty_void_const]
lea ecx, [esp + 0x34]
mov byte [esp + 0x2f], al
mov byte [esp + 0x48c], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [esp + 0x2f], 0
je 0x64060317
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QHostAddress::toString_void_
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x490], 8
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
lea ecx, [esp + 0x34]
mov byte [esp + 0x48c], 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 + 0x38], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
lea eax, [esp + 0x24]
mov byte [esp + 0x48c], 9
push eax
lea ecx, [esp + 0x3c]
call fcn.6405e8f0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x40]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x48c], 3
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x6406036e
push dword [esp + 0x38]
lea ecx, [esp + 0x3c]
call fcn.64058470
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_class_QHostInfo_const__
mov dword [esp + 0x28], 1
jmp 0x640607ef
lea eax, [esp + 0x34]
mov ecx, esi
push eax
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_]
mov ecx, eax
mov byte [esp + 0x48c], 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 + 0x34]
mov dword [esp + 0x30], eax
mov byte [esp + 0x48c], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
push 2
push 4
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
je 0x640602aa
push 0xffffffffffffffff
push dword [eax]
lea eax, [esp + 0x3c]
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, [esp + 0x40]
mov byte [esp + 0x490], 6
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
lea ecx, [esp + 0x34]
mov byte [esp + 0x48c], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x640602aa
lea eax, [esp + 0x1c]
push esi
push eax
call dword [sym.imp.QtCore4.dll_public:_static_class_QByteArray___cdecl_QUrl::toAce_class_QString_const__]
add esp, 8
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x490], 0xa
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QByteArray::isEmpty_void_const]
test al, al
je 0x6406050e
push 1
lea ecx, [esp + 0x40]
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 0x64060480
lea eax, [esp + 0x34]
push str.No_host_name_given
push eax
call fcn.64060aa0
add esp, 0xc
mov byte [esp + 0x48c], 0xb
mov ecx, 2
jmp 0x640604a2
lea eax, [esp + 0x38]
push str.Invalid_hostname
push eax
call fcn.64060aa0
add esp, 0xc
mov dword [esp + 0x48c], 0xc
mov ecx, 4
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x3c]
push eax
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48c], 0xb
test al, 4
je 0x640604d8
and eax, 0xfffffffb
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48c], 0xa
test al, 2
je 0x640604f8
and eax, 0xfffffffd
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_class_QHostInfo_const__
or dword [esp + 0x28], 1
jmp 0x640607dd
cmp dword [0x640cb6ac], 0
je 0x640606a8
cmp dword [0x640cb6b0], 0
je 0x640606a8
lea eax, [esp + 0x34]
push eax
push 0
push 0
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push eax
call dword [0x640cb6ac]
test eax, eax
jne 0x640607b5
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [esp + 0x38], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
mov esi, dword [esp + 0x34]
mov byte [esp + 0x48c], 0xd
test esi, esi
je 0x6406068b
mov edi, edi
mov eax, dword [esi + 4]
sub eax, 2
je 0x6406061c
sub eax, 0x15
je 0x640605c9
push 2
lea ecx, [esp + 0x40]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
push 0
lea eax, [esp + 0x1c]
push str.Unknown_address_type
push eax
call fcn.64060aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x490], 0x10
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
lea ecx, [esp + 0x18]
mov byte [esp + 0x48c], 0xd
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x64060680
lea ecx, [esp + 0x20]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x20]
add eax, 8
mov byte [esp + 0x48c], 0xf
push eax
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_char__
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x33]
push eax
lea ecx, [esp + 0x40]
call fcn.640600d0
xor ecx, ecx
cmp byte [eax], cl
cmovne ecx, eax
test ecx, ecx
jne 0x64060616
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
call fcn.6405e8f0
lea ecx, [esp + 0x20]
jmp 0x64060673
lea ecx, [esp + 0x30]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
mov eax, dword [esi + 0x18]
mov byte [esp + 0x48c], 0xe
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
lea ecx, [esp + 0x34]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_int_
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x1b]
push eax
lea ecx, [esp + 0x40]
call fcn.640600d0
xor ecx, ecx
cmp byte [eax], cl
cmovne ecx, eax
test ecx, ecx
jne 0x6406066f
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x3c]
call fcn.6405e8f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x48c], 0xd
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x64060570
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x40]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
push dword [esp + 0x34]
call dword [0x640cb6b0]
jmp 0x64060790
lea ecx, [esp + 0x1c]
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 0x640607b5
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [esp + 0x38], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
movsx eax, word [esi + 8]
mov byte [esp + 0x48c], 0x11
sub eax, 2
je 0x64060729
push 2
lea ecx, [esp + 0x40]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
push 0
lea eax, [esp + 0x1c]
push str.Unknown_address_type
push eax
call fcn.64060aa0
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x490], 0x13
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
lea ecx, [esp + 0x18]
mov byte [esp + 0x48c], 0x11
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x64060782
mov esi, dword [esi + 0xc]
mov edi, dword [esi]
test edi, edi
je 0x6406077e
lea ecx, [esp + 0x20]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
push dword [edi]
mov byte [esp + 0x490], 0x12
call dword [sym.imp.WS2_32.dll_ntohl]
push eax
lea ecx, [esp + 0x24]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_int_
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
call fcn.6405e8f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x48c], 0x11
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov edi, dword [esi + 4]
lea esi, [esi + 4]
test edi, edi
jne 0x64060732
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x40]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x48c], 0xa
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::deref_void_]
test al, al
jne 0x640607c9
push dword [esp + 0x38]
lea ecx, [esp + 0x3c]
call fcn.64058470
jmp 0x640607c9
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.64060ad0
add esp, 8
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_class_QHostInfo_const__
mov dword [esp + 0x28], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48c], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x48c], 2
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
lea ecx, [esp + 0x3c]
mov byte [esp + 0x48c], 1
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::destructor_void_
lea ecx, [esp + 0x10]
mov byte [esp + 0x48c], 0
call sub.WS2_32.dll_WSACleanup
mov eax, edi
mov ecx, dword [esp + 0x484]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x474]
xor ecx, esp
call fcn.6407f184
add esp, 0x484
ret