Function at 0x14006aef0
Capabilities:
Encrypt data via sspi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rcx
mov qword [rcx + 0x38], rdx
mov r14, qword [r8]
mov r15, qword [r8 + 8]
lea rcx, [rbp - 0x48]
mov qword [rbp - 8], rax
mov rdx, rax
call fcn.14006e290
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x14006af42
mov rbx, qword [rbp - 0x40]
jmp 0x14006b165
test eax, eax
je 0x14006b0a1
mov rbx, qword [rbp - 8]
mov rdx, qword [rbx + 0x90]
mov rsi, qword [rbx + 0x98]
cmp rsi, rdx
jne 0x14006b0e7
mov rdi, qword [rbp - 0x40]
mov r13d, edi
shr rdi, 0x20
cmp r15, rdi
cmovb rdi, r15
mov r12d, dword [rbp - 0x44]
lea r15, [rdi + r12]
add r13, r15
sub r13, rsi
jbe 0x14006afe8
lea rcx, [rbx + 0x80]
mov rax, qword [rcx]
sub rax, rsi
cmp rax, r13
jae 0x14006afaf
mov rdx, rsi
mov r8, r13
call fcn.1402496e0
mov rbx, qword [rbp - 8]
mov rsi, qword [rbx + 0x90]
mov rbx, qword [rbx + 0x88]
lea rcx, [rbx + rsi]
cmp r13, 2
jb 0x14006afd7
lea r8, [r13 - 1]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
add rsi, r13
dec rsi
add rbx, rsi
mov rcx, rbx
mov byte [rcx], 0
inc rsi
mov rbx, qword [rbp - 8]
mov qword [rbx + 0x90], rsi
cmp r15, rsi
ja 0x14006b1d3
mov rcx, qword [rbx + 0x88]
add rcx, r12
mov rdx, r14
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rbx + 0x90]
cmp rdx, r12
jb 0x14006b1e7
cmp rdx, r15
jb 0x14006b1f8
mov rax, qword [rbx + 0x88]
lea rcx, [rax + r12]
sub edx, r15d
add r15, rax
mov dword [rbp - 0x48], r12d
mov dword [rbp - 0x44], 7
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], edi
mov dword [rbp - 0x34], 1
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x28], edx
mov dword [rbp - 0x24], 6
mov qword [rbp - 0x20], r15
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movabs rax, 0x400000000
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x48]
mov qword [rbp - 0x50], rax
lea rcx, [rbx + 0xf0]
lea r8, [rbp - 0x58]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
mov ebx, eax
test eax, eax
je 0x14006b0b0
shl rbx, 0x20
or rbx, 2
jmp 0x14006b165
movabs rbx, 0x8009031700000002
jmp 0x14006b165
mov eax, dword [rbp - 0x38]
add eax, dword [rbp - 0x48]
add eax, dword [rbp - 0x28]
mov rbx, qword [rbp - 8]
mov rdx, qword [rbx + 0x90]
cmp rdx, rax
jb 0x14006b0d3
mov qword [rbx + 0x90], rax
mov rdx, rax
mov qword [rbx + 0x98], 0
mov qword [rbx + 0x118], rdi
xor esi, esi
cmp rsi, rdx
je 0x14006b13d
lea rdi, [rbx + 0x10]
mov r9, rdx
sub r9, rsi
jb 0x14006b1c2
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x14006b1a8
mov r8, qword [rbx + 0x88]
add r8, rsi
mov rcx, rdi
call fcn.14016a370
mov rbx, rdx
test rax, rax
jne 0x14006b153
add rsi, rbx
mov rbx, qword [rbp - 8]
mov qword [rbx + 0x98], rsi
mov rdx, qword [rbx + 0x90]
cmp rsi, rdx
jne 0x14006b0f0
mov rax, rbx
mov rbx, qword [rbx + 0x118]
mov qword [rax + 0x38], 0
xor eax, eax
jmp 0x14006b191
cmp rax, 2
movabs rax, 0xd00000003
cmove rbx, rax
mov rcx, rbx
call fcn.14006b7c0
mov rcx, qword [rbp - 8]
mov qword [rcx + 0x38], 0
cmp al, 0xd
jne 0x14006b18c
mov rcx, rbx
call fcn.1400191d0
mov eax, 2
jmp 0x14006b191
mov eax, 1
mov rdx, rbx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x1402617b8]
mov edx, 0x29
call fcn.140255290
jmp 0x14006b207
lea r8, str.C:UsersDog.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:UsersDog.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.7.1_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rsi
call fcn.1402556b0
jmp 0x14006b207
lea r8, str.C:UsersDog.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:UsersDog.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.7.1_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r15
mov rdx, rsi
call fcn.140255720
jmp 0x14006b207
lea r8, str.C:UsersDog.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:UsersDog.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.7.1_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r12
call fcn.140255720
jmp 0x14006b207
lea r8, str.C:UsersDog.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:UsersDog.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.7.1_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r15
call fcn.140255720
ud2