Function at 0x180087910
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x18012e760]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov r13, rcx
xor esi, esi
lea rcx, [rbp - 0x68]
mov dword [rsp + 0x40], esi
mov rbx, rdx
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QSysInfo::machineHostName_void_]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
or r14d, 0xffffffff
lea rcx, [rsp + 0x40]
mov edx, r14d
call sym.Qt5Network.dll_public:_void___cdecl_QHostInfo::constructor_int____ptr64
lea rcx, [rsp + 0x50]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::constructor_void____ptr64
mov rdx, rbx
lea rcx, [rsp + 0x50]
call sym.Qt5Network.dll_public:_bool___cdecl_QHostAddress::setAddress_class_QString_const____ptr64____ptr64
test al, al
je 0x180087b82
lea rcx, [rsp + 0x50]
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___cdecl_QHostAddress::protocol_void____ptr64
lea rcx, [rsp + 0x50]
test eax, eax
jne 0x1800879d1
xor eax, eax
lea rbx, [rbp - 0x48]
mov qword [rbp - 0x48], rax
lea edi, [rsi + 0x10]
mov r12d, 2
mov qword [rbp - 0x40], rax
mov word [rbp - 0x48], r12w
call sym.Qt5Network.dll_public:_int___cdecl_QHostInfo::lookupId_void_const___ptr64
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x44], eax
jmp 0x180087a04
xor eax, eax
lea rdx, [rbp - 0x18]
mov qword [rbp - 0x38], rax
lea rbx, [rbp - 0x38]
mov qword [rbp - 0x30], rax
mov edi, 0x1c
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], eax
mov eax, 0x17
mov word [rbp - 0x38], ax
call sym.Qt5Network.dll_public:_class_QDeadlineTimer___cdecl_QNetworkAddressEntry::preferredLifetime_void____ptr64
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x30], esi
lea r8, [rbp]
mov dword [rsp + 0x28], esi
mov r9d, 0x401
mov edx, edi
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x180087a52
mov r8d, r14d
lea rdx, [rbp]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const____ptr64__int_]
mov rdx, rax
lea rcx, [rsp + 0x40]
call sym.Qt5Network.dll_public:_void___cdecl_QHostInfo::setHostName_class_QString_const____ptr64____ptr64
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x40]
call sym.Qt5Network.dll_public:_class_QString___cdecl_QDnsMailExchangeRecord::exchange_void____ptr64
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QString::isEmpty_void_const___ptr64]
lea rcx, [rbp - 0x58]
movzx ebx, al
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
test bl, bl
je 0x180087a9f
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call sym.Qt5Network.dll_public:_class_QString___cdecl_QHostAddress::toString_void____ptr64
mov rdx, rax
lea rcx, [rsp + 0x40]
call sym.Qt5Network.dll_public:_void___cdecl_QHostInfo::setHostName_class_QString_const____ptr64____ptr64
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
cmp dword [rax], 1
jbe 0x180087ac7
mov edx, 0x7fffffff
mov r8d, 1
call fcn.18007e6a0
jmp 0x180087acd
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov ecx, 8
mov rbx, rax
call fcn.1800d7bb4
lea rdx, [rsp + 0x50]
mov rcx, rax
call sym.Qt5Network.dll_public:_void___cdecl_QDnsDomainNameRecord::constructor_class_QDnsDomainNameRecord_const____ptr64____ptr64
lea rdx, [rsp + 0x58]
mov qword [rbx], rax
lea rcx, [rsp + 0x40]
call sym.Qt5Network.dll_public:_void___cdecl_QHostInfo::setAddresses_class_QList_class_QHostAddress__const____ptr64____ptr64
mov rsi, qword [rsp + 0x58]
mov eax, dword [rsi]
test eax, eax
je 0x180087b19
cmp eax, 0xffffffff
je 0x180087b70
lock xadd dword [rsi], r14d
cmp r14d, 1
jne 0x180087b70
mov rsi, qword [rsp + 0x58]
movsxd rbx, dword [rsi + 0xc]
movsxd r14, dword [rsi + 8]
add rbx, 2
add r14, 2
lea rbx, [rsi + rbx*8]
lea r14, [rsi + r14*8]
cmp r14, rbx
je 0x180087b67
nop word [rax + rax]
mov rdi, qword [rbx - 8]
sub rbx, 8
test rdi, rdi
je 0x180087b62
mov rcx, rdi
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::destructor_void____ptr64
mov edx, 8
mov rcx, rdi
call fcn.1800d7bf0
cmp rbx, r14
jne 0x180087b40
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
lea rdx, [rsp + 0x40]
mov rcx, r13
call sym.Qt5Network.dll_public:_void___cdecl_QHostInfo::constructor_class_QHostInfo_const____ptr64____ptr64
jmp 0x180087f0c
mov rdx, rbx
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QByteArray___cdecl_QUrl::toAce_class_QString_const____ptr64_]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call sym.Qt5Network.dll_public:_void___cdecl_QHostInfo::setHostName_class_QString_const____ptr64____ptr64
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QByteArray::isEmpty_void_const___ptr64]
test al, al
je 0x180087c4b
mov r15d, 1
lea rcx, [rsp + 0x40]
mov edx, r15d
call sym.Qt5Network.dll_public:_void___cdecl_QHostInfo::setError_enum_QHostInfo::HostInfoError____ptr64
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QString::isEmpty_void_const___ptr64]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
lea rcx, [0x18012e5d8]
test al, al
je 0x180087bf6
lea r8, str.No_host_name_given
lea rdx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
lea rdx, [rbp - 0x80]
jmp 0x180087c13
lea r8, str.Invalid_hostname
lea rdx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
lea rdx, [rsp + 0x78]
mov r15d, 2
lea rcx, [rsp + 0x40]
call sym.Qt5Network.dll_public:_void___cdecl_QHostInfo::setErrorString_class_QString_const____ptr64____ptr64
test r15b, 2
je 0x180087c32
and r15d, 0xfffffffd
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
test r15b, 1
je 0x180087ef4
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x180087ef4
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_char_const____ptr64___cdecl_QByteArray::constData_void_const___ptr64]
lea r9, [rbp - 0x70]
xor r8d, r8d
mov rcx, rax
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x180087ee2
mov rsi, qword [rbp - 0x70]
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rsp + 0x48], rax
test rsi, rsi
je 0x180087e52
mov r12d, 2
lea r15d, [r12 - 1]
mov eax, dword [rsi + 4]
cmp eax, r12d
je 0x180087d95
cmp eax, 0x17
je 0x180087cef
mov edx, r12d
lea rcx, [rsp + 0x40]
call sym.Qt5Network.dll_public:_void___cdecl_QHostInfo::setError_enum_QHostInfo::HostInfoError____ptr64
xor r9d, r9d
mov dword [rsp + 0x20], r14d
lea r8, str.Unknown_address_type
lea rdx, [rbp - 0x78]
lea rcx, [0x18012e5d8]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x40]
call sym.Qt5Network.dll_public:_void___cdecl_QHostInfo::setErrorString_class_QString_const____ptr64____ptr64
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x180087e45
lea rcx, [rsp + 0x60]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::constructor_void____ptr64
mov rdx, qword [rsi + 0x20]
lea rcx, [rsp + 0x60]
add rdx, 8
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::setAddress_class_QIPv6Address_const____ptr64____ptr64
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::end_void_const___ptr64]
lea rcx, [rsp + 0x48]
mov rdi, rax
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov rbx, rax
cmp rax, rdi
je 0x180087d4a
nop dword [rax]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x60]
call sym.Qt5Network.dll_public:_bool___cdecl_QHostAddress::operator_class_QHostAddress_const____ptr64_const___ptr64
test al, al
jne 0x180087d8b
add rbx, 8
cmp rbx, rdi
jne 0x180087d30
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
cmp dword [rax], r15d
jbe 0x180087d68
mov r8d, r15d
mov edx, 0x7fffffff
call fcn.18007e6a0
jmp 0x180087d6e
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov ecx, 8
mov rbx, rax
call fcn.1800d7bb4
lea rdx, [rsp + 0x60]
mov rcx, rax
call sym.Qt5Network.dll_public:_void___cdecl_QDnsDomainNameRecord::constructor_class_QDnsDomainNameRecord_const____ptr64____ptr64
mov qword [rbx], rax
lea rcx, [rsp + 0x60]
jmp 0x180087e40
lea rcx, [rsp + 0x68]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::constructor_void____ptr64
mov rax, qword [rsi + 0x20]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_ntohl]
mov edx, eax
lea rcx, [rsp + 0x68]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::setAddress_unsigned_int____ptr64
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::end_void_const___ptr64]
lea rcx, [rsp + 0x48]
mov rdi, rax
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov rbx, rax
cmp rax, rdi
je 0x180087dfa
nop dword [rax]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x68]
call sym.Qt5Network.dll_public:_bool___cdecl_QHostAddress::operator_class_QHostAddress_const____ptr64_const___ptr64
test al, al
jne 0x180087e3b
add rbx, 8
cmp rbx, rdi
jne 0x180087de0
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
cmp dword [rax], r15d
jbe 0x180087e18
mov r8d, r15d
mov edx, 0x7fffffff
call fcn.18007e6a0
jmp 0x180087e1e
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov ecx, 8
mov rbx, rax
call fcn.1800d7bb4
lea rdx, [rsp + 0x68]
mov rcx, rax
call sym.Qt5Network.dll_public:_void___cdecl_QDnsDomainNameRecord::constructor_class_QDnsDomainNameRecord_const____ptr64____ptr64
mov qword [rbx], rax
lea rcx, [rsp + 0x68]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::destructor_void____ptr64
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x180087c94
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call sym.Qt5Network.dll_public:_void___cdecl_QHostInfo::setAddresses_class_QList_class_QHostAddress__const____ptr64____ptr64
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rsi, qword [rsp + 0x48]
mov eax, dword [rsi]
test eax, eax
je 0x180087e8b
cmp eax, 0xffffffff
je 0x180087ef4
lock xadd dword [rsi], r14d
cmp r14d, 1
jne 0x180087ef4
mov rsi, qword [rsp + 0x48]
movsxd rbx, dword [rsi + 0xc]
movsxd r14, dword [rsi + 8]
add rbx, 2
add r14, 2
lea rbx, [rsi + rbx*8]
lea r14, [rsi + r14*8]
cmp r14, rbx
je 0x180087ed7
nop dword [rax + rax]
mov rdi, qword [rbx - 8]
sub rbx, 8
test rdi, rdi
je 0x180087ed2
mov rcx, rdi
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::destructor_void____ptr64
mov edx, 8
mov rcx, rdi
call fcn.1800d7bf0
cmp rbx, r14
jne 0x180087eb0
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
jmp 0x180087ef4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
lea rdx, [rsp + 0x40]
call fcn.180087f50
lea rdx, [rsp + 0x40]
mov rcx, r13
call sym.Qt5Network.dll_public:_void___cdecl_QHostInfo::constructor_class_QHostInfo_const____ptr64____ptr64
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
lea rcx, [rsp + 0x50]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::destructor_void____ptr64
lea rcx, [rsp + 0x40]
call sym.Qt5Network.dll_public:_void___cdecl_QHostInfo::destructor_void____ptr64
mov rax, r13
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.1800d83b0
mov rbx, qword [rsp + 0x570]
add rsp, 0x520
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret