Function at 0x14006b590
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x398
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x251]
test eax, eax
je 0x14006b5d3
cmp eax, 3
jne 0x14006be0f
mov r8, qword [rsi + 0x240]
mov rax, qword [rsi + 0x248]
jmp 0x14006b82a
movups xmm0, xmmword [rsi + 0x70]
movups xmmword [rsi + 0x148], xmm0
movups xmm0, xmmword [rsi + 0x60]
movups xmmword [rsi + 0x138], xmm0
movups xmm0, xmmword [rsi + 0x50]
movups xmmword [rsi + 0x128], xmm0
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rsi + 0x118], xmm0
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movups xmm3, xmmword [rsi + 0x30]
movups xmmword [rsi + 0x108], xmm3
movups xmmword [rsi + 0xf8], xmm2
movups xmmword [rsi + 0xe8], xmm1
movups xmmword [rsi + 0xd8], xmm0
movups xmm0, xmmword [rsi + 0x80]
movups xmmword [rsi + 0x158], xmm0
movups xmm0, xmmword [rsi + 0x90]
movups xmmword [rsi + 0x168], xmm0
movups xmm0, xmmword [rsi + 0xa0]
movups xmmword [rsi + 0x178], xmm0
movups xmm0, xmmword [rsi + 0xb0]
movups xmmword [rsi + 0x188], xmm0
movups xmm0, xmmword [rsi + 0xc0]
movups xmmword [rsi + 0x198], xmm0
mov rax, qword [rsi + 0xd0]
mov qword [rsi + 0x1a8], rax
movzx eax, byte [rsi + 0x250]
mov byte [rsi + 0x252], al
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0xf8]
movups xmmword [rsi + 0x1b0], xmm2
mov rax, qword [rsi + 0x108]
mov qword [rsi + 0x1c0], rax
movups xmmword [rsi + 0x1c8], xmm0
movups xmmword [rsi + 0x1d8], xmm1
mov rax, qword [rsi + 0x1b0]
lock inc qword [rax]
jle 0x14006be0b
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
lock inc qword [rcx]
jle 0x14006be0b
lea r12, [rsi + 0x158]
lea r14, [rsi + 0x1e8]
mov qword [rsi + 0x1e8], rax
mov qword [rsi + 0x1f0], rcx
mov qword [rsi + 0x1f8], rdx
cmp byte [rsi + 0x151], 0
je 0x14006b735
lea rax, [rsi + 0x1c8]
cmp qword [rax], 0
je 0x14006b767
mov rcx, qword [rsi + 0x1d0]
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r15, rax
mov r13d, 1
jmp 0x14006b76a
movzx eax, byte [r12]
test rax, rax
je 0x14006b711
cmp eax, 1
je 0x14006bd2e
cmp eax, 2
je 0x14006b711
lea rcx, str.internal_error:_entered_unreachable_code_rustc_a28077b28a02b92985b3a3faecf92813155f1ea1library_std_src_threadmod.rs
lea r8, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_http_0.2.11_src_uri_scheme.rs
mov edx, 0x28
call fcn.140086940
ud2
xor r13d, r13d
mov rcx, qword [rsi + 0x1d8]
call sub.crypt32.dll_CertDuplicateStore
movzx edx, word [rsi + 0x1e4]
lea rcx, [rsi + 0x200]
movups xmm0, xmmword [r14]
movups xmmword [rsi + 0x220], xmm0
mov r8, qword [r14 + 0x10]
mov qword [rsi + 0x230], r8
mov qword [rsi + 0x200], r13
mov qword [rsi + 0x208], r15
mov qword [rsi + 0x210], rax
mov eax, dword [rsi + 0x1e0]
mov dword [rsi + 0x218], eax
mov word [rsi + 0x21c], dx
mov byte [rsi + 0x238], 0
mov rax, qword [r12 + 0x50]
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [r12 + 0x40]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movups xmm2, xmmword [r12 + 0x20]
movups xmm3, xmmword [r12 + 0x30]
movaps xmmword [rsp + 0x60], xmm3
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
call fcn.140006b40
mov r8, rax
mov rax, rdx
mov qword [rsi + 0x240], r8
mov qword [rsi + 0x248], rdx
lea rcx, [rsp + 0x30]
mov rdx, r8
mov r8, rbx
call qword [rax + 0x18]
mov r12, qword [rsp + 0x30]
cmp r12, 4
jne 0x14006b84e
mov byte [rdi + 0x11], 3
mov al, 3
jmp 0x14006bb04
mov rbx, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x288]
mov r8d, 0x110
call sub.msvcrt.dll_memcpy
mov r14, qword [rsi + 0x240]
mov r13, qword [rsi + 0x248]
mov rcx, r14
call qword [r13]
cmp qword [r13 + 8], 0
je 0x14006b8a8
cmp qword [r13 + 0x10], 0x11
jb 0x14006b897
mov r14, qword [r14 - 8]
mov rcx, qword [0x140189110]
xor edx, edx
mov r8, r14
call fcn.14011631c
cmp r12d, 2
je 0x14006b96e
cmp r12d, 3
jne 0x14006bb1e
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
je 0x14006bdc8
mov rax, qword [rsi + 0x228]
lock dec qword [rax]
je 0x14006bde5
cmp qword [rsi + 0x200], 0
je 0x14006b8f4
mov rcx, qword [rsi + 0x208]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rsi + 0x210]
xor edx, edx
call sub.crypt32.dll_CertCloseStore
cmp qword [rsi + 0x1c8], 0
je 0x14006b918
mov rcx, qword [rsi + 0x1d0]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rsi + 0x1d8]
xor edx, edx
call sub.crypt32.dll_CertCloseStore
mov rax, qword [rsi + 0x1b0]
lock dec qword [rax]
je 0x14006bccc
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
je 0x14006bce9
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
je 0x14006bd0d
mov bpl, 2
cmp byte [rsi + 0x140], 2
jne 0x14006bac4
jmp 0x14006bae3
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x288]
mov r8d, 0x110
call sub.msvcrt.dll_memcpy
movzx eax, byte [0x1401891c0]
mov rcx, qword [0x140189110]
test rcx, rcx
jne 0x14006b9b1
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x14006be29
mov rcx, rax
mov qword [0x140189110], rax
mov r8d, 0x128
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x14006be29
mov r14, rax
mov qword [rax], 2
mov qword [rax + 8], rbx
mov qword [rax + 0x10], r15
mov rcx, rax
add rcx, 0x18
lea rdx, [rsp + 0x30]
mov r8d, 0x110
call sub.msvcrt.dll_memcpy
movzx r12d, byte [rsi + 0x252]
movzx eax, word [rsp + 0x34]
mov word [rsp + 0x2c], ax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
lea r15, [0x140122fa0]
xor ebp, ebp
mov rbx, r14
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
jne 0x14006ba2f
mov rcx, qword [rsi + 0x220]
call fcn.1400290f0
mov rax, qword [rsi + 0x228]
lock dec qword [rax]
je 0x14006bc47
cmp qword [rsi + 0x200], 0
je 0x14006ba56
mov rcx, qword [rsi + 0x208]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rsi + 0x210]
xor edx, edx
call sub.crypt32.dll_CertCloseStore
cmp qword [rsi + 0x1c8], 0
je 0x14006ba7a
mov rcx, qword [rsi + 0x1d0]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rsi + 0x1d8]
xor edx, edx
call sub.crypt32.dll_CertCloseStore
mov rax, qword [rsi + 0x1b0]
lock dec qword [rax]
je 0x14006bc6d
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
je 0x14006bc8a
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
je 0x14006bcae
cmp byte [rsi + 0x140], 2
je 0x14006bae3
lea rcx, [rsi + 0x138]
mov rax, qword [rsi + 0x120]
mov rdx, qword [rsi + 0x128]
mov r8, qword [rsi + 0x130]
call qword [rax + 0x10]
mov qword [rdi], rbx
mov qword [rdi + 8], r15
mov byte [rdi + 0x10], r12b
mov byte [rdi + 0x11], bpl
mov eax, dword [rsp + 0x28]
mov dword [rdi + 0x12], eax
movzx eax, word [rsp + 0x2c]
mov word [rdi + 0x16], ax
mov al, 1
mov byte [rsi + 0x251], al
add rsp, 0x398
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x160], r12
mov qword [rsp + 0x168], rbx
mov qword [rsp + 0x170], r15
lea rcx, [rsp + 0x178]
lea rdx, [rsp + 0x288]
mov r8d, 0x110
call sub.msvcrt.dll_memcpy
cmp byte [rsi + 0x151], 0
jne 0x14006bb9a
mov rcx, qword [rsp + 0x188]
cmp rcx, 0xffffffffffffffff
je 0x14006be3a
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov edx, 6
mov r8d, 1
call sub.WS2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14006bd4c
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x160]
mov r8d, 0x128
call sub.msvcrt.dll_memcpy
movzx eax, byte [0x1401891c0]
mov rcx, qword [0x140189110]
test rcx, rcx
jne 0x14006bbdd
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x14006be29
mov rcx, rax
mov qword [0x140189110], rax
mov r8d, 0x128
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x14006be29
mov rbx, rax
lea rdx, [rsp + 0x30]
mov r8d, 0x128
mov rcx, rax
call sub.msvcrt.dll_memcpy
movzx ebp, byte [rsi + 0x152]
movzx r12d, byte [rsi + 0x252]
movzx eax, word [rsp + 0x34]
mov word [rsp + 0x2c], ax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
lea r15, [0x1401231e0]
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
je 0x14006ba23
jmp 0x14006ba2f
mov rcx, qword [rsi + 0x228]
mov rdx, qword [rsi + 0x230]
call fcn.140029070
cmp qword [rsi + 0x200], 0
jne 0x14006ba4a
jmp 0x14006ba56
mov rcx, qword [rsi + 0x1b0]
call fcn.1400290f0
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
jne 0x14006baaa
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
call fcn.140029070
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
jne 0x14006babb
mov rcx, qword [rsi + 0x148]
call fcn.14002a740
cmp byte [rsi + 0x140], 2
jne 0x14006bac4
jmp 0x14006bae3
mov rcx, qword [rsi + 0x1b0]
call fcn.1400290f0
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
jne 0x14006b948
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
call fcn.140029070
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
jne 0x14006b959
mov rcx, qword [rsi + 0x148]
call fcn.14002a740
mov bpl, 2
cmp byte [rsi + 0x140], 2
jne 0x14006bac4
jmp 0x14006bae3
cmp byte [rsi + 0x159], 0
je 0x14006b711
mov rcx, r14
call fcn.140028e50
mov byte [rax + 0x67], 1
jmp 0x14006b711
call sub.WS2_32.dll_WSAGetLastError
mov r14d, eax
movzx eax, byte [0x1401891c0]
mov rcx, qword [0x140189110]
test rcx, rcx
jne 0x14006bd7f
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x14006be54
mov rcx, rax
mov qword [0x140189110], rax
mov r8d, 8
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x14006be54
mov rbx, rax
shl r14, 0x20
or r14, 2
mov qword [rax], r14
lea rcx, [rsp + 0x160]
call fcn.1400204a0
lea r15, [0x14011f260]
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
jne 0x14006b8cd
mov rcx, qword [rsi + 0x220]
call fcn.1400290f0
mov rax, qword [rsi + 0x228]
lock dec qword [rax]
jne 0x14006b8de
mov rcx, qword [rsi + 0x228]
mov rdx, qword [rsi + 0x230]
call fcn.140029070
cmp qword [rsi + 0x200], 0
jne 0x14006b8e8
jmp 0x14006b8f4
ud2
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chain
lea r8, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_reqwest_0.11.22_src_connect.rs
mov edx, 0x23
call fcn.140086940
ud2
mov ecx, 8
mov edx, 0x128
call fcn.140083160
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str._Users_no_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.35.0_src_io_poll_evented.rs
mov edx, 0x2b
call fcn.140086940
ud2
mov ecx, 8
mov edx, 8
call fcn.140083160
ud2