Function at 0x14003ce00
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r12, r9
mov r13, r8
mov rdi, rdx
mov rsi, rcx
lea rcx, [rsp + 0x20]
call fcn.14003d8f0
mov eax, dword [rsp + 0x20]
cmp eax, 2
jne 0x14003ce39
mov rax, qword [rsp + 0x28]
jmp 0x14003cf95
test eax, eax
je 0x14003cf8b
mov rdx, qword [rdi + 0x1b0]
mov r15, qword [rdi + 0x1b8]
cmp r15, rdx
jne 0x14003cfec
mov rbx, qword [rsp + 0x28]
mov r14d, ebx
shr rbx, 0x20
cmp r12, rbx
cmovb rbx, r12
mov ebp, dword [rsp + 0x24]
lea r12, [rbx + rbp]
add r14, r12
sub r14, r15
jbe 0x14003ceca
mov rax, qword [rdi + 0x1a8]
sub rax, r15
cmp rax, r14
jb 0x14003d05a
mov rax, qword [rdi + 0x1a0]
lea rcx, [rax + r15]
cmp r14, 2
jb 0x14003cebd
lea r8, [r14 - 1]
xor edx, edx
mov qword [rsp + 0x60], rax
call sub.VCRUNTIME140.dll_memset
add r15, r14
dec r15
mov rcx, qword [rsp + 0x60]
add rcx, r15
mov byte [rcx], 0
inc r15
mov qword [rdi + 0x1b0], r15
cmp r12, r15
ja 0x14003d09e
mov rcx, qword [rdi + 0x1a0]
add rcx, rbp
mov rdx, r13
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rdi + 0x1b0]
cmp rdx, rbp
jb 0x14003d0b2
cmp rdx, r12
jb 0x14003d0c3
mov rax, qword [rdi + 0x1a0]
lea rcx, [rax + rbp]
sub edx, r12d
add r12, rax
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x24], 7
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x44], 6
mov qword [rsp + 0x48], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x70], rax
lea rcx, [rdi + 0x1c0]
lea r8, [rsp + 0x68]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x14003cfb5
shl rax, 0x20
or rax, 2
jmp 0x14003cf95
movabs rax, 0x8009031700000002
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x78
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 + 0x1b0]
cmp rdx, rax
jb 0x14003cfd7
mov qword [rdi + 0x1b0], rax
mov rdx, rax
mov qword [rdi + 0x1b8], 0
mov qword [rdi + 0x200], rbx
xor r15d, r15d
cmp r15, rdx
je 0x14003d048
lea rbx, [rdi + 0x10]
lea r14, [rsp + 0x20]
nop word [rax + rax]
mov r9, rdx
sub r9, r15
jb 0x14003d08d
mov r8, qword [rdi + 0x1a0]
add r8, r15
mov rcx, r14
mov rdx, rbx
call fcn.140034b40
cmp qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x28]
jne 0x14003cf95
add r15, rax
mov qword [rdi + 0x1b8], r15
mov rdx, qword [rdi + 0x1b0]
cmp r15, rdx
jne 0x14003d000
mov rax, qword [rdi + 0x200]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14003cf9e
lea rcx, [rdi + 0x1a0]
mov rdx, r15
mov r8, r14
call fcn.140219ac0
mov r15, qword [rdi + 0x1b0]
mov rax, qword [rdi + 0x1a0]
lea rcx, [rax + r15]
cmp r14, 2
jae 0x14003ce9f
jmp 0x14003cebd
lea r8, str.C:UsersJuanjo.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersJuanjo.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r15
call fcn.140222b10
ud2
lea r8, str.C:UsersJuanjo.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersJuanjo.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r12
mov rdx, r15
call fcn.140222b90
ud2
lea r8, str.C:UsersJuanjo.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersJuanjo.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rbp
call fcn.140222b90
ud2
lea r8, str.C:UsersJuanjo.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:UsersJuanjo.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r12
call fcn.140222b90
ud2