Function at 0x1400e3a80
Capabilities:
Encrypt data via sspi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov r15, r9
mov rsi, rcx
mov qword [rdx + 0xe0], r8
lea rcx, [rbp - 0x38]
mov qword [rbp + 8], rdx
call fcn.1400de8a0
mov eax, dword [rbp - 0x38]
cmp eax, 2
jne 0x1400e3acf
mov r15, qword [rbp - 0x30]
mov r12, qword [rbp + 8]
jmp 0x1400e3b49
test eax, eax
mov r12, qword [rbp + 8]
je 0x1400e3b3f
mov rdx, qword [r12 + 0x60]
mov rdi, qword [r12 + 0x68]
cmp rdi, rdx
jne 0x1400e3cac
mov rax, qword [rbp + 0x80]
mov rbx, qword [rbp - 0x30]
mov r14d, ebx
shr rbx, 0x20
cmp rax, rbx
cmovb rbx, rax
mov r13d, dword [rbp - 0x34]
lea r12, [rbx + r13]
add r14, r12
sub r14, rdi
jbe 0x1400e3bc1
mov rax, qword [rbp + 8]
lea rcx, [rax + 0x50]
mov rax, qword [rcx]
sub rax, rdi
cmp rax, r14
jae 0x1400e3b85
mov rdx, rdi
mov r8, r14
call fcn.1401bc060
mov rax, qword [rbp + 8]
mov rdi, qword [rax + 0x60]
jmp 0x1400e3b89
movabs r15, 0x8009031700000002
mov rcx, r15
call fcn.1400dd510
cmp al, 0xd
jne 0x1400e3b75
mov qword [rsi], 2
mov qword [r12 + 0xe0], 0
mov rcx, r15
call fcn.1400015f0
jmp 0x1400e3d41
mov qword [rsi], 1
mov qword [rsi + 8], r15
jmp 0x1400e3d35
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x58]
lea rcx, [rax + rdi]
cmp r14, 2
jb 0x1400e3bb3
lea r8, [r14 - 1]
xor edx, edx
mov qword [rbp - 0x40], rax
call sub.VCRUNTIME140.dll_memset
add rdi, r14
dec rdi
mov rcx, qword [rbp - 0x40]
add rcx, rdi
mov byte [rcx], 0
inc rdi
mov rax, qword [rbp + 8]
mov qword [rax + 0x60], rdi
cmp r12, rdi
ja 0x1400e3d92
mov rdi, qword [rbp + 8]
mov rcx, qword [rdi + 0x58]
add rcx, r13
mov rdx, r15
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rdi + 0x60]
cmp rdx, r13
jb 0x1400e3da6
cmp rdx, r12
jb 0x1400e3db7
mov r8, qword [rbp + 8]
mov rax, qword [r8 + 0x58]
lea rcx, [rax + r13]
sub edx, r12d
add r12, rax
mov dword [rbp - 0x38], r13d
mov dword [rbp - 0x34], 7
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], ebx
mov dword [rbp - 0x24], 1
mov qword [rbp - 0x20], rcx
mov dword [rbp - 0x18], edx
mov dword [rbp - 0x14], 6
mov qword [rbp - 0x10], r12
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
movabs rax, 0x400000000
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x48], rax
lea rcx, [r8 + 0xe8]
lea r8, [rbp - 0x50]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
mov r15d, eax
test eax, eax
je 0x1400e3c7a
shl r15, 0x20
or r15, 2
jmp 0x1400e3ac9
mov eax, dword [rbp - 0x28]
add eax, dword [rbp - 0x38]
add eax, dword [rbp - 0x18]
mov r12, qword [rbp + 8]
mov rdx, qword [r12 + 0x60]
cmp rdx, rax
jb 0x1400e3c99
mov qword [r12 + 0x60], rax
mov rdx, rax
mov qword [r12 + 0x68], 0
mov qword [r12 + 0x110], rbx
xor edi, edi
cmp rdi, rdx
je 0x1400e3d22
lea rbx, [r12 + 0xc0]
lea r14, [rbp - 0x38]
nop dword [rax]
mov rax, rdx
sub rax, rdi
jb 0x1400e3d67
mov r8, qword [r12 + 0xe0]
test r8, r8
je 0x1400e3d78
mov r9, qword [r12 + 0x58]
add r9, rdi
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rbx
call fcn.140160d30
mov rax, qword [rbp - 0x38]
cmp rax, 2
je 0x1400e3d58
mov r15, qword [rbp - 0x30]
test rax, rax
mov r12, qword [rbp + 8]
jne 0x1400e3b49
add rdi, r15
mov qword [r12 + 0x68], rdi
mov rdx, qword [r12 + 0x60]
cmp rdi, rdx
jne 0x1400e3cc0
mov rax, qword [r12 + 0x110]
mov qword [rsi], 0
mov qword [rsi + 8], rax
mov qword [r12 + 0xe0], 0
mov rax, rsi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movabs r15, 0xd00000003
jmp 0x1400e3ac9
lea r8, str.C:Usershonza.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsPoisonErrorassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, rdi
call fcn.1401c44f0
jmp 0x1400e3dc6
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x1401d9288]
mov edx, 0x29
call fcn.1401c40a0
jmp 0x1400e3dc6
lea r8, str.C:Usershonza.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsPoisonErrorassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r12
mov rdx, rdi
call fcn.1401c4570
jmp 0x1400e3dc6
lea r8, str.C:Usershonza.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsPoisonErrorassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r13
call fcn.1401c4570
jmp 0x1400e3dc6
lea r8, str.C:Usershonza.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsPoisonErrorassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r12
call fcn.1401c4570
ud2