Function at 0x1400bc2d0
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 + 0x90], r8
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.1400bc5a4
mov eax, dword [rbx]
cmp eax, 2
jne case.default.0x1400bc32a
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, [0x1400bc594]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
test eax, eax
je 0x1400bc44f
mov rbp, qword [rsi + 0x40]
cmp rbp, qword [rsi + 0x58]
jne 0x1400bc4a3
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 0x1400bc37b
lea rcx, [rsi + 0x48]
call fcn.140044206
mov rbp, qword [rsi + 0x58]
cmp rbp, r12
jb 0x1400bc567
mov rcx, qword [rsi + 0x50]
add rcx, r13
mov rdx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
cmp rbp, r13
jb 0x1400bc573
mov rdx, qword [rsi + 0x58]
cmp rdx, r12
jb 0x1400bc582
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 0x1400bc47e
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, [0x1400bc594]
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, [0x1400bc594]
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 0x1400bc494
mov qword [rsi + 0x58], rax
mov qword [rsi + 0x40], 0
mov qword [rsi + 0xe0], r14
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov rdx, rsi
call fcn.1400bd22b
cmp qword [rbx], 0
je case.default.0x1400bc4e3
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, [0x1400bc594]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov al, byte [rbx + 0x10]
jmp 0x1400bc4fb
mov al, byte [rbx + 0xf]
jmp 0x1400bc4fb
mov rcx, rbx
shr rcx, 0x20
call fcn.1400eb110
cmp al, 0xd
jne 0x1400bc527
mov qword [rdi], 2
mov qword [rsi + 0x90], 0
mov rcx, r14
call fcn.1400089cb
jmp 0x1400bc53d
mov rax, rbx
shr rax, 0x20
cmp eax, 0xd
je 0x1400bc4ff
mov qword [rdi], 1
mov qword [rdi + 8], rbx
mov qword [rsi + 0x90], 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 + 0xe0]
xor ecx, ecx
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov qword [rsi + 0x90], rcx
jmp 0x1400bc53d
lea r8, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsC:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.3.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r12
jmp 0x1400bc57d
lea r8, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsC:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.3.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r13
mov rdx, rbp
jmp 0x1400bc58c
lea r8, str.C:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.20_src_tls_stream.rsC:Userskylef.cargo_registry_srcindex.crates.io_6f17d22bba15001f_bytes_1.3.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r12
call fcn.140237a00
ud2