Function at 0x14014c73e
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x308
mov r15, r8
mov rbx, rdx
mov qword [rsp + 0x58], rcx
movzx eax, byte [rdx + 0x378]
test eax, eax
je 0x14014c78a
cmp eax, 3
jne case.default.0x14014c788
lea r12, [rbx + 0x1f0]
movzx eax, byte [rbx + 0x280]
lea rcx, [0x14027b954]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
and qword [rbx + 0x20], 0
mov qword [rbx + 0x40], rax
xor edi, edi
jmp 0x14014c7be
lea rcx, str._async_fn__resumed_after_completionMiddleware_error:
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_0.14.28_src_client_connect_http.rs
mov edx, 0x23
call fcn.140080ec0
mov rcx, qword [rax + 8]
cmp rcx, qword [rax + 0x18]
je 0x14014d03b
lea rdx, [rcx + 0x20]
mov qword [rax + 8], rdx
movzx ebp, word [rcx]
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x18e], xmm0
movups xmm0, xmmword [rcx + 2]
movaps xmmword [rsp + 0x180], xmm0
cmp bp, 2
je 0x14014d037
mov word [rbx + 0x48], bp
movaps xmm0, xmmword [rsp + 0x180]
movups xmmword [rbx + 0x4a], xmm0
movups xmm0, xmmword [rsp + 0x18e]
movups xmmword [rbx + 0x58], xmm0
mov rax, qword [rbx + 0x10]
mov r14, qword [rbx + 0x18]
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0xd8], rcx
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x7c], eax
test bp, bp
mov eax, 2
mov esi, 0x17
cmove esi, eax
mov rax, qword [0x14039f180]
cmp rax, 3
jne 0x14014cfe3
mov dword [rsp + 0x28], 0x81
and dword [rsp + 0x20], 0
mov ecx, esi
mov edx, 1
mov r8d, 6
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14014c8c1
call fcn.1400bdc45
lea rdx, str.tcp_open_errortcp_set_nonblocking_errortcp_bind_local_error
lea r12, [rsp + 0xf8]
mov r8d, 0xe
mov rcx, r12
mov r9, rax
call fcn.1400b3a80
mov rdi, qword [r12]
mov rsi, qword [r12 + 8]
movups xmm0, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x80], xmm0
test rdi, rdi
jne 0x14014d17b
lea r12, [rsp + 0x80]
mov dword [r12], 1
mov rcx, rsi
mov edx, 0x8004667e
mov r8, r12
call sub.ws2_32.dll_ioctlsocket
xor edx, edx
cmp eax, 0xffffffff
jne 0x14014c8f0
call fcn.1400bdc45
mov rdx, rax
lea r8, [0x1402ab3ae]
lea rdi, [rsp + 0xf8]
mov r9d, 0x19
mov rcx, rdi
call fcn.1400b3c50
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14014d061
mov edi, dword [r14 + 0x48]
cmp edi, 0x3b9aca00
je 0x14014c9eb
mov r13, qword [r14 + 0x40]
mov rcx, rsi
mov edx, 8
mov r8d, 1
call fcn.14016bc2a
test rax, rax
je 0x14014c95a
lea rcx, [rsp + 0xf8]
mov qword [rcx], rax
call fcn.140120aaf
jmp 0x14014c9eb
mov ecx, 0x3e8
mov rax, r13
mul rcx
mov rcx, rax
mov r8, rdx
xor r9d, r9d
mov r10d, 0xf4240
mov eax, edi
xor edx, edx
div r10d
add rax, rcx
adc r8, 0
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
neg r8
sbb r9d, r9d
or r9d, eax
lea r8, [rsp + 0xf8]
mov dword [r8], 1
mov dword [r8 + 4], r9d
and dword [r8 + 8], 0
and dword [rsp + 0x80], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x30], r12
and qword [rsp + 0x20], 0
mov rcx, rsi
mov edx, 0x98000004
mov r9d, 0xc
call sub.ws2_32.dll_WSAIoctl
cmp eax, 0xffffffff
je 0x14014cfc7
test bp, bp
je 0x14014ca59
cmp byte [r14 + 0x56], 0
je 0x14014caa5
movss xmm0, dword [r14 + 0x57]
movss xmm1, dword [r14 + 0x63]
movsd xmm2, qword [r14 + 0x5b]
movlhps xmm0, xmm2
movlhps xmm2, xmm1
shufps xmm0, xmm2, 0x98
lea rdx, [rsp + 0xf8]
movups xmmword [rdx + 8], xmm0
xorps xmm0, xmm0
movups xmmword [rdx + 0x68], xmm0
movups xmmword [rdx + 0x58], xmm0
movups xmmword [rdx + 0x48], xmm0
movups xmmword [rdx + 0x38], xmm0
and qword [rdx + 0x78], 0
movups xmmword [rdx + 0x28], xmm0
movups xmmword [rdx + 0x18], xmm0
mov qword [rdx], 0x17
mov dword [rdx + 0x80], 0x1c
jmp 0x14014caf7
cmp byte [r14 + 0x51], 0
je 0x14014cab0
mov eax, dword [r14 + 0x52]
xorps xmm0, xmm0
lea rdx, [rsp + 0xf8]
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
and qword [rdx + 0x78], 0
movups xmmword [rdx + 8], xmm0
mov dword [rdx], 2
mov dword [rdx + 4], eax
mov dword [rdx + 0x80], 0x10
jmp 0x14014caf7
mov eax, 0x1c
mov cx, 0x17
jmp 0x14014cab9
mov eax, 0x10
mov cx, 2
xorps xmm0, xmm0
lea rdx, [rsp + 0xf8]
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
and qword [rdx + 0x78], 0
mov word [rdx], cx
and word [rdx + 2], 0
and dword [rdx + 4], 0
mov dword [rdx + 0x80], eax
mov rcx, rsi
call fcn.14016bc06
lea r8, [0x1402ab3c7]
lea rdi, [rsp + 0x80]
mov r9d, 0x14
mov rcx, rdi
mov rdx, rax
call fcn.1400b3c50
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14014d073
cmp byte [r14 + 0x68], 0
je 0x14014cb5a
mov rcx, rsi
mov edx, 4
mov r8d, 1
call fcn.14016bc2a
test rax, rax
je 0x14014cb5a
lea rcx, [rsp + 0xf8]
mov qword [rcx], rax
call fcn.140120aaf
cmp qword [r14], 0
je 0x14014cb99
mov rax, qword [r14 + 8]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, rsi
mov edx, 0x1001
call fcn.14016bc2a
test rax, rax
je 0x14014cb99
lea rcx, [rsp + 0xf8]
mov qword [rcx], rax
call fcn.140120aaf
cmp qword [r14 + 0x10], 0
je 0x14014cbd9
mov rax, qword [r14 + 0x18]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, rsi
mov edx, 0x1002
call fcn.14016bc2a
test rax, rax
je 0x14014cbd9
lea rcx, [rsp + 0xf8]
mov qword [rcx], rax
call fcn.140120aaf
movups xmm0, xmmword [rbx + 0x48]
movups xmm1, xmmword [rbx + 0x58]
movaps xmmword [rsp + 0x60], xmm1
lea r13, [rbx + 0x68]
mov rax, qword [rsp + 0xd8]
mov qword [rbx + 0x68], rax
mov eax, dword [rsp + 0x7c]
mov dword [rbx + 0x70], eax
movups xmmword [rbx + 0x78], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x88], xmm0
mov qword [rbx + 0x98], rsi
lea rdi, [rbx + 0xa0]
lea rsi, [rsp + 0x1a0]
mov ecx, 0xa
rep movsq qword [rdi], qword [rsi]
xor eax, eax
mov byte [rbx + 0xf0], al
mov ecx, dword [rsp + 0xc0]
mov edx, dword [rsp + 0xc3]
mov dword [rbx + 0xf1], ecx
mov dword [rbx + 0xf4], edx
mov byte [rbx + 0xf8], al
lea rcx, [rbx + 0xf9]
lea rdx, [rsp + 0x210]
mov r8d, 0xf7
call sub.msvcrt.dll_memcpy
lea r12, [rbx + 0x1f0]
mov r8d, 0x188
mov rcx, r12
mov rdx, r13
call sub.msvcrt.dll_memcpy
movzx eax, byte [rbx + 0x280]
lea rcx, [0x14027b954]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov ebp, dword [rbx + 0x1f8]
cmp ebp, 0x3b9aca00
jne 0x14014cd1f
lea rsi, [rbx + 0x200]
lea rdi, [rbx + 0x288]
mov ecx, 0x10
rep movsq qword [rdi], qword [rsi]
lea rsi, [rbx + 0x288]
lea rdi, [rsp + 0x210]
mov rcx, rdi
mov rdx, rsi
mov r8, r15
call fcn.14014d3a6
mov r14, qword [rdi]
cmp r14, 3
je 0x14014d01c
mov rdi, qword [rsp + 0x218]
movups xmm0, xmmword [rsp + 0x220]
movaps xmmword [rsp + 0xc0], xmm0
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0xd0], rax
mov rcx, rsi
call fcn.14014d34d
jmp 0x14014ceea
mov r13, qword [rbx + 0x1f0]
lea rsi, [rbx + 0x200]
lea rdi, [rsp + 0xf8]
mov ecx, 0x10
rep movsq qword [rdi], qword [rsi]
call fcn.14016efc0
mov rcx, rax
mov r8, r13
mov r9d, ebp
call fcn.1401a02a0
cmp edx, 0x3b9aca00
jne 0x14014cd67
lea rcx, [rsp + 0x1a0]
call fcn.1401ae73b
jmp 0x14014cd81
mov r8d, edx
lea r9, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_0.14.28_src_client_connect_http.rs
lea rcx, [rsp + 0x1a0]
mov rdx, rax
call fcn.1401ae5cf
lea rdi, [rsp + 0x280]
lea rsi, [rsp + 0xf8]
mov ecx, 0x10
rep movsq qword [rdi], qword [rsi]
lea rdx, [rsp + 0x210]
lea rsi, [rsp + 0x1a0]
mov ecx, 0xe
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
lea rcx, [rbx + 0x288]
mov r8d, 0xf0
call sub.msvcrt.dll_memcpy
lea rsi, [rbx + 0x288]
lea r13, [rbx + 0x2f8]
call fcn.1401a7f09
mov edi, eax
lea rbp, [rsp + 0xf8]
mov rcx, rbp
mov rdx, r13
mov r8, r15
call fcn.14014d3a6
mov r14, qword [rbp]
cmp r14, 3
jne 0x14014ce98
cmp dil, 2
setne bpl
test dil, 1
sete dil
call fcn.1401a7f09
test bpl, dil
jne 0x14014cfb0
cmp al, 2
je 0x14014cfb0
and al, 1
jne 0x14014cfb0
call fcn.140011702
mov dil, 2
test rax, rax
je 0x14014ce46
mov dil, byte [rax + 0x4c]
mov bpl, byte [rax + 0x4d]
mov byte [rax + 0x4c], 0
mov rcx, rsi
mov rdx, r15
call fcn.1401a9fb5
mov r13d, eax
mov ecx, edi
mov edx, ebp
call fcn.14014de27
test r13b, r13b
jne 0x14014cfc3
movaps xmm0, xmmword [rsp + 0x1a0]
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x70], rax
mov rcx, rsi
call fcn.14014d36d
mov r14d, 2
call fcn.14014ddb6
mov rdi, rax
jmp 0x14014ceea
mov rdi, qword [rsp + 0x100]
mov rax, qword [rsp + 0x118]
movups xmm0, xmmword [rsp + 0x108]
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov rcx, rsi
call fcn.14014d36d
cmp r14d, 2
jne 0x14014ced0
mov r14d, 2
jmp 0x14014ceea
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xd0], rax
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0xc0], xmm0
cmp r14d, 2
jne 0x14014cf2d
lea rdx, [0x14032085b]
lea rsi, [rsp + 0x210]
mov r8d, 0x11
mov rcx, rsi
mov r9, rdi
call fcn.1400b3a80
mov rdi, qword [rsi]
movups xmm0, xmmword [rsi + 8]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x90], rax
jmp 0x14014cf4d
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x80], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0xe0], xmm0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xf0], rax
mov byte [rbx + 0x280], 1
mov rcx, r12
call fcn.14014d30b
cmp r14d, 2
jne 0x14014cfd1
lea rcx, [rbx + 0x20]
call fcn.14014d342
mov qword [rbx + 0x20], rdi
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rbx + 0x28], xmm0
mov rax, qword [rsp + 0xf0]
mov qword [rbx + 0x38], rax
mov rax, qword [rbx + 0x40]
jmp 0x14014c7be
mov rcx, rsi
mov rdx, r15
call fcn.1401a9fb5
test al, al
je 0x14014ce66
mov al, 3
jmp 0x14014d01e
call fcn.1400bdc45
jmp 0x14014c945
lea rax, [rsp + 0xe0]
mov r15, qword [rsp + 0x58]
jmp 0x14014d0c3
lea rax, [rsp + 0x57]
mov byte [rax], 1
lea r8, [rsp + 0xf8]
mov qword [r8], rax
lea rax, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_socket2_0.5.5_src_sys_windows.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x14039f180]
lea r9, case.0x1400101d9.60
xor edx, edx
call fcn.14016c160
jmp 0x14014c851
mov al, 4
mov byte [rbx + 0x280], al
mov rax, qword [rsp + 0x58]
mov qword [rax], 3
mov al, 3
jmp 0x14014d161
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14014d0e5
mov rax, qword [rbx + 0x38]
mov qword [rsp + 0xb0], rax
movups xmm0, xmmword [rbx + 0x28]
movaps xmmword [rsp + 0xa0], xmm0
jmp 0x14014d134
mov r14, qword [rsp + 0x100]
movups xmm0, xmmword [rsp + 0x108]
jmp 0x14014d083
mov r14, qword [rsp + 0x88]
movups xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x60], xmm0
mov rcx, rsi
call fcn.1401c0fdc
mov rsi, r14
mov r15, qword [rsp + 0x58]
mov qword [rbx + 0x78], rdi
lea rax, [rbx + 0x80]
mov qword [rbx + 0x80], rsi
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x88], xmm0
mov dword [rbx + 0x70], 0x3b9aca01
mov r14d, 2
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0xb0], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xa0], xmm0
lea rcx, [rbx + 0x20]
call fcn.14014d342
jmp 0x14014d13f
lea rdx, str.Network_unreachabletcp_connect_error
mov r8d, 0x13
mov cl, 7
call fcn.140165035
lea rdx, [0x14032085b]
lea rsi, [rsp + 0x210]
mov r8d, 0x11
mov rcx, rsi
mov r9, rax
call fcn.1400b3a80
mov rdi, qword [rsi]
movups xmm0, xmmword [rsi + 8]
movaps xmmword [rsp + 0xa0], xmm0
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0xb0], rax
mov r14d, 2
mov r15, qword [rsp + 0x58]
mov qword [r15], r14
mov qword [r15 + 8], rdi
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [r15 + 0x10], xmm0
mov rax, qword [rsp + 0xb0]
mov qword [r15 + 0x20], rax
mov al, 1
mov byte [rbx + 0x378], al
add rsp, 0x308
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x60], xmm0
jmp 0x14014d093
lea rcx, str._async_fn__resumed_after_completionMiddleware_error:
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_0.14.28_src_client_connect_http.rs
jmp 0x14014c7b4
ud2