Function at 0x14010cd10
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 r15, r8
mov rsi, rdx
mov r14, rcx
movzx eax, byte [rdx + 0x251]
test eax, eax
je 0x14010cd53
cmp eax, 3
jne 0x14010d704
mov rbx, qword [rsi + 0x160]
mov rax, qword [rsi + 0x168]
jmp 0x14010cfa7
movups xmm0, xmmword [rsi + 0xf0]
movups xmmword [rsi + 0x70], xmm0
movups xmm0, xmmword [rsi + 0xe0]
movups xmmword [rsi + 0x60], xmm0
movups xmm0, xmmword [rsi + 0xd0]
movups xmmword [rsi + 0x50], xmm0
movups xmm0, xmmword [rsi + 0xc0]
movups xmmword [rsi + 0x40], xmm0
movups xmm0, xmmword [rsi + 0x80]
movups xmm1, xmmword [rsi + 0x90]
movups xmm2, xmmword [rsi + 0xa0]
movups xmm3, xmmword [rsi + 0xb0]
movups xmmword [rsi + 0x30], xmm3
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rsi + 0x1f8]
movups xmmword [rsi + 0x170], xmm0
movups xmm0, xmmword [rsi + 0x208]
movups xmmword [rsi + 0x180], xmm0
movups xmm0, xmmword [rsi + 0x218]
movups xmmword [rsi + 0x190], xmm0
movups xmm0, xmmword [rsi + 0x228]
movups xmmword [rsi + 0x1a0], xmm0
movups xmm0, xmmword [rsi + 0x238]
movups xmmword [rsi + 0x1b0], xmm0
mov rax, qword [rsi + 0x248]
mov qword [rsi + 0x1c0], rax
movzx eax, byte [rsi + 0x252]
mov byte [rsi + 0x250], al
movups xmm0, xmmword [rsi + 0x40]
movups xmm1, xmmword [rsi + 0x50]
movups xmm2, xmmword [rsi + 0x60]
movups xmmword [rsi + 0x1c8], xmm2
mov rax, qword [rsi + 0x70]
mov qword [rsi + 0x1d8], rax
movups xmmword [rsi + 0x140], xmm0
movups xmmword [rsi + 0x150], xmm1
lock inc qword [rax]
jle 0x14010d700
mov rcx, qword [rsi + 0x1c8]
mov rdx, qword [rsi + 0x1d0]
lock inc qword [rcx]
jle 0x14010d700
lea r12, [rsi + 0x1e0]
mov qword [rsi + 0x1f0], rax
mov qword [rsi + 0x1e0], rcx
mov qword [rsi + 0x1e8], rdx
cmp byte [rsi + 0x79], 0
je 0x14010cea6
lea rbp, [rsi + 0x170]
lea rax, [rsi + 0x140]
cmp qword [rax], 0
je 0x14010ceda
mov rcx, qword [rsi + 0x148]
call qword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov r13, rax
mov edi, 1
jmp 0x14010cedc
movzx eax, byte [rsi + 0x190]
test rax, rax
je 0x14010ce7b
cmp eax, 1
je 0x14010d628
cmp eax, 2
je 0x14010ce7b
lea rcx, str.internal_error:_entered_unreachable_code_rustc_84c898d65adf2f39a5a98507f1fe0ce10a2b8dbclibrary_std_src_threadmod.rs
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823http_0.2.9_srcuri_scheme.rs
mov edx, 0x28
call fcn.14016f3d0
ud2
xor edi, edi
mov rcx, qword [rsi + 0x150]
call qword [sym.imp.crypt32.dll_CertDuplicateStore]
movzx edx, word [rsi + 0x15c]
lea rcx, [rsi + 0x100]
movups xmm0, xmmword [r12]
movups xmmword [rsi + 0x120], xmm0
mov rbx, qword [r12 + 0x10]
mov qword [rsi + 0x130], rbx
mov qword [rsi + 0x100], rdi
mov qword [rsi + 0x108], r13
mov qword [rsi + 0x110], rax
mov eax, dword [rsi + 0x158]
mov dword [rsi + 0x118], eax
mov word [rsi + 0x11c], dx
mov byte [rsi + 0x138], 0
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0xf0], rax
movups xmm0, xmmword [rbp + 0x40]
movaps xmmword [rsp + 0xe0], xmm0
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rbp + 0x10]
movups xmm2, xmmword [rbp + 0x20]
movups xmm3, xmmword [rbp + 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.14010ec20
mov rbx, rax
mov rax, rdx
mov qword [rsi + 0x160], rbx
mov qword [rsi + 0x168], rdx
lea rcx, [rsp + 0xa0]
mov rdx, rbx
mov r8, r15
call qword [rax + 0x18]
mov rdi, qword [rsp + 0x120]
cmp rdi, 4
jne 0x14010cfd2
mov byte [r14 + 0x10], 3
mov al, 3
jmp 0x14010d3a9
mov r12, 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 + 0x2f8]
mov r8d, 0xa0
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsi + 0x160]
mov rax, qword [rsi + 0x168]
call qword [rax]
mov rax, qword [rsi + 0x168]
cmp qword [rax + 8], 0
je 0x14010d09d
mov r8, qword [rsi + 0x160]
cmp qword [rax + 0x10], 0x11
jb 0x14010d08e
mov r8, qword [r8 - 8]
mov rcx, qword [0x140221370]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp edi, 2
je 0x14010d15e
cmp edi, 3
jne 0x14010d3c3
mov rax, qword [rsi + 0x130]
lock dec qword [rax]
je 0x14010d6bd
mov rax, qword [rsi + 0x120]
lock dec qword [rax]
je 0x14010d6da
cmp qword [rsi + 0x100], 0
je 0x14010d0e8
mov rcx, qword [rsi + 0x108]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x110]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
cmp qword [rsi + 0x140], 0
je 0x14010d10e
mov rcx, qword [rsi + 0x148]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x150]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov rax, qword [rsi + 0x1d8]
lock dec qword [rax]
je 0x14010d5d0
mov rax, qword [rsi + 0x1c8]
lock dec qword [rax]
je 0x14010d5ed
mov rax, qword [rsi + 0x10]
lock dec qword [rax]
je 0x14010d60e
mov bl, 2
cmp byte [rsi + 0x38], 2
jne 0x14010d373
jmp 0x14010d386
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm3, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x1d0], xmm0
movaps xmmword [rsp + 0x1e0], xmm1
movaps xmmword [rsp + 0x1f0], xmm2
movaps xmmword [rsp + 0x200], xmm3
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x210], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x220], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x230], xmm0
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x2f8]
mov r8d, 0xa0
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x140221370]
test rcx, rcx
jne 0x14010d1ff
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14010d71e
mov rcx, rax
mov qword [0x140221370], rax
mov r8d, 0x128
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14010d71e
mov rdi, rax
mov qword [rax], r12
mov qword [rax + 8], r15
movaps xmm0, xmmword [rsp + 0x1d0]
movaps xmm1, xmmword [rsp + 0x1e0]
movaps xmm2, xmmword [rsp + 0x1f0]
movaps xmm3, xmmword [rsp + 0x200]
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x30], xmm2
movups xmmword [rax + 0x40], xmm3
movaps xmm0, xmmword [rsp + 0x210]
movups xmmword [rax + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [rax + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x230]
movups xmmword [rax + 0x70], xmm0
mov qword [rax + 0x80], 2
mov rcx, rax
add rcx, 0x88
lea rdx, [rsp + 0xa0]
mov r8d, 0xa0
call sub.VCRUNTIME140.dll_memcpy
movzx ebx, byte [rsi + 0x250]
movzx eax, word [rsp + 0xa4]
mov word [rsp + 0x2c], ax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x28], eax
lea r15, [0x1401ea178]
xor ebp, ebp
mov r12, rdi
mov rax, qword [rsi + 0x130]
lock dec qword [rax]
jne 0x14010d2e0
mov rcx, qword [rsi + 0x130]
call fcn.14013da10
mov rax, qword [rsi + 0x120]
lock dec qword [rax]
je 0x14010d554
cmp qword [rsi + 0x100], 0
je 0x14010d308
mov rcx, qword [rsi + 0x108]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x110]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
cmp qword [rsi + 0x140], 0
je 0x14010d32e
mov rcx, qword [rsi + 0x148]
call qword [sym.imp.crypt32.dll_CertFreeCertificateContext]
mov rcx, qword [rsi + 0x150]
xor edx, edx
call qword [sym.imp.crypt32.dll_CertCloseStore]
mov rax, qword [rsi + 0x1d8]
lock dec qword [rax]
je 0x14010d57a
mov rax, qword [rsi + 0x1c8]
lock dec qword [rax]
je 0x14010d597
mov rax, qword [rsi + 0x10]
lock dec qword [rax]
je 0x14010d5b8
cmp byte [rsi + 0x38], 2
je 0x14010d386
mov rax, qword [rsi + 0x30]
lea rcx, [rsi + 0x28]
mov rdx, qword [rsi + 0x18]
mov r8, qword [rsi + 0x20]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [r14], r12
mov qword [r14 + 8], r15
mov byte [r14 + 0x10], bl
mov byte [r14 + 0x11], bpl
mov eax, dword [rsp + 0x28]
mov dword [r14 + 0x12], eax
movzx eax, word [rsp + 0x2c]
mov word [r14 + 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 + 0x1d0], r12
mov qword [rsp + 0x1d8], r15
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm3, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x1e0], xmm0
movups xmmword [rsp + 0x1f0], xmm1
movups xmmword [rsp + 0x200], xmm2
movups xmmword [rsp + 0x210], xmm3
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x220], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rsp + 0x230], xmm0
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x240], xmm0
mov qword [rsp + 0x250], rdi
lea rcx, [rsp + 0x258]
lea rdx, [rsp + 0x2f8]
mov r8d, 0xa0
call sub.VCRUNTIME140.dll_memcpy
cmp byte [rsi + 0x79], 0
jne 0x14010d4a4
mov rcx, qword [rsp + 0x270]
cmp rcx, 0xffffffffffffffff
je 0x14010d72f
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0xa0]
mov edx, 6
mov r8d, 1
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14010d646
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x1d0]
mov r8d, 0x128
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x140221370]
test rcx, rcx
jne 0x14010d4e4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14010d71e
mov rcx, rax
mov qword [0x140221370], rax
mov r8d, 0x128
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14010d71e
mov r12, rax
lea rdx, [rsp + 0xa0]
mov r8d, 0x128
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movzx ebp, byte [rsi + 0x7a]
movzx ebx, byte [rsi + 0x250]
movzx eax, word [rsp + 0xa4]
mov word [rsp + 0x2c], ax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x28], eax
lea r15, [0x1401ea058]
mov rax, qword [rsi + 0x130]
lock dec qword [rax]
je 0x14010d2d4
jmp 0x14010d2e0
mov rcx, qword [rsi + 0x120]
mov rdx, qword [rsi + 0x128]
call fcn.140035180
cmp qword [rsi + 0x100], 0
jne 0x14010d2fb
jmp 0x14010d308
mov rcx, qword [rsi + 0x1d8]
call fcn.14013da10
mov rax, qword [rsi + 0x1c8]
lock dec qword [rax]
jne 0x14010d35f
mov rcx, qword [rsi + 0x1c8]
mov rdx, qword [rsi + 0x1d0]
call fcn.140035180
mov rax, qword [rsi + 0x10]
lock dec qword [rax]
jne 0x14010d36d
mov rcx, qword [rsi + 0x10]
call fcn.1400a8bc0
cmp byte [rsi + 0x38], 2
jne 0x14010d373
jmp 0x14010d386
mov rcx, qword [rsi + 0x1d8]
call fcn.14013da10
mov rax, qword [rsi + 0x1c8]
lock dec qword [rax]
jne 0x14010d13f
mov rcx, qword [rsi + 0x1c8]
mov rdx, qword [rsi + 0x1d0]
call fcn.140035180
mov rax, qword [rsi + 0x10]
lock dec qword [rax]
jne 0x14010d14d
mov rcx, qword [rsi + 0x10]
call fcn.1400a8bc0
mov bl, 2
cmp byte [rsi + 0x38], 2
jne 0x14010d373
jmp 0x14010d386
cmp byte [rsi + 0x191], 0
je 0x14010ce7b
mov rcx, r12
call fcn.1400a8700
mov byte [rax + 0x67], 1
jmp 0x14010ce7b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov rcx, qword [0x140221370]
test rcx, rcx
jne 0x14010d673
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x14010d749
mov rcx, rax
mov qword [0x140221370], rax
mov r8d, 8
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14010d749
mov r12, rax
shl rdi, 0x20
or rdi, 2
mov qword [rax], rdi
lea rcx, [rsp + 0x1d0]
call fcn.14010c9d0
lea r15, fcn.1400a9190
mov rax, qword [rsi + 0x130]
lock dec qword [rax]
jne 0x14010d0c0
mov rcx, qword [rsi + 0x130]
call fcn.14013da10
mov rax, qword [rsi + 0x120]
lock dec qword [rax]
jne 0x14010d0d1
mov rcx, qword [rsi + 0x120]
mov rdx, qword [rsi + 0x128]
call fcn.140035180
cmp qword [rsi + 0x100], 0
jne 0x14010d0db
jmp 0x14010d0e8
ud2
lea rcx, str._async_fn__resumed_after_completionunable_to_find_any_user_specified_roots_in_the_final_cert_chain
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_reqwest_0.11.22_srcconnect.rs
mov edx, 0x23
call fcn.14016f3d0
ud2
mov ecx, 0x128
mov edx, 8
call fcn.14016c090
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_84c898d65adf2f39a5a98507f1fe0ce10a2b8dbclibrarycore_src_strpattern.rs
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_1.32.0_srciopoll_evented.rs
mov edx, 0x2b
call fcn.14016f3d0
ud2
mov ecx, 8
mov edx, 8
call fcn.14016c090
ud2