Function at 0x1800a8590
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x180141758]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
movzx r14d, r8w
lea rcx, [rbp - 0x50]
call sym.Qt5Network.dll_public:_void___cdecl_QDnsDomainNameRecord::constructor_class_QDnsDomainNameRecord_const____ptr64____ptr64
lea rcx, [rbp - 0x50]
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___cdecl_QHostAddress::protocol_void____ptr64
test eax, eax
jne 0x1800a8607
lea rcx, [rbp - 0x50]
call sym.Qt5Network.dll_public:_int___cdecl_QHostInfo::lookupId_void_const___ptr64
and eax, 0xffff0000
cmp eax, 0xefff0000
jne 0x1800a8607
mov edx, 6
lea rcx, [rbp - 0x48]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::constructor_enum_QHostAddress::SpecialAddress____ptr64
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rax]
mov qword [rbp - 0x50], rcx
lea rcx, [rbp - 0x48]
mov qword [rax], rdx
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::destructor_void____ptr64
lea rcx, [rbp - 0x50]
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___cdecl_QHostAddress::protocol_void____ptr64
mov r15d, 2
cmp eax, 1
je 0x1800a8668
lea rcx, [rbp - 0x50]
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___cdecl_QHostAddress::protocol_void____ptr64
cmp eax, r15d
je 0x1800a8668
mov eax, dword [rbx + 0x70]
dec eax
cmp eax, 1
jbe 0x1800a8668
movzx ecx, r14w
mov qword [rbp - 0x38], 0
mov word [rbp - 0x40], r15w
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, [rbp - 0x50]
mov word [rbp - 0x3e], ax
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 - 0x3c], eax
lea esi, [r15 + 0xe]
jmp 0x1800a86c2
mov eax, 0x17
mov dword [rbp - 0x3c], 0
lea rdx, [rbp - 0x48]
mov word [rbp - 0x40], ax
lea rcx, [rbp - 0x50]
call sym.Qt5Network.dll_public:_class_QString___cdecl_QHostAddress::scopeId_void____ptr64
mov rcx, rax
call sym.Qt5Network.dll_public:_static_int___cdecl_QNetworkInterface::interfaceIndexFromName_class_QString_const____ptr64_
lea rcx, [rbp - 0x48]
mov dword [rbp - 0x28], eax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx ecx, r14w
call qword [sym.imp.WS2_32.dll_htons]
lea rdx, [rbp - 0x20]
mov word [rbp - 0x3e], ax
lea rcx, [rbp - 0x50]
call sym.Qt5Network.dll_public:_class_QDeadlineTimer___cdecl_QNetworkAddressEntry::preferredLifetime_void____ptr64
movups xmm0, xmmword [rbp - 0x20]
mov esi, 0x1c
movups xmmword [rbp - 0x38], xmm0
cmp word [rbp - 0x40], 0x17
jne 0x1800a870b
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x48], 0
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___cdecl_QHostAddress::protocol_void____ptr64
mov ecx, dword [rbp - 0x48]
lea r9, [rbp - 0x48]
mov edx, 1
mov dword [rsp + 0x20], 4
cmp eax, edx
cmove ecx, edx
mov edx, 0x29
mov dword [rbp - 0x48], ecx
mov rcx, qword [rbx + 0xa8]
lea r8d, [rdx - 0xe]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx + 0xa8]
lea rdx, [rbp - 0x40]
mov r8d, esi
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x1800a87df
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x273f
jne 0x1800a8786
lea rcx, [rbp - 0x50]
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___cdecl_QHostAddress::protocol_void____ptr64
cmp eax, r15d
jne 0x1800a8786
movzx ecx, r14w
mov word [rbp - 0x40], r15w
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, [rbp - 0x50]
mov word [rbp - 0x3e], ax
call sym.Qt5Network.dll_public:_int___cdecl_QHostInfo::lookupId_void_const___ptr64
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov rcx, qword [rbx + 0xa8]
lea rdx, [rbp - 0x40]
mov r8d, select
mov dword [rbp - 0x3c], eax
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x1800a87df
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x271d
je 0x1800a87ca
sub eax, 9
je 0x1800a87b5
sub eax, 0x1a
je 0x1800a87b5
cmp eax, 1
jne 0x1800a87db
lea edx, [rax + 8]
mov rcx, rbx
lea r8d, [rax + 0xe]
call fcn.1800a6c70
xor bl, bl
jmp 0x1800a87e8
mov edx, 8
mov rcx, rbx
lea r8d, [rdx + 6]
call fcn.1800a6c70
xor bl, bl
jmp 0x1800a87e8
mov edx, 3
mov rcx, rbx
lea r8d, [rdx + 0xd]
call fcn.1800a6c70
xor bl, bl
jmp 0x1800a87e8
mov dword [rbx + 0x68], 4
mov bl, 1
lea rcx, [rbp - 0x50]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::destructor_void____ptr64
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800e64c0
add rsp, 0x80
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret