Function at 0x14009e7f8
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140301ed0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, qword [rbp + 0x60]
mov rsi, rcx
mov r12d, 0xd0
mov r15, r9
mov ecx, r12d
movzx r14d, r8w
call fcn.1401e3650
mov rbx, rax
test rax, rax
jne 0x14009e84b
xor eax, eax
jmp 0x14009eaf3
mov r8, r12
xor edx, edx
mov rcx, rbx
call fcn.1401dacf0
xor eax, eax
movzx ecx, r14w
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov eax, 2
mov word [rbp - 0x40], ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x3e], ax
movzx ecx, r14w
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], eax
mov eax, reloc.WS2_32.dll_socket
mov word [rbp - 0x30], ax
call qword [sym.imp.WS2_32.dll_htons]
lea rcx, str.ILibMulticastSocket
mov word [rbp - 0x2e], ax
call fcn.14009f08c
mov qword [rbx + 0x30], rax
lea rax, [0x14009e7ec]
mov qword [rbx + 0x10], rax
lea rax, [0x140001338]
mov qword [rbx + 0x78], rax
lea r13, [rbx + 0x68]
mov rax, qword [rbp + 0x70]
lea r12, [rbx + 0x6c]
mov qword [rbx + 0x58], rax
mov qword [rbx + 0x20], rsi
mov word [rbx + 0x70], r14w
mov dword [r13], 4
mov dword [r12], 1
test r15, r15
je 0x14009e9e2
lea rax, [rbx + 0x80]
test rax, rax
jne 0x14009e917
call fcn.1401e20b0
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401e1350
jmp 0x14009e91e
movups xmm0, xmmword [r15]
movups xmmword [rax], xmm0
xor r15d, r15d
cmp word [rbx + 0x82], r15w
jne 0x14009e93c
movzx ecx, r14w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbx + 0x82], ax
mov qword [rsp + 0x30], rbx
lea rax, [0x14009e06c]
mov qword [rsp + 0x28], r15
lea r8, [rbp - 0x40]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rsi
call fcn.14009cf04
mov qword [rbx + 0x40], rax
test rax, rax
jne 0x14009e97c
mov rcx, rbx
call fcn.1401e2208
jmp 0x14009e844
mov rcx, qword [rax + 0x30]
call fcn.14009f478
mov rax, qword [rbx + 0x40]
lea rcx, str.ILibMulticastSocketListener_v4
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9, r13
mov qword [rax + 0x30], rcx
mov rax, qword [rbx + 0x40]
lea r8d, [rdx + 0xa]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x14009eb1a
mov rax, qword [rbx + 0x40]
xor edx, edx
mov r9, r12
mov dword [rsp + 0x20], 4
mov rcx, qword [rax + 0x68]
lea r8d, [rdx + 0xb]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x14009eb47
test rdi, rdi
je 0x14009eadb
mov qword [rsp + 0x30], rbx
lea rax, [0x14009e0a8]
mov qword [rsp + 0x28], r15
lea r8, [rbp - 0x30]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rsi
call fcn.14009cf04
mov qword [rbx + 0x48], rax
test rax, rax
je 0x14009eadb
mov rcx, qword [rax + 0x30]
call fcn.14009f478
mov rax, qword [rbx + 0x48]
lea rcx, str.ILibMulticastSocketListener_v6
mov qword [rax + 0x30], rcx
lea rcx, [rbx + 0x90]
test rcx, rcx
jne 0x14009ea58
call fcn.1401e20b0
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401e1350
jmp 0x14009ea6e
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], r15w
jne 0x14009ea89
movzx ecx, r14w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbx + 0x92], ax
mov rax, qword [rbx + 0x48]
mov r14d, 4
mov r9, r13
mov dword [rsp + 0x20], r14d
mov rcx, qword [rax + 0x68]
lea edi, [r14 + 0x25]
mov edx, edi
lea r8d, [r14 + 6]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x14009eb74
mov rax, qword [rbx + 0x48]
lea r8d, [r14 + 7]
mov r9, r12
mov dword [rsp + 0x20], r14d
mov edx, edi
mov rcx, qword [rax + 0x68]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x14009eba1
xor edx, edx
mov rcx, rbx
call fcn.14009e108
mov rdx, rbx
mov rcx, rsi
call fcn.1400a0168
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401d9820
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], r15d
mov r9d, eax
lea rdx, str...microstackILibMulticastSocket.c
xor ecx, ecx
call fcn.1400a8e8c
mov ecx, 0xfd
call fcn.1401dbf18
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x142
mov dword [rsp + 0x20], r15d
mov r9d, eax
lea rdx, str...microstackILibMulticastSocket.c
xor ecx, ecx
call fcn.1400a8e8c
mov ecx, 0xfd
call fcn.1401dbf18
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x159
mov dword [rsp + 0x20], r15d
mov r9d, eax
lea rdx, str...microstackILibMulticastSocket.c
xor ecx, ecx
call fcn.1400a8e8c
mov ecx, 0xfd
call fcn.1401dbf18
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x15a
mov dword [rsp + 0x20], r15d
mov r9d, eax
lea rdx, str...microstackILibMulticastSocket.c
xor ecx, ecx
call fcn.1400a8e8c
mov ecx, 0xfd
call fcn.1401dbf18
int3