Function at 0x1400ac310
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 + 0xf8], r8
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.1400ac5e4
mov eax, dword [rbx]
cmp eax, 2
jne case.default.0x1400ac36a
lea r14, [rsp + 0x30]
mov rbx, qword [r14]
mov qword [r14], rbx
mov qword [r14 - 8], 1
mov eax, ebx
and eax, 3
lea rcx, [0x1400ac5d4]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
test eax, eax
je 0x1400ac48f
mov rbp, qword [rsi + 0x40]
cmp rbp, qword [rsi + 0x58]
jne 0x1400ac4e3
mov rax, qword [rsp + 0xe0]
mov r14, qword [rsp + 0x30]
mov edx, r14d
shr r14, 0x20
cmp rax, r14
cmovb r14, rax
mov r13d, dword [rsp + 0x2c]
lea r12, [r14 + r13]
add rdx, r12
cmp rbp, rdx
jae 0x1400ac3bb
lea rcx, [rsi + 0x48]
call fcn.14002f084
mov rbp, qword [rsi + 0x58]
cmp rbp, r12
jb 0x1400ac5a7
mov rcx, qword [rsi + 0x50]
add rcx, r13
mov rdx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
cmp rbp, r13
jb 0x1400ac5b3
mov rdx, qword [rsi + 0x58]
cmp rdx, r12
jb 0x1400ac5c2
mov rax, qword [rsi + 0x50]
lea rcx, [rax + r13]
sub edx, r12d
add r12, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x4c], 6
mov qword [rsp + 0x50], r12
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 0x1400ac4be
mov ebx, eax
shl rbx, 0x20
or rbx, 2
lea r14, [rsp + 0x30]
mov qword [r14], rbx
mov qword [r14 - 8], 1
mov eax, ebx
and eax, 3
lea rcx, [0x1400ac5d4]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
movabs rbx, 0x8009031700000002
lea r14, [rsp + 0x30]
mov qword [r14], rbx
mov qword [r14 - 8], 1
mov eax, ebx
and eax, 3
lea rcx, [0x1400ac5d4]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x58], rax
jb 0x1400ac4d4
mov qword [rsi + 0x58], rax
mov qword [rsi + 0x40], 0
mov qword [rsi + 0xb0], r14
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rsi
call fcn.1400ad269
cmp qword [rbx], 0
je case.default.0x1400ac523
lea r14, [rsp + 0x30]
mov rbx, qword [r14]
mov qword [r14], rbx
mov qword [r14 - 8], 1
mov eax, ebx
and eax, 3
lea rcx, [0x1400ac5d4]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov al, byte [rbx + 0x10]
jmp 0x1400ac53b
mov al, byte [rbx + 0xf]
jmp 0x1400ac53b
mov rcx, rbx
shr rcx, 0x20
call fcn.1400d1280
cmp al, 0xd
jne 0x1400ac567
mov qword [rdi], 2
mov qword [rsi + 0xf8], 0
mov rcx, r14
call fcn.14000d58e
jmp 0x1400ac57d
mov rax, rbx
shr rax, 0x20
cmp eax, 0xd
je 0x1400ac53f
mov qword [rdi], 1
mov qword [rdi + 8], rbx
mov qword [rsi + 0xf8], 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 + 0xb0]
xor ecx, ecx
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov qword [rsi + 0xf8], rcx
jmp 0x1400ac57d
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.2.1_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r12
jmp 0x1400ac5bd
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.2.1_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r13
mov rdx, rbp
jmp 0x1400ac5cc
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.2.1_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r12
call fcn.140109240
ud2