Function at 0x18009fbc0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x88
mov rax, qword [0x18012e760]
xor rax, rsp
mov qword [rbp + 7], rax
mov rdi, qword [rbp + 0x7f]
mov r14, rcx
mov rcx, r9
mov dword [rbp - 0x39], edx
mov rbx, r9
mov esi, r8d
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___cdecl_QHostAddress::protocol_void____ptr64
mov rcx, rbx
cmp eax, 1
jne 0x18009fc41
lea r15d, [rax + 0x28]
xor eax, eax
lea rdx, [rbp - 9]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
lea r12, [rbp - 0x21]
mov dword [rbp - 0x11], eax
lea r13d, [r15 - 0x15]
call sym.Qt5Network.dll_public:_class_QDeadlineTimer___cdecl_QNetworkAddressEntry::preferredLifetime_void____ptr64
movups xmm0, xmmword [rbp - 9]
mov rcx, rdi
movups xmmword [rbp - 0x21], xmm0
call sym.Qt5Network.dll_public:_int___cdecl_QNetworkInterface::index_void_const___ptr64
mov dword [rbp - 0x11], eax
jmp 0x18009fdcf
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___cdecl_QHostAddress::protocol_void____ptr64
test eax, eax
jne 0x18009fdfa
xor eax, eax
mov dword [rbp - 0x39], esi
xor r15d, r15d
mov qword [rbp - 0x29], rax
mov rcx, rbx
lea r12, [rbp - 0x29]
lea r13d, [r15 + 8]
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, rdi
mov dword [rbp - 0x29], eax
call sym.Qt5Network.dll_public:_bool___cdecl_QNetworkInterface::isValid_void_const___ptr64
test al, al
je 0x18009fdcb
lea rdx, [rbp - 0x41]
mov rcx, rdi
call sym.Qt5Network.dll_public:_class_QList_class_QNetworkAddressEntry____cdecl_QNetworkInterface::addressEntries_void____ptr64
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
lea rcx, [rbp - 0x41]
mov rbx, rax
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::end_void_const___ptr64]
mov rdi, rax
cmp rbx, rax
je 0x18009fcde
lea rdx, [rbp - 0x31]
mov rcx, rbx
call sym.Qt5Network.dll_public:_class_QHostAddress___cdecl_QNetworkAddressEntry::ip_void____ptr64
lea rcx, [rbp - 0x31]
call sym.Qt5Network.dll_public:_enum_QAbstractSocket::NetworkLayerProtocol___cdecl_QHostAddress::protocol_void____ptr64
lea rcx, [rbp - 0x31]
test eax, eax
je 0x18009fd51
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::destructor_void____ptr64
add rbx, r13
cmp rbx, rdi
jne 0x18009fcb0
mov edx, 7
mov rcx, r14
lea r8d, [rdx + 3]
call fcn.18009e750
mov rdi, qword [rbp - 0x41]
mov eax, dword [rdi]
test eax, eax
je 0x18009fd16
cmp eax, 0xffffffff
je 0x18009fe0d
or eax, 0xffffffff
lock xadd dword [rdi], eax
sub eax, 1
jne 0x18009fe0d
mov rdi, qword [rbp - 0x41]
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 0x18009fd43
sub rbx, r13
mov rcx, rbx
call sym.Qt5Network.dll_public:_void___cdecl_QNetworkAddressEntry::destructor_void____ptr64
cmp rbx, rsi
jne 0x18009fd33
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
jmp 0x18009fe0d
call sym.Qt5Network.dll_public:_int___cdecl_QHostInfo::lookupId_void_const___ptr64
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
lea rcx, [rbp - 0x31]
mov dword [rbp - 0x25], eax
call sym.Qt5Network.dll_public:_void___cdecl_QHostAddress::destructor_void____ptr64
mov rdi, qword [rbp - 0x41]
mov eax, dword [rdi]
test eax, eax
je 0x18009fd89
cmp eax, 0xffffffff
je 0x18009fdcf
or eax, 0xffffffff
lock xadd dword [rdi], eax
cmp eax, 1
jne 0x18009fdcf
mov rdi, qword [rbp - 0x41]
movsxd rbx, dword [rdi + 0xc]
movsxd rsi, dword [rdi + 8]
add rbx, 2
add rsi, 2
lea rbx, [rdi + rbx*8]
lea rsi, [rdi + rsi*8]
cmp rsi, rbx
je 0x18009fdc0
nop word [rax + rax]
sub rbx, r13
mov rcx, rbx
call sym.Qt5Network.dll_public:_void___cdecl_QNetworkAddressEntry::destructor_void____ptr64
cmp rbx, rsi
jne 0x18009fdb0
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
jmp 0x18009fdcf
mov dword [rbp - 0x25], r15d
mov r8d, dword [rbp - 0x39]
mov r9, r12
mov rcx, qword [r14 + 0xc0]
mov edx, r15d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x18009fdf6
lea r8d, [rax + 7]
jmp 0x18009fe00
mov al, 1
jmp 0x18009fe0f
mov r8d, 7
mov edx, 0xa
mov rcx, r14
call fcn.18009e750
xor al, al
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1800d83b0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret