Function at 0x14018d650
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 [0x140464178]
xor rax, rsp
mov qword [rbp + 0x17], rax
cmp byte [rcx + 0x50], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14018d6d1
mov ecx, 2
call fcn.140337dc0
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.140150370
mov ecx, 2
call fcn.140337dc0
mov rcx, rax
call fcn.140338218
lea rcx, str.__plugged
call fcn.140151120
cmp qword [rbx + 0x60], 0
mov byte [rbx + 0x50], 1
je 0x14018d729
mov ecx, 2
call fcn.140337dc0
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.140150370
mov ecx, 2
call fcn.140337dc0
mov rcx, rax
call fcn.140338218
lea rcx, str.__session
call fcn.140151120
test rdi, rdi
jne 0x14018d777
lea ecx, [rdi + 2]
call fcn.140337dc0
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.140150370
lea ecx, [rdi + 2]
call fcn.140337dc0
mov rcx, rax
call fcn.140338218
lea rcx, str.session_
call fcn.140151120
mov rdx, rsi
mov qword [rbx + 0x60], rdi
lea rcx, [rbx - 0x10]
call fcn.140187b40
mov rdx, qword [rbx + 0x58]
lea rcx, [rbx - 0x10]
call fcn.140187a50
mov qword [rbx + 0x68], rax
xor r14d, r14d
mov rax, qword [rbx + 0x70]
mov r12, qword [rax + 0x48]
cmp qword [rbx + 0x3b8], r14
je 0x14018d7e1
mov rcx, qword [rbx + 0x58]
lea rdx, [rbx + 0x3a8]
call fcn.140163860
mov r14d, eax
test eax, eax
je 0x14018d7e1
mov rcx, qword [rbx + 0x58]
mov edx, eax
call fcn.140163720
mov edx, 1
lea rcx, [rbx - 0x10]
call fcn.14018c8d0
jmp 0x14018dbc3
cmp byte [rbx + 0x451c], 0
mov qword [rsp + 0x120], r13
je 0x14018d951
cmp byte [rbx + 0x1eb], 0
jne 0x14018d939
mov rcx, r12
call fcn.140173ec0
mov rcx, rax
mov rdi, rax
call fcn.140186a10
mov rcx, rdi
mov qword [rbx + 0x510], rax
call fcn.1401879b0
mov rcx, rdi
mov dword [rbx + 0x518], eax
call fcn.140186aa0
test al, al
je 0x14018d951
mov rcx, rdi
call fcn.140186a80
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.140163720
mov eax, dword [rbx + 0x194]
or r14d, edi
test eax, eax
jle 0x14018d8d9
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.140163720
or r14d, edi
mov rsi, qword [rbx + 0x58]
xor edi, edi
mov rcx, r12
test r13b, r13b
je 0x14018d8fc
call fcn.140173b10
mov dword [rbp - 0x79], eax
test eax, eax
jle 0x14018d92a
lea r9, [rbp - 0x79]
lea edx, [rdi + 0x29]
jmp 0x14018d911
call fcn.140173b00
mov edx, dword [rax + 4]
mov dword [rbp - 0x71], edx
test edx, edx
je 0x14018d92a
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.140163720
or r14d, edi
jmp 0x14018d951
lea rax, [rbx + 0x500]
mov dword [rbx + 0x518], 0x10
mov qword [rbx + 0x510], rax
cmp byte [rbx + 0x451d], 0
je 0x14018db32
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.140163720
mov rcx, r12
or r14d, edi
call fcn.140173b00
mov rcx, rax
mov rsi, rax
call fcn.140186a80
mov edx, eax
lea rcx, [rbp - 0x49]
call fcn.1401869b0
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.140173b30
movzx r13d, al
test al, al
je 0x14018d9f5
mov rcx, rsi
call fcn.140186ae0
movzx edx, ax
lea rcx, [rbp - 0x69]
call fcn.140187990
lea rsi, [rbp - 0x69]
test r14d, r14d
jne 0x14018da2b
mov rcx, rsi
call fcn.1401879b0
mov rcx, rsi
mov edi, eax
call fcn.140186a10
mov rcx, qword [rbx + 0x58]
mov rdx, rax
mov r8d, edi
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x14018da3b
mov rcx, qword [rbx + 0x58]
mov edx, eax
call fcn.140163720
xor edx, edx
lea rcx, [rbx - 0x10]
call fcn.14018c8d0
jmp 0x14018dbbb
test r13b, r13b
je 0x14018db3b
mov rsi, qword [rbx + 0x58]
mov rcx, r12
call fcn.140173ec0
mov rcx, rax
mov rdi, rax
xor r14d, r14d
call fcn.140186a80
cmp eax, 2
jne 0x14018da8a
mov eax, dword [rdi + 4]
mov rcx, r12
mov dword [rbp - 0x71], eax
call fcn.140173b00
mov dword [rsp + 0x20], 8
lea r9, [rbp - 0x71]
xor edx, edx
mov ecx, dword [rax + 4]
mov dword [rbp - 0x6d], ecx
jmp 0x14018db15
mov rcx, rdi
call fcn.140186a80
cmp eax, 0x17
jne 0x14018db27
mov rcx, r12
call fcn.140173b10
mov r14d, eax
cmp eax, 0xffffffff
jge 0x14018daf8
mov ecx, 2
call fcn.140337dc0
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.140150370
mov ecx, 2
call fcn.140337dc0
mov rcx, rax
call fcn.140338218
lea rcx, str.iface____1
call fcn.140151120
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.140163720
test r14d, r14d
jne 0x14018da2b
cmp byte [rbx + 0x451c], 0
je 0x14018db51
mov rdx, qword [rbx + 0x68]
lea rcx, [rbx - 0x10]
call fcn.140187c50
cmp byte [rbx + 0x451d], 0
je 0x14018dbbb
mov rdx, qword [rbx + 0x68]
lea rcx, [rbx - 0x10]
call fcn.140187c40
cmp byte [rbx + 0x451c], 0
jne 0x14018dba5
mov rcx, qword [rbx + 0x60]
lea rdx, [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0xc8]
test eax, eax
jne 0x14018dbbb
lea rcx, [rbp - 0x29]
call fcn.14015a060
mov rcx, qword [rbx + 0x60]
lea rdx, [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0xc8]
test eax, eax
je 0x14018db85
jmp 0x14018dbbb
mov rdx, qword [rbx + 0x68]
lea rcx, [rbx - 0x10]
call fcn.140187c50
lea rcx, [rbx - 0x10]
call fcn.14018d250
mov r13, qword [rsp + 0x120]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140327a40
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret