Function at 0x1401865a0
Capabilities:
Encrypt data via sspi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov r12, r9
mov qword [rbp + 0x30], rcx
mov qword [rdx + 0x138], r8
lea rcx, [rbp - 0x20]
mov qword [rbp + 0x38], rdx
call fcn.1401836e0
mov eax, dword [rbp - 0x20]
cmp eax, 2
jne case.default.0x140186611
mov rdi, qword [rbp - 0x18]
lea rbx, [rbp - 0x18]
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], 1
mov eax, edi
and eax, 3
lea rcx, [0x1402abb54]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
mov rsi, qword [rbp + 0x30]
jmp rax
test eax, eax
je 0x140186691
mov rsi, qword [rbp + 0x38]
mov r13, qword [rsi + 0x1b8]
cmp r13, qword [rsi + 0x1b0]
jne 0x140186836
mov rax, qword [rbp + 0xb0]
mov r14d, dword [rbp - 0x1c]
mov rbx, qword [rbp - 0x18]
mov r15d, ebx
shr rbx, 0x20
cmp rax, rbx
cmovb rbx, rax
lea rdi, [rbx + r14]
add r15, rdi
lea rax, [rsi + 0x1a0]
mov qword [rbp + 0x28], rax
sub r15, r13
jbe 0x1401866d9
mov rax, qword [rsi + 0x1a8]
sub rax, r13
cmp rax, r15
jae 0x1401866a0
mov rsi, qword [rbp + 0x28]
mov rcx, rsi
mov rdx, r13
mov r8, r15
call fcn.140280d00
mov rax, qword [rbp + 0x38]
mov r13, qword [rax + 0x1b0]
jmp 0x1401866a4
movabs rdi, 0x8009031700000002
jmp 0x140186851
mov rsi, qword [rbp + 0x28]
mov rsi, qword [rsi]
lea rcx, [rsi + r13]
cmp r15, 2
jb 0x1401866c8
lea r8, [r15 - 1]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
add r13, r15
dec r13
add rsi, r13
mov rcx, rsi
mov byte [rcx], 0
inc r13
mov rsi, qword [rbp + 0x38]
mov qword [rsi + 0x1b0], r13
cmp rdi, r13
ja 0x140186a36
mov rcx, qword [rsi + 0x1a0]
add rcx, r14
mov rdx, r12
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi + 0x1b0]
cmp rdx, r14
jb 0x140186a4a
mov rsi, qword [rbp + 0x28]
mov r8, qword [rsi]
lea rcx, [rbp - 0x30]
mov edx, 7
mov r9, r14
call fcn.14019d090
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax + 0x1b0]
cmp rdi, rdx
ja 0x140186a5b
add r14, qword [rsi]
lea rcx, [rbp - 0x40]
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.14019d090
mov rax, qword [rbp + 0x38]
mov rdx, qword [rax + 0x1b0]
mov r9, rdx
sub r9, rdi
jb 0x140186a6c
add rdi, qword [rsi]
lea rcx, [rbp - 0x50]
mov edx, 6
mov r8, rdi
call fcn.14019d090
lea rcx, [rbp + 0x10]
xor edx, edx
xor r8d, r8d
call fcn.14019d090
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [rbp - 0x40]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp], xmm0
lea rcx, [rbp - 0x60]
lea rdx, [rbp - 0x20]
mov r8d, 4
call fcn.14019d0b0
mov rax, qword [rbp + 0x38]
lea rcx, [rax + 0x1c0]
call fcn.14004cf70
lea r8, [rbp - 0x60]
mov rcx, rax
xor edx, edx
rol byte [rbp + 0x31], cl
leave
lea r8, str.C:Usersutente.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, rdi
mov rdx, r13
call fcn.14028b810
jmp 0x140186a7b
lea r8, str.C:Usersutente.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r14
call fcn.14028b810
jmp 0x140186a7b
lea r8, str.C:Usersutente.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, rdi
call fcn.14028b810
jmp 0x140186a7b
lea r8, str.C:Usersutente.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, rdi
call fcn.14028b790
ud2