Function at 0x14006f85c
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, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0x130], r8
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.1400412d7
mov eax, dword [rbx]
cmp eax, 2
je 0x14006f9fb
test eax, eax
je 0x14006f9ab
mov rbp, qword [rsi + 0x190]
cmp rbp, qword [rsi + 0x188]
jne 0x14006f9e5
mov rax, qword [rsp + 0xe0]
mov r14, qword [rsp + 0x30]
mov edx, r14d
shr r14, 0x20
cmp rax, r14
cmovb r14, rax
mov r13d, dword [rsp + 0x2c]
lea r15, [r14 + r13]
add rdx, r15
cmp rbp, rdx
jae 0x14006f8ef
lea rcx, [rsi + 0x178]
call fcn.1400f318d
mov rbp, qword [rsi + 0x188]
cmp rbp, r15
jb 0x14006fa73
mov rcx, qword [rsi + 0x180]
add rcx, r13
mov rdx, r12
mov r8, r14
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
cmp rbp, r13
jb 0x14006fa7f
mov rdx, qword [rsi + 0x188]
cmp rdx, r15
jb 0x14006fa91
mov rax, qword [rsi + 0x180]
lea rcx, [rax + r13]
sub edx, r15d
add r15, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], r14d
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
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], rbx
lea rcx, [rsi + 0x1e8]
xor edx, edx
xor r9d, r9d
call sub.secur32.dll_EncryptMessage
test eax, eax
je 0x14006f9b7
mov ebx, eax
shl rbx, 0x20
or rbx, 2
jmp 0x14006fa00
movabs rbx, 0x8009031700000002
jmp 0x14006fa00
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x188], rax
jb 0x14006f9d3
mov qword [rsi + 0x188], rax
mov qword [rsi + 0x190], 0
mov qword [rsi + 0x210], r14
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rsi
call fcn.14004203d
cmp qword [rbx], 0
je 0x14006fa5f
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], 1
mov rcx, rbx
call fcn.14001a67d
cmp al, 0xd
jne 0x14006fa38
lea rcx, [rsp + 0x30]
mov qword [rdi], 2
mov qword [rsi + 0x130], 0
call fcn.140022952
jmp 0x14006fa4e
mov qword [rdi], 1
mov qword [rdi + 8], rbx
mov qword [rsi + 0x130], 0
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x210]
mov qword [rdi], 0
mov qword [rdi + 8], rax
jmp 0x14006fa43
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsStartSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEndC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r15
jmp 0x14006fa89
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsStartSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEndC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r13
mov rdx, rbp
call fcn.140005730
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsStartSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEndC:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r15
call fcn.140005730
int3