Function at 0x64056c40
Capabilities:
Resolve dns
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6408ec87
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x640df444]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640df444]
xor eax, esp
push eax
lea eax, [esp + 0x4d0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4e0]
mov esi, dword [esp + 0x4e4]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x1c], 0
call fcn.6406ba80
mov al, byte [0x640df548]
mov dword [esp + 0x4d8], 1
test al, al
jne 0x64056d0d
push 0x640df540
call dword [sym.imp.QtCore4.dll_public:_static_class_QMutex____cdecl_QMutexPool::globalInstanceGet_void_const__]
add esp, 4
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QMutexLocker::constructor_class_QMutex__]
mov cl, byte [0x640df548]
mov byte [esp + 0x4d8], 2
test cl, cl
jne 0x64056cec
call fcn.64056ad0
mov byte [0x640df548], 1
mov ecx, dword [esp + 0x48]
mov byte [esp + 0x4d8], 1
test cl, 1
je 0x64056d0d
and ecx, 0xfffffffe
mov dword [esp + 0x48], ecx
and ecx, 0xfffffffe
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QMutex::unlock_void_]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_int_
lea ecx, [esp + 0x18]
mov byte [esp + 0x4d8], 3
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4dc], 4
call sym.QtNetwork4.dll_public:_bool___thiscall_QHostAddress::setAddress_class_QString_const__
test al, al
je 0x64056fd9
cmp dword [0x640df53c], 0
je 0x64056e89
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
test eax, eax
jne 0x64056dac
mov edx, 2
mov dword [esp + 0xb8], eax
lea ecx, [esp + 0x18]
lea esi, [esp + 0xb8]
lea edi, [eax + 0x10]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov word [esp + 0xb8], dx
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 + 0xbc], eax
jmp 0x64056e30
xor eax, eax
mov dword [esp + 0x9c], eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov eax, 0x17
push ecx
lea ecx, [esp + 0x1c]
lea esi, [esp + 0xa0]
mov edi, 0x1c
mov word [esp + 0xa0], ax
call sym.QtNetwork4.dll_public:_class_QIPv6Address___thiscall_QHostAddress::toIPv6Address_void_
mov edx, dword [eax]
mov dword [esp + 0xa4], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0xac], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0xb0], eax
push 0
push 0
push 0
push 0x401
lea ecx, [esp + 0xd8]
push ecx
push edi
push esi
call dword [0x640df53c]
test eax, eax
jne 0x64056f13
push 0xffffffffffffffff
lea edx, [esp + 0xcc]
push edx
lea eax, [esp + 0x8c]
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 + 0x18]
mov byte [esp + 0x4dc], 5
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
lea ecx, [esp + 0x84]
jmp 0x64056f05
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call dword [sym.imp.QtCore4.dll_public:_class_QByteArray___thiscall_QString::toLatin1_void_]
mov ecx, eax
mov byte [esp + 0x4d8], 6
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 + 0x50]
mov dword [esp + 0x5c], eax
mov byte [esp + 0x4d8], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
push 2
push 4
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
je 0x64056f13
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x88]
push ecx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const___int_]
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4dc], 7
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
lea ecx, [esp + 0x80]
mov byte [esp + 0x4d8], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QHostInfo::hostName_void_
mov ecx, eax
mov byte [esp + 0x4d8], 8
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::isEmpty_void_const]
lea ecx, [esp + 0x64]
mov bl, al
mov byte [esp + 0x4d8], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x64056f7b
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x1c]
call sym.QtNetwork4.dll_public:_class_QString___thiscall_QHostAddress::toString_void_
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4dc], 9
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
lea ecx, [esp + 0x78]
mov byte [esp + 0x4d8], 4
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 + 0x44], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x4dc], 0xa
call fcn.64054c00
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
lea ecx, [esp + 0x44]
mov byte [esp + 0x4d8], 4
call fcn.6404e9d0
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_class_QHostInfo_const__
mov dword [esp + 0x1c], 1
jmp 0x640574cd
lea ecx, [esp + 0x24]
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 + 0x4dc], 0xb
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setHostName_class_QString_const__
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QByteArray::isEmpty_void_const]
test al, al
je 0x640570d3
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 0x64057049
lea edx, [esp + 0x80]
push str.No_host_name_given
push edx
call fcn.64056860
add esp, 0xc
mov byte [esp + 0x4d8], 0xc
mov ebx, 2
jmp 0x6405706b
lea eax, [esp + 0x70]
push str.Invalid_hostname
push eax
call fcn.64056860
add esp, 0xc
mov dword [esp + 0x4d8], 0xd
mov ebx, 4
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebx
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
mov dword [esp + 0x4d8], 0xc
test bl, 4
je 0x6405709a
and ebx, 0xfffffffb
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x4d8], 0xb
test bl, 2
je 0x640570bb
and ebx, 0xfffffffd
lea ecx, [esp + 0x7c]
mov dword [esp + 0x1c], 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 + 0x1c], ebx
jmp 0x640574bb
cmp dword [0x640df540], 0
je 0x64057320
cmp dword [0x640df544], 0
je 0x64057320
lea edx, [esp + 0x4c]
push edx
push 0
push 0
lea ecx, [esp + 0x30]
call dword [sym.imp.QtCore4.dll_public:_char_const____thiscall_QByteArray::constData_void_const]
push eax
call dword [0x640df540]
test eax, eax
jne 0x64057278
lea ecx, [esp + 0x20]
call fcn.6404e510
mov esi, dword [esp + 0x4c]
mov bl, 0xe
mov byte [esp + 0x4d8], bl
test esi, esi
je 0x64057249
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
mov eax, dword [esi + 4]
sub eax, 2
je 0x640571de
sub eax, 0x15
je 0x6405718b
push 2
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
push 0
lea eax, [esp + 0x78]
push str.Unknown_address_type
push eax
call fcn.64056860
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4dc], 0x11
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
lea ecx, [esp + 0x74]
mov byte [esp + 0x4d8], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x6405723e
lea ecx, [esp + 0x28]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
mov ecx, dword [esi + 0x18]
add ecx, 8
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4dc], 0x10
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_char__
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3f]
push eax
lea ecx, [esp + 0x28]
call fcn.64056bf0
movzx ecx, byte [eax]
neg ecx
sbb ecx, ecx
test eax, ecx
jne 0x640571d8
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
call fcn.64054c00
lea ecx, [esp + 0x28]
jmp 0x64057232
lea ecx, [esp + 0x2c]
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 + 0x4dc], 0xf
call edi
push eax
lea ecx, [esp + 0x30]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_int_
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x47]
push eax
lea ecx, [esp + 0x28]
call fcn.64056bf0
movzx ecx, byte [eax]
neg ecx
sbb ecx, ecx
test eax, ecx
jne 0x6405722e
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x24]
call fcn.64054c00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4d8], bl
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x64057133
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
mov ecx, dword [esp + 0x4c]
push ecx
call dword [0x640df544]
lea ecx, [esp + 0x20]
mov byte [esp + 0x4d8], 0xb
call fcn.6404e9d0
jmp 0x640574a7
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2af9
je 0x640572d8
call esi
cmp eax, 0x2afc
je 0x640572d8
push 2
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
push 0
lea edx, [esp + 0x58]
push 0x640967c8
push edx
call fcn.64056860
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4dc], 0x13
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
lea ecx, [esp + 0x54]
mov byte [esp + 0x4d8], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x640574a7
push 1
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
push 0
lea eax, [esp + 0x5c]
push str.Host_not_found
push eax
call fcn.64056860
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4dc], 0x12
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
lea ecx, [esp + 0x58]
mov byte [esp + 0x4d8], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x640574a7
lea ecx, [esp + 0x24]
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 0x6405741d
mov ecx, dword [sym.imp.QtCore4.dll_struct_QListData::Data_QListData::shared_null]
mov dword [esp + 0x34], ecx
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QBasicAtomicInt::ref_void_]
movsx eax, word [esi + 8]
sub eax, 2
mov byte [esp + 0x4d8], 0x14
je 0x640573a1
push 2
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
push 0
lea ecx, [esp + 0x64]
push str.Unknown_address_type
push ecx
call fcn.64056860
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4dc], 0x16
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
lea ecx, [esp + 0x60]
mov byte [esp + 0x4d8], 0x14
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x640573f9
mov edi, dword [esi + 0xc]
mov esi, dword [edi]
test esi, esi
je 0x640573f9
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
lea ecx, [esp + 0x30]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
mov edx, dword [esi]
push edx
mov byte [esp + 0x4dc], 0x15
call ebx
push eax
lea ecx, [esp + 0x34]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_int_
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
call fcn.64054c00
lea ecx, [esp + 0x30]
mov byte [esp + 0x4d8], 0x14
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
mov esi, dword [edi + 4]
add edi, 4
test esi, esi
jne 0x640573b0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setAddresses_class_QList_class_QHostAddress__const__
lea ecx, [esp + 0x34]
mov byte [esp + 0x4d8], 0xb
call fcn.6404e9d0
jmp 0x640574a7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0
cmp eax, 0x2af9
jne 0x64057466
lea edx, [esp + 0x6c]
push str.Host_not_found
push edx
call fcn.64056860
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4dc], 0x17
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
lea ecx, [esp + 0x68]
mov byte [esp + 0x4d8], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 1
jmp 0x6405749e
lea eax, [esp + 0x74]
push 0x640967c8
push eax
call fcn.64056860
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4dc], 0x18
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setErrorString_class_QString_const__
lea ecx, [esp + 0x70]
mov byte [esp + 0x4d8], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 2
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_class_QHostInfo_const__
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x4d8], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QByteArray::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x4d8], 3
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::destructor_void_
lea ecx, [esp + 0x14]
mov byte [esp + 0x4d8], 1
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::destructor_void_
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4d8], 0
call sub.WS2_32.dll_WSACleanup
mov eax, ebp
mov ecx, dword [esp + 0x4d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.64082938
add esp, 0x4c8
ret