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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x20
mov eax, dword [rdx]
xor r10d, r10d
mov edi, dword [rbp + 0x40]
mov r11, rcx
mov esi, r9d
mov rbx, r8
mov r14, rdx
mov dword [r8], r10d
lea ecx, [rax + 1]
cmp ecx, edi
jbe 0x1800a56bd
mov eax, 0xffffff7c
jmp 0x1800a5d54
test r11, r11
je 0x1800a572a
cmp byte [rax + r11], 6
je 0x1800a56d3
mov eax, 0xffffff70
jmp 0x1800a5d54
lea r8d, [rcx + 1]
mov edx, r10d
cmp r8d, edi
ja 0x1800a572a
movzx ecx, byte [rcx + r11]
mov r9d, ecx
cmp cl, 0x80
jb 0x1800a5734
and r9d, 0x7f
lea eax, [r9 + r8]
cmp eax, edi
ja 0x1800a572a
cmp r9d, 4
ja 0x1800a572a
test r9d, r9d
je 0x1800a5737
nop dword [rax]
nop word [rax + rax]
mov eax, r8d
inc r8d
shl edx, 8
movzx eax, byte [rax + r11]
or edx, eax
add r9d, 0xffffffff
jne 0x1800a5710
test edx, edx
jns 0x1800a5737
mov eax, 0xffffff74
jmp 0x1800a5d54
mov edx, r9d
lea eax, [r8 + rdx]
cmp eax, edi
ja 0x1800a572a
test edx, edx
mov qword [rsp + 0x40], r15
mov r15d, r8d
cmove edx, r10d
add r15, r11
test edx, edx
mov edi, edx
cmove edi, r10d
je 0x1800a576f
nop word [rax + rax]
movzx ecx, byte [r8 + r11]
inc r8d
add dword [rbx], ecx
sub edx, 1
jne 0x1800a5760
mov dword [r14], r8d
cmp esi, 0x14
je 0x1800a5d6e
mov ecx, dword [rbx]
mov edx, r10d
mov dword [rbp + 0x40], edx
mov qword [rbp + 0x28], r10
cmp esi, 0xf
ja case.0x1800a583d.527
lea r8, [0x180000000]
mov eax, dword [r8 + rsi*4 + 0xa5d74]
add rax, r8
jmp rax
sub ecx, 0x58
je 0x1800a5806
sub ecx, 0x146
je 0x1800a57f5
sub ecx, 1
je 0x1800a57e4
sub ecx, 1
je 0x1800a57d3
cmp ecx, 0xe9
jne case.0x1800a583d.527
lea r10, [0x180110148]
jmp 0x1800a5d23
lea r10, [0x180110188]
mov edx, 9
jmp 0x1800a5d28
lea r10, [0x180110170]
mov edx, 9
jmp 0x1800a5d28
lea r10, [0x180110158]
mov edx, 9
jmp 0x1800a5d28
lea r10, [0x180110150]
mov edx, 5
jmp 0x1800a5d28
add ecx, 0xfffffdfb
cmp ecx, 0x8c
ja case.0x1800a583d.527
movzx eax, byte [r8 + rcx + 0xa5de0]
mov ecx, dword [r8 + rax*4 + 0xa5db4]
add rcx, r8
jmp rcx
lea r10, [0x18011000c]
mov edx, 7
jmp 0x1800a5d28
lea r10, [0x1801101b8]
mov edx, 9
jmp 0x1800a5d28
lea r10, [0x1801101d0]
mov edx, 9
jmp 0x1800a5d28
lea r10, [0x1801101e0]
mov edx, 9
jmp 0x1800a5d28
lea r10, [0x1801101f0]
mov edx, 9
jmp 0x1800a5d28
lea r10, [0x180110200]
mov edx, 9
jmp 0x1800a5d28
lea r10, [0x180110024]
mov edx, 7
jmp 0x1800a5d28
lea r10, [0x180110210]
jmp 0x1800a5d23
lea r10, [0x180110218]
jmp 0x1800a5d23
lea r10, [0x180110220]
jmp 0x1800a5d23
sub ecx, 0x203
je 0x1800a5926
sub ecx, 3
je 0x1800a5915
sub ecx, 0x7f
je 0x1800a5904
cmp ecx, 2
jne case.0x1800a583d.527
lea r10, [0x180110238]
lea edx, [rcx + 7]
jmp 0x1800a5d28
lea r10, [0x180110228]
mov edx, 9
jmp 0x1800a5d28
lea r10, [0x180110164]
mov edx, 7
jmp 0x1800a5d28
lea r10, [0x180110104]
mov edx, 7
jmp 0x1800a5d28
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x28]
call fcn.1800c47d0
mov edx, dword [rbp + 0x40]
mov r10, qword [rbp + 0x28]
jmp case.0x1800a583d.527
cmp ecx, 0x1b6
ja 0x1800a59c8
je 0x1800a59b7
sub ecx, 0x45
je 0x1800a59a6
sub ecx, 0x159
je 0x1800a5995
sub ecx, 4
je 0x1800a5984
cmp ecx, 0x10
jne case.0x1800a583d.527
lea r10, [0x180110258]
lea edx, [rcx - 7]
jmp 0x1800a5d28
lea r10, [0x180110278]
mov edx, 9
jmp 0x1800a5d28
lea r10, [0x180110248]
mov edx, 9
jmp 0x1800a5d28
lea r10, [0x1801102a4]
mov edx, 5
jmp 0x1800a5d28
lea r10, [0x180110288]
mov edx, 9
jmp 0x1800a5d28
sub ecx, 0x1c6
je 0x1800a59fe
sub ecx, 4
je 0x1800a59ed
cmp ecx, 0xc2
jne case.0x1800a583d.527
lea r10, [0x1801102b0]
jmp 0x1800a5d23
lea r10, [0x180110298]
mov edx, 9
jmp 0x1800a5d28
lea r10, [0x180110268]
mov edx, 9
jmp 0x1800a5d28
sub ecx, 0x75
je 0x1800a5a2c
cmp ecx, 1
jne case.0x1800a583d.527
lea r10, [0x180110308]
lea edx, [rcx + 8]
jmp 0x1800a5d28
lea r10, [0x1801102f8]
mov edx, 9
jmp 0x1800a5d28
add ecx, 0xffffffbb
cmp ecx, 0x63
ja case.0x1800a583d.527
movzx eax, byte [r8 + rcx + 0xa5ea0]
mov ecx, dword [r8 + rax*4 + 0xa5e70]
add rcx, r8
jmp rcx
lea r10, [0x180110014]
mov edx, 3
jmp 0x1800a5d28
lea r10, [0x18011002c]
mov edx, 3
jmp 0x1800a5d28
lea r10, [0x18011010c]
mov edx, 3
jmp 0x1800a5d28
lea r10, [0x180110318]
jmp 0x1800a5d23
lea r10, [0x18011016c]
mov edx, 3
jmp 0x1800a5d28
lea r10, [0x180110184]
mov edx, 3
jmp 0x1800a5d28
lea r10, [0x18011019c]
mov edx, 3
jmp 0x1800a5d28
lea r10, [0x1801101cc]
mov edx, 3
jmp 0x1800a5d28
lea r10, [0x1801101dc]
mov edx, 3
jmp 0x1800a5d28
lea r10, [0x1801101ec]
mov edx, 3
jmp 0x1800a5d28
lea r10, [0x1801101fc]
mov edx, 3
jmp 0x1800a5d28
sub ecx, 0x74
je 0x1800a5b2f
cmp ecx, 1
jne case.0x1800a583d.527
lea r10, [0x180110328]
jmp 0x1800a5d23
lea r10, [0x180110320]
jmp 0x1800a5d23
cmp ecx, 0x92
jne case.0x1800a583d.527
lea r10, [0x18011020c]
mov edx, 4
jmp 0x1800a5d28
cmp ecx, 0x4f
jne case.0x1800a583d.527
lea r10, [0x180110330]
jmp 0x1800a5d23
add ecx, 0xffffffb9
cmp ecx, 0x50
ja case.0x1800a583d.527
movzx eax, byte [r8 + rcx + 0xa5f24]
mov ecx, dword [r8 + rax*4 + 0xa5f04]
add rcx, r8
jmp rcx
lea r10, [0x180110234]
mov edx, 4
jmp 0x1800a5d28
lea r10, [0x180110338]
jmp 0x1800a5d23
lea r10, [0x180110340]
jmp 0x1800a5d23
lea r10, [0x180110348]
jmp 0x1800a5d23
lea r10, [0x180110350]
jmp 0x1800a5d23
lea r10, [0x180110358]
jmp 0x1800a5d23
lea r10, [0x180110360]
jmp 0x1800a5d23
cmp ecx, 0x294
jne case.0x1800a583d.527
lea r10, [0x180110368]
mov edx, 9
jmp 0x1800a5d28
sub ecx, 1
je 0x1800a5c4e
sub ecx, 1
je 0x1800a5c3d
sub ecx, 1
je 0x1800a5c2c
cmp ecx, 0xa
jne case.0x1800a583d.527
lea r10, [0x180110388]
lea edx, [rcx - 1]
jmp 0x1800a5d28
lea r10, [0x1801103a8]
mov edx, 0xa
jmp 0x1800a5d28
lea r10, [0x180110378]
mov edx, 9
jmp 0x1800a5d28
lea r10, [0x180110398]
mov edx, 0xa
jmp 0x1800a5d28
sub ecx, 0x1a1
je 0x1800a5c95
sub ecx, 0x14
je 0x1800a5c84
cmp ecx, 0x14
jne case.0x1800a583d.527
lea r10, [0x1801102d8]
lea edx, [rcx - 0xb]
jmp 0x1800a5d28
lea r10, [0x1801102c8]
mov edx, 9
jmp 0x1800a5d28
lea r10, [0x1801102b8]
mov edx, 9
jmp 0x1800a5d28
sub ecx, 0xbd
je 0x1800a5cea
sub ecx, 1
je 0x1800a5cdc
sub ecx, 1
je 0x1800a5cce
cmp ecx, 0x111
jne case.0x1800a583d.527
lea r10, [0x1801102e8]
mov edx, 9
jmp 0x1800a5d28
lea r10, [0x1801101c4]
mov edx, 6
jmp 0x1800a5d28
lea r10, [0x180110194]
mov edx, 6
jmp 0x1800a5d28
lea r10, [0x18011017c]
mov edx, 6
jmp 0x1800a5d28
sub ecx, 0x28d
je 0x1800a5d1c
sub ecx, 1
je 0x1800a5d13
cmp ecx, 1
jne case.0x1800a583d.527
lea r10, [0x1801101b0]
jmp 0x1800a5d23
lea r10, [0x1801101a8]
jmp 0x1800a5d23
lea r10, [0x1801101a0]
mov edx, 8
mov dword [rbp + 0x40], edx
mov qword [rbp + 0x28], r10
test r10, r10
je 0x1800a5d6e
cmp edx, edi
jne 0x1800a5d67
mov r8d, edx
mov rcx, r15
mov rdx, r10
call fcn.1800dce40
neg eax
sbb eax, eax
and eax, 0xffffff6c
mov r15, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
mov eax, 0xffffff6c
jmp 0x1800a5d4f
xor eax, eax
jmp 0x1800a5d4f