Function at 0x140077798
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 [0x140271510]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rcx
mov r15d, 0xc8
mov ecx, r15d
mov rdi, r9
movzx r14d, r8w
call fcn.140176110
xor r13d, r13d
mov rbx, rax
test rax, rax
jne 0x1400777ea
xor eax, eax
jmp 0x140077a1e
mov r8, r15
xor edx, edx
mov rcx, rbx
call fcn.14016ef40
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]
mov word [rbp - 0x2e], ax
lea r15, [rbx + 0x60]
mov qword [rbx + 0x18], rsi
lea rax, str.ILibMulticastSocket
mov qword [rbx + 0x28], rax
lea rax, [0x14007778c]
mov qword [rbx + 0x10], rax
lea rax, [0x14000128c]
mov qword [rbx + 0x70], rax
lea r12, [rbx + 0x64]
mov rax, qword [rbp + 0x70]
mov qword [rbx + 0x50], rax
mov word [rbx + 0x68], r14w
mov dword [r15], 4
mov dword [r12], 1
test rdi, rdi
je 0x140077936
movups xmm0, xmmword [rdi]
movdqu xmmword [rbx + 0x78], xmm0
cmp word [rbx + 0x7a], r13w
jne 0x1400778af
movzx ecx, r14w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbx + 0x7a], ax
mov qword [rsp + 0x30], rbx
lea rax, [0x1400770a0]
mov qword [rsp + 0x28], r13
lea r8, [rbp - 0x40]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rsi
call fcn.140075fb0
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x1400778ef
mov rcx, rbx
call fcn.140174cc8
jmp 0x1400777e3
mov rcx, qword [rax + 0x60]
mov edi, 4
mov r9, r15
mov dword [rsp + 0x20], edi
xor edx, edx
lea r8d, [rdi + 6]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x140077a45
mov rax, qword [rbx + 0x38]
lea r8d, [rdi + 7]
mov r9, r12
mov dword [rsp + 0x20], edi
xor edx, edx
mov rcx, qword [rax + 0x60]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x140077a72
mov rdi, qword [rbp + 0x60]
test rdi, rdi
je 0x140077a06
mov qword [rsp + 0x30], rbx
lea rax, [0x1400770dc]
mov qword [rsp + 0x28], r13
lea r8, [rbp - 0x30]
mov r9d, 1
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rsi
call fcn.140075fb0
mov qword [rbx + 0x40], rax
test rax, rax
je 0x140077a06
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x88], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rbx + 0x98], xmm1
mov eax, dword [rdi + 0x18]
mov dword [rbx + 0xa0], eax
cmp word [rbx + 0x8a], r13w
jne 0x1400779b5
movzx ecx, r14w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbx + 0x8a], ax
mov rax, qword [rbx + 0x40]
mov edi, 4
mov r9, r15
mov dword [rsp + 0x20], edi
mov rcx, qword [rax + 0x60]
lea r14d, [rdi + 0x25]
mov edx, r14d
lea r8d, [rdi + 6]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x140077a9f
mov rax, qword [rbx + 0x40]
lea r8d, [rdi + 7]
mov r9, r12
mov dword [rsp + 0x20], edi
mov edx, r14d
mov rcx, qword [rax + 0x60]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x140077acc
xor edx, edx
mov rcx, rbx
call fcn.14007713c
mov rdx, rbx
mov rcx, rsi
call fcn.1400785d4
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14016d990
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, 0x140
mov dword [rsp + 0x20], r13d
mov r9d, eax
lea rdx, str...microstackILibMulticastSocket.c
xor ecx, ecx
call fcn.14007ddcc
mov ecx, 0xfd
call fcn.140170088
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x141
mov dword [rsp + 0x20], r13d
mov r9d, eax
lea rdx, str...microstackILibMulticastSocket.c
xor ecx, ecx
call fcn.14007ddcc
mov ecx, 0xfd
call fcn.140170088
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x156
mov dword [rsp + 0x20], r13d
mov r9d, eax
lea rdx, str...microstackILibMulticastSocket.c
xor ecx, ecx
call fcn.14007ddcc
mov ecx, 0xfd
call fcn.140170088
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x157
mov dword [rsp + 0x20], r13d
mov r9d, eax
lea rdx, str...microstackILibMulticastSocket.c
xor ecx, ecx
call fcn.14007ddcc
mov ecx, 0xfd
call fcn.140170088
int3