Function at 0x1400bcdd0
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x378
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x229]
test eax, eax
je 0x1400bce0d
cmp eax, 3
jne 0x1400bd6e9
mov r8, qword [rsi + 0x40]
mov rax, qword [rsi + 0x48]
jmp 0x1400bd077
mov rax, qword [rsi + 0x220]
mov qword [rsi + 0xc0], rax
movups xmm0, xmmword [rsi + 0x210]
movups xmmword [rsi + 0xb0], xmm0
movups xmm0, xmmword [rsi + 0x200]
movups xmmword [rsi + 0xa0], xmm0
movups xmm0, xmmword [rsi + 0x1f0]
movups xmmword [rsi + 0x90], xmm0
movups xmm0, xmmword [rsi + 0x1e0]
movups xmmword [rsi + 0x80], xmm0
movups xmm0, xmmword [rsi + 0x1d0]
movups xmmword [rsi + 0x70], xmm0
movups xmm0, xmmword [rsi + 0x1c0]
movups xmmword [rsi + 0x60], xmm0
movups xmm0, xmmword [rsi + 0x1b0]
movups xmmword [rsi + 0x50], xmm0
movups xmm0, xmmword [rsi + 0x158]
movups xmm1, xmmword [rsi + 0x168]
movups xmm2, xmmword [rsi + 0x178]
movups xmm3, xmmword [rsi + 0x188]
movups xmmword [rsi + 0xc8], xmm0
movups xmmword [rsi + 0xd8], xmm1
movups xmmword [rsi + 0xe8], xmm2
movups xmmword [rsi + 0xf8], xmm3
movups xmm0, xmmword [rsi + 0x198]
movups xmmword [rsi + 0x108], xmm0
mov rax, qword [rsi + 0x1a8]
mov qword [rsi + 0x118], rax
movzx eax, byte [rsi + 0x22a]
mov byte [rsi + 0x228], al
movups xmm0, xmmword [rsi + 0x60]
movups xmm1, xmmword [rsi + 0x70]
movups xmm2, xmmword [rsi + 0x80]
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
mov rax, qword [rsi + 0x20]
mov rcx, qword [rsi + 0x28]
test rax, rax
je 0x1400bcf27
lock inc qword [rax]
jle 0x1400bd6e5
lock inc qword [rcx]
jle 0x1400bd6e5
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rcx
lea r15, [rsi + 0x30]
cmp byte [rsi + 0xc1], 0
jne 0x1400bcf99
jmp 0x1400bcf4c
lock inc qword [rcx]
jle 0x1400bd6e5
mov qword [rsi + 0x38], rcx
mov qword [rsi + 0x30], 0
xor eax, eax
lea r15, [rsi + 0x30]
cmp byte [rsi + 0xc1], 0
jne 0x1400bcf99
movzx ecx, byte [rsi + 0xe8]
test rcx, rcx
je 0x1400bcf99
cmp ecx, 1
je 0x1400bcf7c
cmp ecx, 2
je 0x1400bcf99
lea rcx, str.internal_error:_entered_unreachable_code_rustc_90c541806f23a127002de5b4038be731ba1458calibrary_std_src_threadmod.rs
lea r8, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001fhttp_0.2.8_srcuri_scheme.rs
mov edx, 0x28
call fcn.14010b520
ud2
cmp byte [rsi + 0xe9], 0
je 0x1400bcf99
lea rcx, [rsi + 0x38]
test rax, rax
cmovne rcx, r15
call fcn.1400618e0
mov byte [rax + 0x67], 1
lea r12, [rsi + 0xc8]
cmp qword [rsi], 0
je 0x1400bcfbb
mov rcx, qword [rsi + 8]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r14, rax
mov r13d, 1
jmp 0x1400bcfbe
xor r13d, r13d
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
movzx edx, word [rsi + 0x1c]
lea rcx, [rsi + 0x120]
movups xmm0, xmmword [r15]
movups xmmword [rsi + 0x140], xmm0
mov qword [rsi + 0x120], r13
mov qword [rsi + 0x128], r14
mov qword [rsi + 0x130], rax
mov eax, dword [rsi + 0x18]
mov dword [rsi + 0x138], eax
mov word [rsi + 0x13c], dx
mov byte [rsi + 0x150], 0
mov rax, qword [r12 + 0x50]
mov qword [rsp + 0xf0], rax
movups xmm0, xmmword [r12 + 0x40]
movaps xmmword [rsp + 0xe0], xmm0
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movups xmm2, xmmword [r12 + 0x20]
movups xmm3, xmmword [r12 + 0x30]
movaps xmmword [rsp + 0xd0], xmm3
movaps xmmword [rsp + 0xc0], xmm2
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
lea rdx, [rsp + 0xa0]
call fcn.1400beb70
mov r8, rax
mov rax, rdx
mov qword [rsi + 0x40], r8
mov qword [rsi + 0x48], rdx
lea rcx, [rsp + 0xa0]
mov rdx, r8
mov r8, rbx
call qword [rax + 0x18]
mov r14, qword [rsp + 0x120]
cmp r14, 4
jne 0x1400bd0a1
mov byte [rdi + 0x10], 3
mov al, 3
jmp 0x1400bd5a5
mov rbx, qword [rsp + 0xa0]
mov r15, qword [rsp + 0xa8]
movups xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0x90], xmm0
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x2e0]
mov r8d, 0x98
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsi + 0x40]
mov rax, qword [rsi + 0x48]
call qword [rax]
mov rax, qword [rsi + 0x48]
cmp qword [rax + 8], 0
je 0x1400bd160
mov r8, qword [rsi + 0x40]
cmp qword [rax + 0x10], 0x11
jb 0x1400bd151
mov r8, qword [r8 - 8]
mov rcx, qword [0x14017e260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp r14d, 2
je 0x1400bd1a6
cmp r14d, 3
jne 0x1400bd341
mov rcx, qword [rsi + 0x140]
test rcx, rcx
je 0x1400bd636
lock dec qword [rcx]
jne 0x1400bd18b
call fcn.14000a390
mov rcx, qword [rsi + 0x148]
lock dec qword [rcx]
jne 0x1400bd648
call fcn.140061b50
jmp 0x1400bd648
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm3, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x1c0], xmm0
movaps xmmword [rsp + 0x1d0], xmm1
movaps xmmword [rsp + 0x1e0], xmm2
movaps xmmword [rsp + 0x1f0], xmm3
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x200], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x210], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x220], xmm0
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x2e0]
mov r8d, 0x98
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x14017e260]
test rcx, rcx
jne 0x1400bd247
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400bd703
mov rcx, rax
mov qword [0x14017e260], rax
mov r8d, 0x120
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400bd703
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], r15
movaps xmm0, xmmword [rsp + 0x1c0]
movaps xmm1, xmmword [rsp + 0x1d0]
movaps xmm2, xmmword [rsp + 0x1e0]
movaps xmm3, xmmword [rsp + 0x1f0]
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x30], xmm2
movups xmmword [rax + 0x40], xmm3
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [rax + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x210]
movups xmmword [rax + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [rax + 0x70], xmm0
mov qword [rax + 0x80], 2
mov rcx, rax
add rcx, 0x88
lea rdx, [rsp + 0xa0]
mov r8d, 0x98
call sub.VCRUNTIME140.dll_memcpy
movzx ebp, byte [rsi + 0x228]
mov eax, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0xa3]
mov dword [rsp + 0x2b], ecx
mov dword [rsp + 0x28], eax
lea r15, [0x140146430]
mov rbx, r14
mov rcx, qword [rsi + 0x140]
test rcx, rcx
je 0x1400bd4c8
lock dec qword [rcx]
jne 0x1400bd326
call fcn.14000a390
mov rcx, qword [rsi + 0x148]
lock dec qword [rcx]
jne 0x1400bd4da
call fcn.140061b50
jmp 0x1400bd4da
mov qword [rsp + 0x1c0], rbx
mov qword [rsp + 0x1c8], r15
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm3, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x1d0], xmm0
movups xmmword [rsp + 0x1e0], xmm1
movups xmmword [rsp + 0x1f0], xmm2
movups xmmword [rsp + 0x200], xmm3
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x210], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rsp + 0x220], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x230], xmm0
mov qword [rsp + 0x240], r14
lea rcx, [rsp + 0x248]
lea rdx, [rsp + 0x2e0]
mov r8d, 0x98
call sub.VCRUNTIME140.dll_memcpy
cmp byte [rsi + 0xc1], 0
jne 0x1400bd424
mov rcx, qword [rsp + 0x2a0]
cmp rcx, 0xffffffffffffffff
je 0x1400bd714
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0xa0]
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400bd5bf
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x1c0]
mov r8d, 0x120
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x14017e260]
test rcx, rcx
jne 0x1400bd464
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400bd703
mov rcx, rax
mov qword [0x14017e260], rax
mov r8d, 0x120
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400bd703
mov rbx, rax
lea rdx, [rsp + 0xa0]
mov r8d, 0x120
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movzx ebp, byte [rsi + 0x228]
mov eax, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0xa3]
mov dword [rsp + 0x2b], ecx
mov dword [rsp + 0x28], eax
lea r15, [0x140146340]
mov rcx, qword [rsi + 0x140]
test rcx, rcx
jne 0x1400bd31b
mov rcx, qword [rsi + 0x148]
lock dec qword [rcx]
jne 0x1400bd4da
call fcn.14000a390
cmp qword [rsi + 0x120], 0
je 0x1400bd4f1
mov rcx, qword [rsi + 0x128]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x130]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
cmp qword [rsi], 0
je 0x1400bd510
mov rcx, qword [rsi + 8]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x10]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400bd541
lock dec qword [rcx]
jne 0x1400bd530
call fcn.14000a390
mov rcx, qword [rsi + 0x28]
lock dec qword [rcx]
jne 0x1400bd550
call fcn.140061b50
jmp 0x1400bd550
mov rcx, qword [rsi + 0x28]
lock dec qword [rcx]
jne 0x1400bd550
call fcn.14000a390
mov rcx, qword [rsi + 0x90]
lock dec qword [rcx]
jne 0x1400bd562
call fcn.140061af0
cmp byte [rsi + 0xb8], 2
je 0x1400bd58a
mov rax, qword [rsi + 0xb0]
lea rcx, [rsi + 0xa8]
mov rdx, qword [rsi + 0x98]
mov r8, qword [rsi + 0xa0]
call qword [rax + 0x10]
mov qword [rdi], rbx
mov qword [rdi + 8], r15
mov byte [rdi + 0x10], bpl
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2b]
mov dword [rdi + 0x11], eax
mov dword [rdi + 0x14], ecx
mov al, 1
mov byte [rsi + 0x229], al
add rsp, 0x378
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r14d, eax
mov rcx, qword [0x14017e260]
test rcx, rcx
jne 0x1400bd5ed
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1400bd72e
mov rcx, rax
mov qword [0x14017e260], rax
mov r8d, 8
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1400bd72e
mov rbx, rax
shl r14, 0x20
or r14, 2
mov qword [rax], r14
lea rcx, [rsp + 0x1c0]
call fcn.1400bcab0
lea r15, fcn.1400621c0
mov rcx, qword [rsi + 0x140]
test rcx, rcx
jne 0x1400bd180
mov rcx, qword [rsi + 0x148]
lock dec qword [rcx]
jne 0x1400bd648
call fcn.14000a390
cmp qword [rsi + 0x120], 0
je 0x1400bd65f
mov rcx, qword [rsi + 0x128]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x130]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
cmp qword [rsi], 0
je 0x1400bd67e
mov rcx, qword [rsi + 8]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x10]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x1400bd6af
lock dec qword [rcx]
jne 0x1400bd69e
call fcn.14000a390
mov rcx, qword [rsi + 0x28]
lock dec qword [rcx]
jne 0x1400bd6be
call fcn.140061b50
jmp 0x1400bd6be
mov rcx, qword [rsi + 0x28]
lock dec qword [rcx]
jne 0x1400bd6be
call fcn.14000a390
mov rcx, qword [rsi + 0x90]
lock dec qword [rcx]
jne 0x1400bd6d0
call fcn.140061af0
mov bpl, 2
cmp byte [rsi + 0xb8], 2
jne 0x1400bd56b
jmp 0x1400bd58a
ud2
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chain
lea r8, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_reqwest_0.11.12_srcconnect.rs
mov edx, 0x23
call fcn.14010b520
ud2
mov ecx, 0x120
mov edx, 8
call fcn.14010b0b0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.21.2_srciopoll_evented.rs
mov edx, 0x2b
call fcn.14010b520
ud2
mov ecx, 8
mov edx, 8
call fcn.14010b0b0
ud2