Function at 0x14006f2ba
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 + 0xe0], r8
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.14003ff71
mov eax, dword [rbx]
cmp eax, 2
je 0x14006f43b
test eax, eax
je 0x14006f3f4
mov rbp, qword [rsi + 0x68]
cmp rbp, qword [rsi + 0x60]
jne 0x14006f425
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 0x14006f341
lea rcx, [rsi + 0x50]
call fcn.1400f318d
mov rbp, qword [rsi + 0x60]
cmp rbp, r15
jb 0x14006f4b3
mov rcx, qword [rsi + 0x58]
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 0x14006f4bf
mov rdx, qword [rsi + 0x60]
cmp rdx, r15
jb 0x14006f4d1
mov rax, qword [rsi + 0x58]
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 + 0xe8]
xor edx, edx
xor r9d, r9d
call sub.secur32.dll_EncryptMessage
test eax, eax
je 0x14006f400
mov ebx, eax
shl rbx, 0x20
or rbx, 2
jmp 0x14006f440
movabs rbx, 0x8009031700000002
jmp 0x14006f440
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x60], rax
jb 0x14006f416
mov qword [rsi + 0x60], rax
mov qword [rsi + 0x68], 0
mov qword [rsi + 0x110], r14
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rsi
call fcn.140040be6
cmp qword [rbx], 0
je 0x14006f49f
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 0x14006f478
lea rcx, [rsp + 0x30]
mov qword [rdi], 2
mov qword [rsi + 0xe0], 0
call fcn.140022952
jmp 0x14006f48e
mov qword [rdi], 1
mov qword [rdi + 8], rbx
mov qword [rsi + 0xe0], 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 + 0x110]
mov qword [rdi], 0
mov qword [rdi + 8], rax
jmp 0x14006f483
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 0x14006f4c9
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