Function at 0x1400a8ecd
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov rsi, rdx
movzx eax, byte [rdx + 0x1d1]
test eax, eax
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x60], rcx
je 0x1400a8f1e
cmp eax, 3
jne case.default.0x1400a8f1c
mov rdi, r8
lea r14, [rsi + 0x100]
movzx eax, byte [rsi + 0x138]
lea rcx, [0x14013266c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rax, qword [rsi + 0x1b8]
mov qword [rsi + 0x20], rax
movups xmm0, xmmword [rsi + 0x1c0]
movups xmmword [rsi + 0x28], xmm0
mov cl, byte [rsi + 0x1d2]
mov byte [rsi + 0x1d0], cl
mov qword [rsi + 0x38], 0
mov qword [rsi + 0x40], rax
xor r15d, r15d
jmp 0x1400a8f5d
lea rcx, str.C:UsersAdmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.13.10_srcclientconnecthttp.rs
call fcn.1400444c0
mov rcx, qword [rax + 8]
cmp rcx, qword [rax + 0x18]
je 0x1400a95b3
lea rdx, [rcx + 0x20]
mov qword [rax + 8], rdx
movzx r15d, word [rcx]
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x15e], xmm0
movups xmm0, xmmword [rcx + 2]
movaps xmmword [rsp + 0x150], xmm0
cmp r15w, 2
je 0x1400a95af
mov word [rsi], r15w
movaps xmm0, xmmword [rsp + 0x150]
movups xmmword [rsi + 2], xmm0
movups xmm0, xmmword [rsp + 0x15e]
movups xmmword [rsi + 0x10], xmm0
mov rax, qword [rsi + 0x20]
mov rbx, qword [rsi + 0x28]
mov rdi, qword [rsi + 0x30]
mov r12b, byte [rsi + 0x1d0]
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0x108], rcx
mov r13d, dword [rax + 0x28]
test r15w, r15w
mov eax, 2
mov ebp, 0x17
cmove ebp, eax
mov rax, qword [0x1401d2088]
cmp rax, 3
jne 0x1400a956f
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebp
mov edx, 1
mov r8d, 6
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x1400a95dd
mov r14, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_SetHandleInformation
test eax, eax
je 0x1400a95e7
test r12b, r12b
je 0x1400a907c
lea r9, [rsp + 0x80]
mov dword [r9], 1
mov dword [rsp + 0x20], 4
mov rcx, r14
mov edx, 0xffff
mov r8d, 4
call sub.ws2_32.dll_setsockopt
test eax, eax
jne 0x1400a9601
test r15w, r15w
je 0x1400a90e7
cmp byte [rdi], 0
je 0x1400a914a
movsd xmm0, qword [rdi + 5]
movss xmm1, dword [rdi + 0xd]
shufps xmm1, xmm0, 0xd4
movss xmm2, dword [rdi + 1]
unpcklps xmm2, xmm0
shufps xmm2, xmm1, 0x24
lea rdx, [rsp + 0x80]
movups xmmword [rdx + 8], xmm2
xorps xmm0, xmm0
movups xmmword [rdx + 0x68], xmm0
movups xmmword [rdx + 0x58], xmm0
movups xmmword [rdx + 0x48], xmm0
movups xmmword [rdx + 0x38], xmm0
movups xmmword [rdx + 0x28], xmm0
movups xmmword [rdx + 0x18], xmm0
mov qword [rdx + 0x78], 0
mov qword [rdx], 0x17
mov dword [rdx + 0x80], 0x1c
jmp 0x1400a9135
cmp byte [rbx], 0
je 0x1400a91e5
mov eax, dword [rbx + 1]
xorps xmm0, xmm0
lea rdx, [rsp + 0x80]
movups xmmword [rdx + 0x68], xmm0
movups xmmword [rdx + 0x58], xmm0
movups xmmword [rdx + 0x48], xmm0
movups xmmword [rdx + 0x38], xmm0
movups xmmword [rdx + 0x28], xmm0
movups xmmword [rdx + 0x18], xmm0
movups xmmword [rdx + 8], xmm0
mov qword [rdx + 0x78], 0
mov dword [rdx], 2
mov dword [rdx + 4], eax
mov dword [rdx + 0x80], 0x10
mov rcx, r14
call fcn.1400d3058
mov r15, rax
mov rdi, qword [rsp + 0x38]
jmp 0x1400a9285
xorps xmm0, xmm0
movups xmmword [rsp + 0x6c], xmm0
movzx eax, word [rsp + 0x7a]
mov word [rsp + 0x50], ax
movups xmm1, xmmword [rsp + 0x6a]
movaps xmmword [rsp + 0x40], xmm1
mov rax, qword [rsp + 0x42]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x4a]
mov dword [rsp + 0x90], eax
movzx eax, word [rsp + 0x4e]
mov word [rsp + 0x94], ax
movzx eax, word [rsp + 0x50]
mov word [rsp + 0x96], ax
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xe8], xmm0
mov qword [rsp + 0xf8], 0
mov r8d, 0x1c
xor eax, eax
mov r9w, 0x17
xor ecx, ecx
jmp 0x1400a925b
xor edx, edx
mov qword [rsp + 0x68], rdx
movups xmm0, xmmword [rsp + 0x6a]
movaps xmmword [rsp + 0x40], xmm0
movzx eax, word [rsp + 0x7a]
mov word [rsp + 0x50], ax
movzx eax, word [rsp + 0x44]
rol ax, 8
mov ecx, dword [rsp + 0x40]
xorps xmm0, xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xc8], xmm0
movups xmmword [rsp + 0xd8], xmm0
movups xmmword [rsp + 0xe8], xmm0
mov qword [rsp + 0xf8], rdx
mov r8d, 0x10
mov r9w, 2
mov rdi, qword [rsp + 0x38]
lea rdx, [rsp + 0x80]
mov word [rdx], r9w
mov word [rdx + 2], ax
mov dword [rdx + 4], ecx
mov dword [rdx + 0x80], r8d
mov rcx, r14
call fcn.1400d3058
mov r15, rax
test r15, r15
jne 0x1400a9611
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm1
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x1b0], xmm0
movups xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x1c0], xmm0
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x1d0], eax
lea r15, [rsi + 0x48]
mov rax, qword [rsp + 0x108]
mov qword [rsi + 0x48], rax
mov dword [rsi + 0x50], r13d
movaps xmm0, xmmword [rsp + 0x1b0]
movaps xmm1, xmmword [rsp + 0x1c0]
movups xmmword [rsi + 0x54], xmm0
movups xmmword [rsi + 0x64], xmm1
mov eax, dword [rsp + 0x1d0]
mov dword [rsi + 0x74], eax
mov qword [rsi + 0x78], r14
mov byte [rsi + 0x80], 0
lea rcx, [rsi + 0x81]
lea rdx, [rsp + 0x1f0]
mov r8d, 0x7f
call sub.msvcrt.dll_memcpy
lea r14, [rsi + 0x100]
mov r8d, 0xb8
mov rcx, r14
mov rdx, r15
call sub.msvcrt.dll_memcpy
movzx eax, byte [rsi + 0x138]
lea rcx, [0x14013266c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rbx, qword [rsi + 0x130]
lea rdi, [rsi + 0x110]
mov ebp, dword [rsi + 0x108]
cmp ebp, 0x3b9aca00
jne 0x1400a942e
mov qword [rsi + 0x140], rbx
mov qword [rsi + 0x148], rdi
mov byte [rsi + 0x1a8], 0
mov rdi, qword [rsp + 0x38]
lea r12, [rsi + 0x140]
lea r15, [rsp + 0x80]
mov rcx, r15
mov rdx, r12
mov r8, rdi
call fcn.1400a99af
mov rbp, qword [r15]
cmp rbp, 3
je 0x1400a95a8
mov r15, qword [rsp + 0x88]
movups xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x110], xmm0
movups xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x120], xmm0
movups xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x130], xmm0
movups xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x140], xmm0
mov rcx, r12
call fcn.1400a9990
mov byte [rsi + 0x138], 1
mov rcx, r14
call fcn.1400a993c
cmp ebp, 2
je 0x1400a9552
jmp 0x1400a9698
mov r15, qword [r14]
call fcn.1400d6600
add rax, r15
jb 0x1400a9740
add edx, ebp
cmp edx, 0x3b9aca00
jb 0x1400a9458
inc rax
je 0x1400a9740
add edx, 0xc4653600
mov rcx, rax
mov r8, r15
mov r9d, ebp
call fcn.140117cf4
mov qword [rsi + 0x140], rax
mov qword [rsi + 0x148], rbx
mov qword [rsi + 0x150], rdi
mov byte [rsi + 0x1b0], 0
mov rdi, qword [rsp + 0x38]
lea r12, [rsi + 0x140]
lea r13, [rsi + 0x148]
lea r15, [rsp + 0x80]
mov rcx, r15
mov rdx, r13
mov r8, rdi
call fcn.1400a99af
mov rbp, qword [r15]
cmp rbp, 3
jne 0x1400a94e2
mov rcx, qword [r12]
mov rdx, rdi
call fcn.1401181a4
test al, al
jne 0x1400a962e
mov rcx, r13
call fcn.1400a9990
mov rcx, r12
call fcn.140076fc8
call fcn.1400aa079
mov r15, rax
jmp 0x1400a9543
mov r15, qword [rsp + 0x88]
movups xmm0, xmmword [rsp + 0xc0]
movups xmm1, xmmword [rsp + 0xb0]
movups xmm2, xmmword [rsp + 0xa0]
movups xmm3, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x1f0], xmm3
movaps xmmword [rsp + 0x200], xmm2
movaps xmmword [rsp + 0x210], xmm1
movaps xmmword [rsp + 0x220], xmm0
mov rcx, r13
call fcn.1400a9990
mov rcx, r12
call fcn.140076fc8
cmp ebp, 2
jne 0x1400a9649
mov byte [rsi + 0x138], 1
mov rcx, r14
call fcn.1400a993c
cmp qword [rsi + 0x38], 0
je 0x1400a9562
lea rcx, [rsi + 0x38]
call fcn.140064085
mov qword [rsi + 0x38], r15
mov rax, qword [rsi + 0x40]
jmp 0x1400a8f5d
lea rax, [rsp + 0x68]
mov byte [rax], 1
lea r8, [rsp + 0x80]
mov qword [r8], rax
lea rax, str.C:UsersAdmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_socket2_0.3.19_src_syswindows.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1401d2088]
lea r9, [0x140191bd0]
xor edx, edx
call fcn.1400d3480
jmp 0x1400a8ffb
mov al, 4
jmp 0x1400a9630
mov r15, qword [rsi + 0x38]
mov ebp, 2
test r15, r15
jne 0x1400a96e8
lea rdx, str.Network_unreachable
mov r8d, 0x13
mov cl, 7
call fcn.1400d26b3
mov r15, rax
jmp 0x1400a96e8
call sub.ws2_32.dll_WSAGetLastError
mov r15d, eax
jmp 0x1400a95f7
call sub.kernel32.dll_GetLastError
mov r15d, eax
mov rcx, r14
call sub.ws2_32.dll_closesocket
shl r15, 0x20
or r15, 2
jmp 0x1400a9619
call sub.ws2_32.dll_WSAGetLastError
mov r15d, eax
shl r15, 0x20
or r15, 2
mov rcx, r14
call sub.ws2_32.dll_closesocket
mov qword [rsi + 0x48], r15
mov dword [rsi + 0x50], 0x3b9aca01
mov ebp, 2
jmp 0x1400a96d8
mov al, 3
mov byte [rsi + 0x138], al
mov rax, qword [rsp + 0x60]
mov qword [rax], 3
mov al, 3
jmp 0x1400a9726
movaps xmm0, xmmword [rsp + 0x1f0]
movaps xmm1, xmmword [rsp + 0x200]
movaps xmm2, xmmword [rsp + 0x210]
movaps xmm3, xmmword [rsp + 0x220]
movaps xmmword [rsp + 0x140], xmm3
movaps xmmword [rsp + 0x130], xmm2
movaps xmmword [rsp + 0x120], xmm1
movaps xmmword [rsp + 0x110], xmm0
mov byte [rsi + 0x138], 1
mov rcx, r14
call fcn.1400a993c
movaps xmm0, xmmword [rsp + 0x110]
movaps xmm1, xmmword [rsp + 0x120]
movaps xmm2, xmmword [rsp + 0x130]
movaps xmm3, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0x1a0], xmm3
movaps xmmword [rsp + 0x190], xmm2
movaps xmmword [rsp + 0x180], xmm1
movaps xmmword [rsp + 0x170], xmm0
cmp qword [rsi + 0x38], 0
je 0x1400a96e8
lea rcx, [rsi + 0x38]
call fcn.140064085
mov rax, qword [rsp + 0x60]
mov qword [rax], rbp
mov qword [rax + 8], r15
movaps xmm0, xmmword [rsp + 0x170]
movaps xmm1, xmmword [rsp + 0x180]
movaps xmm2, xmmword [rsp + 0x190]
movaps xmm3, xmmword [rsp + 0x1a0]
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x30], xmm2
movups xmmword [rax + 0x40], xmm3
mov al, 1
mov byte [rsi + 0x1d1], al
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.overflow_when_adding_duration_to_instantlibrary_std_src_time.rs
lea r8, [0x1401938a0]
mov edx, 0x28
call fcn.14003fba0
lea rcx, str.C:UsersAdmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fhyper_0.13.10_srcclientconnecthttp.rs
call fcn.1400444c0
ud2
add byte [rax - 0x77], cl
invalid
add byte [rax - 0x73], cl
mov es, eax
add al, 0
add al, ch
scasb al, byte [rdi]
xlatb
cld
invalid
jp 0x1400a986a
lea ecx, [rsi + 0x548]
add eax, 0x74000000
and dword [rax - 0x73], ecx
mov ds, word [rax + 5]
add byte [rax], al
adc ecx, dword [rax - 0x73]
mov cs, word [rax + 5]
add byte [rax], al
dec dword [rax - 0x73]
invalid
ret
mov eax, 0x208
mov rdx, rdi
call sub.msvcrt.dll_memcpy
mov ebp, dword [rdi + 0x210]
cmp ebp, 0x3b9aca00
jne 0x1400aa275
lea rcx, [rdi + 0x220]
mov r8d, 0x208
mov rdx, rdi
call sub.msvcrt.dll_memcpy
lea r14, [rdi + 0x220]
lea r15, [rsp + 0x38]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.1400a2245
mov bpl, byte [r15 + 0x10]
cmp bpl, 3
jne 0x1400aa24e
mov byte [rsi + 0x10], 3
mov al, 4
jmp 0x1400aa3c7
mov rbx, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
mov eax, dword [rsp + 0x49]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x33], eax
mov rcx, r14
call fcn.1400a149f
jmp 0x1400aa3ac
mov r14, qword [rdi + 0x208]
call fcn.1400d6600
add rax, r14
jb 0x1400aa3ec
add edx, ebp
cmp edx, 0x3b9aca00
jb 0x1400aa2a3
inc rax
je 0x1400aa3ec
add edx, 0xc4653600
invalid
mov rcx, rax
mov r8, r14
mov r9d, ebp
call fcn.140117cf4
mov r14, rax
lea rcx, [rdi + 0x220]
lea rdx, [rsp + 0x50]
mov r8d, 0x208
call sub.msvcrt.dll_memcpy
mov qword [rdi + 0x428], r14
lea r14, [rdi + 0x220]
lea r15, [rsp + 0x38]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.1400a2245
mov bpl, byte [r15 + 0x10]
cmp bpl, 3
jne 0x1400aa31e
lea rcx, [rsp + 0x38]
call fcn.1400aa140
mov rcx, qword [rdi + 0x428]
mov rdx, rbx
call fcn.1401181a4
test al, al
je 0x1400aa367
mov byte [rsi + 0x10], 3
mov al, 3
jmp 0x1400aa3c7
mov rbx, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
mov eax, dword [rsp + 0x49]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x23], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x23]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2b], ecx
mov rcx, r14
call fcn.1400a149f
lea rcx, [rdi + 0x428]
call fcn.140076fc8
cmp bpl, 2
jne 0x1400aa39c
mov bpl, 2
jmp 0x1400aa3ac
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x23]
mov dword [rsp + 0x2b], ecx
mov dword [rsp + 0x28], eax
mov rcx, r14
call fcn.1400a149f
lea rcx, [rdi + 0x428]
call fcn.140076fc8
mov bpl, 2
lea r15, [0x14018b258]
mov ebx, 1
jmp 0x1400aa3ac
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2b]
mov dword [rsp + 0x33], ecx
mov dword [rsp + 0x30], eax
mov qword [rsi], rbx
mov qword [rsi + 8], r15
mov dword [rsi + 8], edi
mov dword [rsi + 8], edi
mov byte [rsi + 0x10], bpl
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x33]
mov dword [rsi + 0x11], eax
mov dword [rsi + 0x14], ecx
mov al, 1
mov byte [rdi + 0x218], al
mov rax, rsi
add rsp, 0x258
add al, byte [rax]
add byte [rbx + 0x5d], bl
add al, byte [rax]
add byte [rbx + 0x5d], bl
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.overflow_when_adding_duration_to_instantlibrary_std_src_time.rs
lea r8, [0x1401938a0]
mov edx, 0x28
call fcn.14003fba0
ud2
in al, dx
and byte [rax - 0x77], cl
invalid
add rsi, 0x50
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp 0x1400ab3f7
mov rax, qword [rcx]
cmp rax, 5
je 0x1400ab40e
cmp eax, 4
jne 0x1400ab40f
add rcx, 8
jmp fcn.14007c04f
ret
jmp fcn.1400ab7fa