Function at 0x1400d2500
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 rax, rcx
mov qword [rcx + 0xe0], rdx
mov r14, qword [r8]
mov r15, qword [r8 + 8]
lea rbx, [rbp - 0x48]
mov rcx, rbx
mov qword [rbp + 8], rax
mov rdx, rax
call fcn.1400d43f0
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x1400d255c
mov rbx, qword [rbp - 0x40]
mov r13, qword [rbp + 8]
jmp 0x1400d26c9
test eax, eax
mov r13, qword [rbp + 8]
je 0x1400d25ce
mov rdx, qword [r13 + 0x60]
mov rsi, qword [r13 + 0x68]
cmp rsi, rdx
jne 0x1400d2780
mov rdi, qword [rbp - 0x40]
mov r13d, edi
shr rdi, 0x20
cmp r15, rdi
cmovb rdi, r15
mov r12d, dword [rbp - 0x44]
lea r15, [rdi + r12]
add r13, r15
sub r13, rsi
jbe 0x1400d25dd
mov rax, qword [rbp + 8]
lea rcx, [rax + 0x50]
mov rax, qword [rcx]
sub rax, rsi
cmp rax, r13
jae 0x1400d25e3
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rdx, rsi
mov r8, r13
call fcn.1401ab540
mov rax, qword [rbp + 8]
mov rsi, qword [rax + 0x60]
jmp 0x1400d25e7
movabs rbx, 0x8009031700000002
jmp 0x1400d26c9
mov r13, qword [rbp + 8]
jmp 0x1400d261e
mov rax, qword [rbp + 8]
mov rbx, qword [rax + 0x58]
lea rcx, [rbx + rsi]
cmp r13, 2
jb 0x1400d260c
lea r8, [r13 - 1]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
add rsi, r13
dec rsi
add rbx, rsi
mov rcx, rbx
mov byte [rcx], 0
inc rsi
mov r13, qword [rbp + 8]
mov qword [r13 + 0x60], rsi
lea rbx, [rbp - 0x48]
cmp r15, rsi
ja 0x1400d2843
mov rcx, qword [r13 + 0x58]
add rcx, r12
mov rdx, r14
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [r13 + 0x60]
cmp rdx, r12
jb 0x1400d2857
cmp rdx, r15
jb 0x1400d2868
mov rax, qword [r13 + 0x58]
lea rcx, [rax + r12]
sub edx, r15d
add r15, rax
mov dword [rbp - 0x48], r12d
mov dword [rbp - 0x44], 7
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], edi
mov dword [rbp - 0x34], 1
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x28], edx
mov dword [rbp - 0x24], 6
mov qword [rbp - 0x20], r15
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movabs rax, 0x400000000
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rbx
lea rcx, [r13 + 0xe8]
lea r8, [rbp - 0x58]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1400d2756
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rcx, rbx
call fcn.1400d35e0
mov qword [r13 + 0xe0], 0
cmp al, 0xd
jne 0x1400d274c
mov eax, ebx
and eax, 3
mov esi, 2
cmp eax, 1
jne 0x1400d27e7
lea rax, [rbx - 1]
mov qword [rbp - 8], rax
mov rax, qword [rbx - 1]
mov qword [rbp + 8], rax
mov rax, qword [rbx + 7]
mov qword [rbp], rax
mov rax, qword [rax]
test rax, rax
je 0x1400d2719
mov rcx, qword [rbp + 8]
call rax
mov rcx, qword [rbp + 8]
mov rax, qword [rbp]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400d2733
mov r8, qword [rax + 0x10]
call fcn.140007be0
mov edx, 0x18
mov r8d, 8
mov rcx, qword [rbp - 8]
call fcn.140007be0
jmp 0x1400d27e7
mov esi, 1
jmp 0x1400d27e7
mov eax, dword [rbp - 0x38]
add eax, dword [rbp - 0x48]
add eax, dword [rbp - 0x28]
mov rdx, qword [r13 + 0x60]
cmp rdx, rax
jb 0x1400d276f
mov qword [r13 + 0x60], rax
mov rdx, rax
mov qword [r13 + 0x68], 0
mov qword [r13 + 0x110], rdi
xor esi, esi
cmp rsi, rdx
je 0x1400d27d3
lea rdi, [r13 + 0xc0]
nop dword [rax]
mov r9, rdx
sub r9, rsi
jb 0x1400d2832
mov rdx, qword [r13 + 0xe0]
test rdx, rdx
je 0x1400d2818
mov r8, qword [r13 + 0x58]
add r8, rsi
mov rcx, rdi
call fcn.14014df80
mov rbx, rdx
test rax, rax
jne 0x1400d2801
add rsi, rbx
mov r13, qword [rbp + 8]
mov qword [r13 + 0x68], rsi
mov rdx, qword [r13 + 0x60]
cmp rsi, rdx
jne 0x1400d2790
mov rbx, qword [r13 + 0x110]
mov qword [r13 + 0xe0], 0
xor esi, esi
mov rax, rsi
mov rdx, rbx
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp rax, 2
movabs rax, 0xd00000003
cmove rbx, rax
jmp 0x1400d2553
lea rcx, [0x1401c69b7]
lea r8, [0x1401c69e0]
mov edx, 0x29
call fcn.1401b2930
jmp 0x1400d2877
lea r8, str.C:UsersDemon666.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.26_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, rsi
call fcn.1401b2cd0
jmp 0x1400d2877
lea r8, str.C:UsersDemon666.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.26_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r15
mov rdx, rsi
call fcn.1401b2d40
jmp 0x1400d2877
lea r8, str.C:UsersDemon666.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.26_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r12
call fcn.1401b2d40
jmp 0x1400d2877
lea r8, str.C:UsersDemon666.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.26_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r15
call fcn.1401b2d40
ud2