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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r11d, dword [rsp + 0x50]
xor ebx, ebx
mov r10d, dword [rdx]
mov rdi, rcx
mov esi, r9d
mov r14d, r11d
mov dword [r8], ebx
mov r9d, ebx
lea rbp, [rcx + r10]
test r11d, r11d
je 0x1400659d4
nop dword [rax]
movzx ecx, byte [r10 + rdi]
inc r10d
add r9d, ecx
mov dword [r8], r9d
sub r11d, 1
jne 0x1400659c0
mov dword [rdx], r10d
cmp esi, 0x13
ja case.0x140065ace.428
lea r8, [0x140000000]
mov eax, dword [r8 + rsi*4 + 0x660cc]
add rax, r8
jmp rax
cmp r9d, 0x1a0
ja 0x140065a5c
je 0x140065a4b
sub r9d, 0x58
je 0x140065a3a
sub r9d, 0x146
je 0x140065a29
cmp r9d, 1
jne case.0x140065ace.428
lea rdx, [0x1400a8658]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8138]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8458]
mov eax, 5
jmp 0x140066095
lea rdx, [0x1400a8838]
mov eax, 9
jmp 0x140066095
sub r9d, 0x1a2
je 0x140065a95
sub r9d, 1
je 0x140065a84
cmp r9d, 0xe6
jne case.0x140065ace.428
lea rdx, [0x1400a81c8]
jmp 0x140066090
lea rdx, [0x1400a8648]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a7f88]
mov eax, 9
jmp 0x14006605b
add r9d, 0xfffffe60
cmp r9d, 0xf1
ja case.0x140065ace.428
movzx eax, byte [r8 + r9 + 0x66150]
mov ecx, dword [r8 + rax*4 + 0x6611c]
add rcx, r8
jmp rcx
lea rdx, [0x1400a80e8]
mov eax, 7
jmp 0x140066095
lea rdx, [0x1400a8818]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8088]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a7f70]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8418]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8880]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8160]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8700]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8080]
mov eax, 7
jmp 0x140066095
lea rdx, [0x1400a86f8]
jmp 0x140066090
lea rdx, [0x1400a8148]
jmp 0x140066090
lea rdx, [0x1400a8530]
mov eax, 8
jmp 0x14006605b
sub r9d, 0x203
je 0x140065bfb
sub r9d, 3
je 0x140065bea
sub r9d, 0x7f
je 0x140065bd9
sub r9d, 2
je 0x140065bc8
cmp r9d, 7
jne case.0x140065ace.428
lea rdx, [0x1400a85e8]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8430]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8538]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a80f8]
mov eax, 7
jmp 0x140066095
lea rdx, [0x1400a85bc]
mov eax, 7
jmp 0x14006605b
test r9d, r9d
je case.0x140065ace.428
mov edx, ebx
mov rcx, rbx
mov rax, rbx
nop dword [rax]
cmp dword [rax + r8 + 0xa6d9c], r9d
je 0x140065c45
inc rcx
inc edx
imul rax, rcx, 0x354
cmp dword [rax + r8 + 0xa6a50], ebx
jne 0x140065c20
jmp case.0x140065ace.428
movsxd rax, edx
lea rdx, [r8 + 0xa6d8c]
imul rcx, rax, 0x354
add rdx, rcx
mov eax, dword [rcx + r8 + 0xa6d98]
jmp 0x14006605b
cmp r9d, 0x1b6
ja 0x140065ce5
je 0x140065cd4
sub r9d, 0x45
je 0x140065cc3
sub r9d, 0x159
je 0x140065cb2
sub r9d, 4
je 0x140065ca1
cmp r9d, 0x10
jne case.0x140065ace.428
lea rdx, [0x1400a86b8]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8128]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8718]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8560]
mov eax, 5
jmp 0x140066095
lea rdx, [0x1400a81e8]
mov eax, 9
jmp 0x140066095
sub r9d, 0x1c6
je 0x140065d1e
sub r9d, 4
je 0x140065d0d
cmp r9d, 0xc2
jne case.0x140065ace.428
lea rdx, [0x1400a81a8]
jmp 0x140066090
lea rdx, [0x1400a8860]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a7f98]
mov eax, 9
jmp 0x14006605b
add r9d, 0xffffffbb
cmp r9d, 0x63
ja case.0x140065ace.428
movzx eax, byte [r8 + r9 + 0x66274]
mov ecx, dword [r8 + rax*4 + 0x66244]
add rcx, r8
jmp rcx
lea rdx, [0x1400a8850]
mov eax, 3
jmp 0x140066095
lea rdx, [0x1400a86a0]
mov eax, 3
jmp 0x140066095
lea rdx, [0x1400a80dc]
mov eax, 3
jmp 0x140066095
lea rdx, [0x1400a8740]
jmp 0x140066090
lea rdx, [0x1400a8824]
mov eax, 3
jmp 0x140066095
lea rdx, [0x1400a8500]
mov eax, 3
jmp 0x140066095
lea rdx, [0x1400a8748]
mov eax, 3
jmp 0x140066095
lea rdx, [0x1400a80d4]
mov eax, 3
jmp 0x140066095
lea rdx, [0x1400a87d0]
mov eax, 3
jmp 0x140066095
lea rdx, [0x1400a807c]
mov eax, 3
jmp 0x14006605b
sub r9d, 0x86
je 0x140065e1c
cmp r9d, 0xf
jne case.0x140065ace.428
lea rdx, [0x1400a7e68]
mov eax, 3
jmp 0x140066095
lea rdx, [0x1400a7f18]
mov eax, 3
jmp 0x14006605b
sub r9d, 0x74
je 0x140065e49
cmp r9d, 1
jne case.0x140065ace.428
lea rdx, [0x1400a8220]
jmp 0x140066090
lea rdx, [0x1400a88c8]
mov eax, 8
jmp 0x14006605b
cmp r9d, 0x92
lea rdx, [0x1400a80d8]
mov eax, 4
cmovne eax, ebx
cmovne rdx, rbx
jmp 0x14006605b
cmp r9d, 0x4f
lea rdx, [0x1400a7fb8]
mov eax, 8
cmovne eax, ebx
cmovne rdx, rbx
jmp 0x14006605b
add r9d, 0xffffffb9
cmp r9d, 0x50
ja case.0x140065ace.428
movzx eax, byte [r8 + r9 + 0x662f8]
mov ecx, dword [r8 + rax*4 + 0x662d8]
add rcx, r8
jmp rcx
lea rdx, [0x1400a7f50]
mov eax, 4
jmp 0x140066095
lea rdx, [0x1400a80f0]
jmp 0x140066090
lea rdx, [0x1400a7f80]
jmp 0x140066090
lea rdx, [0x1400a85a0]
jmp 0x140066090
lea rdx, [0x1400a85c8]
jmp 0x140066090
lea rdx, [0x1400a8738]
jmp 0x140066090
lea rdx, [0x1400a8098]
mov eax, 8
jmp 0x14006605b
cmp r9d, 0x294
lea rdx, [0x1400a8808]
mov eax, 9
cmovne eax, ebx
cmovne rdx, rbx
jmp 0x14006605b
cmp r9d, 0x28b
ja 0x140065f6e
je 0x140065f5d
test r9d, r9d
je 0x140065f5d
sub r9d, 2
je 0x140065fa9
sub r9d, 1
je 0x140065f98
cmp r9d, 0xa
je 0x140065f87
jmp case.0x140065ace.428
lea rdx, [0x1400a8228]
mov eax, 9
jmp 0x140066095
sub r9d, 0x292
je 0x140065fa9
sub r9d, 1
je 0x140065f98
cmp r9d, 2
jne case.0x140065ace.428
lea rdx, [0x1400a80a0]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a7fa8]
mov eax, 0xa
jmp 0x140066095
lea rdx, [0x1400a8568]
mov eax, 9
jmp 0x14006605b
sub r9d, 0x1a1
je 0x140065ff5
sub r9d, 0x14
je 0x140065fe4
cmp r9d, 0x14
jne case.0x140065ace.428
lea rdx, [0x1400a86a8]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8828]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8110]
mov eax, 9
jmp 0x14006605b
sub r9d, 0xbd
je 0x14006604f
sub r9d, 1
je 0x140066041
sub r9d, 1
je 0x140066033
cmp r9d, 0x111
jne case.0x140065ace.428
lea rdx, [0x1400a84d8]
mov eax, 9
jmp 0x140066095
lea rdx, [0x1400a8520]
mov eax, 6
jmp 0x140066095
lea rdx, [0x1400a87e0]
mov eax, 6
jmp 0x140066095
lea rdx, [0x1400a8698]
mov eax, 6
test rdx, rdx
je case.0x140065ace.428
jmp 0x140066095
sub r9d, 0x28d
je 0x140066089
sub r9d, 1
je 0x140066080
cmp r9d, 1
jne case.0x140065ace.428
lea rdx, [0x1400a7fd8]
jmp 0x140066090
lea rdx, [0x1400a8428]
jmp 0x140066090
lea rdx, [0x1400a86c8]
mov eax, 8
cmp eax, r14d
jne 0x1400660a9
mov r8d, eax
mov rcx, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je case.0x140065ace.428
mov ebx, 0xffffff6c
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret