Function at 0x1400a9d1d
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 r12, r9
mov rsi, rdx
mov rdi, rcx
mov qword [rdx + 0x38], r8
lea rbx, [rsp + 0x38]
mov rcx, rbx
call sym.schannel::tls_stream::TlsStream_S_::initialize::hba75bcbf84c279df
mov eax, dword [rsp + 0x38]
cmp eax, 2
je 0x1400a9f2c
test eax, eax
je 0x1400a9ee0
mov rdx, qword [rsi + 0x98]
cmp rdx, qword [rsi + 0x90]
jne 0x1400a9f17
mov rcx, qword [rsp + 0xf0]
mov r14, qword [rsp + 0x40]
mov eax, r14d
shr r14, 0x20
cmp rcx, r14
cmovb r14, rcx
mov r13d, dword [rsp + 0x3c]
lea r15, [r14 + r13]
add rax, r15
cmp rdx, rax
jae 0x1400a9db5
lea rcx, [rsi + 0x80]
mov rdx, rax
call sym.alloc::vec::Vec_T_A_::resize::h2aa6d1fb8d8f1050
mov rdx, qword [rsi + 0x90]
mov rcx, qword [rsi + 0x88]
lea rax, str.C:Users_soras.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov qword [rsp + 0x20], rax
mov r8, r13
mov r9, r15
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::h200e67b898296ba1
mov rcx, rax
mov r8, r12
mov r9, r14
call sym.core::slice::__impl__T__::clone_from_slice::h1f869c9859b98e11
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, str.C:Users_soras.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov r8, r13
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::hf97965ecc46fe141
mov qword [rsp + 0x30], rax
mov rbp, rdx
xor eax, eax
cmp qword [rsp + 0x30], 0
cmove ebp, eax
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea rax, str.C:Users_soras.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov qword [rsp + 0x20], rax
mov r8, r13
mov r9, r15
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::h200e67b898296ba1
mov r13, rax
mov r12, rdx
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
lea r9, str.C:Users_soras.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rs
mov r8, r15
call sym.__alloc::vec::Vec_T_A__as_core::ops::index::IndexMut_I__::index_mut::h241513038fb8e850
xor ecx, ecx
test r13, r13
cmove r12d, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], 7
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x4c], 1
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x5c], 6
mov qword [rsp + 0x60], rax
movabs rax, 0x400000000
lea r8, [rsp + 0x78]
mov qword [r8], rax
mov qword [r8 + 8], rbx
lea rcx, [rsi + 0xf0]
xor edx, edx
xor r9d, r9d
call sub.secur32.dll_EncryptMessage
mov ebx, eax
test eax, eax
je 0x1400a9eec
shl rbx, 0x20
or rbx, 2
jmp 0x1400a9f31
movabs rbx, 0x8009031700000002
jmp 0x1400a9f31
mov eax, dword [rsp + 0x48]
add eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x58]
cmp qword [rsi + 0x90], rax
jb 0x1400a9f08
mov qword [rsi + 0x90], rax
and qword [rsi + 0x98], 0
mov qword [rsi + 0x118], r14
lea rcx, [rsp + 0x38]
mov rdx, rsi
call sym.schannel::tls_stream::TlsStream_S_::write_out::h4990db30a03fe5cf
cmp qword [rsp + 0x38], 0
je 0x1400a9f87
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], 1
mov rcx, rbx
call sym._ZN3std2io5error5Error4kind17ha4bba0dd38156312E.2801
cmp al, 0xd
jne 0x1400a9f63
lea rcx, [rsp + 0x40]
mov qword [rdi], 2
and qword [rsi + 0x38], 0
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17h0d0d9b47d5d10a81E.7232
jmp 0x1400a9f73
mov qword [rdi], 1
mov qword [rdi + 8], rbx
and qword [rsi + 0x38], 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 + 0x118]
and qword [rdi], 0
mov qword [rdi + 8], rax
jmp 0x1400a9f6e