Function at 0x1400cf2b0
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4c8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x251]
test eax, eax
je 0x1400cf2f0
cmp eax, 3
jne 0x1400cfbc1
mov rdx, qword [rsi + 0x240]
mov r9, qword [rsi + 0x248]
jmp 0x1400cf6e0
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 + 0x20]
movups xmmword [rsi + 0x1b0], xmm2
mov rax, qword [rsi + 0x30]
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 0x1400cfbbf
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
lock inc qword [rcx]
jle 0x1400cfbbf
lea rbx, [rsi + 0x158]
lea r13, [rsi + 0x1e8]
mov qword [rsi + 0x1e8], rax
mov qword [rsi + 0x1f0], rcx
mov qword [rsi + 0x1f8], rdx
cmp byte [rsi + 0x151], 0
mov r12, r8
jne 0x1400cf5fc
cmp byte [rbx], 0
je 0x1400cf5fc
lea rdx, [0x140161830]
mov rcx, rbx
call fcn.140024140
test al, al
je 0x1400cf5fc
mov rcx, qword [r13]
xor edx, edx
mov eax, 1
lock cmpxchg qword [rcx], rdx
mov r14, qword [r13]
jne 0x1400cf484
mov rax, qword [r14 + 8]
cmp rax, 1
jne 0x1400cf500
mov qword [r14], 1
mov byte [r14 + 0x77], 1
jmp 0x1400cf5fc
movzx eax, byte [0x1401a2308]
mov edx, 0x80
xor ecx, ecx
call fcn.1400ea350
test rax, rax
je 0x1400cfbe8
mov r15, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov eax, dword [r14 + 0x38]
mov dword [rsp + 0x3c], eax
mov r11, qword [r14 + 0x30]
movzx eax, byte [r14 + 0x60]
mov byte [rsp + 0x37], al
mov eax, dword [r14 + 0x48]
mov dword [rsp + 0x38], eax
mov rbp, qword [r14 + 0x40]
mov r8d, dword [r14 + 0x58]
mov rax, qword [r14 + 0x50]
movzx r9d, byte [r14 + 0x61]
mov r10d, dword [r14 + 0x62]
cmp byte [r14 + 0x66], 1
jne 0x1400cf583
movups xmm0, xmmword [r14 + 0x67]
movaps xmmword [rsp + 0x40], xmm0
mov cl, 1
jmp 0x1400cf585
lea rcx, [rsp + 0x40]
call fcn.1400c21a0
mov rax, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
lea rcx, [rax + 0xf]
neg rax
and rax, rcx
movups xmm0, xmmword [r14 + 0x70]
movups xmmword [r15 + rax + 0x60], xmm0
movups xmm0, xmmword [r14 + 0x60]
movups xmmword [r15 + rax + 0x50], xmm0
movups xmm0, xmmword [r14 + 0x50]
movups xmmword [r15 + rax + 0x40], xmm0
movups xmm0, xmmword [r14 + 0x10]
movups xmm1, xmmword [r14 + 0x20]
movups xmm2, xmmword [r14 + 0x30]
movups xmm3, xmmword [r14 + 0x40]
movups xmmword [r15 + rax + 0x30], xmm3
movups xmmword [r15 + rax + 0x20], xmm2
movups xmmword [r15 + rax + 0x10], xmm1
movups xmmword [r15 + rax], xmm0
test byte [rsp + 0x58], 1
je 0x1400cfc06
mov qword [r13], r15
mov rcx, r14
call fcn.1400bfb80
jmp 0x1400cf5f7
xor ecx, ecx
movzx edx, word [r14 + 0x77]
movups xmm0, xmmword [r14 + 0x10]
movups xmm1, xmmword [r14 + 0x20]
movups xmmword [r15 + 0x10], xmm0
movups xmmword [r15 + 0x20], xmm1
mov qword [r15 + 0x30], r11
mov r11d, dword [rsp + 0x3c]
mov dword [r15 + 0x38], r11d
mov qword [r15 + 0x40], rbp
mov r11d, dword [rsp + 0x38]
mov dword [r15 + 0x48], r11d
mov qword [r15 + 0x50], rax
mov dword [r15 + 0x58], r8d
movzx eax, byte [rsp + 0x37]
mov byte [r15 + 0x60], al
mov byte [r15 + 0x61], r9b
mov dword [r15 + 0x62], r10d
mov byte [r15 + 0x66], cl
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [r15 + 0x67], xmm0
mov word [r15 + 0x77], dx
lock dec qword [r14]
jne 0x1400cf5f3
mov rcx, qword [r13]
call fcn.1400bfb80
mov qword [r13], r15
mov byte [r15 + 0x77], 1
lea rax, [rsi + 0x1c8]
cmp dword [rax], 1
jne 0x1400cf620
mov rcx, qword [rsi + 0x1d0]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r14, rax
mov r15d, 1
jmp 0x1400cf623
xor r15d, r15d
mov rcx, qword [rsi + 0x1d8]
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
movzx edx, word [rsi + 0x1e4]
lea rcx, [rsi + 0x200]
mov qword [rsi + 0x200], r15
mov qword [rsi + 0x208], r14
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
movups xmm0, xmmword [r13]
movups xmmword [rsi + 0x220], xmm0
mov rax, qword [r13 + 0x10]
mov qword [rsi + 0x230], rax
mov rax, qword [rbx + 0x50]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rbx + 0x40]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmm3, xmmword [rbx + 0x30]
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rsp + 0x60], xmm2
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
call fcn.1400ab140
mov r9, rdx
mov rdx, rax
mov qword [rsi + 0x240], rax
mov qword [rsi + 0x248], r9
mov r8, r12
lea rcx, [rsp + 0x40]
call qword [r9 + 0x18]
mov r12, qword [rsp + 0x40]
cmp r12, 4
jne 0x1400cf6ff
mov byte [rdi + 0x11], 3
mov al, 3
jmp 0x1400cf89b
mov rbx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x50]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x3b8]
mov r8d, 0x110
call fcn.1401253f0
mov r14, qword [rsi + 0x240]
add byte [rbx + rcx*4 - 0x52], cl
add al, byte [rax]
add al, byte [rax]
add byte [rcx - 0x75], cl
add byte [r8 - 0x7b], r9b
invalid
je 0x1400cf73d
mov rcx, r14
ud2
lea rcx, str.C:Usersz0mbj.cargo_registry_srcindex.crates.io_6f17d22bba15001f_reqwest_0.11.27_srcconnect.rs
call fcn.140126970