Function at 0x14016dd10
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rbx, qword [rsp + 0xa0]
movzx ebp, r9b
movzx r9d, byte [rdx + 0x168]
mov rsi, rdx
mov rdx, rcx
mov r15, rcx
mov rcx, rbx
movzx r14d, r8b
call fcn.14015ba30
test eax, eax
jne 0x14016df79
mov rcx, rbx
call fcn.14015b560
mov edx, 1
movzx ecx, ax
lea r8d, [rdx + 5]
call fcn.1401532f0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14016dde7
test bpl, bpl
je 0x14016df79
mov rcx, rbx
call fcn.14015b560
cmp ax, 0x17
jne 0x14016df79
call fcn.14030fe3c
cmp dword [rax], 0x66
jne 0x14016df79
cmp byte [rsi + 0x168], 0
je 0x14016df79
xor r9d, r9d
movzx r8d, r14b
mov rdx, r15
mov rcx, rbx
call fcn.14015ba30
test eax, eax
jne 0x14016df79
lea edx, [rdi + 2]
lea ecx, [rdi + 3]
lea r8d, [rdi + 7]
call fcn.1401532f0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14016df79
mov rcx, rbx
call fcn.14015b560
cmp ax, 0x17
jne 0x14016ddfd
mov rcx, rdi
call fcn.140152300
mov edx, dword [rsi + 0x12c]
test edx, edx
je 0x14016de0f
mov rcx, rdi
call fcn.140153350
mov edx, dword [rsi + 0x130]
test edx, edx
je 0x14016de21
mov rcx, rdi
call fcn.140146b80
cmp byte [rsi + 0x351], 0
lea r14, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_tcp.cpp
je 0x14016deea
xor ecx, ecx
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rcx
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov edx, 0x98000010
mov dword [rsp + 0x28], ecx
lea r9d, [rcx + 4]
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x88], ecx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x14016deea
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x273d
je 0x14016deea
call fcn.140142410
mov rbp, rax
test rax, rax
je 0x14016deea
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.140317644
mov rcx, rax
mov dword [rsp + 0x28], 0x135
mov r9d, ebx
mov qword [rsp + 0x20], r14
mov r8, rbp
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rbp
call fcn.1401429f0
cmp qword [rsi + 0x340], 0
je 0x14016df9a
lea rdx, [rsi + 0x330]
mov rcx, rdi
call fcn.14014f900
cmp eax, 0xffffffff
jne 0x14016df9a
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x14016df79
call fcn.140142410
mov rdi, rax
test rax, rax
je 0x14016df79
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.140317644
mov rcx, rax
mov dword [rsp + 0x28], 0x18d
mov r9d, ebx
mov qword [rsp + 0x20], r14
mov r8, rdi
lea rdx, str.Assertion_failed:__s___i____s:_d__n
call fcn.140141c40
mov ecx, 2
call fcn.140317644
mov rcx, rax
call fcn.140317a9c
mov rcx, rdi
call fcn.1401429f0
mov rax, 0xffffffffffffffff
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov eax, dword [rsi + 0x124]
test eax, eax
js 0x14016dfd9
lea r9, [rsp + 0x88]
mov dword [rsp + 0x88], eax
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1001
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edx, eax
mov rcx, rdi
call fcn.140151e70
mov eax, dword [rsi + 0x128]
test eax, eax
js 0x14016e018
lea r9, [rsp + 0x88]
mov dword [rsp + 0x88], eax
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1002
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edx, eax
mov rcx, rdi
call fcn.140151e70
mov rax, rdi
jmp 0x14016df80