Function at 0x14000d420
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x37]
sub rsp, 0x90
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp + 7], rax
xorps xmm1, xmm1
mov qword [rbp - 0x11], rax
mov rbx, rdx
mov qword [rbp + 0x1f], rax
mov rdi, rcx
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp - 0x21], xmm1
movups xmmword [rbp + 0xf], xmm0
test rcx, rcx
je 0x14000ddf9
test rdx, rdx
je 0x14000ddf9
add rdx, r8
mov qword [rbp + 0x77], r8
cmp r8, 1
jl 0x14000dde1
cmp byte [rbx], 0x30
jne 0x14000dde1
lea rax, [rbx + 1]
lea r8, [rbp + 0x77]
mov qword [rbp + 0x57], rax
lea rcx, [rbp + 0x57]
call fcn.1400214e0
test eax, eax
jne 0x14000dde1
mov rdx, qword [rbp + 0x57]
lea ecx, [rax + 1]
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0x88], r14
mov r14, qword [rbp + 0x77]
add rdx, r14
sub rdx, rbx
mov qword [rdi + 0x10], rdx
call fcn.1400727c8
mov qword [rdi + 0x18], rax
mov rsi, rax
test rax, rax
jne 0x14000d4df
mov eax, 0xffffd780
jmp 0x14000d64d
mov r8, qword [rdi + 0x10]
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x80], r15
call fcn.14006bf10
mov rbx, qword [rdi + 0x10]
sub rbx, r14
mov dword [rdi], 1
add rbx, rsi
mov qword [rdi + 0x30], rbx
lea rdx, [rbx + r14]
mov rax, rdx
mov qword [rbp - 0x29], rdx
sub rax, rbx
cmp rax, 1
jge 0x14000d538
mov rcx, rdi
mov r15d, 0xffffffa0
call fcn.1400107f0
lea eax, [r15 - 0x2180]
jmp 0x14000d645
cmp byte [rbx], 0x30
je 0x14000d557
mov rcx, rdi
mov r15d, 0xffffff9e
call fcn.1400107f0
lea eax, [r15 - 0x2180]
jmp 0x14000d645
lea rax, [rbx + 1]
lea r8, [rbp + 0x77]
mov qword [rbp + 0x57], rax
lea rcx, [rbp + 0x57]
call fcn.1400214e0
mov r15d, eax
test eax, eax
je 0x14000d587
mov rcx, rdi
call fcn.1400107f0
lea eax, [r15 - 0x2180]
jmp 0x14000d645
mov rcx, qword [rbp + 0x57]
mov r15d, 0xffffffa0
mov r14, qword [rbp + 0x77]
add r14, rcx
mov qword [rsp + 0xc0], r12
mov rax, r14
mov qword [rsp + 0xc8], r13
sub rax, rbx
xor r12d, r12d
mov qword [rdi + 0x28], rax
mov rax, r14
sub rax, rcx
cmp rax, 1
jge 0x14000d5cc
mov eax, r15d
lea ebx, [rax - 0x2180]
jmp 0x14000d627
cmp byte [rcx], 0xa0
jne 0x14000d674
inc rcx
lea r8, [rbp + 0x7f]
mov qword [rbp + 0x57], rcx
mov rdx, r14
lea rcx, [rbp + 0x57]
call fcn.1400214e0
test eax, eax
je 0x14000d601
mov rcx, qword [rbp + 0x57]
cmp eax, 0xffffff9e
je 0x14000d674
lea ebx, [rax - 0x2180]
jmp 0x14000d627
mov rbx, qword [rbp + 0x7f]
lea r9, [rdi + 0x38]
add rbx, qword [rbp + 0x57]
lea rcx, [rbp + 0x57]
mov rdx, rbx
call fcn.1400216a0
mov rcx, qword [rbp + 0x57]
test eax, eax
je 0x14000d668
lea ebx, [rax - 0x2200]
test ebx, ebx
je 0x14000d678
mov rcx, rdi
call fcn.1400107f0
mov eax, ebx
mov r12, qword [rsp + 0xc0]
mov r13, qword [rsp + 0xc8]
mov r15, qword [rsp + 0x80]
mov rsi, qword [rsp + 0xb8]
mov r14, qword [rsp + 0x88]
add rsp, 0x90
pop rdi
pop rbx
pop rbp
ret
cmp rcx, rbx
je 0x14000d678
mov ebx, 0xffffdd9a
jmp 0x14000d62b
mov dword [rdi + 0x38], r12d
mov rax, r14
sub rax, rcx
cmp rax, 1
jge 0x14000d68b
mov ebx, 0xffffdd20
jmp 0x14000d62b
movzx edx, byte [rcx]
lea eax, [rdx - 2]
test al, 0x7f
je 0x14000d69c
mov ebx, 0xffffdd1e
jmp 0x14000d62b
inc rcx
mov dword [rdi + 0x40], edx
mov qword [rbp + 0x57], rcx
lea r8, [rdi + 0x48]
lea rcx, [rbp + 0x57]
mov rdx, r14
call fcn.1400214e0
test eax, eax
je 0x14000d6ca
lea ebx, [rax - 0x2280]
test ebx, ebx
jne 0x14000d62b
jmp 0x14000d6d9
mov rax, qword [rbp + 0x57]
mov qword [rdi + 0x50], rax
add rax, qword [r8]
mov qword [rbp + 0x57], rax
lea r13, [rdi + 0x58]
mov rdx, r14
mov r8, r13
lea r9, [rbp - 9]
lea rcx, [rbp + 0x57]
call fcn.140021820
test eax, eax
lea ebx, [rax - 0x2300]
cmove ebx, r12d
test ebx, ebx
jne 0x14000d62b
mov eax, dword [rdi + 0x38]
cmp eax, 2
ja 0x14000ddcf
inc eax
mov dword [rdi + 0x38], eax
cmp qword [rdi + 0x258], r12
je 0x14000d728
mov ebx, 0xffffd800
jmp 0x14000d62b
lea rbx, str.Pa_n_
mov rcx, rbx
test r13, r13
je 0x14000d769
cmp qword [str.Pa_n_], r12
je 0x14000d769
mov rsi, qword [r13 + 8]
cmp qword [rcx + 8], rsi
jne 0x14000d75d
mov rdx, qword [r13 + 0x10]
mov r8, rsi
mov rcx, qword [rcx]
call fcn.14006cf60
test eax, eax
je 0x14000d773
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], r12
jne 0x14000d744
mov ebx, 0xffffd9d2
jmp 0x14000d62b
test rbx, rbx
je 0x14000d769
mov eax, dword [rbx + 0x20]
mov dword [rdi + 0x250], eax
mov eax, dword [rbx + 0x24]
mov dword [rdi + 0x254], eax
cmp eax, 6
jne 0x14000d80b
lea edx, [rax + 2]
lea ecx, [rax - 5]
call fcn.1400727c8
mov rsi, rax
test rax, rax
jne 0x14000d7ac
mov ebx, 0xffffd780
jmp 0x14000d62b
lea r9, [rax + 4]
mov r8, rsi
lea rdx, [rdi + 0x250]
lea rcx, [rbp - 9]
call fcn.140020160
mov ebx, eax
test eax, eax
je 0x14000d7d6
mov rcx, rsi
call fcn.14006dc24
jmp 0x14000d62b
mov qword [rdi + 0x258], rsi
mov rcx, qword [rbp + 0x57]
mov rax, r14
sub rax, rcx
mov qword [rdi + 0x80], rcx
cmp rax, 1
jge 0x14000d827
mov rcx, rdi
mov esi, r15d
call fcn.1400107f0
lea eax, [r15 - 0x2180]
jmp 0x14000d635
mov eax, dword [rbp - 9]
cmp eax, 5
je 0x14000d817
test eax, eax
jne 0x14000d81d
cmp qword [rbp - 1], r12
je 0x14000d7dd
mov ebx, 0xffffdd00
jmp 0x14000d62b
cmp byte [rcx], 0x30
je 0x14000d844
mov rcx, rdi
mov esi, 0xffffff9e
call fcn.1400107f0
lea eax, [rsi - 0x2180]
jmp 0x14000d635
inc rcx
lea r8, [rbp + 0x77]
mov qword [rbp + 0x57], rcx
mov rdx, r14
lea rcx, [rbp + 0x57]
call fcn.1400214e0
mov esi, eax
test eax, eax
je 0x14000d874
mov rcx, rdi
call fcn.1400107f0
lea eax, [rsi - 0x2180]
jmp 0x14000d635
mov rdx, qword [rbp + 0x77]
lea r8, [rdi + 0xa0]
add rdx, qword [rbp + 0x57]
lea rcx, [rbp + 0x57]
call fcn.140020900
mov ebx, eax
test eax, eax
jne 0x14000d62b
mov rcx, qword [rbp + 0x57]
lea esi, [rbx - 0x62]
mov rax, rcx
sub rax, qword [rdi + 0x80]
mov qword [rdi + 0x78], rax
mov rax, r14
sub rax, rcx
cmp rax, 1
jge 0x14000d8bc
mov eax, r15d
jmp 0x14000d8e4
cmp byte [rcx], 0x30
je 0x14000d8c5
mov eax, esi
jmp 0x14000d8e4
inc rcx
lea r8, [rbp + 0x7f]
mov qword [rbp + 0x57], rcx
mov rdx, r14
lea rcx, [rbp + 0x57]
call fcn.1400214e0
test eax, eax
je 0x14000d91b
mov rcx, qword [rbp + 0x57]
lea ebx, [rax - 0x2400]
test ebx, ebx
jne 0x14000d62b
mov rax, r14
mov qword [rdi + 0x98], rcx
sub rax, rcx
cmp rax, 1
jge 0x14000d970
mov rcx, rdi
mov ebx, r15d
call fcn.1400107f0
lea eax, [rbx - 0x2180]
jmp 0x14000d635
mov r12, qword [rbp + 0x7f]
lea r8, [rdi + 0x120]
add r12, qword [rbp + 0x57]
lea rcx, [rbp + 0x57]
mov rdx, r12
call fcn.140020e90
mov ebx, eax
test eax, eax
jne 0x14000d62b
lea r8, [rdi + 0x138]
mov rdx, r12
lea rcx, [rbp + 0x57]
call fcn.140020e90
mov ebx, eax
test eax, eax
jne 0x14000d62b
mov rcx, qword [rbp + 0x57]
cmp rcx, r12
je 0x14000d8f2
mov ebx, 0xffffdb9a
jmp 0x14000d62b
cmp byte [rcx], 0x30
je 0x14000d98a
mov rcx, rdi
mov ebx, esi
call fcn.1400107f0
lea eax, [rbx - 0x2180]
jmp 0x14000d635
inc rcx
lea r8, [rbp + 0x77]
mov qword [rbp + 0x57], rcx
mov rdx, r14
lea rcx, [rbp + 0x57]
call fcn.1400214e0
mov ebx, eax
test eax, eax
je 0x14000d9ba
mov rcx, rdi
call fcn.1400107f0
lea eax, [rbx - 0x2180]
jmp 0x14000d635
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x14000d9e4
mov rdx, qword [rbp + 0x57]
lea r8, [rdi + 0xe0]
add rdx, rcx
lea rcx, [rbp + 0x57]
call fcn.140020900
mov ebx, eax
test eax, eax
jne 0x14000d62b
mov rcx, qword [rbp + 0x57]
lea r8, [rdi + 0x168]
mov rax, rcx
mov qword [rdi + 0x160], rcx
sub rax, qword [rdi + 0x98]
lea rcx, [rbp + 0x57]
mov rdx, r14
mov qword [rdi + 0x90], rax
call fcn.140023480
mov ebx, eax
test eax, eax
jne 0x14000d62b
mov rbx, qword [rbp + 0x57]
mov rax, rbx
sub rax, qword [rdi + 0x160]
mov qword [rdi + 0x158], rax
mov eax, dword [rdi + 0x38]
sub eax, 2
cmp eax, 1
ja 0x14000dab1
cmp rbx, r14
je 0x14000dab1
movzx eax, byte [rbx]
mov dword [rdi + 0x178], eax
mov rax, r14
sub rax, rbx
cmp rax, 1
jge 0x14000da5c
mov eax, r15d
jmp 0x14000da87
cmp byte [rbx], 0xa1
jne 0x14000dab1
inc rbx
lea r8, [rdi + 0x180]
mov rdx, r14
mov qword [rbp + 0x57], rbx
lea rcx, [rbp + 0x57]
call fcn.1400214e0
mov rbx, qword [rbp + 0x57]
test eax, eax
je 0x14000daa3
cmp eax, esi
je 0x14000dab1
lea r12d, [rax - 0x2180]
test r12d, r12d
je 0x14000dab1
mov rcx, rdi
call fcn.1400107f0
mov eax, r12d
jmp 0x14000d635
mov qword [rdi + 0x188], rbx
add rbx, qword [r8]
mov qword [rbp + 0x57], rbx
mov eax, dword [rdi + 0x38]
sub eax, 2
cmp eax, 1
ja 0x14000db30
cmp rbx, r14
je 0x14000db30
movzx eax, byte [rbx]
mov dword [rdi + 0x190], eax
mov rax, r14
sub rax, rbx
cmp rax, 1
jge 0x14000dadb
mov eax, r15d
jmp 0x14000db06
cmp byte [rbx], 0xa2
jne 0x14000db30
inc rbx
lea r8, [rdi + 0x198]
mov rdx, r14
mov qword [rbp + 0x57], rbx
lea rcx, [rbp + 0x57]
call fcn.1400214e0
mov rbx, qword [rbp + 0x57]
test eax, eax
je 0x14000db22
cmp eax, esi
je 0x14000db30
lea r12d, [rax - 0x2180]
test r12d, r12d
je 0x14000db30
mov rcx, rdi
call fcn.1400107f0
mov eax, r12d
jmp 0x14000d635
mov qword [rdi + 0x1a0], rbx
add rbx, qword [r8]
mov qword [rbp + 0x57], rbx
cmp dword [rdi + 0x38], 3
jne 0x14000db53
mov r8, rdi
lea rcx, [rbp + 0x57]
mov rdx, r14
call fcn.14000cc70
mov ebx, eax
test eax, eax
jne 0x14000d62b
mov rbx, qword [rbp + 0x57]
cmp rbx, r14
jne 0x14000ddbd
mov r12, qword [rbp - 0x29]
mov rax, r12
sub rax, rbx
cmp rax, 1
jge 0x14000db74
mov eax, r15d
jmp 0x14000dce5
cmp byte [rbx], 0x30
je 0x14000db80
mov eax, esi
jmp 0x14000dce5
inc rbx
lea r8, [rbp + 0x77]
mov rdx, r12
mov qword [rbp + 0x57], rbx
lea rcx, [rbp + 0x57]
call fcn.1400214e0
mov rbx, qword [rbp + 0x57]
test eax, eax
jne 0x14000dce5
mov rax, r12
sub rax, rbx
cmp rax, 1
jge 0x14000dbc5
mov rcx, rdi
mov r14d, 0xffffdca0
call fcn.1400107f0
mov eax, r14d
jmp 0x14000d635
mov r14, qword [rbp + 0x77]
movzx ecx, byte [rbx]
add r14, rbx
mov rax, r14
mov dword [rbp + 0xf], ecx
sub rax, rbx
cmp rax, 1
jge 0x14000dbe6
mov eax, r15d
jmp 0x14000dce5
cmp cl, 6
je 0x14000dbf2
mov eax, esi
jmp 0x14000dce5
inc rbx
lea r8, [rbp + 0x17]
mov rdx, r14
mov qword [rbp + 0x57], rbx
lea rcx, [rbp + 0x57]
call fcn.1400214e0
test eax, eax
jne 0x14000dce1
mov rcx, qword [rbp + 0x57]
mov rdx, qword [rbp + 0x17]
add rdx, rcx
mov qword [rbp + 0x1f], rcx
mov qword [rbp + 0x57], rdx
cmp rdx, r14
jne 0x14000dcbf
mov rax, qword [fcn.14006c5b0]
lea rcx, [rbp - 0x21]
xor edx, edx
lea r8d, [rdx + 0x18]
call rax
mov rbx, qword [rbp + 0x57]
mov r8, qword [rdi + 0x60]
cmp r8, qword [rbp + 0x17]
jne 0x14000ddab
mov rdx, qword [rbp + 0x1f]
mov rcx, qword [rdi + 0x68]
call fcn.14006cf60
test eax, eax
jne 0x14000ddab
mov eax, dword [rbp - 0x21]
cmp dword [rbp - 9], eax
jne 0x14000ddab
mov r8, qword [rbp - 1]
cmp r8, qword [rbp - 0x19]
jne 0x14000ddab
test r8, r8
je 0x14000dc9b
mov rdx, qword [rbp - 0x11]
mov rcx, qword [rbp + 7]
call fcn.14006cf60
test eax, eax
jne 0x14000ddab
mov rax, r12
sub rax, rbx
cmp rax, 1
jge 0x14000dd2c
mov rcx, rdi
mov esi, 0xffffdb20
call fcn.1400107f0
mov eax, esi
jmp 0x14000d635
movzx eax, byte [rdx]
lea r8, [rbp - 0x19]
mov dword [rbp - 0x21], eax
lea rcx, [rbp + 0x57]
lea rax, [rdx + 1]
mov rdx, r14
mov qword [rbp + 0x57], rax
call fcn.1400214e0
test eax, eax
je 0x14000dd01
mov rbx, qword [rbp + 0x57]
test eax, eax
lea r14d, [rax - 0x2300]
mov eax, 0
cmove r14d, eax
test r14d, r14d
jne 0x14000dd1c
jmp 0x14000dc44
mov rbx, qword [rbp + 0x57]
mov qword [rbp - 0x11], rbx
add rbx, qword [rbp - 0x19]
cmp rbx, r14
je 0x14000dc44
mov r14d, 0xffffdc9a
mov rcx, rdi
call fcn.1400107f0
mov eax, r14d
jmp 0x14000d635
movzx r14d, byte [rbx]
cmp r14b, 3
jne 0x14000dd6d
inc rbx
lea r8, [rbp + 0x77]
mov rdx, r12
mov qword [rbp + 0x57], rbx
lea rcx, [rbp + 0x57]
call fcn.1400214e0
mov rbx, qword [rbp + 0x57]
mov esi, eax
test eax, eax
jne 0x14000dd6d
mov rax, qword [rbp + 0x77]
test rax, rax
je 0x14000dd68
dec rax
cmp byte [rbx], sil
je 0x14000dd84
mov esi, 0xffffff98
add esi, 0xffffdb80
je 0x14000dd9f
mov rcx, rdi
call fcn.1400107f0
mov eax, esi
jmp 0x14000d635
inc rbx
mov dword [rdi + 0x238], r14d
mov qword [rdi + 0x248], rbx
add rbx, rax
mov qword [rdi + 0x240], rax
cmp rbx, r12
jne 0x14000ddbd
xor eax, eax
jmp 0x14000d635
mov rcx, rdi
call fcn.1400107f0
mov eax, 0xffffd980
jmp 0x14000d635
mov rcx, rdi
call fcn.1400107f0
mov eax, 0xffffde1a
jmp 0x14000d635
mov rcx, rdi
call fcn.1400107f0
mov eax, 0xffffda80
jmp 0x14000d635
mov rcx, rdi
call fcn.1400107f0
mov eax, 0xffffde80
add rsp, 0x90
pop rdi
pop rbx
pop rbp
ret
mov eax, 0xffffd800
add rsp, 0x90
pop rdi
pop rbx
pop rbp
ret