Function at 0x14003b710
Capabilities:
Encrypt data using openssl ecdsa
Encrypt data using openssl rsa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov eax, dword [rdx]
xor r10d, r10d
mov edi, dword [rsp + 0x50]
mov r11, rcx
mov esi, r9d
mov rbx, r8
mov r14, rdx
mov dword [r8], r10d
lea ecx, [rax + 1]
cmp ecx, edi
jbe 0x14003b74b
mov eax, 0xffffff7c
jmp 0x14003b7af
test r11, r11
je 0x14003b7aa
cmp byte [rax + r11], 6
je 0x14003b75e
mov eax, 0xffffff70
jmp 0x14003b7af
lea r8d, [rcx + 1]
mov edx, r10d
cmp r8d, edi
ja 0x14003b7aa
movzx ecx, byte [rcx + r11]
mov r9d, ecx
cmp cl, 0x80
jb 0x14003b7c5
and r9d, 0x7f
lea eax, [r9 + r8]
cmp eax, edi
ja 0x14003b7aa
cmp r9d, 4
ja 0x14003b7aa
test r9d, r9d
je 0x14003b7c8
nop
mov eax, r8d
inc r8d
shl edx, 8
movzx eax, byte [rax + r11]
or edx, eax
add r9d, 0xffffffff
jne 0x14003b790
test edx, edx
jns 0x14003b7c8
mov eax, 0xffffff74
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov edx, r9d
lea eax, [r8 + rdx]
cmp eax, edi
ja 0x14003b7aa
test edx, edx
mov edi, r8d
cmove edx, r10d
add rdi, r11
test edx, edx
mov r9d, edx
cmove r9d, r10d
je 0x14003b7ff
nop word [rax + rax]
movzx ecx, byte [r8 + r11]
inc r8d
add dword [rbx], ecx
sub edx, 1
jne 0x14003b7f0
mov dword [r14], r8d
cmp esi, 0x15
je case.0x14003b8e3.531
mov ecx, dword [rbx]
cmp esi, 0xf
ja case.0x14003b8e3.531
lea r8, [0x140000000]
mov eax, dword [r8 + rsi*4 + 0x3bd7c]
add rax, r8
jmp rax
cmp ecx, 0x1a0
ja 0x14003b88c
je 0x14003b87b
sub ecx, 0x58
je 0x14003b86a
sub ecx, 0x146
je 0x14003b859
cmp ecx, 1
jne case.0x14003b8e3.531
lea rdx, [0x1400ed4e0]
lea eax, [rcx + 8]
jmp 0x14003bd57
lea rdx, [0x1400ed3b8]
mov eax, 9
jmp 0x14003bd57
lea rdx, [0x1400ed470]
mov eax, 5
jmp 0x14003bd57
lea rdx, [0x1400ed5c0]
mov eax, 9
jmp 0x14003bd57
cmp ecx, 0x1a1
je 0x14003b8ac
cmp ecx, 0x289
jne case.0x14003b8e3.531
lea rdx, [0x1400ed3f0]
jmp 0x14003bd52
lea rdx, [0x1400ed548]
mov eax, 9
jmp 0x14003bd57
add ecx, 0xfffffdf8
cmp ecx, 0x8a
ja case.0x14003b8e3.531
movzx eax, byte [r8 + rcx + 0x3bdec]
mov ecx, dword [r8 + rax*4 + 0x3bdbc]
add rcx, r8
jmp rcx
lea rdx, [0x1400ed340]
mov eax, 9
jmp 0x14003bd57
lea rdx, [0x1400ed2e0]
mov eax, 9
jmp 0x14003bd57
lea rdx, [0x1400ed5b0]
mov eax, 9
jmp 0x14003bd57
lea rdx, [0x1400ed440]
mov eax, 9
jmp 0x14003bd57
lea rdx, [0x1400ed5e8]
mov eax, 9
jmp 0x14003bd57
lea rdx, [0x1400ed3d8]
mov eax, 9
jmp 0x14003bd57
lea rdx, [0x1400ed2ec]
mov eax, 7
jmp 0x14003bd57
lea rdx, [0x1400ed338]
jmp 0x14003bd52
lea rdx, [0x1400ed540]
jmp 0x14003bd52
lea rdx, [0x1400ed3d0]
jmp 0x14003bd52
lea rdx, [0x1400ed4b0]
jmp 0x14003bd52
sub ecx, 0x206
je 0x14003b9a8
cmp ecx, 0x7f
jne case.0x14003b8e3.531
lea rdx, [0x1400ed4b8]
lea eax, [rcx - 0x76]
jmp 0x14003bd57
lea rdx, [0x1400ed34c]
mov eax, 7
jmp 0x14003bd57
test ecx, ecx
je case.0x14003b8e3.531
mov rdx, r10
mov rax, r10
cmp dword [rax + r8 + 0xec794], ecx
je 0x14003b9ec
inc rdx
inc r10d
imul rax, rdx, 0x34c
cmp dword [rax + r8 + 0xec450], 0
jne 0x14003b9c3
xor eax, eax
jmp 0x14003b7af
movsxd rax, r10d
lea rdx, [r8 + 0xec786]
imul rcx, rax, 0x34c
mov eax, dword [rcx + r8 + 0xec790]
add rdx, rcx
je case.0x14003b8e3.531
jmp 0x14003bd57
add ecx, 0xfffffe62
cmp ecx, 0x2c
ja case.0x14003b8e3.531
movzx eax, byte [r8 + rcx + 0x3be94]
mov ecx, dword [r8 + rax*4 + 0x3be78]
add rcx, r8
jmp rcx
lea rdx, [0x1400ed558]
mov eax, 9
jmp 0x14003bd57
lea rdx, [0x1400ed508]
mov eax, 9
jmp 0x14003bd57
lea rdx, [0x1400ed300]
mov eax, 9
jmp 0x14003bd57
lea rdx, [0x1400ed3a8]
mov eax, 9
jmp 0x14003bd57
lea rdx, [0x1400ed3f8]
mov eax, 9
jmp 0x14003bd57
lea rdx, [0x1400ed5d0]
mov eax, 9
jmp 0x14003bd57
add ecx, 0xffffffbb
cmp ecx, 0x63
ja case.0x14003b8e3.531
movzx eax, byte [r8 + rcx + 0x3bef4]
mov ecx, dword [r8 + rax*4 + 0x3bec4]
add rcx, r8
jmp rcx
lea rdx, [0x1400ed3e4]
mov eax, 3
jmp 0x14003bd57
lea rdx, [0x1400ed36c]
mov eax, 3
jmp 0x14003bd57
lea rdx, [0x1400ed2f4]
mov eax, 3
jmp 0x14003bd57
lea rdx, [0x1400ed570]
jmp 0x14003bd52
lea rdx, [0x1400ebef4]
mov eax, 3
jmp 0x14003bd57
lea rdx, [0x1400ed3cc]
mov eax, 3
jmp 0x14003bd57
lea rdx, [0x1400ed354]
mov eax, 3
jmp 0x14003bd57
lea rdx, [0x1400ed3a4]
mov eax, 3
jmp 0x14003bd57
lea rdx, [0x1400ebf6c]
mov eax, 3
jmp 0x14003bd57
lea rdx, [0x1400ed3b4]
mov eax, 3
jmp 0x14003bd57
lea rdx, [0x1400ebf5c]
mov eax, 3
jmp 0x14003bd57
cmp ecx, 0x75
jne case.0x14003b8e3.531
lea rdx, [0x1400ed408]
jmp 0x14003bd52
cmp ecx, 0x92
jne case.0x14003b8e3.531
lea rdx, [0x1400ed30c]
mov eax, 4
jmp 0x14003bd57
cmp ecx, 0x4f
jne case.0x14003b8e3.531
lea rdx, [0x1400ed310]
jmp 0x14003bd52
add ecx, 0xffffffb9
cmp ecx, 0x50
ja case.0x14003b8e3.531
movzx eax, byte [r8 + rcx + 0x3bf78]
mov ecx, dword [r8 + rax*4 + 0x3bf58]
add rcx, r8
jmp rcx
lea rdx, [0x1400ebf0c]
mov eax, 4
jmp 0x14003bd57
lea rdx, [0x1400ed388]
jmp 0x14003bd52
lea rdx, [0x1400ed2f8]
jmp 0x14003bd52
lea rdx, [0x1400ed4c8]
jmp 0x14003bd52
lea rdx, [0x1400ed4d0]
jmp 0x14003bd52
lea rdx, [0x1400ed568]
jmp 0x14003bd52
lea rdx, [0x1400ed370]
jmp 0x14003bd52
cmp ecx, 0x294
jne case.0x14003b8e3.531
lea rdx, [0x1400ed590]
mov eax, 9
jmp 0x14003bd57
cmp ecx, 0xd
jne case.0x14003b8e3.531
lea rdx, [0x1400ed358]
lea eax, [rcx - 4]
jmp 0x14003bd57
sub ecx, 0x1a1
je 0x14003bc9b
sub ecx, 0x14
je 0x14003bc8a
cmp ecx, 0x14
jne case.0x14003b8e3.531
lea rdx, [0x1400ed4f8]
lea eax, [rcx - 0xb]
jmp 0x14003bd57
lea rdx, [0x1400ed5a0]
mov eax, 9
jmp 0x14003bd57
lea rdx, [0x1400ed390]
mov eax, 9
jmp 0x14003bd57
sub ecx, 0xbc
je 0x14003bd07
sub ecx, 1
je 0x14003bcf9
sub ecx, 1
je 0x14003bceb
sub ecx, 1
je 0x14003bcdd
cmp ecx, 0x111
jne case.0x14003b8e3.531
lea rdx, [0x1400ed4a0]
mov eax, 9
jmp 0x14003bd57
lea rdx, [0x1400ed364]
mov eax, 6
jmp 0x14003bd57
lea rdx, [0x1400ed3c4]
mov eax, 6
jmp 0x14003bd57
lea rdx, [0x1400ed39c]
mov eax, 6
jmp 0x14003bd57
lea rdx, [0x1400ec1c8]
mov eax, 6
jmp 0x14003bd57
sub ecx, 0x28c
je 0x14003bd4b
sub ecx, 1
je 0x14003bd42
sub ecx, 1
je 0x14003bd39
cmp ecx, 1
jne case.0x14003b8e3.531
lea rdx, [0x1400ed320]
jmp 0x14003bd52
lea rdx, [0x1400ed450]
jmp 0x14003bd52
lea rdx, [0x1400ed518]
jmp 0x14003bd52
lea rdx, [0x1400ed4d8]
mov eax, 8
cmp eax, r9d
jne 0x14003bd6f
mov r8d, eax
mov rcx, rdi
call fcn.1400b1dd0
test eax, eax
je case.0x14003b8e3.531
mov eax, 0xffffff6c
jmp 0x14003b7af