Function at 0x1400894e0
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 rsi, rcx
mov qword [rcx + 0x130], rdx
mov r14, qword [r8]
mov r15, qword [r8 + 8]
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.14009d020
mov eax, dword [rsp + 0x28]
cmp eax, 2
jne 0x140089524
mov rdi, qword [rsp + 0x30]
jmp 0x1400896bd
test eax, eax
je 0x14008966f
mov r13, qword [rsi + 0x190]
cmp r13, qword [rsi + 0x188]
jne 0x1400896a9
mov rbx, qword [rsp + 0x30]
mov ebp, ebx
shr rbx, 0x20
cmp r15, rbx
cmovb rbx, r15
mov r12d, dword [rsp + 0x2c]
lea r15, [rbx + r12]
add rbp, r15
sub rbp, r13
jbe 0x1400895b0
mov rax, qword [rsi + 0x178]
sub rax, r13
cmp rax, rbp
jb 0x14008975a
mov rdi, qword [rsi + 0x180]
lea rcx, [rdi + r13]
cmp rbp, 2
jb 0x14008959e
lea r8, [rbp - 1]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
add r13, rbp
dec r13
add rdi, r13
mov rcx, rdi
lea rdi, [rsp + 0x28]
mov byte [rcx], 0
inc r13
mov qword [rsi + 0x188], r13
cmp r15, r13
ja 0x14008978d
mov rcx, qword [rsi + 0x180]
add rcx, r12
mov rdx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi + 0x188]
cmp rdx, r12
jb 0x14008979f
cmp rdx, r15
jb 0x1400897ae
mov rax, qword [rsi + 0x180]
lea rcx, [rax + r12]
sub edx, r15d
add r15, rax
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x4c], 6
mov qword [rsp + 0x50], r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rdi
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 0x14008967b
mov edi, eax
shl rdi, 0x20
or rdi, 2
jmp 0x1400896bd
movabs rdi, 0x8009031700000002
jmp 0x1400896bd
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x188], rax
jb 0x140089697
mov qword [rsi + 0x188], rax
mov qword [rsi + 0x190], 0
mov qword [rsi + 0x210], rbx
mov rcx, rsi
call fcn.14009eaf0
test rax, rax
je 0x140089744
mov rdi, rdx
mov rcx, rdi
call fcn.14008dba0
mov qword [rsi + 0x130], 0
cmp al, 0xd
jne 0x14008972b
mov ecx, edi
and ecx, 3
mov eax, 2
cmp ecx, 1
jne 0x140089730
mov rsi, qword [rdi - 1]
mov r14, qword [rdi + 7]
mov rax, qword [r14]
test rax, rax
je 0x1400896f8
mov rcx, rsi
call rax
lea rbx, [rdi - 1]
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x140089711
mov r8, qword [r14 + 0x10]
mov rcx, rsi
call fcn.140022710
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call fcn.140022710
mov eax, 2
jmp 0x140089730
mov eax, 1
mov rdx, rdi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsi + 0x210]
mov qword [rsi + 0x130], 0
xor eax, eax
jmp 0x140089730
lea rcx, [rsi + 0x178]
mov rdx, r13
mov r8, rbp
call fcn.1402864b0
mov r13, qword [rsi + 0x188]
mov rdi, qword [rsi + 0x180]
lea rcx, [rdi + r13]
cmp rbp, 2
jae 0x140089587
jmp 0x14008959e
lea r8, str.C:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r15
mov rdx, r13
call fcn.14028f0f0
lea r8, str.C:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r12
call fcn.14028f0f0
lea r8, str.C:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsC:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r15
call fcn.14028f0f0
int3