Function at 0x1400eb730
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 rcx, [rsp + 0x30]
call fcn.1400ee430
mov eax, dword [rsp + 0x30]
cmp eax, 2
jne 0x1400eb76d
mov r15, qword [rsp + 0x38]
jmp 0x1400eb8d1
test eax, eax
je 0x1400eb8c7
mov rdx, qword [rsi + 0x90]
mov rbx, qword [rsi + 0x98]
cmp rbx, rdx
jne 0x1400eb99e
mov qword [rsp + 0x28], rdi
mov rax, qword [rsp + 0xf0]
mov r14, qword [rsp + 0x38]
mov ebp, r14d
shr r14, 0x20
cmp rax, r14
cmovb r14, rax
mov edi, dword [rsp + 0x34]
lea r13, [r14 + rdi]
add rbp, r13
sub rbp, rbx
jbe 0x1400eb80e
mov rax, qword [rsi + 0x80]
sub rax, rbx
cmp rax, rbp
jb 0x1400eba4f
mov r15, qword [rsi + 0x88]
lea rcx, [r15 + rbx]
cmp rbp, 2
jb 0x1400eb801
lea r8, [rbp - 1]
mov qword [rsp + 0x70], rdi
xor edx, edx
call sub.msvcrt.dll_memset
mov rdi, qword [rsp + 0x70]
add rbx, rbp
dec rbx
add r15, rbx
mov rcx, r15
mov byte [rcx], 0
inc rbx
mov qword [rsi + 0x90], rbx
cmp rbx, r13
jb 0x1400ebaa9
mov r15, qword [rsi + 0x88]
lea rbp, [r15 + rdi]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call sub.msvcrt.dll_memcpy
cmp rbx, rdi
jb 0x1400ebabb
sub ebx, r13d
add r13, r15
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x34], 7
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x54], 6
mov qword [rsp + 0x58], r13
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movabs rax, 0x400000000
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x80], rax
lea rcx, [rsi + 0xf0]
lea r8, [rsp + 0x78]
xor edx, edx
xor r9d, r9d
call sub.secur32.dll_EncryptMessage
test eax, eax
je 0x1400eb963
mov r15d, eax
shl r15, 0x20
or r15, 2
mov rdi, qword [rsp + 0x28]
jmp 0x1400eb8d1
movabs r15, 0x8009031700000002
mov rcx, r15
call fcn.14004acd0
cmp al, 0xd
jne 0x1400eb953
mov qword [rdi], 2
mov qword [rsi + 0x38], 0
mov eax, r15d
and eax, 3
lea rcx, [rax - 2]
cmp rcx, 2
jb 0x1400eba2c
test rax, rax
je 0x1400eba2c
lea rsi, [r15 - 1]
mov rdi, qword [r15 - 1]
mov rbx, qword [r15 + 7]
mov rcx, rdi
call qword [rbx]
cmp qword [rbx + 8], 0
je 0x1400eb93d
cmp qword [rbx + 0x10], 0x11
jb 0x1400eb92c
mov rdi, qword [rdi - 8]
mov rcx, qword [0x140222380]
xor edx, edx
mov r8, rdi
call sub.kernel32.dll_HeapFree
mov rcx, qword [0x140222380]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
jmp 0x1400eba2c
mov qword [rdi], 1
mov qword [rdi + 8], r15
jmp 0x1400eba24
mov eax, dword [rsp + 0x40]
add eax, dword [rsp + 0x30]
add eax, dword [rsp + 0x50]
mov rdx, qword [rsi + 0x90]
cmp rdx, rax
mov rdi, qword [rsp + 0x28]
jb 0x1400eb98a
mov qword [rsi + 0x90], rax
mov rdx, rax
mov qword [rsi + 0x98], 0
mov qword [rsi + 0x118], r14
xor ebx, ebx
cmp rbx, rdx
je 0x1400eba12
lea r14, [rsi + 0x10]
lea r12, [rsp + 0x30]
nop dword [rax]
mov rax, rdx
sub rax, rbx
jb 0x1400eba82
mov r8, qword [rsi + 0x38]
test r8, r8
je 0x1400eba91
mov r9, qword [rsi + 0x88]
add r9, rbx
mov qword [rsp + 0x20], rax
mov rcx, r12
mov rdx, r14
call fcn.140141550
mov rax, qword [rsp + 0x30]
cmp rax, 2
je 0x1400eba40
mov r15, qword [rsp + 0x38]
test rax, rax
jne 0x1400eb8d1
add rbx, r15
mov qword [rsi + 0x98], rbx
mov rdx, qword [rsi + 0x90]
cmp rbx, rdx
jne 0x1400eb9b0
mov rax, qword [rsi + 0x118]
mov qword [rdi], 0
mov qword [rdi + 8], rax
mov qword [rsi + 0x38], 0
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs r15, 0xd00000003
jmp 0x1400eb8d1
lea rcx, [rsi + 0x80]
mov rdx, rbx
mov r8, rbp
call fcn.14014c280
mov rbx, qword [rsi + 0x90]
mov r15, qword [rsi + 0x88]
lea rcx, [r15 + rbx]
cmp rbp, 2
jae 0x1400eb7e0
jmp 0x1400eb801
lea r8, str._home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEnd_home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rbx
call fcn.140035080
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, [0x1401da1c8]
mov edx, 0x29
call fcn.140036810
lea r8, str._home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEnd_home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, r13
mov rdx, rbx
call fcn.140035fd0
lea r8, str._home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_schannel_0.1.22_src_tls_stream.rsSizeSizeLwsExtensionSizeLfBodyCrBodyLfTrailerTrailerLfEndCrEndLfEnd_home_drados_.cargo_registry_src_index.crates.io_6f17d22bba15001f_bytes_1.5.0_src_buf_take.rsassertion_failed:_cnt___self.limit
mov rcx, rdi
mov rdx, rbx
call fcn.140035fd0
int3