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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x20
mov r10d, dword [rdx]
xor edi, edi
mov r11d, dword [rbp + 0x40]
mov rbx, rcx
mov dword [r8], edi
mov r14d, r11d
lea rsi, [rcx + r10]
test r11d, r11d
je 0x18006e0b1
movzx ecx, byte [r10 + rbx]
inc r10d
add dword [r8], ecx
sub r11d, 1
jne 0x18006e0a0
mov dword [rdx], r10d
cmp r9d, 0x15
je case.0x18006e169.528
mov ecx, dword [r8]
mov qword [rbp + 0x20], rdi
mov dword [rbp + 0x40], edi
cmp r9d, 0xf
ja case.0x18006e169.528
lea rdx, [0x180000000]
mov eax, r9d
mov eax, dword [rdx + rax*4 + 0x6e5c0]
add rax, rdx
jmp rax
sub ecx, 0x58
je 0x18006e134
sub ecx, 0x146
je 0x18006e123
sub ecx, 1
je 0x18006e112
cmp ecx, 1
jne case.0x18006e169.528
lea rdx, [0x1800c8518]
lea eax, [rcx + 8]
jmp 0x18006e589
lea rdx, [0x1800c8500]
mov eax, 9
jmp 0x18006e589
lea rdx, [0x1800c84e8]
mov eax, 9
jmp 0x18006e589
lea rdx, [0x1800c84e0]
mov eax, 5
jmp 0x18006e589
add ecx, 0xfffffdf8
cmp ecx, 0x89
ja case.0x18006e169.528
movzx eax, byte [rdx + rcx + 0x6e624]
mov ecx, dword [rdx + rax*4 + 0x6e600]
add rcx, rdx
jmp rcx
lea rdx, [0x1800c8548]
mov eax, 9
jmp 0x18006e589
lea rdx, [0x1800c8560]
mov eax, 9
jmp 0x18006e589
lea rdx, [0x1800c8570]
mov eax, 9
jmp 0x18006e589
lea rdx, [0x1800c8580]
mov eax, 9
jmp 0x18006e589
lea rdx, [0x1800c849c]
mov eax, 7
jmp 0x18006e589
lea rdx, [0x1800c8590]
jmp 0x18006e584
lea rdx, [0x1800c8598]
jmp 0x18006e584
lea rdx, [0x1800c85a0]
jmp 0x18006e584
sub ecx, 0x206
je 0x18006e21a
sub ecx, 0x7f
je 0x18006e209
cmp ecx, 2
jne case.0x18006e169.528
lea rdx, [0x1800c85b8]
lea eax, [rcx + 7]
jmp 0x18006e589
lea rdx, [0x1800c85a8]
mov eax, 9
jmp 0x18006e589
lea rdx, [0x1800c84f4]
mov eax, 7
jmp 0x18006e589
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x20]
call fcn.180057150
mov rdx, qword [rbp + 0x20]
test rdx, rdx
je case.0x18006e169.528
mov eax, dword [rbp + 0x40]
jmp 0x18006e590
add ecx, 0xfffffe62
cmp ecx, 0x2c
ja case.0x18006e169.528
movzx eax, byte [rdx + rcx + 0x6e6cc]
mov ecx, dword [rdx + rax*4 + 0x6e6b0]
add rcx, rdx
jmp rcx
lea rdx, [0x1800c85c8]
mov eax, 9
jmp 0x18006e589
lea rdx, [0x1800c85d8]
mov eax, 9
jmp 0x18006e589
lea rdx, [0x1800c85e8]
mov eax, 9
jmp 0x18006e589
lea rdx, [0x1800c85f8]
mov eax, 9
jmp 0x18006e589
lea rdx, [0x1800c8608]
mov eax, 9
jmp 0x18006e589
lea rdx, [0x1800c8618]
mov eax, 9
jmp 0x18006e589
add ecx, 0xffffffbb
cmp ecx, 0x63
ja case.0x18006e169.528
movzx eax, byte [rdx + rcx + 0x6e72c]
mov ecx, dword [rdx + rax*4 + 0x6e6fc]
add rcx, rdx
jmp rcx
lea rdx, [0x1800c84a4]
mov eax, 3
jmp 0x18006e589
lea rdx, [0x1800c84fc]
mov eax, 3
jmp 0x18006e589
lea rdx, [0x1800c8514]
mov eax, 3
jmp 0x18006e589
lea rdx, [0x1800c8668]
jmp 0x18006e584
lea rdx, [0x1800c852c]
mov eax, 3
jmp 0x18006e589
lea rdx, [0x1800c855c]
mov eax, 3
jmp 0x18006e589
lea rdx, [0x1800c856c]
mov eax, 3
jmp 0x18006e589
lea rdx, [0x1800c857c]
mov eax, 3
jmp 0x18006e589
lea rdx, [0x1800c858c]
mov eax, 3
jmp 0x18006e589
lea rdx, [0x1800c85b4]
mov eax, 3
jmp 0x18006e589
lea rdx, [0x1800c85c4]
mov eax, 3
jmp 0x18006e589
sub ecx, 0x74
je 0x18006e3c6
cmp ecx, 1
jne case.0x18006e169.528
lea rdx, [0x1800c8678]
jmp 0x18006e584
lea rdx, [0x1800c8670]
jmp 0x18006e584
cmp ecx, 0x92
jne case.0x18006e169.528
lea rdx, [0x1800c85d4]
mov eax, 4
jmp 0x18006e589
cmp ecx, 0x4f
jne case.0x18006e169.528
lea rdx, [0x1800c8680]
jmp 0x18006e584
add ecx, 0xffffffb9
cmp ecx, 0x50
ja case.0x18006e169.528
movzx eax, byte [rdx + rcx + 0x6e7b0]
mov ecx, dword [rdx + rax*4 + 0x6e790]
add rcx, rdx
jmp rcx
lea rdx, [0x1800c85e4]
mov eax, 4
jmp 0x18006e589
lea rdx, [0x1800c8688]
jmp 0x18006e584
lea rdx, [0x1800c8690]
jmp 0x18006e584
lea rdx, [0x1800c8698]
jmp 0x18006e584
lea rdx, [0x1800c86a0]
jmp 0x18006e584
lea rdx, [0x1800c86a8]
jmp 0x18006e584
lea rdx, [0x1800c86b0]
jmp 0x18006e584
cmp ecx, 0x294
jne case.0x18006e169.528
lea rdx, [0x1800c86b8]
mov eax, 9
jmp 0x18006e589
cmp ecx, 0xd
je 0x18006e4ab
cmp ecx, 0x295
jne case.0x18006e169.528
lea rdx, [0x1800c86c8]
mov eax, 9
jmp 0x18006e589
sub ecx, 0x1a1
je 0x18006e4f2
sub ecx, 0x14
je 0x18006e4e1
cmp ecx, 0x14
jne case.0x18006e169.528
lea rdx, [0x1800c8648]
lea eax, [rcx - 0xb]
jmp 0x18006e589
lea rdx, [0x1800c8638]
mov eax, 9
jmp 0x18006e589
lea rdx, [0x1800c8628]
mov eax, 9
jmp 0x18006e589
sub ecx, 0xbd
je 0x18006e54b
sub ecx, 1
je 0x18006e53d
sub ecx, 1
je 0x18006e52f
cmp ecx, 0x111
jne case.0x18006e169.528
lea rdx, [0x1800c8658]
mov eax, 9
jmp 0x18006e589
lea rdx, [0x1800c8554]
mov eax, 6
jmp 0x18006e589
lea rdx, [0x1800c8524]
mov eax, 6
jmp 0x18006e589
lea rdx, [0x1800c850c]
mov eax, 6
jmp 0x18006e589
sub ecx, 0x28d
je 0x18006e57d
sub ecx, 1
je 0x18006e574
cmp ecx, 1
jne case.0x18006e169.528
lea rdx, [0x1800c8540]
jmp 0x18006e584
lea rdx, [0x1800c8538]
jmp 0x18006e584
lea rdx, [0x1800c8530]
mov eax, 8
mov qword [rbp + 0x20], rdx
mov dword [rbp + 0x40], eax
cmp eax, r14d
jne 0x18006e5a4
mov r8d, eax
mov rcx, rsi
call fcn.1800a3690
test eax, eax
je case.0x18006e169.528
mov edi, 0xffffff6c
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret