Function at 0x140197440
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 r15, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0x80], r8
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.1401a9422
mov eax, dword [rbx]
cmp eax, 2
jne case.default.0x14019748c
mov rbx, qword [rsp + 0x28]
mov eax, ebx
and eax, 3
lea rcx, [0x1401976d0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
test eax, eax
je 0x1401975ac
mov rbp, qword [rsi + 0x40]
cmp rbp, qword [rsi + 0x58]
jne 0x1401975f0
mov rax, qword [rsp + 0xe0]
mov r14, qword [rsp + 0x28]
mov edx, r14d
shr r14, 0x20
cmp rax, r14
cmovb r14, rax
mov r12d, dword [rsp + 0x24]
lea r13, [r14 + r12]
add rdx, r13
cmp rbp, rdx
jae 0x1401974dd
lea rcx, [rsi + 0x48]
call fcn.14004a017
mov rbp, qword [rsi + 0x58]
cmp rbp, r13
jb 0x1401976a1
mov rax, qword [rsi + 0x50]
mov qword [rsp + 0x60], rax
lea rcx, [rax + r12]
mov rdx, r15
mov r8, r14
call fcn.14038a820
cmp rbp, r12
jb 0x1401976ad
mov rdx, qword [rsi + 0x58]
cmp rdx, r13
jb 0x1401976bc
mov rax, qword [rsi + 0x50]
lea rcx, [rax + r12]
sub edx, r13d
add rax, r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x24], 7
mov r8, qword [rsp + 0x60]
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x44], 6
mov qword [rsp + 0x48], rax
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], rbx
lea rcx, [rsi + 0x60]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x1401975cb
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov eax, ebx
and eax, 3
lea rcx, [0x1401976d0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movabs rbx, 0x8009031700000002
mov eax, ebx
and eax, 3
lea rcx, [0x1401976d0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x20]
add eax, dword [rsp + 0x40]
cmp qword [rsi + 0x58], rax
jb 0x1401975e1
mov qword [rsi + 0x58], rax
mov qword [rsi + 0x40], 0
mov qword [rsi + 0x1e0], r14
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, rsi
call fcn.1401aa44f
cmp qword [rbx], 0
je case.default.0x140197622
mov rbx, qword [rsp + 0x28]
mov eax, ebx
and eax, 3
lea rcx, [0x1401976d0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov al, byte [rbx + 0x10]
jmp 0x14019763a
mov al, byte [rbx + 0xf]
jmp 0x14019763a
mov rcx, rbx
shr rcx, 0x20
call fcn.14022a080
cmp al, 0xd
jne 0x140197666
mov qword [rdi], 2
mov qword [rsi + 0x80], 0
mov rcx, rbx
call fcn.140088fca
jmp 0x14019767c
mov rax, rbx
shr rax, 0x20
cmp eax, 0xd
je 0x14019763e
mov qword [rdi], 1
mov qword [rdi + 8], rbx
mov qword [rsi + 0x80], 0
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x1e0]
mov qword [rdi], 0
mov qword [rdi + 8], rax
jmp 0x140197671
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r13
jmp 0x1401976b7
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r12
mov rdx, rbp
jmp 0x1401976c6
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsC:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r13
call fcn.14038e940
ud2