Function at 0x14001b2e0
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r12, r8
mov r15, rdx
mov rsi, rcx
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rsi
call fcn.14001d600
mov ecx, dword [rsp + 0x28]
cmp ecx, 2
jne 0x14001b321
mov rdx, qword [rsp + 0x30]
mov eax, 1
jmp 0x14001b512
mov eax, 1
test ecx, ecx
je 0x14001b477
mov rdx, qword [rsi + 0x188]
mov r14, qword [rsi + 0x190]
cmp r14, rdx
jne 0x14001b4bd
mov rdi, qword [rsp + 0x30]
mov ebp, edi
shr rdi, 0x20
cmp r12, rdi
cmovb rdi, r12
mov r13d, dword [rsp + 0x2c]
lea r12, [rdi + r13]
add rbp, r12
sub rbp, r14
jbe 0x14001b3b5
mov rax, qword [rsi + 0x178]
sub rax, r14
cmp rax, rbp
jb 0x14001b523
mov rbx, qword [rsi + 0x180]
lea rcx, [rbx + r14]
cmp rbp, 2
jb 0x14001b3a3
lea r8, [rbp - 1]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
add r14, rbp
dec r14
add rbx, r14
mov rcx, rbx
lea rbx, [rsp + 0x28]
mov byte [rcx], 0
inc r14
mov qword [rsi + 0x188], r14
cmp r12, r14
ja 0x14001b565
mov rcx, qword [rsi + 0x180]
add rcx, r13
mov rdx, r15
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi + 0x188]
cmp rdx, r13
jb 0x14001b577
cmp rdx, r12
jb 0x14001b586
mov rax, qword [rsi + 0x180]
lea rcx, [rax + r13]
sub edx, r12d
add r12, rax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x4c], 6
mov qword [rsp + 0x50], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rbx
lea rcx, [rsi + 0x1e8]
lea r8, [rsp + 0x68]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x14001b486
mov edx, eax
shl rdx, 0x20
or rdx, 2
jmp 0x14001b317
movabs rdx, 0x8009031700000002
jmp 0x14001b512
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
mov rdx, qword [rsi + 0x188]
cmp rdx, rax
jb 0x14001b4a8
mov qword [rsi + 0x188], rax
mov rdx, rax
mov qword [rsi + 0x190], 0
mov qword [rsi + 0x210], rdi
xor r14d, r14d
cmp r14, rdx
je 0x14001b509
lea rdi, [rsi + 0x10]
nop word cs:[rax + rax]
mov r8, rdx
sub r8, r14
jb 0x14001b556
mov rdx, qword [rsi + 0x180]
add rdx, r14
mov rcx, rdi
call fcn.1400858f0
test rax, rax
jne 0x14001b317
add r14, rdx
mov qword [rsi + 0x190], r14
mov rdx, qword [rsi + 0x188]
cmp r14, rdx
jne 0x14001b4d0
mov rdx, qword [rsi + 0x210]
xor eax, eax
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsi + 0x178]
mov rdx, r14
mov r8, rbp
call fcn.1401bafa0
mov r14, qword [rsi + 0x188]
mov rbx, qword [rsi + 0x180]
lea rcx, [rbx + r14]
cmp rbp, 2
jae 0x14001b38c
jmp 0x14001b3a3
lea r8, str.C:UsersMICRO.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:UsersMICRO.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r14
call fcn.1401c32e0
lea r8, str.C:UsersMICRO.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:UsersMICRO.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r12
mov rdx, r14
call fcn.1401c32f0
lea r8, str.C:UsersMICRO.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:UsersMICRO.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r13
call fcn.1401c32f0
lea r8, str.C:UsersMICRO.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:UsersMICRO.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r12
call fcn.1401c32f0
int3