Function at 0x1800a6f40
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 0x1800a6f8b
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 + 0x6c], 1
je 0x1800a6fc1
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 0x1800a9be0
push rbx
push rdi
sub rsp, 0x48
mov eax, dword [rcx + 0x70]
mov rdi, rcx
dec eax
mov rbx, rdx
mov rcx, rdx
cmp eax, 1
jbe 0x1800a9d60
call sym.Qt5Network.dll_public:_bool___cdecl_QNetworkInterface::isValid_void_const___ptr64
test al, al
je 0x1800a9d51
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x68], rbp
mov rcx, rbx
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 0x1800a9cb8
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 0x1800a9c99
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 [rdi + 0xa8]
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 0x1800a9d3f
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 0x1800a9c32
xor bpl, bpl
mov rax, qword [rsp + 0x78]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800a9cde
cmp ecx, 0xffffffff
je 0x1800a9d2f
mov rax, qword [rsp + 0x78]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1800a9d2f
mov qword [rsp + 0x40], rsi
mov rsi, qword [rsp + 0x78]
movsxd rax, dword [rsi + 8]
lea rbx, [rsi + 0x10]
add rax, 2
lea rdi, [rsi + rax*8]
movsxd rax, dword [rsi + 0xc]
lea rbx, [rbx + rax*8]
cmp rbx, rdi
je 0x1800a9d21
nop word [rax + rax]
sub rbx, 8
mov rcx, rbx
call sym.Qt5Network.dll_public:_void___cdecl_QNetworkAddressEntry::destructor_void____ptr64
cmp rbx, rdi
jne 0x1800a9d10
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rsi, qword [rsp + 0x40]
movzx eax, bpl
mov rbp, qword [rsp + 0x68]
add rsp, 0x48
pop rdi
pop rbx
ret
lea rcx, [rsp + 0x30]
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::destructor_void____ptr64
mov bpl, 1
jmp 0x1800a9cbb
xor ebx, ebx
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], ebx
xor edx, edx
jmp 0x1800a9d85
call sym.Qt5Network.dll_public:_bool___cdecl_QNetworkInterface::isValid_void_const___ptr64
test al, al
je 0x1800a9d75
mov rcx, rbx
call sym.Qt5Network.dll_public:_int___cdecl_QNetworkInterface::index_void_const___ptr64
mov ebx, eax
jmp 0x1800a9d77
xor ebx, ebx
mov dword [rsp + 0x70], ebx
lea r9, [rsp + 0x70]
mov edx, 0x29
mov rcx, qword [rdi + 0xa8]
mov r8d, 9
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
setne al
add rsp, 0x48
pop rdi
pop rbx
ret