Function at 0x14006a470
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 + 0x138], rdx
mov rbx, qword [r8]
mov r14, qword [r8 + 8]
lea rcx, [rbp - 0x48]
mov qword [rbp - 8], rax
mov rdx, rax
call fcn.14006cca0
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x14006a4c5
mov rdi, qword [rbp - 0x40]
jmp 0x14006a669
test eax, eax
je 0x14006a61e
mov rdi, qword [rbp - 8]
mov r12, qword [rdi + 0x198]
cmp r12, qword [rdi + 0x190]
jne 0x14006a659
mov rsi, qword [rbp - 0x40]
mov r13d, esi
shr rsi, 0x20
cmp r14, rsi
cmovb rsi, r14
mov r15d, dword [rbp - 0x44]
lea r14, [rsi + r15]
add r13, r14
sub r13, r12
jbe 0x14006a568
lea rcx, [rdi + 0x180]
mov rax, qword [rcx]
sub rax, r12
cmp rax, r13
jae 0x14006a52f
mov rdx, r12
mov r8, r13
call fcn.1402496e0
mov rdi, qword [rbp - 8]
mov r12, qword [rdi + 0x190]
mov rdi, qword [rdi + 0x188]
lea rcx, [rdi + r12]
cmp r13, 2
jb 0x14006a557
lea r8, [r13 - 1]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
add r12, r13
dec r12
add rdi, r12
mov rcx, rdi
mov byte [rcx], 0
inc r12
mov rdi, qword [rbp - 8]
mov qword [rdi + 0x190], r12
cmp r14, r12
ja 0x14006a6c9
mov rcx, qword [rdi + 0x188]
add rcx, r15
mov rdx, rbx
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rdi + 0x190]
cmp rdx, r15
jb 0x14006a6dd
cmp rdx, r14
jb 0x14006a6ee
mov rax, qword [rdi + 0x188]
lea rcx, [rax + r15]
sub edx, r14d
add r14, rax
mov dword [rbp - 0x48], r15d
mov dword [rbp - 0x44], 7
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], esi
mov dword [rbp - 0x34], 1
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x28], edx
mov dword [rbp - 0x24], 6
mov qword [rbp - 0x20], r14
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, [rdi + 0x1f0]
lea r8, [rbp - 0x58]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
mov edi, eax
test eax, eax
je 0x14006a62a
shl rdi, 0x20
or rdi, 2
jmp 0x14006a669
movabs rdi, 0x8009031700000002
jmp 0x14006a669
mov eax, dword [rbp - 0x38]
add eax, dword [rbp - 0x48]
add eax, dword [rbp - 0x28]
mov rdi, qword [rbp - 8]
cmp qword [rdi + 0x190], rax
jb 0x14006a647
mov qword [rdi + 0x190], rax
mov qword [rdi + 0x198], 0
mov qword [rdi + 0x218], rsi
mov rcx, rdi
call fcn.140070420
test rax, rax
je 0x14006a6af
mov rdi, rdx
mov rcx, rdi
call fcn.14006b7c0
mov rcx, qword [rbp - 8]
mov qword [rcx + 0x138], 0
cmp al, 0xd
jne 0x14006a693
mov rcx, rdi
call fcn.1400191d0
mov eax, 2
jmp 0x14006a698
mov eax, 1
mov rdx, rdi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp - 8]
mov rdi, qword [rax + 0x218]
mov qword [rax + 0x138], 0
xor eax, eax
jmp 0x14006a698
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, r14
mov rdx, r12
call fcn.140255720
jmp 0x14006a6fd
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
jmp 0x14006a6fd
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, r14
call fcn.140255720
ud2