Function at 0x18009ea20
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [rcx]
mov rdi, rdx
mov rbx, qword [rcx + 8]
call qword [rax + 0x70]
test al, al
jne 0x18009ea6b
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.QNativeSocketEngine::setMulticastInterface___was_called_on_an_uninitialized_socket_device
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
cmp dword [rbx + 0x84], 1
je 0x18009eaa4
xor r9d, r9d
lea rcx, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::constructor_char_const____ptr64__int__char_const____ptr64____ptr64]
mov rcx, rax
lea rdx, str.QNativeSocketEngine::setMulticastInterface___was_called_by_a_socket_other_than_QAbstractSocket::UdpSocket
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMessageLogger::warning_char_const____ptr64_const___ptr64]
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp 0x1800a1660
push rbx
push rsi
push rdi
sub rsp, 0x40
mov eax, dword [rcx + 0x88]
mov rsi, rcx
dec eax
mov rdi, rdx
mov rcx, rdx
cmp eax, 1
jbe 0x1800a17dc
call sym.Qt5Network.dll_public:_bool___cdecl_QNetworkInterface::isValid_void_const___ptr64
test al, al
je 0x1800a17cd
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x68], rbp
mov rcx, rdi
call sym.Qt5Network.dll_public:_class_QList_class_QNetworkAddressEntry____cdecl_QNetworkInterface::addressEntries_void____ptr64
lea rcx, [rsp + 0x78]
xor ebx, ebx
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QListData::size_void_const___ptr64]
test eax, eax
jle 0x1800a1746
nop word [rax + rax]
mov edx, ebx
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::at_int_const___ptr64]
mov rcx, rax
lea rdx, [rsp + 0x30]
call sym.Qt5Network.dll_public:_class_QHostAddress___cdecl_QNetworkAddressEntry::ip_void____ptr64
lea rcx, [rsp + 0x30]
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___cdecl_QHostAddress::protocol_void____ptr64
test eax, eax
jne 0x1800a1727
lea rcx, [rsp + 0x30]
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 [rsi + 0xc0]
lea r9, [rsp + 0x60]
xor edx, edx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x20], 4
lea r8d, [rdx + 9]
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1800a17bb
lea rcx, [rsp + 0x30]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::destructor_void____ptr64
lea rcx, [rsp + 0x78]
inc ebx
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QListData::size_void_const___ptr64]
cmp ebx, eax
jl 0x1800a16c0
xor bpl, bpl
mov rdi, qword [rsp + 0x78]
mov eax, dword [rdi]
test eax, eax
je 0x1800a176a
cmp eax, 0xffffffff
je 0x1800a17aa
or eax, 0xffffffff
lock xadd dword [rdi], eax
sub eax, 1
jne 0x1800a17aa
mov rdi, qword [rsp + 0x78]
movsxd rax, dword [rdi + 0xc]
add rax, 2
lea rbx, [rdi + rax*8]
movsxd rax, dword [rdi + 8]
lea rsi, [rax + 2]
lea rsi, [rdi + rsi*8]
cmp rsi, rbx
je 0x1800a17a1
nop word [rax + rax]
sub rbx, 8
mov rcx, rbx
call sym.Qt5Network.dll_public:_void___cdecl_QNetworkAddressEntry::destructor_void____ptr64
cmp rbx, rsi
jne 0x1800a1790
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
movzx eax, bpl
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
lea rcx, [rsp + 0x30]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::destructor_void____ptr64
mov bpl, 1
jmp 0x1800a1749
xor ebx, ebx
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], ebx
xor edx, edx
jmp 0x1800a1803
call sym.Qt5Network.dll_public:_bool___cdecl_QNetworkInterface::isValid_void_const___ptr64
xor ebx, ebx
test al, al
je 0x1800a17f5
mov rcx, rdi
call sym.Qt5Network.dll_public:_int___cdecl_QNetworkInterface::index_void_const___ptr64
mov dword [rsp + 0x70], eax
jmp 0x1800a17f9
mov dword [rsp + 0x70], ebx
lea r9, [rsp + 0x70]
mov edx, 0x29
mov rcx, qword [rsi + 0xc0]
mov r8d, 9
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
setne al
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret