Function at 0x1401e4740
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 rbx, r9
mov rsi, rdx
mov r14, rcx
mov qword [rdx + 0x80], r8
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.1401b4ff8
mov eax, dword [rdi]
cmp eax, 2
jne case.default.0x1401e479a
lea rdi, [rsp + 0x28]
mov rbx, qword [rdi]
mov qword [rdi], rbx
mov qword [rdi - 8], 1
mov eax, ebx
and eax, 3
lea rcx, [0x1401e4a0c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
test eax, eax
je 0x1401e48ca
mov rbp, qword [rsi + 0x40]
cmp rbp, qword [rsi + 0x58]
jne 0x1401e491e
mov rax, qword [rsp + 0xe0]
mov r15, qword [rsp + 0x28]
mov edx, r15d
shr r15, 0x20
cmp rax, r15
cmovb r15, rax
mov r12d, dword [rsp + 0x24]
lea r13, [r15 + r12]
add rdx, r13
cmp rbp, rdx
jae 0x1401e47eb
lea rcx, [rsi + 0x48]
call fcn.1400577d5
mov rbp, qword [rsi + 0x58]
cmp rbp, r13
jb 0x1401e49dd
mov rax, qword [rsi + 0x50]
mov qword [rsp + 0x60], rax
lea rcx, [rax + r12]
mov rdx, rbx
mov r8, r15
call fcn.1403abad0
cmp rbp, r12
jb 0x1401e49e9
mov rdx, qword [rsi + 0x58]
cmp rdx, r13
jb 0x1401e49f8
mov rax, qword [rsi + 0x50]
lea rcx, [rax + r12]
add rax, r13
sub edx, r13d
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x24], 7
mov rbp, qword [rsp + 0x60]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x44], 6
mov qword [rsp + 0x48], rax
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], rdi
lea rcx, [rsi + 0x60]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1401e48f9
mov ebx, eax
shl rbx, 0x20
or rbx, 2
lea rdi, [rsp + 0x28]
mov qword [rdi], rbx
mov qword [rdi - 8], 1
mov eax, ebx
and eax, 3
lea rcx, [0x1401e4a0c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movabs rbx, 0x8009031700000002
lea rdi, [rsp + 0x28]
mov qword [rdi], rbx
mov qword [rdi - 8], 1
mov eax, ebx
and eax, 3
lea rcx, [0x1401e4a0c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x20]
add eax, dword [rsp + 0x40]
cmp qword [rsi + 0x58], rax
jb 0x1401e490f
mov qword [rsi + 0x58], rax
mov qword [rsi + 0x40], 0
mov qword [rsi + 0x1e0], r15
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov rdx, rsi
call fcn.1401b5f6e
cmp qword [rdi], 0
je case.default.0x1401e495e
lea rdi, [rsp + 0x28]
mov rbx, qword [rdi]
mov qword [rdi], rbx
mov qword [rdi - 8], 1
mov eax, ebx
and eax, 3
lea rcx, [0x1401e4a0c]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov al, byte [rbx + 0x10]
jmp 0x1401e4976
mov al, byte [rbx + 0xf]
jmp 0x1401e4976
mov rcx, rbx
shr rcx, 0x20
call fcn.14023d1e0
cmp al, 0xd
jne 0x1401e49a2
mov qword [r14], 2
mov qword [rsi + 0x80], 0
mov rcx, rdi
call fcn.14007ddf7
jmp 0x1401e49b8
mov rax, rbx
shr rax, 0x20
cmp eax, 0xd
je 0x1401e497a
mov qword [r14], 1
mov qword [r14 + 8], rbx
mov qword [rsi + 0x80], 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 + 0x1e0]
mov qword [r14], 0
mov qword [r14 + 8], rax
jmp 0x1401e49ad
lea r8, str.C:Usersuser1.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r13
jmp 0x1401e49f3
lea r8, str.C:Usersuser1.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r12
mov rdx, rbp
jmp 0x1401e4a02
lea r8, str.C:Usersuser1.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r13
call fcn.1403af940
ud2