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

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
mov dword [r8], ebx
cmp edx, 0xf
ja case.0x1400cf18e.523
lea r10, [0x140000000]
mov eax, edx
mov eax, dword [r10 + rax*4 + 0xcf758]
add rax, r10
jmp rax
cmp ecx, 0x58
je 0x1400cf151
cmp ecx, 0x19e
je 0x1400cf13a
cmp ecx, 0x289
jne case.0x1400cf18e.523
lea rbx, [0x14098a080]
mov dword [r8], 8
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a038]
mov dword [r8], 9
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a0c0]
mov dword [r8], 5
mov rax, rbx
add rsp, 0x20
pop rbx
ret
add ecx, 0xfffffdfb
cmp ecx, 0x8a
ja case.0x1400cf18e.523
movzx eax, byte [r10 + rcx + 0xcf7b4]
mov ecx, dword [r10 + rax*4 + 0xcf798]
add rcx, r10
jmp rcx
lea rbx, [0x140989b44]
mov dword [r8], 7
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989fe8]
mov dword [r8], 9
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989f88]
mov dword [r8], 9
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a0d0]
mov dword [r8], 9
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989b04]
mov dword [r8], 7
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a160]
mov dword [r8], 8
mov rax, rbx
add rsp, 0x20
pop rbx
ret
sub ecx, 0x203
je 0x1400cf25e
sub ecx, 3
je 0x1400cf247
cmp ecx, 0x7f
jne case.0x1400cf18e.523
lea rbx, [0x14098a130]
mov dword [r8], 9
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989c74]
mov dword [r8], 7
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989f74]
mov dword [r8], 7
mov rax, rbx
add rsp, 0x20
pop rbx
ret
test ecx, ecx
je 0x1400cf2d3
mov r9d, ebx
mov rdx, rbx
mov rax, rbx
cmp dword [rax + r10 + 0x98a5a4], ecx
je 0x1400cf2a5
inc rdx
inc r9d
imul rax, rdx, 0x34c
cmp dword [rax + r10 + 0x98a260], ebx
jne 0x1400cf282
jmp 0x1400cf2d3
movsxd rax, r9d
lea rbx, [r10 + 0x98a596]
imul rcx, rax, 0x34c
add rbx, rcx
cmp dword [rcx + r10 + 0x98a264], 0
mov eax, dword [rcx + r10 + 0x98a5a0]
mov dword [r8], eax
jge case.0x1400cf18e.523
cmp dword [0x140a04560], 0
je case.0x1400cf18e.523
mov rax, qword [0x140a04558]
test rax, rax
je 0x1400cf303
lea rdx, str.ECC_OID_not_found
mov ecx, 1
call rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
mov ecx, 2
call fcn.14017cf98
mov rcx, rax
lea r8, str.ECC_OID_not_found
lea rdx, [0x140998764]
call fcn.1400af550
mov rax, rbx
add rsp, 0x20
pop rbx
ret
sub ecx, 0x45
je 0x1400cf3ab
sub ecx, 0x159
je 0x1400cf394
sub ecx, 0x14
je 0x1400cf37d
sub ecx, 0x14
je 0x1400cf366
cmp ecx, 0xc6
jne case.0x1400cf18e.523
lea rbx, [0x14098a030]
mov dword [r8], 8
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989f68]
mov dword [r8], 9
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a190]
mov dword [r8], 9
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a1c0]
mov dword [r8], 9
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a124]
mov dword [r8], 5
mov rax, rbx
add rsp, 0x20
pop rbx
ret
add ecx, 0xffffffbb
cmp ecx, 0x63
ja case.0x1400cf18e.523
movzx eax, byte [r10 + rcx + 0xcf870]
mov ecx, dword [r10 + rax*4 + 0xcf840]
add rcx, r10
jmp rcx
lea rbx, [0x140989fe4]
mov dword [r8], 3
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989f7c]
mov dword [r8], 3
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989c44]
mov dword [r8], 3
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a1b0]
mov dword [r8], 8
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989404]
mov dword [r8], 3
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989ff4]
mov dword [r8], 3
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989c7c]
mov dword [r8], 3
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989fcc]
mov dword [r8], 3
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989c5c]
mov dword [r8], 3
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989f9c]
mov dword [r8], 3
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989aec]
mov dword [r8], 3
mov rax, rbx
add rsp, 0x20
pop rbx
ret
cmp ecx, 0x75
jne case.0x1400cf18e.523
lea rbx, [0x14098a060]
mov dword [r8], 8
mov rax, rbx
add rsp, 0x20
pop rbx
ret
cmp ecx, 0x92
jne case.0x1400cf18e.523
lea rbx, [0x140989b0c]
mov dword [r8], 4
mov rax, rbx
add rsp, 0x20
pop rbx
ret
cmp ecx, 0x4f
jne case.0x1400cf18e.523
lea rbx, [0x140989fb8]
mov dword [r8], 8
mov rax, rbx
add rsp, 0x20
pop rbx
ret
add ecx, 0xffffffb9
cmp ecx, 0x50
ja case.0x1400cf18e.523
movzx eax, byte [r10 + rcx + 0xcf8f4]
mov ecx, dword [r10 + rax*4 + 0xcf8d4]
add rcx, r10
jmp rcx
lea rbx, [0x14098941c]
mov dword [r8], 4
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a000]
mov dword [r8], 8
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989f80]
mov dword [r8], 8
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a110]
mov dword [r8], 8
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a108]
mov dword [r8], 8
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a1b8]
mov dword [r8], 8
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989fd0]
mov dword [r8], 8
mov rax, rbx
add rsp, 0x20
pop rbx
ret
cmp ecx, 0x294
jne case.0x1400cf18e.523
lea rbx, [0x14098a1d0]
mov dword [r8], 9
mov rax, rbx
add rsp, 0x20
pop rbx
ret
sub ecx, 1
je 0x1400cf687
sub ecx, 1
je 0x1400cf670
sub ecx, 1
je 0x1400cf659
cmp ecx, 0xa
jne case.0x1400cf18e.523
lea rbx, [0x140989fd8]
mov dword [r8], 9
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989fc0]
mov dword [r8], 0xa
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a118]
mov dword [r8], 9
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a148]
mov dword [r8], 0xa
mov rax, rbx
add rsp, 0x20
pop rbx
ret
sub ecx, 0x1a1
je 0x1400cf6e2
sub ecx, 0x14
je 0x1400cf6cb
cmp ecx, 0x14
jne case.0x1400cf18e.523
lea rbx, [0x14098a1a0]
mov dword [r8], 9
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a200]
mov dword [r8], 9
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x14098a048]
mov dword [r8], 9
mov rax, rbx
add rsp, 0x20
pop rbx
ret
cmp ecx, 0xbd
je 0x1400cf720
cmp ecx, 0x1d0
jne case.0x1400cf18e.523
lea rbx, [0x14098a0f0]
mov dword [r8], 9
mov rax, rbx
add rsp, 0x20
pop rbx
ret
lea rbx, [0x140989f94]
mov dword [r8], 6
mov rax, rbx
add rsp, 0x20
pop rbx
ret
cmp ecx, 0x28d
jne case.0x1400cf18e.523
lea rbx, [0x14098a188]
mov dword [r8], 8
mov rax, rbx
add rsp, 0x20
pop rbx
ret