Function at 0x1400cc840
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 0x1400cc881
mov eax, 0xffffff7c
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
test rbx, rbx
je 0x1400cceef
cmp byte [rax + rbx], 6
mov dword [rsp + 0x70], ecx
je 0x1400cc8a7
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.1400cbbb0
test eax, eax
js 0x1400cceef
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 0x1400cc902
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 0x1400cc8f0
mov dword [r14], edx
cmp esi, 0x14
je case.0x1400cc9c6.527
mov ecx, dword [rdi]
cmp esi, 0xf
ja case.0x1400cc9c6.527
lea r8, [0x140000000]
mov eax, dword [r8 + rsi*4 + 0xccf04]
add rax, r8
jmp rax
sub ecx, 0x58
je 0x1400cc98f
sub ecx, 0x146
je 0x1400cc97e
sub ecx, 1
je 0x1400cc96d
sub ecx, 1
je 0x1400cc95c
cmp ecx, 0xe9
jne case.0x1400cc9c6.527
lea rdx, [0x14097a738]
jmp 0x1400ccec2
lea rdx, [0x14097a8d0]
mov eax, 9
jmp 0x1400ccec7
lea rdx, [0x14097a840]
mov eax, 9
jmp 0x1400ccec7
lea rdx, [0x14097a6a0]
mov eax, 9
jmp 0x1400ccec7
lea rdx, [0x14097a7c0]
mov eax, 5
jmp 0x1400cce88
add ecx, 0xfffffdfb
cmp ecx, 0x8c
ja case.0x1400cc9c6.527
movzx eax, byte [r8 + rcx + 0xccf70]
mov ecx, dword [r8 + rax*4 + 0xccf44]
add rcx, r8
jmp rcx
lea rdx, [0x14097a6e0]
mov eax, 7
jmp 0x1400ccec7
lea rdx, [0x14097a680]
mov eax, 9
jmp 0x1400ccec7
lea rdx, [0x14097a5f0]
mov eax, 9
jmp 0x1400ccec7
lea rdx, [0x14097a760]
mov eax, 9
jmp 0x1400ccec7
lea rdx, [0x14097a960]
mov eax, 9
jmp 0x1400ccec7
lea rdx, [0x14097a700]
mov eax, 9
jmp 0x1400ccec7
lea rdx, [0x14097a68c]
mov eax, 7
jmp 0x1400ccec7
lea rdx, [0x14097a898]
jmp 0x1400ccec2
lea rdx, [0x14097a710]
jmp 0x1400ccec2
lea rdx, [0x14097a7e0]
mov eax, 8
jmp 0x1400cce88
sub ecx, 0x203
je 0x1400cca9a
sub ecx, 3
je 0x1400cca89
cmp ecx, 0x7f
jne case.0x1400cc9c6.527
lea rdx, [0x14097a7d0]
lea eax, [rcx - 0x76]
jmp 0x1400ccec7
lea rdx, [0x14097a6cc]
mov eax, 7
jmp 0x1400ccec7
lea rdx, [0x14097a800]
mov eax, 7
jmp 0x1400cce88
test ecx, ecx
je case.0x1400cc9c6.527
mov rdx, r10
mov rax, r10
cmp dword [rax + r8 + 0x9783c4], ecx
je 0x1400ccaec
inc rdx
inc r10d
imul rax, rdx, 0x34c
cmp dword [rax + r8 + 0x978080], 0
jne 0x1400ccab5
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 + 0x9783b6]
imul rcx, rax, 0x34c
add rdx, rcx
mov eax, dword [rcx + r8 + 0x9783c0]
jmp 0x1400cce88
cmp ecx, 0x1b6
ja 0x1400ccb81
je 0x1400ccb70
sub ecx, 0x45
je 0x1400ccb5f
sub ecx, 0x159
je 0x1400ccb4e
sub ecx, 4
je 0x1400ccb3d
cmp ecx, 0x10
jne case.0x1400cc9c6.527
lea rdx, [0x14097a878]
lea eax, [rcx - 7]
jmp 0x1400ccec7
lea rdx, [0x14097a6b0]
mov eax, 9
jmp 0x1400ccec7
lea rdx, [0x14097a8c0]
mov eax, 9
jmp 0x1400ccec7
lea rdx, [0x14097a7c8]
mov eax, 5
jmp 0x1400ccec7
lea rdx, [0x14097a728]
mov eax, 9
jmp 0x1400ccec7
sub ecx, 0x1c6
je 0x1400ccbb7
sub ecx, 4
je 0x1400ccba6
cmp ecx, 0xc2
jne case.0x1400cc9c6.527
lea rdx, [0x14097a6f8]
jmp 0x1400ccec2
lea rdx, [0x14097a930]
mov eax, 9
jmp 0x1400ccec7
lea rdx, [0x14097a638]
mov eax, 9
jmp 0x1400cce88
add ecx, 0xffffffbb
cmp ecx, 0x63
ja case.0x1400cc9c6.527
movzx eax, byte [r8 + rcx + 0xcd030]
mov ecx, dword [r8 + rax*4 + 0xcd000]
add rcx, r8
jmp rcx
lea rdx, [0x14097a93c]
mov eax, 3
jmp 0x1400ccec7
lea rdx, [0x14097a894]
mov eax, 3
jmp 0x1400ccec7
lea rdx, [0x140905dd8]
mov eax, 3
jmp 0x1400ccec7
lea rdx, [0x14097a8b0]
jmp 0x1400ccec2
lea rdx, [0x1409029b8]
mov eax, 3
jmp 0x1400ccec7
lea rdx, [0x14097a8dc]
mov eax, 3
jmp 0x1400ccec7
lea rdx, [0x14097a7f0]
mov eax, 3
jmp 0x1400ccec7
lea rdx, [0x14097a8a8]
mov eax, 3
jmp 0x1400ccec7
lea rdx, [0x140906f04]
mov eax, 3
jmp 0x1400ccec7
lea rdx, [0x14097a920]
mov eax, 3
jmp 0x1400ccec7
lea rdx, [0x140902e28]
mov eax, 3
jmp 0x1400cce88
cmp ecx, 0x75
lea rdx, [0x14097a720]
mov eax, 8
cmovne eax, r10d
cmovne rdx, r10
jmp 0x1400cce88
cmp ecx, 0x92
lea rdx, [0x14097a694]
mov eax, 4
cmovne eax, r10d
cmovne rdx, r10
jmp 0x1400cce88
cmp ecx, 0x4f
lea rdx, [0x14097a620]
mov eax, 8
cmovne eax, r10d
cmovne rdx, r10
jmp 0x1400cce88
add ecx, 0xffffffb9
cmp ecx, 0x50
ja case.0x1400cc9c6.527
movzx eax, byte [r8 + rcx + 0xcd0b4]
mov ecx, dword [r8 + rax*4 + 0xcd094]
add rcx, r8
jmp rcx
lea rdx, [0x14097a5fc]
mov eax, 4
jmp 0x1400ccec7
lea rdx, [0x14097a6d8]
jmp 0x1400ccec2
lea rdx, [0x14097a5e8]
jmp 0x1400ccec2
lea rdx, [0x14097a808]
jmp 0x1400ccec2
lea rdx, [0x14097a7f8]
jmp 0x1400ccec2
lea rdx, [0x14097a8b8]
jmp 0x1400ccec2
lea rdx, [0x14097a668]
mov eax, 8
jmp 0x1400cce88
cmp ecx, 0x294
lea rdx, [0x14097a8f0]
mov eax, 9
cmovne eax, r10d
cmovne rdx, r10
jmp 0x1400cce88
sub ecx, 1
je 0x1400ccddf
sub ecx, 1
je 0x1400ccdce
sub ecx, 1
je 0x1400ccdbd
cmp ecx, 0xa
jne case.0x1400cc9c6.527
lea rdx, [0x14097a670]
lea eax, [rcx - 1]
jmp 0x1400ccec7
lea rdx, [0x14097a628]
mov eax, 0xa
jmp 0x1400ccec7
lea rdx, [0x14097a810]
mov eax, 9
jmp 0x1400ccec7
lea rdx, [0x14097a830]
mov eax, 0xa
jmp 0x1400cce88
sub ecx, 0x1a1
je 0x1400cce26
sub ecx, 0x14
je 0x1400cce15
cmp ecx, 0x14
jne case.0x1400cc9c6.527
lea rdx, [0x14097a888]
lea eax, [rcx - 0xb]
jmp 0x1400ccec7
lea rdx, [0x14097a8e0]
mov eax, 9
jmp 0x1400ccec7
lea rdx, [0x14097a6c0]
mov eax, 9
jmp 0x1400cce88
sub ecx, 0xbd
je 0x1400cce7c
sub ecx, 1
je 0x1400cce6e
sub ecx, 1
je 0x1400cce60
cmp ecx, 0x111
jne case.0x1400cc9c6.527
lea rdx, [0x14097a780]
mov eax, 9
jmp 0x1400ccec7
lea rdx, [0x14097a7e8]
mov eax, 6
jmp 0x1400ccec7
lea rdx, [0x14097a8fc]
mov eax, 6
jmp 0x1400ccec7
lea rdx, [0x14097a81c]
mov eax, 6
test rdx, rdx
je case.0x1400cc9c6.527
jmp 0x1400ccec7
sub ecx, 0x28d
je 0x1400ccebb
sub ecx, 1
je 0x1400cceb2
cmp ecx, 1
jne case.0x1400cc9c6.527
lea rdx, [0x14097a658]
jmp 0x1400ccec2
lea rdx, [0x14097a758]
jmp 0x1400ccec2
lea rdx, [0x14097a870]
mov eax, 8
cmp eax, r11d
jne 0x1400ccee5
mov r8d, eax
mov rcx, rbp
call fcn.1401960d0
neg eax
sbb eax, eax
and eax, 0xffffff6c
jmp 0x1400ccad9
mov eax, 0xffffff6c
jmp 0x1400ccad9
mov rbx, qword [rsp + 0x60]
mov eax, 0xffffff74
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret