Function at 0x1400bddf0
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r13, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0xf8], r8
lea r12, [rsp + 0x38]
mov rcx, r12
call fcn.1400c46a0
mov eax, dword [rsp + 0x38]
cmp eax, 2
jne case.default.0x1400bde42
mov r15, qword [rsp + 0x40]
mov eax, r15d
and eax, 3
lea rcx, [0x1400be1e8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movzx eax, byte [r15 + 0x10]
cmp al, 0xd
je 0x1400be168
jmp 0x1400be171
test eax, eax
je 0x1400bdee6
mov rbx, qword [rsi + 0x40]
mov rdx, qword [rsi + 0x58]
cmp rbx, rdx
jne 0x1400be05d
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0x3c]
mov r14, qword [rsp + 0x40]
mov r15d, r14d
shr r14, 0x20
cmp rax, r14
cmovb r14, rax
mov qword [rsp + 0x28], rcx
lea rdx, [r14 + rcx]
add r15, rdx
mov rbp, r15
sub rbp, rbx
mov qword [rsp + 0x30], rdi
jbe 0x1400bdf09
mov rax, qword [rsi + 0x48]
sub rax, rbx
mov r12, rbx
cmp rax, rbp
jb 0x1400bdf14
mov rdi, qword [rsi + 0x50]
lea rcx, [rdi + r12]
cmp rbp, 2
jb 0x1400bdf3b
lea r8, [rbp - 1]
mov rbx, rdx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
add r12, rbp
dec r12
lea rcx, [rdi + r12]
mov rbp, qword [rsp + 0x28]
jmp 0x1400bdf45
movabs r15, 0x8009031700000002
mov rcx, r15
shr rcx, 0x20
call fcn.1400e2f90
cmp al, 0xd
je 0x1400be168
jmp 0x1400be171
mov rdi, qword [rsi + 0x50]
mov rbp, qword [rsp + 0x28]
jmp 0x1400bdf57
lea rcx, [rsi + 0x48]
mov rdi, rdx
mov rdx, rbx
mov r8, rbp
call fcn.14010fe50
mov rdx, rdi
mov r12, qword [rsi + 0x58]
mov rdi, qword [rsi + 0x50]
lea rcx, [rdi + r12]
cmp rbp, 2
jae 0x1400bdec4
cmp r15, rbx
mov rbp, qword [rsp + 0x28]
je 0x1400bdf4b
mov byte [rcx], 0
inc r12
mov qword [rsi + 0x58], r12
mov rbx, r12
lea r12, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
cmp rbx, rdx
jb 0x1400be1c6
lea r15, [rdi + rbp]
mov rcx, r15
mov rdx, r13
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
cmp rbx, rbp
jb 0x1400be1d4
mov rdx, qword [rsp + 0x28]
sub ebx, edx
add rdx, rdi
xor eax, eax
test rdi, rdi
cmove ebp, eax
mov ecx, r14d
cmove ecx, eax
cmove ebx, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], 7
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x4c], 1
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x5c], 6
mov qword [rsp + 0x60], rdx
movabs rax, 0x400000000
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], r12
lea rcx, [rsi + 0x60]
lea r8, [rsp + 0x78]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1400be02b
mov r15d, eax
shl r15, 0x20
or r15, 2
mov eax, r15d
and eax, 3
lea rcx, [0x1400be1e8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
mov rdi, qword [rsp + 0x30]
jmp rax
mov eax, dword [rsp + 0x48]
add eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x58]
mov rdx, qword [rsi + 0x58]
cmp rdx, rax
mov rdi, qword [rsp + 0x30]
jb 0x1400be04c
mov qword [rsi + 0x58], rax
mov rdx, rax
mov qword [rsi + 0x40], 0
mov qword [rsi + 0xb0], r14
xor ebx, ebx
cmp rbx, rdx
je 0x1400be0cc
lea r14, [rsi + 0xd8]
lea r12, [rsp + 0x38]
nop
mov rax, rdx
sub rax, rbx
jb 0x1400be19b
mov r8, qword [rsi + 0xf8]
test r8, r8
je 0x1400be1ac
mov r9, qword [rsi + 0x50]
add r9, rbx
mov qword [rsp + 0x20], rax
mov rcx, r12
mov rdx, r14
call fcn.1400f4f00
mov rax, qword [rsp + 0x38]
cmp rax, 2
je 0x1400be168
mov r15, qword [rsp + 0x40]
test rax, rax
jne 0x1400be0e3
add rbx, r15
mov qword [rsi + 0x40], rbx
mov rdx, qword [rsi + 0x58]
cmp rbx, rdx
jne 0x1400be070
mov rax, qword [rsi + 0xb0]
mov qword [rdi], 0
mov qword [rdi + 8], rax
jmp 0x1400be17c
mov eax, r15d
and eax, 3
lea rcx, [0x1400be1e8]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
cmp byte [r15 + 0xf], 0xd
jne 0x1400be171
lea rbx, [r15 - 1]
mov qword [rdi], 2
mov qword [rsi + 0xf8], 0
mov rcx, qword [r15 - 1]
mov rax, qword [r15 + 7]
call qword [rax]
mov rax, qword [r15 + 7]
cmp qword [rax + 8], 0
je 0x1400be148
mov r8, qword [rbx]
cmp qword [rax + 0x10], 0x11
jb 0x1400be139
mov r8, qword [r8 - 8]
mov rcx, qword [0x14017e260]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x14017e260]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1400be187
mov rax, r15
shr rax, 0x20
cmp eax, 0xd
jne 0x1400be171
mov qword [rdi], 2
jmp 0x1400be17c
mov qword [rdi], 1
mov qword [rdi + 8], r15
mov qword [rsi + 0xf8], 0
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsPoisonErrorC:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.2.1_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rbx
call fcn.14010b500
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x140141118]
mov edx, 0x29
call fcn.14010b520
ud2
lea r8, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsPoisonErrorC:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.2.1_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, qword [rsp + 0x28]
jmp 0x1400be1de
lea r8, str.C:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsPoisonErrorC:Usersmixer.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.2.1_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rbp
mov rdx, rbx
call fcn.14010b510
ud2