Function at 0x14012d3d0
Capabilities:
Encrypt data via sspi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rcx
mov qword [rcx + 0x130], rdx
mov rbx, qword [r8]
mov r14, qword [r8 + 8]
lea rcx, [rbp - 0x48]
mov qword [rbp - 8], rax
mov rdx, rax
call fcn.140130e50
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x14012d425
mov rsi, qword [rbp - 0x40]
jmp 0x14012d5c8
test eax, eax
je 0x14012d57e
mov rsi, qword [rbp - 8]
mov r12, qword [rsi + 0x190]
cmp r12, qword [rsi + 0x188]
jne 0x14012d5b8
mov rdi, qword [rbp - 0x40]
mov r13d, edi
shr rdi, 0x20
cmp r14, rdi
cmovb rdi, r14
mov r15d, dword [rbp - 0x44]
lea r14, [rdi + r15]
add r13, r14
sub r13, r12
jbe 0x14012d4c8
lea rcx, [rsi + 0x178]
mov rax, qword [rcx]
sub rax, r12
cmp rax, r13
jae 0x14012d48f
mov rdx, r12
mov r8, r13
call fcn.14020f810
mov rsi, qword [rbp - 8]
mov r12, qword [rsi + 0x188]
mov rsi, qword [rsi + 0x180]
lea rcx, [rsi + r12]
cmp r13, 2
jb 0x14012d4b7
lea r8, [r13 - 1]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
add r12, r13
dec r12
add rsi, r12
mov rcx, rsi
mov byte [rcx], 0
inc r12
mov rsi, qword [rbp - 8]
mov qword [rsi + 0x188], r12
cmp r14, r12
ja 0x14012d628
mov rcx, qword [rsi + 0x180]
add rcx, r15
mov rdx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsi + 0x188]
cmp rdx, r15
jb 0x14012d63c
cmp rdx, r14
jb 0x14012d64d
mov rax, qword [rsi + 0x180]
lea rcx, [rax + r15]
sub edx, r14d
add r14, rax
mov dword [rbp - 0x48], r15d
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], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movabs rax, 0x400000000
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x48]
mov qword [rbp - 0x50], rax
lea rcx, [rsi + 0x1e8]
lea r8, [rbp - 0x58]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x14012d58a
mov esi, eax
shl rsi, 0x20
or rsi, 2
jmp 0x14012d5c8
movabs rsi, 0x8009031700000002
jmp 0x14012d5c8
mov rcx, rsi
mov eax, dword [rbp - 0x38]
add eax, dword [rbp - 0x48]
add eax, dword [rbp - 0x28]
cmp qword [rsi + 0x188], rax
jb 0x14012d5a6
mov qword [rsi + 0x188], rax
mov qword [rsi + 0x190], 0
mov qword [rsi + 0x210], rdi
mov rcx, rsi
call fcn.140133070
test rax, rax
je 0x14012d60e
mov rsi, rdx
mov rcx, rsi
call fcn.14012dc90
mov rcx, qword [rbp - 8]
mov qword [rcx + 0x130], 0
cmp al, 0xd
jne 0x14012d5f2
mov rcx, rsi
call section..text
mov eax, 2
jmp 0x14012d5f7
mov eax, 1
mov rdx, rsi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp - 8]
mov rsi, qword [rax + 0x210]
mov qword [rax + 0x130], 0
xor eax, eax
jmp 0x14012d5f7
lea r8, str.C:Users_sushi.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.24_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64_U__
mov rcx, r14
mov rdx, r12
call fcn.14021bbd0
jmp 0x14012d65c
lea r8, str.C:Users_sushi.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.24_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64_U__
mov rcx, r15
call fcn.14021bbd0
jmp 0x14012d65c
lea r8, str.C:Users_sushi.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.24_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64_U__
mov rcx, r14
call fcn.14021bbd0
ud2