Function at 0x140072b40
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov r15, r9
mov r13, r8
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x20]
call fcn.140074730
mov eax, dword [rsp + 0x20]
cmp eax, 2
jne 0x140072b7c
mov rax, qword [rsp + 0x28]
jmp 0x140072d2c
test eax, eax
je 0x140072d22
mov rdx, qword [rdi + 0x1e0]
mov r14, qword [rdi + 0x1e8]
cmp r14, rdx
jne 0x140072d86
mov rbx, qword [rsp + 0x28]
mov ebp, ebx
shr rbx, 0x20
cmp r15, rbx
cmovb rbx, r15
mov r12d, dword [rsp + 0x24]
lea r15, [rbx + r12]
add rbp, r15
sub rbp, r14
jbe 0x140072c0d
mov rax, qword [rdi + 0x1d8]
sub rax, r14
cmp rax, rbp
jb 0x140072dfa
mov rax, qword [rdi + 0x1d0]
lea rcx, [rax + r14]
cmp rbp, 2
jb 0x140072c00
lea r8, [rbp - 1]
xor edx, edx
mov qword [rsp + 0x60], rax
call sub.VCRUNTIME140.dll_memset
add r14, rbp
dec r14
mov rcx, qword [rsp + 0x60]
add rcx, r14
mov byte [rcx], 0
inc r14
mov qword [rdi + 0x1e0], r14
cmp r15, r14
ja 0x140072e3e
mov rcx, qword [rdi + 0x1d0]
add rcx, r12
mov rdx, r13
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rdi + 0x1e0]
cmp rdx, r12
jb 0x140072e52
mov r8, qword [rdi + 0x1d0]
lea rcx, [rsp + 0x78]
mov edx, 7
mov r9, r12
call fcn.1401171c0
mov rdx, qword [rdi + 0x1e0]
cmp r15, rdx
ja 0x140072e63
add r12, qword [rdi + 0x1d0]
lea rcx, [rsp + 0x88]
mov edx, 1
mov r8, r12
mov r9, rbx
call fcn.1401171c0
mov rdx, qword [rdi + 0x1e0]
mov r9, rdx
sub r9, r15
jb 0x140072e74
add r15, qword [rdi + 0x1d0]
lea rcx, [rsp + 0x68]
mov edx, 6
mov r8, r15
call fcn.1401171c0
lea rcx, [rsp + 0x50]
xor edx, edx
xor r8d, r8d
call fcn.1401171c0
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rsp + 0x88]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x40], xmm0
lea r14, [rsp + 0x68]
lea rdx, [rsp + 0x20]
mov r8d, 4
mov rcx, r14
call fcn.1401171e0
lea rcx, [rdi + 0x1f0]
call fcn.140109580
mov rcx, rax
xor edx, edx
mov r8, r14
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x140072d4f
shl rax, 0x20
or rax, 2
jmp 0x140072d2c
movabs rax, 0x8009031700000002
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x20]
add eax, dword [rsp + 0x40]
mov rdx, qword [rdi + 0x1e0]
cmp rdx, rax
jb 0x140072d71
mov qword [rdi + 0x1e0], rax
mov rdx, rax
mov qword [rdi + 0x1e8], 0
mov qword [rdi + 0x230], rbx
xor r14d, r14d
cmp r14, rdx
je 0x140072de8
lea rbx, [rdi + 0x10]
lea r15, [rsp + 0x20]
nop word cs:[rax + rax]
mov r9, rdx
sub r9, r14
jb 0x140072e2d
mov r8, qword [rdi + 0x1d0]
add r8, r14
mov rcx, r15
mov rdx, rbx
call fcn.1400e9000
cmp qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x28]
jne 0x140072d2c
add r14, rax
mov qword [rdi + 0x1e8], r14
mov rdx, qword [rdi + 0x1e0]
cmp r14, rdx
jne 0x140072da0
mov rax, qword [rdi + 0x230]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140072d35
lea rcx, [rdi + 0x1d0]
mov rdx, r14
mov r8, rbp
call fcn.140204250
mov r14, qword [rdi + 0x1e0]
mov rax, qword [rdi + 0x1d0]
lea rcx, [rax + r14]
cmp rbp, 2
jae 0x140072be2
jmp 0x140072c00
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r14
call fcn.140207bf0
ud2
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r15
mov rdx, r14
call fcn.140207c60
ud2
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r12
call fcn.140207c60
ud2
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r15
call fcn.140207c60
ud2
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r15
call fcn.140207bf0
ud2