Function at 0x140163d80
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140431178]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r10, rdx
mov rdi, rcx
movsxd rax, dword [rcx + 0x344]
cmp eax, 0xffffffff
je 0x140163dc9
mov rcx, rax
mov qword [rdi + 0x4e8], rax
jmp 0x140163f34
lea r14, [rcx + 0x520]
lea rdx, [rcx + 0x18]
mov qword [rsp + 0x20], r14
mov r9b, 1
movzx r8d, r9b
mov rcx, r10
call fcn.1401740f0
mov qword [rdi + 0x4e8], rax
cmp rax, 0xffffffffffffffff
je 0x140163f04
mov rcx, rax
call fcn.1401597e0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0xfffffffb
mov rcx, qword [rdi + 0x4e8]
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x140163e95
call fcn.140146340
mov rsi, rax
test rax, rax
je 0x140163e95
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
mov ecx, 2
call fcn.14031c98c
mov rcx, rax
mov dword [rsp + 0x28], 0x62
lea rax, str.C:UsersAdmin_vcpkg_buildtreeszeromq_src_v4.3.5_37c87b6b8c.clean_src_tcp_listener.cpp
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
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, rsi
call fcn.140146920
mov rcx, r14
call fcn.140161ae0
mov ebx, eax
mov rcx, r14
call fcn.140161ad0
mov rdx, rax
mov r8d, ebx
mov rcx, qword [rdi + 0x4e8]
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x140163ed7
mov edx, dword [rdi + 0x168]
mov rcx, qword [rdi + 0x4e8]
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x140163f2d
call fcn.14031577c
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.140146670
mov dword [rbx], eax
call fcn.14031577c
mov ebx, dword [rax]
mov rcx, rdi
call fcn.140163230
call fcn.14031577c
mov dword [rax], ebx
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14030f0d0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov rcx, qword [rdi + 0x4e8]
lea r8, [rbp - 0x50]
xor edx, edx
call fcn.140161600
test eax, eax
jne 0x140163f5d
xor esi, esi
mov ecx, esi
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x70], rsi
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x78], rdx
jmp 0x140163fb5
mov r8d, eax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.140161980
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], sil
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140162200
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x70], xmm0
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
lea rbx, [rdi + 0x500]
lea rax, [rsp + 0x60]
cmp rbx, rax
je 0x14016401b
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140164000
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140163ffb
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140164080
mov rcx, r8
call fcn.14030e898
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x10], xmm0
jmp 0x14016404a
cmp rdx, 0x10
jb 0x14016404a
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140164045
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140164080
call fcn.14030e898
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1401625c0
nop
mov r8, qword [rdi + 0x4e8]
mov rdx, rax
mov rcx, qword [rdi + 0x4f8]
call fcn.140155c50
nop
lea rcx, [rsp + 0x60]
call fcn.140152230
xor eax, eax
jmp 0x140163f09
call fcn.140315630
int3