Function at 0x1400e34e0
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov r14, r9
mov r13, r8
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.1400e5190
mov eax, dword [rsp + 0x30]
cmp eax, 2
jne 0x1400e351c
mov rax, qword [rsp + 0x38]
jmp 0x1400e37f7
test eax, eax
je 0x1400e35af
mov rdx, qword [rdi + 0xb0]
mov r15, qword [rdi + 0xb8]
cmp r15, rdx
jne 0x1400e3763
mov r12d, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x38]
mov ebp, ebx
shr rbx, 0x20
cmp r14, rbx
cmovb rbx, r14
lea rax, [rbx + r12]
mov qword [rsp + 0x28], rax
add rbp, rax
mov r14, rbp
sub r14, r15
jbe 0x1400e35be
mov qword [rsp + 0x70], rbx
mov rax, qword [rdi + 0xa8]
sub rax, r15
mov rbx, r15
cmp rax, r14
jb 0x1400e35c5
mov rax, qword [rdi + 0xa0]
lea rcx, [rax + rbx]
cmp r14, 2
jb 0x1400e35ef
lea r8, [r14 - 1]
xor edx, edx
mov r15, rax
call fcn.140229f20
add rbx, r14
dec rbx
add r15, rbx
mov rcx, r15
mov r14, qword [rsp + 0x28]
jmp 0x1400e35f9
movabs rax, 0x8009031700000002
jmp 0x1400e37f7
mov r14, qword [rsp + 0x28]
jmp 0x1400e360e
lea rcx, [rdi + 0xa0]
mov rdx, r15
mov r8, r14
call fcn.140238a80
mov rbx, qword [rdi + 0xb0]
mov rax, qword [rdi + 0xa0]
lea rcx, [rax + rbx]
cmp r14, 2
jae 0x1400e358e
cmp rbp, r15
mov r14, qword [rsp + 0x28]
je 0x1400e35ff
mov byte [rcx], 0
inc rbx
mov qword [rdi + 0xb0], rbx
mov r15, rbx
mov rbx, qword [rsp + 0x70]
cmp r14, r15
ja 0x1400e3845
mov rcx, qword [rdi + 0xa0]
add rcx, r12
mov rdx, r13
mov r8, rbx
call fcn.140229790
mov rdx, qword [rdi + 0xb0]
cmp rdx, r12
jb 0x1400e3859
mov r8, qword [rdi + 0xa0]
lea rcx, [rsp + 0x88]
mov edx, 7
mov r9, r12
call fcn.140147c00
mov rdx, qword [rdi + 0xb0]
cmp r14, rdx
ja 0x1400e386a
add r12, qword [rdi + 0xa0]
lea rcx, [rsp + 0x98]
mov edx, 1
mov r8, r12
mov r9, rbx
call fcn.140147c00
mov rdx, qword [rdi + 0xb0]
mov r9, rdx
sub r9, r14
jb 0x1400e387b
add r14, qword [rdi + 0xa0]
lea rcx, [rsp + 0x78]
mov edx, 6
mov r8, r14
call fcn.140147c00
lea rcx, [rsp + 0x60]
xor edx, edx
xor r8d, r8d
call fcn.140147c00
movups xmm0, xmmword [rsp + 0x88]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0x50], xmm0
lea r14, [rsp + 0x78]
lea rdx, [rsp + 0x30]
mov r8d, 4
mov rcx, r14
call fcn.140147c20
lea rcx, [rdi + 0xc0]
call fcn.14004f4a0
mov rcx, rax
xor edx, edx
mov r8, r14
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1400e372c
shl rax, 0x20
or rax, 2
jmp 0x1400e37f7
mov eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x50]
mov rdx, qword [rdi + 0xb0]
cmp rdx, rax
jb 0x1400e374e
mov qword [rdi + 0xb0], rax
mov rdx, rax
mov qword [rdi + 0xb8], 0
mov qword [rdi + 0x100], rbx
xor r15d, r15d
cmp r15, rdx
je 0x1400e37de
lea rbx, [rdi + 0x10]
lea r14, [rsp + 0x30]
nop word cs:[rax + rax]
mov rax, rdx
sub rax, r15
jb 0x1400e381a
mov r8, qword [rdi + 0x38]
test r8, r8
je 0x1400e382b
mov r9, qword [rdi + 0xa0]
add r9, r15
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rbx
call fcn.1401d12e0
mov rcx, qword [rsp + 0x30]
cmp rcx, 2
je 0x1400e37ed
mov rax, qword [rsp + 0x38]
test rcx, rcx
jne 0x1400e37f7
add r15, rax
mov qword [rdi + 0xb8], r15
mov rdx, qword [rdi + 0xb0]
cmp r15, rdx
jne 0x1400e3780
mov rax, qword [rdi + 0x100]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x1400e3800
movabs rax, 0xd00000003
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:UsersWei.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r15
call fcn.140243ee0
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x1402546f0]
mov edx, 0x29
call fcn.140243a30
ud2
lea r8, str.C:UsersWei.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r14
mov rdx, r15
call fcn.140243f60
ud2
lea r8, str.C:UsersWei.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r12
call fcn.140243f60
ud2
lea r8, str.C:UsersWei.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r14
call fcn.140243f60
ud2
lea r8, str.C:UsersWei.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r14
call fcn.140243ee0
ud2