Function at 0x14012ed69
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 r14, r9
mov r15, r8
mov rsi, rcx
mov qword [rcx + 0x138], rdx
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.14012efdb
mov eax, dword [rdi]
cmp eax, 2
jne 0x14012edaa
mov rdi, qword [rsp + 0x30]
jmp 0x14012ef7b
test eax, eax
je 0x14012ef34
mov rdx, qword [rsi + 0x198]
cmp rdx, qword [rsi + 0x190]
jne 0x14012ef6b
mov rbx, qword [rsp + 0x30]
mov eax, ebx
shr rbx, 0x20
cmp r14, rbx
cmovb rbx, r14
mov r12d, dword [rsp + 0x2c]
lea r14, [rbx + r12]
add rax, r14
cmp rdx, rax
jae 0x14012edff
lea rcx, [rsi + 0x180]
mov rdx, rax
call fcn.14019f260
mov rdx, qword [rsi + 0x190]
mov rcx, qword [rsi + 0x188]
lea rax, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rs
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.140130afd
lea rcx, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rs
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r15
mov r9, rbx
call fcn.1400a8fde
mov rcx, qword [rsi + 0x188]
mov rdx, qword [rsi + 0x190]
lea r9, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rs
mov r8, r12
call fcn.140130b14
mov r15, rax
mov r13, rdx
xor eax, eax
test r15, r15
cmove r13d, eax
mov rcx, qword [rsi + 0x188]
mov rdx, qword [rsi + 0x190]
lea rax, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rs
mov qword [rsp + 0x20], rax
mov r8, r12
mov r9, r14
call fcn.140130afd
mov r12, rax
mov rbp, rdx
test rax, rax
mov eax, 0
cmove ebp, eax
mov rcx, qword [rsi + 0x188]
mov rdx, qword [rsi + 0x190]
lea r9, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.27_src_tls_stream.rs
mov r8, r14
call fcn.140130b25
test rax, rax
mov ecx, 0
cmove edx, ecx
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x2c], 7
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x4c], 6
mov qword [rsp + 0x50], rax
movabs rax, 0x400000000
lea r8, [rsp + 0x68]
mov qword [r8], rax
mov qword [r8 + 8], rdi
lea rcx, [rsi + 0x1f0]
xor edx, edx
xor r9d, r9d
call sub.Secur32.dll_EncryptMessage
test eax, eax
je 0x14012ef40
mov edi, eax
shl rdi, 0x20
or rdi, 2
jmp 0x14012ef7b
movabs rdi, 0x8009031700000002
jmp 0x14012ef7b
mov eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x28]
add eax, dword [rsp + 0x48]
cmp qword [rsi + 0x190], rax
jb 0x14012ef5c
mov qword [rsi + 0x190], rax
and qword [rsi + 0x198], 0
mov qword [rsi + 0x218], rbx
mov rcx, rsi
call fcn.14012fb81
test rax, rax
je 0x14012efc8
mov rdi, rdx
mov qword [rsp + 0x28], 1
mov qword [rsp + 0x30], rdi
mov rcx, rdi
call fcn.140080631
and qword [rsi + 0x138], 0
mov ecx, eax
mov eax, 1
cmp cl, 0xd
jne 0x14012efb4
lea rcx, [rsp + 0x30]
call fcn.1401014ca
mov eax, 2
mov rdx, rdi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsi + 0x218]
and qword [rsi + 0x138], 0
xor eax, eax
jmp 0x14012efb4