Function at 0x14008db8c
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1402bff08]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, qword [rsp + 0xe0]
mov rsi, rcx
mov r15d, 0xd0
mov r14, r9
mov ecx, r15d
movzx ebp, r8w
call fcn.1401cd1cc
xor r13d, r13d
mov rbx, rax
test rax, rax
jne 0x14008dbe4
xor eax, eax
jmp 0x14008de87
mov r8, r15
xor edx, edx
mov rcx, rbx
call fcn.1401c31c0
xorps xmm0, xmm0
mov eax, 2
movups xmmword [rsp + 0x40], xmm0
movzx ecx, bp
mov word [rsp + 0x40], ax
call qword [sym.imp.WS2_32.dll_htons]
xorps xmm0, xmm0
mov qword [rsp + 0x64], r13
mov word [rsp + 0x42], ax
movzx ecx, bp
mov eax, reloc.WS2_32.dll_socket
mov word [rsp + 0x50], ax
movdqu xmmword [rsp + 0x54], xmm0
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x52], ax
lea r12, [rbx + 0x68]
mov qword [rbx + 0x20], rsi
lea rax, str.ILibMulticastSocket
mov qword [rbx + 0x30], rax
lea rax, [0x14008db80]
mov qword [rbx + 0x10], rax
lea rax, [0x140001360]
mov qword [rbx + 0x78], rax
lea r15, [rbx + 0x6c]
mov rax, qword [rsp + 0xf0]
mov qword [rbx + 0x58], rax
mov word [rbx + 0x70], bp
mov dword [r12], 4
mov dword [r15], 1
test r14, r14
je 0x14008dd75
lea rax, [rbx + 0x80]
test rax, rax
jne 0x14008dcaa
call fcn.1401ccb48
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401cc7b8
jmp 0x14008dcb2
movups xmm0, xmmword [r14]
movdqu xmmword [rax], xmm0
cmp word [rbx + 0x82], r13w
jne 0x14008dccc
movzx ecx, bp
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbx + 0x82], ax
mov qword [rsp + 0x30], rbx
lea rax, [0x14008d3e0]
mov qword [rsp + 0x28], r13
lea r8, [rsp + 0x40]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rsi
call fcn.14008c1c0
mov qword [rbx + 0x40], rax
test rax, rax
jne 0x14008dd0d
mov rcx, rbx
call fcn.1401ccb68
jmp 0x14008dbdd
mov rcx, qword [rax + 0x30]
call fcn.14008e748
mov rax, qword [rbx + 0x40]
lea rcx, str.ILibMulticastSocketListener_v4
mov r14d, 4
mov r9, r12
xor edx, edx
mov dword [rsp + 0x20], r14d
mov qword [rax + 0x30], rcx
mov rcx, qword [rbx + 0x40]
lea r8d, [r14 + 6]
mov rcx, qword [rcx + 0x68]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x14008deaf
mov rcx, qword [rbx + 0x40]
lea r8d, [r14 + 7]
mov r9, r15
mov dword [rsp + 0x20], r14d
xor edx, edx
mov rcx, qword [rcx + 0x68]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x14008dedc
jmp 0x14008dd7b
mov r14d, 4
test rdi, rdi
je 0x14008de6f
mov qword [rsp + 0x30], rbx
lea rax, [0x14008d41c]
mov qword [rsp + 0x28], r13
lea r8, [rsp + 0x50]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rsi
call fcn.14008c1c0
mov qword [rbx + 0x48], rax
test rax, rax
je 0x14008de6f
mov rcx, qword [rax + 0x30]
call fcn.14008e748
mov rax, qword [rbx + 0x48]
lea rcx, str.ILibMulticastSocketListener_v6
mov qword [rax + 0x30], rcx
lea rcx, [rbx + 0x90]
test rcx, rcx
jne 0x14008ddf2
call fcn.1401ccb48
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401cc7b8
jmp 0x14008de08
movups xmm0, xmmword [rdi]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [rdi + 0x18]
mov dword [rcx + 0x18], eax
cmp word [rbx + 0x92], r13w
jne 0x14008de22
movzx ecx, bp
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbx + 0x92], ax
mov rcx, qword [rbx + 0x48]
mov edi, 0x29
mov r9, r12
mov dword [rsp + 0x20], r14d
mov edx, edi
mov rcx, qword [rcx + 0x68]
lea r8d, [rdi - 0x1f]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x14008df09
mov rcx, qword [rbx + 0x48]
lea r8d, [rdi - 0x1e]
mov r9, r15
mov dword [rsp + 0x20], r14d
mov edx, edi
mov rcx, qword [rcx + 0x68]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x14008df36
xor edx, edx
mov rcx, rbx
call fcn.14008d47c
mov rdx, rbx
mov rcx, rsi
call fcn.14008ef34
mov rax, rbx
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401c0ed0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x141
mov dword [rsp + 0x20], r13d
mov r9d, eax
lea rdx, str.X:XYO_SecurityDevelopmentMeshAgent.CustommicrostackILibMulticastSocket.c
xor ecx, ecx
call fcn.14009718c
mov ecx, 0xfd
call fcn.1401c761c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x142
mov dword [rsp + 0x20], r13d
mov r9d, eax
lea rdx, str.X:XYO_SecurityDevelopmentMeshAgent.CustommicrostackILibMulticastSocket.c
xor ecx, ecx
call fcn.14009718c
mov ecx, 0xfd
call fcn.1401c761c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x159
mov dword [rsp + 0x20], r13d
mov r9d, eax
lea rdx, str.X:XYO_SecurityDevelopmentMeshAgent.CustommicrostackILibMulticastSocket.c
xor ecx, ecx
call fcn.14009718c
mov ecx, 0xfd
call fcn.1401c761c
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x15a
mov dword [rsp + 0x20], r13d
mov r9d, eax
lea rdx, str.X:XYO_SecurityDevelopmentMeshAgent.CustommicrostackILibMulticastSocket.c
xor ecx, ecx
call fcn.14009718c
mov ecx, 0xfd
call fcn.1401c761c
int3