Function at 0x14011a6e0
Capabilities:
Encrypt data via sspi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rbx, r9
mov r14, rdx
mov rdi, rcx
mov qword [rdx + 0x78], r8
lea rcx, [rsp + 0x38]
call fcn.140122600
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
cmp dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rdi
jne 0x14011a78e
mov r15, rbp
shr r15, 8
mov rbx, rbp
shr rbx, 0x10
mov rdi, rbp
shr rdi, 0x20
movzx r13d, bpl
test r13b, r13b
je 0x14011a9ef
cmp bpl, 1
je 0x14011a830
mov al, byte [r12 + 0x10]
cmp al, 0xa
je 0x14011a9fe
mov rdx, qword [rsp + 0x30]
mov qword [rdx], 1
shl rdi, 0x20
movzx eax, bx
shl rax, 0x10
or rax, rdi
movzx ecx, r15b
shl rcx, 8
or rcx, rax
or rcx, r13
mov qword [rdx + 8], rcx
mov qword [rdx + 0x10], r12
jmp 0x14011ab5e
cmp dword [rsp + 0x3c], 0
je 0x14011a840
mov rdx, qword [r14 + 0xd8]
mov rdi, qword [r14 + 0xe0]
cmp rdi, rdx
jne 0x14011aaad
mov r15, qword [rsp + 0x100]
mov r13, rbp
shr r13, 0x20
mov eax, r12d
cmp rax, r15
cmovb r15, rax
mov r12d, ebp
lea rbp, [r15 + r12]
add r13, rbp
sub r13, rdi
jbe 0x14011a8ff
mov rax, qword [r14 + 0xd0]
mov rcx, rax
sub rcx, rdi
cmp rcx, r13
jae 0x14011a84a
add rdi, r13
jb 0x14011abea
lea rcx, [rax + rax]
cmp rcx, rdi
cmova rdi, rcx
cmp rdi, 8
mov edx, 8
cmova rdx, rdi
test rax, rax
je 0x14011a88f
mov rcx, qword [r14 + 0xc8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
jmp 0x14011a898
mov eax, r15d
cmp al, 0xa
je 0x14011a9fe
jmp 0x14011a759
mov edi, 0x80090317
jmp 0x14011a9e2
mov rsi, qword [r14 + 0xc8]
lea rcx, [rsi + rdi]
cmp r13, 2
jb 0x14011a8ec
lea rdx, [rdi + r13]
mov qword [rsp + 0x90], rdx
lea r8, [r13 - 1]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
add rdi, r13
add rdi, 0xffffffffffffffff
mov rax, qword [rsp + 0x90]
lea rcx, [rsi + rax]
add rcx, 0xffffffffffffffff
jmp 0x14011a8f1
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x78]
lea r9, [rsp + 0x38]
mov r8d, 1
call fcn.14016c1f0
mov rsi, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x88]
cmp qword [rsp + 0x78], 1
je 0x14011abe5
mov qword [r14 + 0xc8], rsi
mov qword [r14 + 0xd0], rdx
mov rdi, qword [r14 + 0xd8]
lea rcx, [rsi + rdi]
cmp r13, 2
jae 0x14011a85f
test r13, r13
je 0x14011a8f8
mov byte [rcx], 0
add rdi, 1
mov qword [r14 + 0xd8], rdi
cmp rdi, rbp
jb 0x14011abbc
test r15, r15
je 0x14011a93a
mov rax, qword [r14 + 0xc8]
add rax, r12
xor ecx, ecx
nop dword [rax]
movzx edx, byte [rbx + rcx]
mov byte [rax + rcx], dl
lea rdx, [rcx + 1]
mov rcx, rdx
cmp r15, rdx
jne 0x14011a920
mov rdi, qword [r14 + 0xd8]
cmp rdi, r12
jb 0x14011abc5
cmp rdi, rbp
jb 0x14011abd1
mov rax, qword [r14 + 0xc8]
movabs rcx, 0x700000000
or rcx, r12
add r12, rax
movabs rdx, 0x100000000
or rdx, r15
lea rbx, [rax + rbp]
sub edi, ebp
movabs rbp, 0x600000000
or rbp, rdi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbp
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x80], rax
movabs rax, 0x400000000
mov qword [rsp + 0x78], rax
lea rcx, [r14 + 8]
lea r8, [rsp + 0x78]
xor edx, edx
xor r9d, r9d
call sub.Secur32.dll_EncryptMessage
test eax, eax
je 0x14011aa77
mov edi, eax
xor r13d, r13d
xor r12d, r12d
xor ebp, ebp
xor r15d, r15d
xor ebx, ebx
mov ecx, edi
call fcn.140144e80
cmp al, 0xa
jne 0x14011a759
mov rax, qword [rsp + 0x30]
mov qword [rax], 2
mov qword [r14 + 0x78], 0
cmp bpl, 2
jb 0x14011ab66
mov rcx, qword [r12]
mov rax, qword [r12 + 8]
call qword [rax]
mov rax, qword [r12 + 8]
cmp qword [rax + 8], 0
je 0x14011aa60
mov rsi, qword [r12]
cmp qword [rax + 0x10], 0x11
jae 0x14011aa4d
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, rsi
jmp 0x14011aa5b
call sub.KERNEL32.dll_GetProcessHeap
mov r8, qword [rsi - 8]
mov rcx, rax
xor edx, edx
call fcn.14021dfcd
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, r12
call fcn.14021dfcd
jmp 0x14011ab66
mov eax, dword [rsp + 0x48]
add eax, dword [rsp + 0x38]
add eax, dword [rsp + 0x58]
mov rdx, qword [r14 + 0xd8]
cmp rdx, rax
jb 0x14011aa99
mov qword [r14 + 0xd8], rax
mov rdx, rax
mov qword [r14 + 0xe0], 0
mov qword [r14 + 0xe8], r15
xor edi, edi
cmp rdi, rdx
je 0x14011ab21
lea r12, [r14 + 0x50]
xor ebx, ebx
lea r15, [rsp + 0x38]
nop dword [rax]
mov rax, rdx
sub rax, rdi
jb 0x14011ab91
mov r8, qword [r14 + 0x78]
test r8, r8
je 0x14011aba2
mov r9, qword [r14 + 0xc8]
add r9, rdi
mov qword [rsp + 0x20], rax
mov rcx, r15
mov rdx, r12
call fcn.140162030
mov rax, qword [rsp + 0x38]
cmp rax, 2
je 0x14011ab7a
mov rbp, qword [rsp + 0x40]
cmp eax, 1
je 0x14011ab87
add rbx, rbp
add rdi, rbp
mov qword [r14 + 0xe0], rdi
mov rdx, qword [r14 + 0xd8]
cmp rdi, rdx
jne 0x14011aac0
mov rax, qword [r14 + 0xe8]
movabs rcx, 0xffffffff00000000
and rcx, rax
mov edx, eax
movzx ebp, al
and eax, 0xffff0000
or rax, rcx
and edx, 0xff00
or rdx, rax
or rbp, rdx
mov rax, qword [rsp + 0x30]
mov qword [rax], 0
mov qword [rax + 8], rbp
mov qword [r14 + 0x78], 0
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebp, 0xa01
xor r12d, r12d
jmp 0x14011a720
mov r12, qword [rsp + 0x48]
jmp 0x14011a720
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.19_src_tls_stream.rs
mov rcx, rdi
call fcn.1400214d0
ud2
lea rcx, str.assertion_failed:__self.context.is_null__
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823_tokio_native_tls_0.3.0_srclib.rs
mov edx, 0x29
call fcn.14001f9d0
ud2
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.19_src_tls_stream.rs
jmp 0x14011abd8
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.19_src_tls_stream.rs
mov rcx, r12
jmp 0x14011abdb
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.19_src_tls_stream.rs
mov rcx, rbp
mov rdx, rdi
call fcn.1400201a0
ud2
test rdx, rdx
jne 0x14011abf1
call fcn.1400182c0
ud2
mov rcx, rsi
call fcn.1400182a0
ud2