Function at 0x1800b35e0
Capabilities:
Encrypt data via sspi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rcx
mov qword [rcx + 0x138], rdx
mov rbx, qword [r8]
mov r14, qword [r8 + 8]
lea rcx, [rbp - 0x48]
mov qword [rbp - 8], rax
mov rdx, rax
call fcn.1800b54f0
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x1800b3635
mov rdi, qword [rbp - 0x40]
jmp 0x1800b37d9
test eax, eax
je 0x1800b378e
mov rdi, qword [rbp - 8]
mov r12, qword [rdi + 0x198]
cmp r12, qword [rdi + 0x190]
jne 0x1800b37c9
mov rsi, qword [rbp - 0x40]
mov r13d, esi
shr rsi, 0x20
cmp r14, rsi
cmovb rsi, r14
mov r15d, dword [rbp - 0x44]
lea r14, [rsi + r15]
add r13, r14
sub r13, r12
jbe 0x1800b36d8
lea rcx, [rdi + 0x180]
mov rax, qword [rcx]
sub rax, r12
cmp rax, r13
jae 0x1800b369f
mov rdx, r12
mov r8, r13
call fcn.1801ce8d0
mov rdi, qword [rbp - 8]
mov r12, qword [rdi + 0x190]
mov rdi, qword [rdi + 0x188]
lea rcx, [rdi + r12]
cmp r13, 2
jb 0x1800b36c7
lea r8, [r13 - 1]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
add r12, r13
dec r12
add rdi, r12
mov rcx, rdi
mov byte [rcx], 0
inc r12
mov rdi, qword [rbp - 8]
mov qword [rdi + 0x190], r12
cmp r14, r12
ja 0x1800b3839
mov rcx, qword [rdi + 0x188]
add rcx, r15
mov rdx, rbx
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rdi + 0x190]
cmp rdx, r15
jb 0x1800b384d
cmp rdx, r14
jb 0x1800b385e
mov rax, qword [rdi + 0x188]
lea rcx, [rax + r15]
sub edx, r14d
add r14, rax
mov dword [rbp - 0x48], r15d
mov dword [rbp - 0x44], 7
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], esi
mov dword [rbp - 0x34], 1
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x28], edx
mov dword [rbp - 0x24], 6
mov qword [rbp - 0x20], r14
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movabs rax, 0x400000000
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x48]
mov qword [rbp - 0x50], rax
lea rcx, [rdi + 0x1f0]
lea r8, [rbp - 0x58]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
mov edi, eax
test eax, eax
je 0x1800b379a
shl rdi, 0x20
or rdi, 2
jmp 0x1800b37d9
movabs rdi, 0x8009031700000002
jmp 0x1800b37d9
mov eax, dword [rbp - 0x38]
add eax, dword [rbp - 0x48]
add eax, dword [rbp - 0x28]
mov rdi, qword [rbp - 8]
cmp qword [rdi + 0x190], rax
jb 0x1800b37b7
mov qword [rdi + 0x190], rax
mov qword [rdi + 0x198], 0
mov qword [rdi + 0x218], rsi
mov rcx, rdi
call fcn.1800b8d50
test rax, rax
je 0x1800b381f
mov rdi, rdx
mov rcx, rdi
call fcn.1800b38b0
mov rcx, qword [rbp - 8]
mov qword [rcx + 0x138], 0
cmp al, 0xd
jne 0x1800b3803
mov rcx, rdi
call fcn.180018a30
mov eax, 2
jmp 0x1800b3808
mov eax, 1
mov rdx, rdi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp - 8]
mov rdi, qword [rax + 0x218]
mov qword [rax + 0x138], 0
xor eax, eax
jmp 0x1800b3808
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r14
mov rdx, r12
call fcn.1801de6f0
jmp 0x1800b386d
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r15
call fcn.1801de6f0
jmp 0x1800b386d
lea r8, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_schannel_0.1.23_src_tls_stream.rsassertion_failed:_pos___self.dec_in.get_ref__.len___as_u64
mov rcx, r14
call fcn.1801de6f0
ud2