Function at 0x140029810
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 0x140029851
mov eax, 0xffffff7c
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
test rbx, rbx
je 0x140029ebf
cmp byte [rax + rbx], 6
mov dword [rsp + 0x70], ecx
je 0x140029877
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.140028af0
test eax, eax
js 0x140029ebf
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 0x1400298d2
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 0x1400298c0
mov dword [r14], edx
cmp esi, 0x14
je case.0x140029996.527
mov ecx, dword [rdi]
cmp esi, 0xf
ja case.0x140029996.527
lea r8, [0x140000000]
mov eax, dword [r8 + rsi*4 + 0x29ed4]
add rax, r8
jmp rax
sub ecx, 0x58
je 0x14002995f
sub ecx, 0x146
je 0x14002994e
sub ecx, 1
je 0x14002993d
sub ecx, 1
je 0x14002992c
cmp ecx, 0xe9
jne case.0x140029996.527
lea rdx, [0x1400e0610]
jmp 0x140029e92
lea rdx, [0x1400e07e0]
mov eax, 9
jmp 0x140029e97
lea rdx, [0x1400e0708]
mov eax, 9
jmp 0x140029e97
lea rdx, [0x1400e05d0]
mov eax, 9
jmp 0x140029e97
lea rdx, [0x1400e0678]
mov eax, 5
jmp 0x140029e58
add ecx, 0xfffffdfb
cmp ecx, 0x8c
ja case.0x140029996.527
movzx eax, byte [r8 + rcx + 0x29f40]
mov ecx, dword [r8 + rax*4 + 0x29f14]
add rcx, r8
jmp rcx
lea rdx, [0x1400e0554]
mov eax, 7
jmp 0x140029e97
lea rdx, [0x1400e0548]
mov eax, 9
jmp 0x140029e97
lea rdx, [0x1400e04d8]
mov eax, 9
jmp 0x140029e97
lea rdx, [0x1400e0648]
mov eax, 9
jmp 0x140029e97
lea rdx, [0x1400e0808]
mov eax, 9
jmp 0x140029e97
lea rdx, [0x1400e05f0]
mov eax, 9
jmp 0x140029e97
lea rdx, [0x1400e04e4]
mov eax, 7
jmp 0x140029e97
lea rdx, [0x1400e0778]
jmp 0x140029e92
lea rdx, [0x1400e05e8]
jmp 0x140029e92
lea rdx, [0x1400e06c8]
mov eax, 8
jmp 0x140029e58
sub ecx, 0x203
je 0x140029a6a
sub ecx, 3
je 0x140029a59
cmp ecx, 0x7f
jne case.0x140029996.527
lea rdx, [0x1400e06d0]
lea eax, [rcx - 0x76]
jmp 0x140029e97
lea rdx, [0x1400e056c]
mov eax, 7
jmp 0x140029e97
lea rdx, [0x1400e05ac]
mov eax, 7
jmp 0x140029e58
test ecx, ecx
je case.0x140029996.527
mov rdx, r10
mov rax, r10
cmp dword [rax + r8 + 0xde414], ecx
je 0x140029abc
inc rdx
inc r10d
imul rax, rdx, 0x34c
cmp dword [rax + r8 + 0xde0d0], 0
jne 0x140029a85
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 + 0xde406]
imul rcx, rax, 0x34c
add rdx, rcx
mov eax, dword [rcx + r8 + 0xde410]
jmp 0x140029e58
cmp ecx, 0x1b6
ja 0x140029b51
je 0x140029b40
sub ecx, 0x45
je 0x140029b2f
sub ecx, 0x159
je 0x140029b1e
sub ecx, 4
je 0x140029b0d
cmp ecx, 0x10
jne case.0x140029996.527
lea rdx, [0x1400e0740]
lea eax, [rcx - 7]
jmp 0x140029e97
lea rdx, [0x1400e05b8]
mov eax, 9
jmp 0x140029e97
lea rdx, [0x1400e0780]
mov eax, 9
jmp 0x140029e97
lea rdx, [0x1400e06dc]
mov eax, 5
jmp 0x140029e97
lea rdx, [0x1400e0618]
mov eax, 9
jmp 0x140029e97
sub ecx, 0x1c6
je 0x140029b87
sub ecx, 4
je 0x140029b76
cmp ecx, 0xc2
jne case.0x140029996.527
lea rdx, [0x1400e0600]
jmp 0x140029e92
lea rdx, [0x1400e07f0]
mov eax, 9
jmp 0x140029e97
lea rdx, [0x1400e04f8]
mov eax, 9
jmp 0x140029e58
add ecx, 0xffffffbb
cmp ecx, 0x63
ja case.0x140029996.527
movzx eax, byte [r8 + rcx + 0x2a000]
mov ecx, dword [r8 + rax*4 + 0x29fd0]
add rcx, r8
jmp rcx
lea rdx, [0x1400e05fc]
mov eax, 3
jmp 0x140029e97
lea rdx, [0x1400e0574]
mov eax, 3
jmp 0x140029e97
lea rdx, [0x1400e0504]
mov eax, 3
jmp 0x140029e97
lea rdx, [0x1400e0798]
jmp 0x140029e92
lea rdx, [0x1400e01e8]
mov eax, 3
jmp 0x140029e97
lea rdx, [0x1400e05e4]
mov eax, 3
jmp 0x140029e97
lea rdx, [0x1400e055c]
mov eax, 3
jmp 0x140029e97
lea rdx, [0x1400e05b4]
mov eax, 3
jmp 0x140029e97
lea rdx, [0x1400e04ec]
mov eax, 3
jmp 0x140029e97
lea rdx, [0x1400e05cc]
mov eax, 3
jmp 0x140029e97
lea rdx, [0x1400e04d4]
mov eax, 3
jmp 0x140029e58
cmp ecx, 0x75
lea rdx, [0x1400e0628]
mov eax, 8
cmovne eax, r10d
cmovne rdx, r10
jmp 0x140029e58
cmp ecx, 0x92
lea rdx, [0x1400e0514]
mov eax, 4
cmovne eax, r10d
cmovne rdx, r10
jmp 0x140029e58
cmp ecx, 0x4f
lea rdx, [0x1400e0518]
mov eax, 8
cmovne eax, r10d
cmovne rdx, r10
jmp 0x140029e58
add ecx, 0xffffffb9
cmp ecx, 0x50
ja case.0x140029996.527
movzx eax, byte [r8 + rcx + 0x2a084]
mov ecx, dword [r8 + rax*4 + 0x2a064]
add rcx, r8
jmp rcx
lea rdx, [0x1400e04d0]
mov eax, 4
jmp 0x140029e97
lea rdx, [0x1400e0590]
jmp 0x140029e92
lea rdx, [0x1400e04f0]
jmp 0x140029e92
lea rdx, [0x1400e06f8]
jmp 0x140029e92
lea rdx, [0x1400e0700]
jmp 0x140029e92
lea rdx, [0x1400e0790]
jmp 0x140029e92
lea rdx, [0x1400e0578]
mov eax, 8
jmp 0x140029e58
cmp ecx, 0x294
lea rdx, [0x1400e07c0]
mov eax, 9
cmovne eax, r10d
cmovne rdx, r10
jmp 0x140029e58
sub ecx, 1
je 0x140029daf
sub ecx, 1
je 0x140029d9e
sub ecx, 1
je 0x140029d8d
cmp ecx, 0xa
jne case.0x140029996.527
lea rdx, [0x1400e0560]
lea eax, [rcx - 1]
jmp 0x140029e97
lea rdx, [0x1400e0508]
mov eax, 0xa
jmp 0x140029e97
lea rdx, [0x1400e06e8]
mov eax, 9
jmp 0x140029e97
lea rdx, [0x1400e0718]
mov eax, 0xa
jmp 0x140029e58
sub ecx, 0x1a1
je 0x140029df6
sub ecx, 0x14
je 0x140029de5
cmp ecx, 0x14
jne case.0x140029996.527
lea rdx, [0x1400e0730]
lea eax, [rcx - 0xb]
jmp 0x140029e97
lea rdx, [0x1400e07d0]
mov eax, 9
jmp 0x140029e97
lea rdx, [0x1400e0598]
mov eax, 9
jmp 0x140029e58
sub ecx, 0xbd
je 0x140029e4c
sub ecx, 1
je 0x140029e3e
sub ecx, 1
je 0x140029e30
cmp ecx, 0x111
jne case.0x140029996.527
lea rdx, [0x1400e06b0]
mov eax, 9
jmp 0x140029e97
lea rdx, [0x1400e05a4]
mov eax, 6
jmp 0x140029e97
lea rdx, [0x1400e05dc]
mov eax, 6
jmp 0x140029e97
lea rdx, [0x1400e05c4]
mov eax, 6
test rdx, rdx
je case.0x140029996.527
jmp 0x140029e97
sub ecx, 0x28d
je 0x140029e8b
sub ecx, 1
je 0x140029e82
cmp ecx, 1
jne case.0x140029996.527
lea rdx, [0x1400e0530]
jmp 0x140029e92
lea rdx, [0x1400e0658]
jmp 0x140029e92
lea rdx, [0x1400e0750]
mov eax, 8
cmp eax, r11d
jne 0x140029eb5
mov r8d, eax
mov rcx, rbp
call fcn.1400982a0
neg eax
sbb eax, eax
and eax, 0xffffff6c
jmp 0x140029aa9
mov eax, 0xffffff6c
jmp 0x140029aa9
mov rbx, qword [rsp + 0x60]
mov eax, 0xffffff74
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret