Function at 0x14006504e
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
movaps xmmword [rsp + 0xf0], xmm6
mov rsi, r8
mov rbx, rdx
mov r14, rcx
movzx eax, byte [rdx + 0x70]
test eax, eax
je 0x1400650b2
cmp eax, 3
jne 0x140065653
mov rdx, qword [rbx + 0x68]
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov r8, rsi
call fcn.1400f3108
mov rax, qword [rdi]
cmp rax, 2
jne 0x14006530a
mov qword [r14], 3
mov al, 3
jmp 0x14006547f
mov rdi, qword [rbx]
mov r15, qword [rbx + 8]
lea r8, [rsp + 0x38]
mov dword [r8], 1
mov rcx, rdi
mov edx, 0x8004667e
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x140065319
xorps xmm6, xmm6
movups xmmword [rsp + 0x40], xmm6
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov al, byte [0x14019e160]
mov edx, 0xf0
xor ecx, ecx
call fcn.1400ddfb0
test rax, rax
je 0x140065686
mov qword [rax], rdi
movups xmmword [rax + 8], xmm6
movups xmmword [rax + 0x18], xmm6
lea rcx, [0x14004fe65]
mov qword [rax + 0x28], rcx
movups xmmword [rax + 0x30], xmm6
movups xmmword [rax + 0x40], xmm6
lea rcx, [0x14004fff7]
mov qword [rax + 0x50], rcx
xor ecx, ecx
mov qword [rax + 0x58], rcx
mov byte [rax + 0x60], cl
mov qword [rax + 0x68], rcx
movaps xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x70], xmm0
mov rdx, qword [rsp + 0x60]
mov qword [rax + 0x80], rdx
mov qword [rax + 0x88], rcx
mov qword [rax + 0x98], rcx
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rax + 0xc0], xmm0
movups xmmword [rax + 0xd0], xmm1
mov byte [rax + 0xe0], cl
mov qword [rax + 0xe8], 1
mov byte [rsp + 0x80], cl
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x78], rcx
xor ecx, ecx
call fcn.1400ee356
test rax, rax
je 0x140065695
movabs r8, 0x7fffffffffffffff
mov rcx, qword [rax]
cmp rcx, r8
jae 0x1400656be
lea rdx, [rcx + 1]
mov qword [rax], rdx
cmp dword [rax + 8], 3
je 0x14006566b
mov rdi, qword [rax + 0x20]
cmp rdi, 0xffffffffffffffff
je 0x140065336
test rdi, rdi
je 0x14006566b
lock inc qword [rdi + 8]
jle 0x1400656ca
dec qword [rax]
mov r12, 0xffffffffffffffff
cmp rdi, 0xffffffffffffffff
je 0x1400653e5
test rdi, rdi
je 0x14006566e
mov rax, qword [rdi]
test rax, rax
je 0x1400653e2
js 0x14006564e
lea rcx, [rax + 1]
lock cmpxchg qword [rdi], rcx
jne 0x140065230
lea rcx, [rdi + 0x60]
mov qword [rsp + 0x28], rcx
mov r15, r8
call sub.kernel32.dll_AcquireSRWLockExclusive
mov rax, qword [0x14019e158]
test rax, r15
jne 0x1400655f1
mov r8, r15
xor edx, edx
mov al, byte [rdi + 0x68]
test al, al
jne 0x1400656d8
mov rax, qword [rdi + 0x58]
test rax, rax
je 0x1400652d2
mov r9, rdi
add r9, 0x10
mov r13, qword [rdi + 0x50]
mov r15, qword [rdi + 0x40]
mov rcx, qword [rdi + 0x48]
shl rax, 3
lea rax, [rax + rax*4]
xor r12d, r12d
cmp rcx, r12
je 0x140065630
mov rbp, qword [r15 + r12*8]
cmp rbp, qword [r13 + 0x18]
jb 0x1400652bc
mov rbp, r8
xchg qword [r13 + 0x10], rbp
cmp rbp, r8
jne 0x14006549e
add r13, 0x28
inc r12
add rax, 0xffffffffffffffd8
jne 0x1400652a2
mov rcx, qword [rsp + 0x28]
call fcn.1400e8393
lea rdx, str.reactor_at_max_registered_I_O_resourcesIO_resource_for_token__does_not_exist_
mov r8d, 0x27
mov cl, 0x27
call fcn.140050974
mov r15, rax
lock dec qword [rdi]
jne 0x1400653ff
mov rcx, rdi
call fcn.1400ecf4f
jmp 0x1400653ff
test rax, rax
je 0x140065345
mov r15, qword [rsp + 0x40]
jmp 0x140065451
call sub.ws2_32.dll_WSAGetLastError
mov r15d, eax
shl r15, 0x20
or r15, 2
mov rcx, rdi
call sub.ws2_32.dll_closesocket
jmp 0x14006545a
mov qword [rax], rcx
mov r12, 0xffffffffffffffff
jmp 0x1400653e5
cmp qword [rbx + 0x10], 0
je 0x1400656cc
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax]
lea r9, [rsp + 0x50]
mov dword [r9], 0
mov dword [rsp + 0x38], 4
mov qword [rsp + 0x20], rdi
mov edx, 0xffff
mov r8d, 0x1007
call sub.ws2_32.dll_getsockopt
cmp eax, 0xffffffff
je 0x140065441
movsxd r15, dword [rsp + 0x50]
test r15, r15
jne 0x140065449
lea r12, [rbx + 0x38]
mov rcx, qword [r12]
call fcn.14004fb1a
mov rdi, rax
mov esi, edx
and sil, 1
mov rax, qword [rax + 0x30]
mov r15, qword [rdi + 0x38]
mov qword [rdi + 0x30], 0
cmp rax, 3
jne 0x1400655b0
mov rdx, rdi
add rdx, 0x10
mov rcx, r12
call fcn.14004fbeb
mov rcx, rdi
mov edx, esi
call fcn.1400e8393
jmp 0x140065451
mov r12, rdi
lea rdx, [0x140167596]
mov r8d, 0x19
mov cl, 0x27
call fcn.140050974
mov r15, rax
mov rdi, r12
cmp rdi, 0xffffffffffffffff
je 0x14006541d
lock dec qword [rdi + 8]
jne 0x14006541d
mov rcx, qword [0x14019e0f8]
xor edx, edx
mov r8, rdi
call fcn.1400fdef8
lea rsi, [rsp + 0x98]
mov rcx, qword [rsi]
call fcn.14004fd52
mov rcx, rsi
call fcn.14004fdad
lea rcx, [rsp + 0x78]
call fcn.1400f0f1d
jmp 0x14006545a
call sub.ws2_32.dll_WSAGetLastError
mov r15d, eax
shl r15, 0x20
or r15, 2
lea rcx, [rbx + 0x10]
call fcn.14005cdeb
mov eax, 2
mov qword [r14], rax
mov qword [r14 + 8], r15
add r14, 0x10
lea rsi, [rsp + 0xa8]
mov ecx, 9
mov rdi, r14
rep movsq qword [rdi], qword [rsi]
mov al, 1
mov byte [rbx + 0x70], al
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [r13]
test rax, rax
mov dword [rsp + 0x34], edx
mov qword [rsp + 0x70], r9
je 0x140065603
mov rdx, qword [r13 + 8]
cmp rbp, rdx
jae 0x14006563f
mov rcx, rbp
shl rcx, 6
mov rdx, qword [rax + rcx]
mov qword [r15 + r12*8], rdx
mov r12, qword [rax + rcx + 8]
shr r12, 0x28
add rbp, qword [r13 + 0x20]
mov ecx, 0x3fffff
xor edx, edx
mov r8, rbp
xor r9d, r9d
call fcn.1400efd73
movabs rcx, 0x7fffff800000000
mov edx, 0x23
mov r8, r12
mov r9, rax
call fcn.1400efd73
mov r13, rax
mov rcx, qword [rsp + 0x28]
mov edx, dword [rsp + 0x34]
call fcn.1400e8393
lock inc qword [rdi + 0x70]
cmp r13, 0xffffffffffffffff
je 0x1400655df
mov qword [rsp + 0x20], 1
lea rcx, [rsp + 0x78]
mov r9d, 3
mov rdx, qword [rsp + 0x70]
mov r8, r13
call fcn.1400503d3
mov r15, rax
test rax, rax
jne 0x1400652f3
lock dec qword [rdi]
jne 0x140065564
mov rcx, rdi
call fcn.1400ecf4f
mov rax, qword [rsp + 0x78]
lea rdx, [rbx + 0x10]
mov qword [rbx + 0x10], 1
mov qword [rbx + 0x18], rax
lea rax, [rsp + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm1
mov rax, qword [rax + 0x20]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], rdi
mov qword [rbx + 0x50], r13
xorps xmm0, xmm0
movups xmmword [rbx + 0x58], xmm0
mov qword [rbx + 0x68], rdx
jmp 0x140065087
mov qword [rdi + 0x30], rax
mov rcx, rdi
mov edx, esi
call fcn.1400e8393
mov rax, qword [rbx + 0x10]
mov r15, qword [rbx + 0x18]
lea rsi, [rbx + 0x20]
lea rdi, [rsp + 0xa8]
mov ecx, 9
rep movsq qword [rdi], qword [rsi]
jmp 0x14006545f
lea rdx, str.invalid_tokenregistration_handle_associated_with_another__Poll__instance_g
mov r8d, 0xd
jmp 0x1400652e9
call fcn.1400b5520
mov r8, r15
mov edx, eax
xor dl, 1
jmp 0x140065270
mov rcx, r13
call fcn.1400f2981
mov rax, qword [r13]
test rax, rax
jne 0x1400654b4
lea rcx, str.page_must_have_been_allocated_to_alloc__root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_0.2.25_src_util_slab_page.rs
lea r8, [0x140169050]
mov edx, 0x27
call fcn.14001e680
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_0.2.25_src_util_slab_shard.rs
mov rdx, rcx
call fcn.14001a4d0
lea r8, [0x140169068]
mov rcx, rbp
call fcn.14001a4d0
call fcn.1400ed208
lea rcx, str._async_fn__resumed_after_completion_root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_http_0.2.11_src_header_value.rsunable_to_find_any_user_specified_roots_in_the_final_cert_chainbytes_remaining_on_streamOut_of_bounds_accesspolling_StreamFuture_twice_root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_futures_util_0.3.30_src_stream_stream_into_future.rs
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_0.2.25_src_net_tcp_stream.rs
mov edx, 0x23
call fcn.14001b470
mov qword [rax], rcx
lea rcx, str.there_is_no_reactor_running__must_be_called_from_the_context_of_a_Tokio_0.2.x_runtime
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_0.2.25_src_io_driver_mod.rs
mov edx, 0x55
call fcn.14001e680
mov ecx, 8
mov edx, 0xf0
call fcn.140011cc0
lea rax, [0x140166850]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401667b9]
lea r9, [0x1401669e0]
lea r8, [rsp + 0x38]
mov edx, 0x46
call fcn.14001cff0
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_0.2.25_src_runtime_context.rs
call fcn.14001bc30
ud2
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_0.2.25_src_io_poll_evented.rs
call fcn.14001e660
lea r8, [rsp + 0x38]
mov rax, qword [rsp + 0x28]
mov qword [r8], rax
mov byte [r8 + 8], dl
lea rax, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_0.2.25_src_util_slab_mod.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x140166aa0]
mov edx, 0x2b
call fcn.14001cff0
int3