Function at 0x1401a29f0
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 r12, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0x138], r8
lea rcx, [rsp + 0x20]
call fcn.14019e760
mov eax, dword [rsp + 0x20]
cmp eax, 2
je 0x1401a2bd2
test eax, eax
je 0x1401a2b83
mov r15, qword [rsi + 0x198]
cmp r15, qword [rsi + 0x190]
jne 0x1401a2bbd
mov rax, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0x28]
mov ebp, ebx
shr rbx, 0x20
cmp rax, rbx
cmovb rbx, rax
mov eax, dword [rsp + 0x24]
lea r13, [rbx + rax]
add rbp, r13
sub rbp, r15
jbe 0x1401a2ad0
mov qword [rsp + 0x60], rax
lea rcx, [rsi + 0x180]
mov rax, qword [rcx]
sub rax, r15
cmp rax, rbp
jae 0x1401a2a96
mov rdx, r15
mov r8, rbp
call fcn.1400f0370
mov r15, qword [rsi + 0x190]
mov r14, qword [rsi + 0x188]
lea rcx, [r14 + r15]
cmp rbp, 2
jb 0x1401a2abe
lea r8, [rbp - 1]
xor edx, edx
call sub.msvcrt.dll_memset
add r15, rbp
dec r15
add r14, r15
mov rcx, r14
mov rax, qword [rsp + 0x60]
mov byte [rcx], 0
inc r15
mov qword [rsi + 0x190], r15
cmp r15, r13
jb 0x1401a2c4a
mov r14, qword [rsi + 0x188]
lea rbp, [r14 + rax]
mov rcx, rbp
mov rdx, r12
mov r8, rbx
mov r12, rax
call sub.msvcrt.dll_memcpy
mov rax, r12
cmp r15, r12
jb 0x1401a2c53
sub r15d, r13d
add r13, r14
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], 7
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x44], 6
mov qword [rsp + 0x48], r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x70], rax
lea rcx, [rsi + 0x1f0]
lea r8, [rsp + 0x68]
xor edx, edx
xor r9d, r9d
call sub.secur32.dll_EncryptMessage
mov r14d, eax
test eax, eax
je 0x1401a2b8f
shl r14, 0x20
or r14, 2
jmp 0x1401a2bd7
movabs r14, 0x8009031700000002
jmp 0x1401a2bd7
mov eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x20]
add eax, dword [rsp + 0x40]
cmp qword [rsi + 0x190], rax
jb 0x1401a2bab
mov qword [rsi + 0x190], rax
mov qword [rsi + 0x198], 0
mov qword [rsi + 0x218], rbx
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.1401a2c80
cmp qword [rsp + 0x20], 0
je 0x1401a2c36
mov r14, qword [rsp + 0x28]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 1
mov rcx, r14
call fcn.1400c2420
cmp al, 0xd
jne 0x1401a2c0f
lea rcx, [rsp + 0x28]
mov qword [rdi], 2
mov qword [rsi + 0x138], 0
call fcn.1400f5c80
jmp 0x1401a2c25
mov qword [rdi], 1
mov qword [rdi + 8], r14
mov qword [rsi + 0x138], 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 + 0x218]
mov qword [rdi], 0
mov qword [rdi + 8], rax
jmp 0x1401a2c1a
lea r8, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsPoolDisabledCheckoutNoLongerWantedCheckedOutClosedValue_usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
jmp 0x1401a2c5d
lea r8, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsPoolDisabledCheckoutNoLongerWantedCheckedOutClosedValue_usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.6.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov r13, rax
mov rcx, r13
mov rdx, r15
call fcn.1400a75f0
ud2