Function at 0x1400a99af
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov r12, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x68]
test eax, eax
je 0x1400a9a11
cmp eax, 3
jne 0x1400a9fd0
mov rcx, qword [rsi + 0x60]
mov rdx, r12
call fcn.140116d99
test rax, rax
je 0x1400a9b72
cmp rax, 2
jne 0x1400a9c13
mov qword [rdi], 3
mov al, 3
jmp 0x1400a9db6
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
lea r8, [rsp + 0x38]
mov dword [r8], 1
mov rcx, r14
mov edx, 0x8004667e
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x1400a9b55
xorps xmm6, xmm6
movups xmmword [rsp + 0x40], xmm6
mov al, byte [0x1401d2160]
mov edx, 0xe8
xor ecx, ecx
call fcn.140101e80
test rax, rax
je 0x1400a9ff7
mov qword [rax], r14
movups xmmword [rax + 8], xmm6
movups xmmword [rax + 0x18], xmm6
lea rcx, [0x140074415]
mov qword [rax + 0x28], rcx
movups xmmword [rax + 0x30], xmm6
movups xmmword [rax + 0x40], xmm6
lea rcx, [0x1400745b4]
mov qword [rax + 0x50], rcx
xor ecx, ecx
mov word [rax + 0x58], cx
mov qword [rax + 0x60], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rax + 0x68], xmm0
mov rdx, qword [rsp + 0x48]
mov qword [rax + 0x78], rdx
mov qword [rax + 0x80], rcx
mov qword [rax + 0x90], rcx
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0xb8], xmm0
movups xmmword [rax + 0xc8], xmm1
mov byte [rax + 0xd8], 0
mov qword [rax + 0xe0], 1
mov word [rsp + 0x58], cx
movups xmmword [rsp + 0x60], xmm6
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x50], rax
xor ecx, ecx
call fcn.140111ef2
test rax, rax
je 0x1400aa006
movabs r13, 0x7fffffffffffffff
mov rcx, qword [rax]
cmp rcx, r13
jae 0x1400aa02f
lea rdx, [rcx + 1]
mov qword [rax], rdx
cmp dword [rax + 8], 3
je 0x1400a9fdc
mov rbx, qword [rax + 0x20]
cmp rbx, 0xffffffffffffffff
je 0x1400a9c1b
test rbx, rbx
je 0x1400a9fdc
lock inc qword [rbx + 8]
jle 0x1400aa077
dec qword [rax]
test rbx, rbx
jne 0x1400a9c25
jmp 0x1400a9fdf
call sub.ws2_32.dll_WSAGetLastError
mov r12d, eax
shl r12, 0x20
or r12, 2
mov rcx, r14
call sub.ws2_32.dll_closesocket
jmp 0x1400a9d78
cmp qword [rsi + 0x10], 0
je 0x1400aa06b
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax]
lea r9, [rsp + 0x34]
mov dword [r9], 0
lea rax, [rsp + 0x38]
mov dword [rax], 4
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x1007
call sub.ws2_32.dll_getsockopt
cmp eax, 0xffffffff
je 0x1400a9d5f
movsxd r12, dword [rsp + 0x34]
test r12, r12
jne 0x1400a9d67
lea r15, [rsi + 0x18]
mov rcx, qword [r15]
call fcn.1400740c4
mov r14, rax
mov ebx, edx
and bl, 1
mov rax, qword [rax + 0x28]
mov r12, qword [r14 + 0x30]
mov qword [r14 + 0x28], 0
cmp rax, 3
jne 0x1400a9f0c
mov rdx, r14
add rdx, 8
mov rcx, r15
call fcn.14007419e
mov rcx, r14
mov edx, ebx
call fcn.14010c204
jmp 0x1400a9d6f
mov r12, rdx
jmp 0x1400a9d6f
mov qword [rax], rcx
mov rbx, 0xffffffffffffffff
mov rcx, rbx
call fcn.14007c459
test rax, rax
je 0x1400a9d05
mov r15, rax
lea r9, [rax + 0x50]
mov cl, 1
xor eax, eax
lock cmpxchg byte [r15 + 0x50], cl
jne 0x1400a9f57
mov rax, qword [0x1401d2158]
test rax, r13
jne 0x1400a9f6a
xor edx, edx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x88], r12
mov al, byte [r15 + 0x51]
test al, al
jne 0x1400aa03b
mov rax, qword [r15 + 0x48]
test rax, rax
je 0x1400a9cd1
mov r8, r15
add r8, 0x10
mov r12, qword [r15 + 0x40]
mov rbx, qword [r15 + 0x30]
mov rcx, qword [r15 + 0x38]
shl rax, 3
lea rax, [rax + rax*4]
xor r14d, r14d
cmp rcx, r14
je 0x1400a9fb2
mov rbp, qword [rbx + r14*8]
cmp rbp, qword [r12 + 0x18]
jb 0x1400a9cbb
mov rbp, r13
xchg qword [r12 + 0x10], rbp
cmp rbp, r13
jne 0x1400a9dd5
add r12, 0x28
inc r14
add rax, 0xffffffffffffffd8
jne 0x1400a9c9f
mov rcx, r9
call fcn.14010c204
lea rdx, str.reactor_at_max_registered_I_O_resourcesIO_resource_for_token__does_not_exist_
mov r8d, 0x27
mov cl, 0x27
call fcn.140075000
mov r12, rax
mov rbx, qword [rsp + 0x28]
lock dec qword [r15]
jne 0x1400a9d1c
mov rcx, r15
call fcn.140110abd
jmp 0x1400a9d1c
lea rdx, [0x1401991f7]
mov r8d, 0x19
mov cl, 0x27
call fcn.140075000
mov r12, rax
cmp rbx, 0xffffffffffffffff
je 0x1400a9d3a
lock dec qword [rbx + 8]
jne 0x1400a9d3a
mov rcx, qword [0x1401d2118]
xor edx, edx
mov r8, rbx
call fcn.1401220e0
mov rcx, qword [rsp + 0x50]
call fcn.140074305
mov rcx, qword [rsp + 0x50]
call fcn.140074360
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
call fcn.140114bc7
jmp 0x1400a9d78
call sub.ws2_32.dll_WSAGetLastError
mov r12d, eax
shl r12, 0x20
or r12, 2
lea rcx, [rsi + 0x10]
call fcn.1400a1774
mov eax, 2
mov qword [rdi], rax
mov qword [rdi + 8], r12
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movaps xmm2, xmmword [rsp + 0xb0]
movaps xmm3, xmmword [rsp + 0xc0]
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm1
movups xmmword [rdi + 0x30], xmm2
movups xmmword [rdi + 0x40], xmm3
mov al, 1
mov byte [rsi + 0x68], al
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x80], r9
mov rax, qword [r12]
test rax, rax
mov qword [rsp + 0x78], r8
je 0x1400a9f7f
mov dword [rsp + 0x30], edx
mov rdx, qword [r12 + 8]
cmp rbp, rdx
jae 0x1400a9fc1
mov rcx, rbp
shl rcx, 6
mov rdx, qword [rax + rcx]
mov qword [rbx + r14*8], rdx
mov r13, qword [rax + rcx + 8]
shr r13, 0x28
add rbp, qword [r12 + 0x20]
mov ecx, 0x3fffff
xor edx, edx
mov r8, rbp
xor r9d, r9d
call fcn.140113924
movabs rcx, 0x7fffff800000000
mov edx, 0x23
mov r8, r13
mov r9, rax
call fcn.140113924
mov rbp, rax
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x30]
call fcn.14010c204
lock inc qword [r15 + 0x58]
cmp rbp, 0xffffffffffffffff
je 0x1400a9efa
mov qword [rsp + 0x20], 1
lea rcx, [rsp + 0x50]
mov r9d, 3
mov rdx, qword [rsp + 0x78]
mov r8, rbp
call fcn.1400749a2
mov r12, rax
test rax, rax
cmove r12, rbp
mov rbx, qword [rsp + 0x28]
jne 0x1400a9cf5
lock dec qword [r15]
jne 0x1400a9eb1
mov rcx, r15
call fcn.140110abd
mov rax, qword [rsp + 0x50]
lea rcx, [rsi + 0x10]
mov qword [rsi + 0x10], 1
mov qword [rsi + 0x18], rax
lea rax, [rsp + 0x58]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm1
mov qword [rsi + 0x40], rbx
mov qword [rsi + 0x48], r12
xorps xmm0, xmm0
movups xmmword [rsi + 0x50], xmm0
mov qword [rsi + 0x60], rcx
mov r12, qword [rsp + 0x88]
jmp 0x1400a99e8
lea rdx, str.invalid_tokenregistration_handle_associated_with_another__Poll__instance
mov r8d, 0xd
jmp 0x1400a9ce6
mov qword [r14 + 0x28], rax
mov rcx, r14
mov edx, ebx
call fcn.14010c204
mov rax, qword [rsi + 0x10]
mov r12, qword [rsi + 0x18]
movups xmm0, xmmword [rsi + 0x50]
movaps xmmword [rsp + 0xc0], xmm0
movups xmm0, xmmword [rsi + 0x40]
movaps xmmword [rsp + 0xb0], xmm0
movups xmm0, xmmword [rsi + 0x30]
movaps xmmword [rsp + 0xa0], xmm0
movups xmm0, xmmword [rsi + 0x20]
movaps xmmword [rsp + 0x90], xmm0
jmp 0x1400a9d7d
mov rcx, r9
mov r14, r9
call fcn.1400d9630
mov r9, r14
jmp 0x1400a9c4d
mov r14, r9
call fcn.1400d96e0
mov r9, r14
mov edx, eax
xor dl, 1
jmp 0x1400a9c5f
mov rcx, r12
mov r13d, edx
call fcn.140116666
mov edx, r13d
mov rax, qword [r12]
test rax, rax
jne 0x1400a9def
lea rcx, str.page_must_have_been_allocated_to_alloc_C:UsersAdmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_0.2.25_srcutil_slabpage.rs
lea r8, [0x14019ad30]
mov edx, 0x27
call fcn.14003fba0
lea r8, str.C:UsersAdmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_0.2.25_srcutil_slab_shard.rs
mov rdx, rcx
call fcn.140038810
lea r8, [0x14019ad48]
mov rcx, rbp
call fcn.140038810
lea rcx, str.C:UsersAdmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_0.2.25_src_net_tcp_stream.rs
call fcn.1400444c0
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.C:UsersAdmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_0.2.25_srciodrivermod.rs
mov edx, 0x55
call fcn.14003fba0
mov ecx, 8
mov edx, 0xe8
call fcn.140028610
lea rax, [0x1401984c8]
mov qword [rsp + 0x20], rax
lea rcx, [0x140198432]
lea r9, [0x1401985f8]
lea r8, [rsp + 0x38]
mov edx, 0x46
call fcn.14003ead0
lea rcx, str.C:UsersAdmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_0.2.25_src_runtimecontext.rs
call fcn.14003d840
lea r8, [rsp + 0x38]
mov qword [r8], r9
mov byte [r8 + 8], dl
lea rax, str.C:UsersAdmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_0.2.25_srcutil_slabmod.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, str.o__a_
mov edx, 0x2b
call fcn.14003ead0
lea rcx, str.C:UsersAdmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_0.2.25_srciopoll_evented.rs
call fcn.14003fb80
ud2