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

Disassembly:
push 0xffffffffffffffff
push 0x6407df37
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x640ba34c]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x640ba34c]
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.6406a690
mov al, byte [0x640ba43c]
test al, al
mov dword [esp + 0x4d8], 1
jne 0x6405524d
push 0x640ba434
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 [0x640ba43c]
test cl, cl
mov byte [esp + 0x4d8], 2
jne 0x6405522c
call fcn.64054f30
mov byte [0x640ba43c], 1
mov ecx, dword [esp + 0x48]
test cl, 1
mov byte [esp + 0x4d8], 1
je 0x6405524d
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 0x6405550c
cmp dword [0x640ba430], 0
je 0x640553bc
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___thiscall_QHostAddress::protocol_void_
test eax, eax
lea ecx, [esp + 0x18]
jne 0x640552e6
mov dword [esp + 0xb8], eax
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], 2
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 0x64055363
xor eax, eax
lea edx, [esp + 0x8c]
mov dword [esp + 0x9c], eax
push edx
lea esi, [esp + 0xa0]
mov edi, 0x1c
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 dword [esp + 0xb8], eax
mov word [esp + 0xa0], 0x17
call sym.QtNetwork4.dll_public:_class_QIPv6Address___thiscall_QHostAddress::toIPv6Address_void_
mov ecx, dword [eax]
mov dword [esp + 0xa4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xa8], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0xac], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0xb0], edx
push 0
push 0
push 0
push 0x401
lea eax, [esp + 0xd8]
push eax
push edi
push esi
call dword [0x640ba430]
test eax, eax
jne 0x64055446
push 0xffffffffffffffff
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0x8c]
push edx
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 0x64055438
lea eax, [esp + 0x50]
push eax
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 ecx, [esp + 0x64]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
je 0x64055446
mov edx, dword [eax]
push 0xffffffffffffffff
push edx
lea eax, [esp + 0x88]
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], 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 ecx, [esp + 0x64]
push ecx
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 0x640554ae
lea edx, [esp + 0x78]
push edx
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 eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x4dc], 0xa
call fcn.64052f00
lea ecx, [esp + 0x44]
push ecx
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.6404c980
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_class_QHostInfo_const__
mov dword [esp + 0x1c], 1
jmp 0x64055a0d
lea eax, [esp + 0x24]
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 + 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 0x64055606
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]
test al, al
push 0
je 0x6405557c
lea ecx, [esp + 0x80]
push str.No_host_name_given
push ecx
call fcn.64054f00
add esp, 0xc
mov byte [esp + 0x4d8], 0xc
mov ebx, 2
jmp 0x6405559e
lea edx, [esp + 0x70]
push str.Invalid_hostname
push edx
call fcn.64054f00
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__
test bl, 4
mov dword [esp + 0x4d8], 0xc
je 0x640555cd
and ebx, 0xfffffffb
lea ecx, [esp + 0x6c]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
test bl, 2
mov dword [esp + 0x4d8], 0xb
je 0x640555ee
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 eax, [esp + 0x14]
push eax
mov ecx, ebp
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::constructor_class_QHostInfo_const__
or ebx, 1
mov dword [esp + 0x1c], ebx
jmp 0x640559fb
cmp dword [0x640ba434], 0
je 0x6405585b
cmp dword [0x640ba438], 0
je 0x6405585b
lea ecx, [esp + 0x4c]
push ecx
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 [0x640ba434]
test eax, eax
jne 0x640557b3
lea ecx, [esp + 0x20]
call fcn.6404c0e0
mov esi, dword [esp + 0x4c]
test esi, esi
mov bl, 0xe
mov byte [esp + 0x4d8], bl
je 0x64055784
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
jmp 0x64055670
mov eax, dword [esi + 4]
sub eax, 2
je 0x6405571a
sub eax, 0x15
je 0x640556c8
push 2
lea ecx, [esp + 0x18]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostInfo::setError_enum_QHostInfo::HostInfoError_
push 0
lea edx, [esp + 0x78]
push str.Unknown_address_type
push edx
call fcn.64054f00
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 0x64055779
lea ecx, [esp + 0x28]
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::constructor_void_
mov eax, dword [esi + 0x18]
add eax, 8
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4dc], 0x10
call sym.QtNetwork4.dll_public:_void___thiscall_QHostAddress::setAddress_unsigned_char__
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x3f]
push edx
lea ecx, [esp + 0x28]
call fcn.64055130
mov cl, byte [eax]
neg cl
sbb ecx, ecx
test eax, ecx
jne 0x64055714
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
call fcn.64052f00
lea ecx, [esp + 0x28]
jmp 0x6405576d
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.64055130
mov cl, byte [eax]
neg cl
sbb ecx, ecx
test eax, ecx
jne 0x64055769
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x24]
call fcn.64052f00
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 0x64055670
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 [0x640ba438]
lea ecx, [esp + 0x20]
mov byte [esp + 0x4d8], 0xb
call fcn.6404c980
jmp 0x640559e7
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call esi
cmp eax, 0x2af9
je 0x64055813
call esi
cmp eax, 0x2afc
je 0x64055813
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 0x64083718
push edx
call fcn.64054f00
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 0x640559e7
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.64054f00
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 0x640559e7
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 0x6405595d
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 0x640558dc
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.64054f00
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 0x64055939
mov edi, dword [esi + 0xc]
mov esi, dword [edi]
test esi, esi
je 0x64055939
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
jmp 0x640558f0
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.64052f00
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 0x640558f0
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.6404c980
jmp 0x640559e7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2af9
push 0
jne 0x640559a6
lea edx, [esp + 0x6c]
push str.Host_not_found
push edx
call fcn.64054f00
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 0x640559de
lea eax, [esp + 0x74]
push 0x64083718
push eax
call fcn.64054f00
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.6406fa0a
add esp, 0x4c8
ret