Function at 0x1401740f0
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.140161fc0
test eax, eax
jne 0x140174359
mov rcx, rbx
call fcn.140161af0
mov edx, 1
movzx ecx, ax
lea r8d, [rdx + 5]
call fcn.140159880
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401741c7
test bpl, bpl
je 0x140174359
mov rcx, rbx
call fcn.140161af0
cmp ax, 0x17
jne 0x140174359
call fcn.14031577c
cmp dword [rax], 0x66
jne 0x140174359
cmp byte [rsi + 0x168], 0
je 0x140174359
xor r9d, r9d
movzx r8d, r14b
mov rdx, r15
mov rcx, rbx
call fcn.140161fc0
test eax, eax
jne 0x140174359
lea edx, [rdi + 2]
lea ecx, [rdi + 3]
lea r8d, [rdi + 7]
call fcn.140159880
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140174359
mov rcx, rbx
call fcn.140161af0
cmp ax, 0x17
jne 0x1401741dd
mov rcx, rdi
call fcn.140158890
mov edx, dword [rsi + 0x12c]
test edx, edx
je 0x1401741ef
mov rcx, rdi
call fcn.1401598e0
mov edx, dword [rsi + 0x130]
test edx, edx
je 0x140174201
mov rcx, rdi
call fcn.14014c150
cmp byte [rsi + 0x351], 0
lea r14, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_tcp.cpp
je 0x1401742ca
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 0x1401742ca
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x273d
je 0x1401742ca
call fcn.140146340
mov rbp, rax
test rax, rax
je 0x1401742ca
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14031c98c
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.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rbp
call fcn.140146920
cmp qword [rsi + 0x340], 0
je 0x14017437a
lea rdx, [rsi + 0x330]
mov rcx, rdi
call fcn.140155e90
cmp eax, 0xffffffff
jne 0x14017437a
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x140174359
call fcn.140146340
mov rdi, rax
test rax, rax
je 0x140174359
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14031c98c
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.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
mov rcx, rdi
call fcn.140146920
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 0x1401743b9
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.140158400
mov eax, dword [rsi + 0x128]
test eax, eax
js 0x1401743f8
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.140158400
mov rax, rdi
jmp 0x140174360