Function at 0x14010fc80
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r13, r9
mov rsi, rdx
mov r12, rcx
mov qword [rdx + 0x80], r8
lea rcx, [rsp + 0x30]
call fcn.140110020
mov eax, dword [rsp + 0x30]
cmp eax, 2
jne 0x14010fcc0
mov rdi, qword [rsp + 0x38]
jmp 0x14010fd5a
test eax, eax
je 0x14010fd50
mov rdi, qword [rsi + 0x40]
cmp rdi, qword [rsi + 0x58]
jne 0x14010fec9
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x38]
mov ebp, ebx
shr rbx, 0x20
cmp rax, rbx
cmovb rbx, rax
mov qword [rsp + 0x28], rcx
lea rdx, [rbx + rcx]
add rbp, rdx
mov r15, rbp
sub r15, rdi
jbe 0x14010fd80
mov qword [rsp + 0x70], r12
mov rax, qword [rsi + 0x48]
sub rax, rdi
mov r12, rdi
cmp rax, r15
jb 0x14010fd8b
mov r14, qword [rsi + 0x50]
lea rcx, [r14 + r12]
cmp r15, 2
jb 0x14010fdb6
lea r8, [r15 - 1]
mov rdi, rdx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rdx, rdi
add r12, r15
dec r12
lea rcx, [r14 + r12]
mov rbp, qword [rsp + 0x28]
jmp 0x14010fdc0
movabs rdi, 0x8009031700000002
mov ebx, edi
and ebx, 3
lea rax, [0x140110008]
movsxd rcx, dword [rax + rbx*4]
add rcx, rax
jmp rcx
movzx eax, byte [rdi + 0x10]
cmp al, 0xd
je 0x14010ff2b
jmp 0x14010ffa3
mov r14, qword [rsi + 0x50]
mov rbp, qword [rsp + 0x28]
jmp 0x14010fdd2
lea rcx, [rsi + 0x48]
mov r14, rdx
mov rdx, rdi
mov r8, r15
call fcn.1401726f0
mov rdx, r14
mov r12, qword [rsi + 0x58]
mov r14, qword [rsi + 0x50]
lea rcx, [r14 + r12]
cmp r15, 2
jae 0x14010fd2e
cmp rbp, rdi
mov rbp, qword [rsp + 0x28]
je 0x14010fdc6
mov byte [rcx], 0
inc r12
mov qword [rsi + 0x58], r12
mov rdi, r12
mov r12, qword [rsp + 0x70]
mov qword [rsp + 0x28], rdx
cmp rdi, rdx
jb 0x14010ffe5
lea r15, [r14 + rbp]
mov rcx, r15
mov rdx, r13
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
cmp rdi, rbp
jb 0x14010fff3
mov rdx, qword [rsp + 0x28]
sub edi, edx
xor eax, eax
test r14, r14
cmove ebp, eax
mov ecx, ebx
cmove ecx, eax
cmove edi, eax
lea rax, [r14 + rdx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x34], 7
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x54], 6
mov qword [rsp + 0x58], rax
movabs rax, 0x400000000
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x80], rax
lea rcx, [rsi + 0x60]
lea r8, [rsp + 0x78]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
test eax, eax
je 0x14010fea4
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov ebx, edi
and ebx, 3
lea rax, [0x140110008]
movsxd rcx, dword [rax + rbx*4]
add rcx, rax
jmp rcx
mov eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x50]
cmp qword [rsi + 0x58], rax
jb 0x14010feba
mov qword [rsi + 0x58], rax
mov qword [rsi + 0x40], 0
mov qword [rsi + 0x1e0], rbx
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.1401111a0
cmp qword [rsp + 0x30], 0
je case.default.0x14010fefa
mov rdi, qword [rsp + 0x38]
mov ebx, edi
and ebx, 3
lea rax, [0x140110008]
movsxd rcx, dword [rax + rbx*4]
add rcx, rax
jmp rcx
cmp byte [rdi + 0xf], 0xd
jne 0x14010ffa3
mov qword [r12], 2
mov qword [rsi + 0x80], 0
jmp 0x14010ff43
mov rcx, rdi
shr rcx, 0x20
call fcn.14013c510
cmp al, 0xd
jne 0x14010ffa3
mov qword [r12], 2
mov qword [rsi + 0x80], 0
cmp ebx, 1
jne 0x14010ffbb
lea rsi, [rdi - 1]
mov rcx, qword [rdi - 1]
mov rax, qword [rdi + 7]
call qword [rax]
mov rax, qword [rdi + 7]
cmp qword [rax + 8], 0
je 0x14010ff79
mov r8, qword [rsi]
cmp qword [rax + 0x10], 0x11
jb 0x14010ff6a
mov r8, qword [r8 - 8]
mov rcx, qword [0x140221370]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [0x140221370]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14010ffbb
mov rax, rdi
shr rax, 0x20
cmp eax, 0xd
jne 0x14010ffa3
mov qword [r12], 2
jmp 0x14010ffb0
mov qword [r12], 1
mov qword [r12 + 8], rdi
mov qword [rsi + 0x80], 0
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi + 0x1e0]
mov qword [r12], 0
mov qword [r12 + 8], rax
jmp 0x14010ffb0
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, qword [rsp + 0x28]
jmp 0x14010fffd
lea r8, str.C:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.22_src_tls_stream.rsC:UsersUser.cargo_registry_srcgithub.com_1ecc6299db9ec823_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rbp
mov rdx, rdi
call fcn.14016f3c0
ud2