Function at 0x1400856b0
Capabilities:
Encrypt data using openssl dsa
Encrypt data using openssl ecdsa
Encrypt data using openssl rsa

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
mov eax, dword [rdx]
xor r10d, r10d
mov rbx, rcx
mov esi, r9d
mov r9d, dword [rsp + 0x70]
mov rdi, r8
mov r14, rdx
mov dword [r8], r10d
lea ecx, [rax + 1]
cmp ecx, r9d
jbe 0x1400856f1
mov eax, 0xffffff7c
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
test rbx, rbx
je 0x140085d5f
cmp byte [rax + rbx], 6
mov dword [rsp + 0x70], ecx
je 0x140085717
mov eax, 0xffffff70
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
lea r8, [rsp + 0x58]
mov rcx, rbx
lea rdx, [rsp + 0x70]
call fcn.140084990
test eax, eax
js 0x140085d5f
mov r8d, dword [rsp + 0x58]
mov r11d, r8d
mov edx, dword [rsp + 0x70]
test r8d, r8d
mov qword [rsp + 0x50], rbp
cmovle r11d, r10d
lea rbp, [rbx + rdx]
je 0x140085772
mov r9d, r10d
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx + rbx]
inc edx
add r9d, ecx
mov dword [rdi], r9d
sub r8d, 1
jne 0x140085760
mov dword [r14], edx
cmp esi, 0x14
je case.0x140085836.527
mov ecx, dword [rdi]
cmp esi, 0xf
ja case.0x140085836.527
lea r8, [0x140000000]
mov eax, dword [r8 + rsi*4 + 0x85d74]
add rax, r8
jmp rax
sub ecx, 0x58
je 0x1400857ff
sub ecx, 0x146
je 0x1400857ee
sub ecx, 1
je 0x1400857dd
sub ecx, 1
je 0x1400857cc
cmp ecx, 0xe9
jne case.0x140085836.527
lea rdx, [0x1400f0cc8]
jmp 0x140085d32
lea rdx, [0x1400f0eb0]
mov eax, 9
jmp 0x140085d37
lea rdx, [0x1400f0dd0]
mov eax, 9
jmp 0x140085d37
lea rdx, [0x1400f0c98]
mov eax, 9
jmp 0x140085d37
lea rdx, [0x1400f0d38]
mov eax, 5
jmp 0x140085cf8
add ecx, 0xfffffdfb
cmp ecx, 0x8c
ja case.0x140085836.527
movzx eax, byte [r8 + rcx + 0x85de0]
mov ecx, dword [r8 + rax*4 + 0x85db4]
add rcx, r8
jmp rcx
lea rdx, [0x1400f0c68]
mov eax, 7
jmp 0x140085d37
lea rdx, [0x1400f0c18]
mov eax, 9
jmp 0x140085d37
lea rdx, [0x1400f0ba0]
mov eax, 9
jmp 0x140085d37
lea rdx, [0x1400f0d10]
mov eax, 9
jmp 0x140085d37
lea rdx, [0x1400f0f00]
mov eax, 9
jmp 0x140085d37
lea rdx, [0x1400f0cb8]
mov eax, 9
jmp 0x140085d37
lea rdx, [0x1400f0c0c]
mov eax, 7
jmp 0x140085d37
lea rdx, [0x1400f0e48]
jmp 0x140085d32
lea rdx, [0x1400f0ca8]
jmp 0x140085d32
lea rdx, [0x1400f0d90]
mov eax, 8
jmp 0x140085cf8
sub ecx, 0x203
je 0x14008590a
sub ecx, 3
je 0x1400858f9
cmp ecx, 0x7f
jne case.0x140085836.527
lea rdx, [0x1400f0d98]
lea eax, [rcx - 0x76]
jmp 0x140085d37
lea rdx, [0x1400f0c60]
mov eax, 7
jmp 0x140085d37
lea rdx, [0x1400f0dc0]
mov eax, 7
jmp 0x140085cf8
test ecx, ecx
je case.0x140085836.527
mov rdx, r10
mov rax, r10
cmp dword [rax + r8 + 0xee954], ecx
je 0x14008595c
inc rdx
inc r10d
imul rax, rdx, 0x34c
cmp dword [rax + r8 + 0xee610], 0
jne 0x140085925
xor eax, eax
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
movsxd rax, r10d
lea rdx, [r8 + 0xee946]
imul rcx, rax, 0x34c
add rdx, rcx
mov eax, dword [rcx + r8 + 0xee950]
jmp 0x140085cf8
cmp ecx, 0x1b6
ja 0x1400859f1
je 0x1400859e0
sub ecx, 0x45
je 0x1400859cf
sub ecx, 0x159
je 0x1400859be
sub ecx, 4
je 0x1400859ad
cmp ecx, 0x10
jne case.0x140085836.527
lea rdx, [0x1400f0e18]
lea eax, [rcx - 7]
jmp 0x140085d37
lea rdx, [0x1400f0c78]
mov eax, 9
jmp 0x140085d37
lea rdx, [0x1400f0e50]
mov eax, 9
jmp 0x140085d37
lea rdx, [0x1400f0d88]
mov eax, 5
jmp 0x140085d37
lea rdx, [0x1400f0cd8]
mov eax, 9
jmp 0x140085d37
sub ecx, 0x1c6
je 0x140085a27
sub ecx, 4
je 0x140085a16
cmp ecx, 0xc2
jne case.0x140085836.527
lea rdx, [0x1400f0cb0]
jmp 0x140085d32
lea rdx, [0x1400f0ed0]
mov eax, 9
jmp 0x140085d37
lea rdx, [0x1400f0bb8]
mov eax, 9
jmp 0x140085cf8
add ecx, 0xffffffbb
cmp ecx, 0x63
ja case.0x140085836.527
movzx eax, byte [r8 + rcx + 0x85ea0]
mov ecx, dword [r8 + rax*4 + 0x85e70]
add rcx, r8
jmp rcx
lea rdx, [0x1400f0ecc]
mov eax, 3
jmp 0x140085d37
lea rdx, [0x1400f0e0c]
mov eax, 3
jmp 0x140085d37
lea rdx, [0x1400f0c50]
mov eax, 3
jmp 0x140085d37
lea rdx, [0x1400f0e68]
jmp 0x140085d32
lea rdx, [0x1400f0b40]
mov eax, 3
jmp 0x140085d37
lea rdx, [0x1400f0eac]
mov eax, 3
jmp 0x140085d37
lea rdx, [0x1400f0d7c]
mov eax, 3
jmp 0x140085d37
lea rdx, [0x1400f0e5c]
mov eax, 3
jmp 0x140085d37
lea rdx, [0x1400f0c40]
mov eax, 3
jmp 0x140085d37
lea rdx, [0x1400f0e78]
mov eax, 3
jmp 0x140085d37
lea rdx, [0x1400f0c08]
mov eax, 3
jmp 0x140085cf8
cmp ecx, 0x75
lea rdx, [0x1400f0ce8]
mov eax, 8
cmovne eax, r10d
cmovne rdx, r10
jmp 0x140085cf8
cmp ecx, 0x92
lea rdx, [0x1400f0c54]
mov eax, 4
cmovne eax, r10d
cmovne rdx, r10
jmp 0x140085cf8
cmp ecx, 0x4f
lea rdx, [0x1400f0bd8]
mov eax, 8
cmovne eax, r10d
cmovne rdx, r10
jmp 0x140085cf8
add ecx, 0xffffffb9
cmp ecx, 0x50
ja case.0x140085836.527
movzx eax, byte [r8 + rcx + 0x85f24]
mov ecx, dword [r8 + rax*4 + 0x85f04]
add rcx, r8
jmp rcx
lea rdx, [0x1400f0b98]
mov eax, 4
jmp 0x140085d37
lea rdx, [0x1400f0c70]
jmp 0x140085d32
lea rdx, [0x1400f0bb0]
jmp 0x140085d32
lea rdx, [0x1400f0db8]
jmp 0x140085d32
lea rdx, [0x1400f0dc8]
jmp 0x140085d32
lea rdx, [0x1400f0e60]
jmp 0x140085d32
lea rdx, [0x1400f0c38]
mov eax, 8
jmp 0x140085cf8
cmp ecx, 0x294
lea rdx, [0x1400f0ea0]
mov eax, 9
cmovne eax, r10d
cmovne rdx, r10
jmp 0x140085cf8
sub ecx, 1
je 0x140085c4f
sub ecx, 1
je 0x140085c3e
sub ecx, 1
je 0x140085c2d
cmp ecx, 0xa
jne case.0x140085836.527
lea rdx, [0x1400f0c28]
lea eax, [rcx - 1]
jmp 0x140085d37
lea rdx, [0x1400f0bc8]
mov eax, 0xa
jmp 0x140085d37
lea rdx, [0x1400f0da8]
mov eax, 9
jmp 0x140085d37
lea rdx, [0x1400f0de8]
mov eax, 0xa
jmp 0x140085cf8
sub ecx, 0x1a1
je 0x140085c96
sub ecx, 0x14
je 0x140085c85
cmp ecx, 0x14
jne case.0x140085836.527
lea rdx, [0x1400f0e00]
lea eax, [rcx - 0xb]
jmp 0x140085d37
lea rdx, [0x1400f0ec0]
mov eax, 9
jmp 0x140085d37
lea rdx, [0x1400f0c88]
mov eax, 9
jmp 0x140085cf8
sub ecx, 0xbd
je 0x140085cec
sub ecx, 1
je 0x140085cde
sub ecx, 1
je 0x140085cd0
cmp ecx, 0x111
jne case.0x140085836.527
lea rdx, [0x1400f0d70]
mov eax, 9
jmp 0x140085d37
lea rdx, [0x1400f0d80]
mov eax, 6
jmp 0x140085d37
lea rdx, [0x1400f0e7c]
mov eax, 6
jmp 0x140085d37
lea rdx, [0x1400f0ddc]
mov eax, 6
test rdx, rdx
je case.0x140085836.527
jmp 0x140085d37
sub ecx, 0x28d
je 0x140085d2b
sub ecx, 1
je 0x140085d22
cmp ecx, 1
jne case.0x140085836.527
lea rdx, [0x1400f0be0]
jmp 0x140085d32
lea rdx, [0x1400f0cf8]
jmp 0x140085d32
lea rdx, [0x1400f0e10]
mov eax, 8
cmp eax, r11d
jne 0x140085d55
mov r8d, eax
mov rcx, rbp
call fcn.1400d5c40
neg eax
sbb eax, eax
and eax, 0xffffff6c
jmp 0x140085949
mov eax, 0xffffff6c
jmp 0x140085949
mov rbx, qword [rsp + 0x60]
mov eax, 0xffffff74
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret