Function at 0x14001e980
Capabilities:
Set socket configuration

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb0
cmp qword [0x140072680], r9
mov rbx, rcx
mov edi, edx
mov rsi, r9
je 0x14001eae0
test r9, r9
jne 0x14001eb50
mov esi, dword [r8 + 0x18]
mov r12, qword [r8 + 0x20]
lea rbp, [rsp + 0x80]
test r12, r12
je 0x14001eae0
mov rcx, rbp
call sym.time__win_now.lto_priv.0
mov eax, dword [rsp + 0x98]
cmp r12, qword [rsp + 0xa0]
jl 0x14001ebb0
jne 0x14001e9eb
cmp esi, eax
jl 0x14001ebb0
mov rcx, rbp
call sym.time__win_now.lto_priv.0
mov r9, r12
mov eax, esi
lea rcx, [rsp + 0x50]
sub r9, qword [rsp + 0xa0]
imul r9, qword [0x140072690]
mov edx, edi
sub eax, dword [rsp + 0x98]
mov r8d, dword [rsp + 0x100]
cdqe
add r9, rax
call sym.net__select
cmp byte [rsp + 0x50], 0
mov rcx, qword [rsp + 0x58]
movsxd rax, dword [rsp + 0x60]
je 0x14001ec40
movdqu xmm5, xmmword [rsp + 0x58]
shl rax, 4
add rax, qword [0x14003dfc0]
movaps xmmword [rsp + 0x80], xmm5
movdqu xmm5, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x90], xmm5
call qword [rax + 8]
cmp eax, 4
je 0x14001e9c4
movdqa xmm4, xmmword [rsp + 0x90]
pxor xmm0, xmm0
movdqa xmm3, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x38], xmm4
mov rax, qword [rsp + 0x40]
movups xmmword [rsp + 0x28], xmm3
movdqa xmm1, xmmword [rsp + 0x30]
mov byte [rsp + 0x20], 1
movdqa xmm5, xmmword [rsp + 0x20]
mov qword [rsp + 0xa0], rax
movdqa xmm2, xmmword [rsp + 0xa0]
movups xmmword [rbx], xmm5
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx + 0x20], xmm2
mov rax, rbx
add rsp, 0xb0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rbp, qword [0x14003dfc0]
lea rsi, [rsp + 0x50]
mov r9, qword [0x140072680]
mov r8d, dword [rsp + 0x100]
mov rcx, rsi
mov edx, edi
call sym.net__select
cmp byte [rsp + 0x50], 0
mov rcx, qword [rsp + 0x58]
movsxd rax, dword [rsp + 0x60]
je 0x14001ec40
movdqu xmm1, xmmword [rsp + 0x58]
movdqu xmm2, xmmword [rsp + 0x68]
shl rax, 4
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x90], xmm2
call qword [rbp + rax + 8]
cmp eax, 4
jne 0x14001ea70
jmp 0x14001eaec
js 0x14001ec87
lea rbp, [rsp + 0x80]
mov rcx, rbp
call sym.time__win_now.lto_priv.0
movsxd rax, dword [rsp + 0x98]
mov rcx, qword [0x140072690]
add rax, rsi
cqo
idiv rcx
add rax, qword [rsp + 0xa0]
mov r8, rdx
test rdx, rdx
js 0x14001ec30
mov rdx, rax
mov rcx, rbp
call sym.time__unix_nanosecond
mov esi, dword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
jmp 0x14001e9b3
mov rax, qword [0x14003e190]
mov byte [rsp + 0xa8], 0
mov byte [rsp + 0x80], 0
movdqa xmm4, xmmword [rax + 0x10]
movdqa xmm3, xmmword [rax]
movups xmmword [rsp + 0x98], xmm4
movdqa xmm5, xmmword [rsp + 0xa0]
movups xmmword [rsp + 0x88], xmm3
movaps xmmword [rsp + 0x40], xmm5
pxor xmm0, xmm0
cmp byte [rsp + 0x48], 0
movups xmmword [rbx], xmm0
jne 0x14001ec20
movdqa xmm3, xmmword [0x140072660]
movdqa xmm4, xmmword [0x140072670]
movups xmmword [rbx + 0x20], xmm0
mov byte [rbx], 1
movups xmmword [rbx + 8], xmm3
movups xmmword [rbx + 0x18], xmm4
jmp 0x14001eac7
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
jmp 0x14001eac7
sub rax, 1
add r8, rcx
jmp 0x14001eb91
mov rax, qword [0x14003e190]
mov byte [rsp + 0x80], 0
movdqa xmm1, xmmword [rax]
movdqa xmm2, xmmword [rax + 0x10]
movzx eax, byte [rsp + 0x78]
movups xmmword [rsp + 0x88], xmm1
mov byte [rsp + 0xa8], al
movups xmmword [rsp + 0x98], xmm2
movdqa xmm1, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x40], xmm1
jmp 0x14001ebee
mov edx, 0x18
lea rcx, str.invalid_negative_timeout
call sym._v_panic.isra.0
nop
nop dword [rax]