Function at 0x14006fb10
Capabilities:
Decrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rcx + 0x50]
mov rcx, qword [rcx + 0x58]
cmp rcx, rdx
ja 0x140070007
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], rax
lea r14, [rsi + 0x10]
lea rax, [rsi + 0xf0]
mov qword [rsp + 0x78], rax
lea r12, [rsp + 0x28]
xorps xmm6, xmm6
mov r15d, 0x400
jmp 0x14006fb99
cmp dword [rsp + 0x3c], 4
mov eax, dword [rsp + 0x38]
mov ecx, 1
cmovne eax, ecx
mov qword [rsi + 0x110], rax
mov rdx, qword [rsi + 0x50]
mov rcx, qword [rsi + 0x58]
cmp rcx, rdx
ja 0x140070007
cmp rdx, rcx
jne 0x14006ff81
mov rcx, r12
mov rdx, rsi
call fcn.140072b20
mov eax, dword [rsp + 0x28]
cmp eax, 2
je 0x14006ff6d
cmp eax, 1
jne 0x14006ff81
mov rbp, qword [rsi + 0x78]
mov rbx, qword [rsi + 0x110]
test rbx, rbx
je 0x14006fcf9
xor r13d, r13d
nop word [rax + rax]
lea rax, [rbp*2]
cmp rax, rbx
cmova rbx, rax
cmp rbx, 0x401
cmovb rbx, r15
mov rdi, qword [rsi + 0x70]
sub rbx, rdi
jbe 0x14006fc42
mov rax, qword [rsi + 0x60]
sub rax, rdi
cmp rax, rbx
jb 0x14006fca0
mov r12, qword [rsi + 0x68]
lea rcx, [r12 + rdi]
cmp rbx, 2
jb 0x14006fc38
lea r8, [rbx - 1]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
add rdi, rbx
dec rdi
add r12, rdi
mov rcx, r12
mov byte [rcx], 0
inc rdi
mov qword [rsi + 0x70], rdi
mov r8, rdi
sub r8, rbp
jb 0x14006fff5
mov rdx, qword [rsi + 0x68]
add rdx, rbp
mov rcx, r14
call fcn.14008b960
mov rdi, rdx
test rax, rax
jne 0x14006ff66
add rbp, rdi
mov qword [rsi + 0x78], rbp
mov rax, qword [rsi + 0x110]
mov rcx, rax
sub rcx, rdi
mov ebx, 0
cmovae rbx, rcx
mov qword [rsi + 0x110], rbx
test rdi, rdi
je 0x14006fce0
add r13, rdi
cmp rax, rdi
ja 0x14006fbe0
jmp 0x14006fce0
lea rcx, [rsi + 0x60]
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rdx, rdi
mov r8, rbx
call fcn.1401ac370
mov rdi, qword [rsi + 0x70]
mov r12, qword [rsi + 0x68]
lea rcx, [r12 + rdi]
cmp rbx, 2
jae 0x14006fc21
jmp 0x14006fc38
test r13, r13
lea r12, [rsp + 0x28]
je 0x14006ff81
mov qword [rsi + 0x110], 0
mov rdx, qword [rsi + 0x70]
cmp rbp, rdx
ja 0x140070013
mov rax, qword [rsi + 0x68]
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x2c], 1
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x38]
movups xmmword [rax + 0x20], xmm6
movups xmmword [rax + 0x10], xmm6
movups xmmword [rax], xmm6
movabs rax, 0x400000000
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], r12
mov rcx, qword [rsp + 0x78]
lea rdx, [rsp + 0x80]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
mov edi, eax
cmp eax, 0x90316
jg 0x14006fdd0
cmp edi, 0x80090318
je 0x14006fb70
test edi, edi
jne 0x14006ffe6
mov rax, qword [rsi + 0x50]
mov rdx, qword [rsi + 0x58]
mov rbx, rax
sub rbx, rdx
jb 0x140070022
mov rdi, qword [rsp + 0x40]
mov r12, qword [rsi + 0x68]
mov ebp, dword [rsp + 0x38]
mov qword [rsi + 0x50], 0
test rdx, rdx
je 0x14006fe45
cmp rax, rdx
je 0x14006fe4d
mov rcx, qword [rsi + 0x48]
add rdx, rcx
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov r13, qword [rsi + 0x68]
jmp 0x14006fe54
cmp edi, 0x90321
jne 0x14006ff79
mov dword [rsi + 0xd0], 0x10000
mov byte [rsi + 0xd4], 0
cmp dword [rsp + 0x5c], 5
mov rcx, qword [rsi + 0x78]
mov ebx, dword [rsp + 0x58]
mov eax, 0
cmovne ebx, eax
mov rdx, rcx
sub rdx, rbx
jb 0x140070034
test ebx, ebx
je 0x14006ff0c
mov rax, qword [rsi + 0x70]
mov rdi, rax
sub rdi, rdx
jb 0x140070022
mov qword [rsi + 0x70], 0
cmp rcx, rbx
jne 0x14006fef4
cmp rax, rdx
jne 0x14006ff08
jmp 0x14006ff0c
mov r13, r12
cmp rax, rdx
jne 0x14006fe54
xor ebx, ebx
mov r13, r12
jmp 0x14006fe58
mov qword [rsi + 0x50], rbx
sub rdi, r12
lea rax, [rdi + rbp]
cmp rax, rdi
jb 0x14007005b
mov rdx, qword [rsi + 0x70]
cmp rax, rdx
ja 0x14007004c
mov rax, qword [rsi + 0x40]
sub rax, rbx
cmp rax, rbp
jb 0x14006ff3f
add r13, rdi
add rbx, qword [rsi + 0x48]
mov rcx, rbx
mov rdx, r13
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
add qword [rsi + 0x50], rbp
mov qword [rsi + 0x58], 0
cmp dword [rsp + 0x5c], 5
mov rcx, qword [rsi + 0x78]
mov ebx, dword [rsp + 0x58]
mov eax, 0
cmovne ebx, eax
mov rdx, rcx
sub rdx, rbx
jb 0x140070034
test ebx, ebx
lea r12, [rsp + 0x28]
je 0x14006ff2f
mov rax, qword [rsi + 0x70]
mov rdi, rax
sub rdi, rdx
jb 0x140070022
mov qword [rsi + 0x70], 0
cmp rcx, rbx
jne 0x14006ff17
cmp rax, rdx
jne 0x14006ff2b
jmp 0x14006ff2f
cmp rax, rdx
je 0x14006ff0c
mov rcx, qword [rsi + 0x68]
add rdx, rcx
mov r8, rdi
call sub.VCRUNTIME140.dll_memmove
mov qword [rsi + 0x70], rdi
mov qword [rsi + 0x78], rbx
xor eax, eax
jmp 0x14006fb81
cmp rax, rdx
je 0x14006ff2f
mov rcx, qword [rsi + 0x68]
add rdx, rcx
mov r8, rdi
call sub.VCRUNTIME140.dll_memmove
mov qword [rsi + 0x70], rdi
xor eax, eax
test ebx, ebx
sete al
mov qword [rsi + 0x78], rbx
jmp 0x14006fb81
lea rcx, [rsi + 0x40]
mov qword [rsp + 0x20], 1
mov r9d, 1
mov rdx, rbx
mov r8, rbp
call fcn.1401ac370
mov rbx, qword [rsi + 0x50]
jmp 0x14006fe85
mov eax, 1
jmp 0x14006ffc7
mov rdi, qword [rsp + 0x30]
mov eax, 1
jmp 0x14006ffc7
cmp edi, 0x90317
jne 0x14006ffe6
mov r14, qword [rsi + 0x50]
mov rbx, qword [rsi + 0x58]
mov rdi, r14
sub rdi, rbx
jb 0x14007006d
mov rdx, qword [rsi + 0x48]
add rdx, rbx
mov rax, qword [rsp + 0x68]
cmp rax, rdi
cmovb rdi, rax
mov rcx, qword [rsp + 0x70]
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add rbx, rdi
cmp rbx, r14
ja 0x14007007f
mov qword [rsi + 0x58], rbx
xor eax, eax
mov rdx, rdi
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
shl rdi, 0x20
or rdi, 2
mov eax, 1
jmp 0x14006ffc7
lea r8, str.C:Userscharl.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64_b_
mov rcx, rbp
mov rdx, rdi
call fcn.1401b7be0
lea r8, str.C:Userscharl.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64_b_
call fcn.1401b7be0
lea r8, str.C:Userscharl.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64_b_
mov rcx, rbp
call fcn.1401b7c50
lea r8, [0x1401c03a0]
mov rcx, rdx
mov rdx, rax
call fcn.1401b7c50
lea rcx, [0x1401c2917]
lea r8, str.C:Userscharl.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64_b_
mov edx, 0x1f
call fcn.1401b7820
lea r8, str.C:Userscharl.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64_b_
mov rcx, rax
call fcn.1401b7c50
lea r8, str.C:Userscharl.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64_b_
mov rcx, rdi
mov rdx, rax
call fcn.1401b7cc0
lea r8, str.C:Userscharl.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64_b_
mov rcx, rbx
mov rdx, r14
call fcn.1401b7be0
lea rcx, [0x1401c256d]
lea r8, str.C:Userscharl.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64_b_
mov edx, 0x3b
call fcn.1401b7820
int3