Function at 0x14017dca0
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x140431178]
xor rax, rsp
mov qword [rbp + 0x17], rax
cmp byte [rcx + 0x50], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14017dd21
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x20], 0x4f
lea r9, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcudp_engine.cpp
lea r8, str.__plugged
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
lea rcx, str.__plugged
call fcn.140146920
cmp qword [rbx + 0x60], 0
mov byte [rbx + 0x50], 1
je 0x14017dd79
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x20], 0x52
lea r9, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcudp_engine.cpp
lea r8, str.__session
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
lea rcx, str.__session
call fcn.140146920
test rdi, rdi
jne 0x14017ddc7
lea ecx, [rdi + 2]
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x20], 0x53
lea r9, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcudp_engine.cpp
lea r8, str.session_
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140145b70
lea ecx, [rdi + 2]
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
lea rcx, str.session_
call fcn.140146920
mov rdx, rsi
mov qword [rbx + 0x60], rdi
lea rcx, [rbx - 0x10]
call fcn.140178310
mov rdx, qword [rbx + 0x58]
lea rcx, [rbx - 0x10]
call fcn.140178220
mov qword [rbx + 0x68], rax
xor r14d, r14d
mov rax, qword [rbx + 0x70]
mov r12, qword [rax + 0x48]
cmp qword [rbx + 0x3b8], r14
je 0x14017de31
mov rcx, qword [rbx + 0x58]
lea rdx, [rbx + 0x3a8]
call fcn.140155e90
mov r14d, eax
test eax, eax
je 0x14017de31
mov rcx, qword [rbx + 0x58]
mov edx, eax
call fcn.140158400
mov edx, 1
lea rcx, [rbx - 0x10]
call fcn.14017cf40
jmp 0x14017e213
cmp byte [rbx + 0x451c], 0
mov qword [rsp + 0x120], r13
je 0x14017dfa1
cmp byte [rbx + 0x1eb], 0
jne 0x14017df89
mov rcx, r12
call fcn.140167570
mov rcx, rax
mov rdi, rax
call fcn.14014b420
mov rcx, rdi
mov qword [rbx + 0x510], rax
call fcn.140178180
mov rcx, rdi
mov dword [rbx + 0x518], eax
call fcn.140177270
test al, al
je 0x14017dfa1
mov rcx, rdi
call fcn.140177250
mov rsi, qword [rbx + 0x58]
lea r9, [rbp - 0x79]
cmp eax, 0x17
mov dword [rsp + 0x20], 4
mov r8d, reloc.WS2_32.dll_inet_addr
mov rcx, rsi
sete r13b
xor edx, edx
cmp eax, 0x17
mov eax, 0x29
cmove edx, eax
xor eax, eax
cmp byte [rbx + 0x3ca], al
setne al
mov dword [rbp - 0x79], eax
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edx, eax
mov rcx, rsi
mov edi, eax
call fcn.140158400
mov eax, dword [rbx + 0x194]
or r14d, edi
test eax, eax
jle 0x14017df29
mov rsi, qword [rbx + 0x58]
lea r9, [rbp - 0x79]
mov dword [rbp - 0x79], eax
mov r8d, 0xa
movzx eax, r13b
mov dword [rsp + 0x20], 4
neg al
mov rcx, rsi
sbb edx, edx
and edx, 0x29
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edx, eax
mov rcx, rsi
mov edi, eax
call fcn.140158400
or r14d, edi
mov rsi, qword [rbx + 0x58]
xor edi, edi
mov rcx, r12
test r13b, r13b
je 0x14017df4c
call fcn.1401671c0
mov dword [rbp - 0x79], eax
test eax, eax
jle 0x14017df7a
lea r9, [rbp - 0x79]
lea edx, [rdi + 0x29]
jmp 0x14017df61
call fcn.1401671b0
mov edx, dword [rax + 4]
mov dword [rbp - 0x71], edx
test edx, edx
je 0x14017df7a
lea r9, [rbp - 0x71]
xor edx, edx
mov r8d, 9
mov dword [rsp + 0x20], 4
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
mov edx, edi
mov rcx, rsi
call fcn.140158400
or r14d, edi
jmp 0x14017dfa1
lea rax, [rbx + 0x500]
mov dword [rbx + 0x518], 0x10
mov qword [rbx + 0x510], rax
cmp byte [rbx + 0x451d], 0
je 0x14017e182
mov rsi, qword [rbx + 0x58]
lea r9, [rbp - 0x71]
mov rcx, rsi
mov dword [rbp - 0x71], 1
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edx, eax
mov rcx, rsi
mov edi, eax
call fcn.140158400
mov rcx, r12
or r14d, edi
call fcn.1401671b0
mov rcx, rax
mov rsi, rax
call fcn.140177250
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.1401771a0
mov rcx, r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x69], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x59], xmm1
mov eax, dword [rax + 0x18]
mov dword [rbp - 0x51], eax
call fcn.1401671e0
movzx r13d, al
test al, al
je 0x14017e045
mov rcx, rsi
call fcn.1401772b0
movzx edx, ax
lea rcx, [rbp - 0x69]
call fcn.140178160
lea rsi, [rbp - 0x69]
test r14d, r14d
jne 0x14017e07b
mov rcx, rsi
call fcn.140178180
mov rcx, rsi
mov edi, eax
call fcn.14014b420
mov rcx, qword [rbx + 0x58]
mov rdx, rax
mov r8d, edi
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x14017e08b
mov rcx, qword [rbx + 0x58]
mov edx, eax
call fcn.140158400
xor edx, edx
lea rcx, [rbx - 0x10]
call fcn.14017cf40
jmp 0x14017e20b
test r13b, r13b
je 0x14017e18b
mov rsi, qword [rbx + 0x58]
mov rcx, r12
call fcn.140167570
mov rcx, rax
mov rdi, rax
xor r14d, r14d
call fcn.140177250
cmp eax, 2
jne 0x14017e0da
mov eax, dword [rdi + 4]
mov rcx, r12
mov dword [rbp - 0x71], eax
call fcn.1401671b0
mov dword [rsp + 0x20], 8
lea r9, [rbp - 0x71]
xor edx, edx
mov ecx, dword [rax + 4]
mov dword [rbp - 0x6d], ecx
jmp 0x14017e165
mov rcx, rdi
call fcn.140177250
cmp eax, 0x17
jne 0x14017e177
mov rcx, r12
call fcn.1401671c0
mov r14d, eax
cmp eax, 0xffffffff
jge 0x14017e148
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x20], 0x130
lea r9, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_srcudp_engine.cpp
lea r8, str.iface____1
lea rdx, str.Assertion_failed:__s___s:_d__n
call fcn.140145b70
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
call fcn.14031cde4
lea rcx, str.iface____1
call fcn.140146920
movups xmm0, xmmword [rdi + 8]
mov dword [rbp - 0x39], r14d
lea r9, [rbp - 0x49]
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
mov edx, 0x29
movups xmmword [rbp - 0x49], xmm0
mov r8d, reloc.WS2_32.dll_inet_ntoa
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov r14d, eax
mov edx, r14d
mov rcx, rsi
call fcn.140158400
test r14d, r14d
jne 0x14017e07b
cmp byte [rbx + 0x451c], 0
je 0x14017e1a1
mov rdx, qword [rbx + 0x68]
lea rcx, [rbx - 0x10]
call fcn.140178420
cmp byte [rbx + 0x451d], 0
je 0x14017e20b
mov rdx, qword [rbx + 0x68]
lea rcx, [rbx - 0x10]
call fcn.140178410
cmp byte [rbx + 0x451c], 0
jne 0x14017e1f5
mov rcx, qword [rbx + 0x60]
lea rdx, [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0xc8]
test eax, eax
jne 0x14017e20b
lea rcx, [rbp - 0x29]
call fcn.1401508e0
mov rcx, qword [rbx + 0x60]
lea rdx, [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0xc8]
test eax, eax
je 0x14017e1d5
jmp 0x14017e20b
mov rdx, qword [rbx + 0x68]
lea rcx, [rbx - 0x10]
call fcn.140178420
lea rcx, [rbx - 0x10]
call fcn.14017d8a0
mov r13, qword [rsp + 0x120]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14030f0d0
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret