Function at 0x1400ef580
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 rsi, rcx
mov qword [rdx + 0x138], r8
mov r12, qword [r9]
mov r15, qword [r9 + 8]
lea rcx, [rbp - 0x38]
mov qword [rbp + 8], rdx
call fcn.1400f2f40
mov eax, dword [rbp - 0x38]
cmp eax, 2
jne 0x1400ef5d2
mov r13, qword [rbp - 0x30]
jmp 0x1400ef860
test eax, eax
je 0x1400ef641
mov rcx, qword [rbp + 8]
mov rdx, qword [rcx + 0x190]
mov rdi, qword [rcx + 0x198]
cmp rdi, rdx
jne 0x1400ef78b
mov rbx, qword [rbp - 0x30]
mov r14d, ebx
shr rbx, 0x20
cmp r15, rbx
cmovb rbx, r15
mov r13d, dword [rbp - 0x34]
lea r15, [rbx + r13]
add r14, r15
sub r14, rdi
jbe 0x1400ef692
mov rax, qword [rbp + 8]
lea rcx, [rax + 0x180]
mov rax, qword [rcx]
sub rax, rdi
cmp rax, r14
jae 0x1400ef650
mov rdx, rdi
mov r8, r14
call fcn.14020ada0
mov rax, qword [rbp + 8]
mov rdi, qword [rax + 0x190]
jmp 0x1400ef654
movabs r13, 0x8009031700000002
jmp 0x1400ef860
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x188]
lea rcx, [rax + rdi]
cmp r14, 2
jb 0x1400ef681
lea r8, [r14 - 1]
xor edx, edx
mov qword [rbp - 0x50], rax
call sub.VCRUNTIME140.dll_memset
add rdi, r14
dec rdi
mov rcx, qword [rbp - 0x50]
add rcx, rdi
mov byte [rcx], 0
inc rdi
mov rax, qword [rbp + 8]
mov qword [rax + 0x190], rdi
cmp r15, rdi
ja 0x1400ef8f5
mov rdi, qword [rbp + 8]
mov rcx, qword [rdi + 0x188]
add rcx, r13
mov rdx, r12
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rdi + 0x190]
cmp rdx, r13
jb 0x1400ef909
cmp rdx, r15
jb 0x1400ef91a
mov r8, qword [rbp + 8]
mov rax, qword [r8 + 0x188]
lea rcx, [rax + r13]
sub edx, r15d
add r15, 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], r15
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
movabs rax, 0x400000000
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x38]
mov qword [rbp - 0x40], rax
lea rcx, [r8 + 0x1f0]
lea r8, [rbp - 0x48]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
mov r13d, eax
test eax, eax
je 0x1400ef754
shl r13, 0x20
or r13, 2
jmp 0x1400ef860
mov eax, dword [rbp - 0x28]
add eax, dword [rbp - 0x38]
add eax, dword [rbp - 0x18]
mov rcx, qword [rbp + 8]
mov rdx, qword [rcx + 0x190]
cmp rdx, rax
jb 0x1400ef777
mov qword [rcx + 0x190], rax
mov rdx, rax
mov qword [rcx + 0x198], 0
mov qword [rcx + 0x218], rbx
xor edi, edi
cmp rdi, rdx
je 0x1400ef837
lea rbx, [rcx + 0x10]
lea r14, [rcx + 0x18]
lea r15, [rbp - 0x48]
lea r12, [rbp - 0x38]
nop word cs:[rax + rax]
mov rax, rdx
sub rax, rdi
jb 0x1400ef8ca
mov r8, qword [rcx + 0x138]
test r8, r8
je 0x1400ef8db
mov r9, qword [rcx + 0x188]
add r9, rdi
cmp dword [rbx], 2
jne 0x1400ef7f0
mov qword [rsp + 0x20], rax
mov rcx, r15
mov rdx, r14
call fcn.1401a9ce0
jmp 0x1400ef806
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x30], rax
mov rcx, r15
mov rdx, rbx
mov r9, r12
call fcn.1400ef080
mov rax, qword [rbp - 0x48]
cmp rax, 2
je 0x1400ef856
mov r13, qword [rbp - 0x40]
test rax, rax
jne 0x1400ef860
add rdi, r13
mov rcx, qword [rbp + 8]
mov qword [rcx + 0x198], rdi
mov rdx, qword [rcx + 0x190]
cmp rdi, rdx
jne 0x1400ef7b0
mov rax, qword [rcx + 0x218]
mov qword [rsi], 0
mov qword [rsi + 8], rax
mov qword [rcx + 0x138], 0
jmp 0x1400ef8b3
movabs r13, 0xd00000003
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x38], 1
mov rcx, r13
call fcn.1400eff00
cmp al, 0xd
jne 0x1400ef899
lea rcx, [rbp - 0x30]
mov qword [rsi], 2
mov rax, qword [rbp + 8]
mov qword [rax + 0x138], 0
call fcn.14000e0f0
jmp 0x1400ef8b3
mov qword [rsi], 1
mov qword [rsi + 8], r13
mov rax, qword [rbp + 8]
mov qword [rax + 0x138], 0
mov rax, rsi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.C:UsersRomain_SAI_TANGUY.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.140214470
jmp 0x1400ef929
lea rcx, [0x140229d5f]
lea r8, [0x140229d88]
mov edx, 0x29
call fcn.140213fc0
jmp 0x1400ef929
lea r8, str.C:UsersRomain_SAI_TANGUY.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, r15
mov rdx, rdi
call fcn.1402144f0
jmp 0x1400ef929
lea r8, str.C:UsersRomain_SAI_TANGUY.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.1402144f0
jmp 0x1400ef929
lea r8, str.C:UsersRomain_SAI_TANGUY.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, r15
call fcn.1402144f0
ud2