Function at 0x140001bd0
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 0x1400025d7
test rdx, rdx
je 0x1400025d7
add rdx, r8
mov qword [rbp + 0x77], r8
cmp r8, 1
jl 0x1400025bf
cmp byte [rbx], 0x30
jne 0x1400025bf
lea rax, [rbx + 1]
lea r8, [rbp + 0x77]
mov qword [rbp + 0x57], rax
lea rcx, [rbp + 0x57]
call fcn.140016000
test eax, eax
jne 0x1400025bf
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.140087e2c
mov qword [rdi + 0x18], rax
mov rsi, rax
test rax, rax
jne 0x140001c8f
mov eax, 0xffffd780
jmp 0x140001ee1
mov r8, qword [rdi + 0x10]
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x80], r15
call fcn.140080780
mov rcx, qword [rdi + 0x10]
sub rsi, r14
add rcx, rsi
mov dword [rdi], 1
mov qword [rdi + 0x30], rcx
lea rdx, [rcx + r14]
mov rax, rdx
mov qword [rbp - 0x29], rdx
sub rax, rcx
cmp rax, 1
jge 0x140001ce8
mov rcx, rdi
mov r15d, 0xffffffa0
call fcn.140005410
lea eax, [r15 - 0x2180]
jmp 0x140001ed9
cmp byte [rcx], 0x30
je 0x140001d07
mov rcx, rdi
mov r15d, 0xffffff9e
call fcn.140005410
lea eax, [r15 - 0x2180]
jmp 0x140001ed9
lea rax, [rcx + 1]
lea rcx, [rbp + 0x57]
mov qword [rbp + 0x57], rax
lea r8, [rbp + 0x77]
call fcn.140016000
mov r15d, eax
test eax, eax
je 0x140001d37
mov rcx, rdi
call fcn.140005410
lea eax, [r15 - 0x2180]
jmp 0x140001ed9
mov rcx, qword [rbp + 0x57]
xor ebx, ebx
mov r14, qword [rbp + 0x77]
add r14, rcx
mov qword [rsp + 0xc8], r13
mov rax, r14
sub rax, qword [rdi + 0x30]
lea r15d, [rbx - 0x60]
mov qword [rdi + 0x28], rax
mov rax, r14
sub rax, rcx
cmp rax, 1
jge 0x140001d72
mov eax, r15d
lea ebx, [rax - 0x2180]
jmp 0x140001dc9
cmp byte [rcx], 0xa0
jne 0x140001dec
inc rcx
lea r8, [rbp + 0x7f]
mov qword [rbp + 0x57], rcx
mov rdx, r14
lea rcx, [rbp + 0x57]
call fcn.140016000
test eax, eax
je 0x140001da3
mov rcx, qword [rbp + 0x57]
cmp eax, 0xffffff9e
je 0x140001dec
lea ebx, [rax - 0x2180]
jmp 0x140001dc9
mov rbx, qword [rbp + 0x7f]
lea r9, [rdi + 0x38]
add rbx, qword [rbp + 0x57]
lea rcx, [rbp + 0x57]
mov rdx, rbx
call fcn.1400161a0
mov rcx, qword [rbp + 0x57]
test eax, eax
je 0x140001dd3
lea ebx, [rax - 0x2200]
test ebx, ebx
jne 0x140001e8b
jmp 0x140001def
cmp rcx, rbx
je 0x140001def
mov rcx, rdi
mov ebx, 0xffffdd9a
call fcn.140005410
mov eax, ebx
jmp 0x140001ed1
mov dword [rdi + 0x38], ebx
mov rax, r14
sub rax, rcx
cmp rax, 1
jge 0x140001e0f
mov rcx, rdi
mov ebx, 0xffffdd20
call fcn.140005410
mov eax, ebx
jmp 0x140001ed1
movzx edx, byte [rcx]
lea eax, [rdx - 2]
test al, 0x7f
je 0x140001e2d
mov rcx, rdi
mov ebx, 0xffffdd1e
call fcn.140005410
mov eax, ebx
jmp 0x140001ed1
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.140016000
test eax, eax
je 0x140001e57
lea ebx, [rax - 0x2280]
test ebx, ebx
jne 0x140001e8b
jmp 0x140001e66
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.140016320
test eax, eax
je 0x140001e97
lea ebx, [rax - 0x2300]
test ebx, ebx
je 0x140001e97
mov rcx, rdi
call fcn.140005410
mov eax, ebx
jmp 0x140001ed1
mov eax, dword [rdi + 0x38]
cmp eax, 2
ja 0x1400025ad
inc eax
mov qword [rsp + 0xc0], r12
mov dword [rdi + 0x38], eax
cmp qword [rdi + 0x258], 0
je 0x140001efc
mov ebx, 0xffffd800
mov rcx, rdi
call fcn.140005410
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
lea rbx, [0x1400a4f60]
mov rcx, rbx
test r13, r13
je 0x140001f46
cmp qword [0x1400a4f60], 0
je 0x140001f46
mov rsi, qword [r13 + 8]
nop dword [rax]
cmp qword [rcx + 8], rsi
jne 0x140001f39
mov rdx, qword [r13 + 0x10]
mov r8, rsi
mov rcx, qword [rcx]
call fcn.140080030
test eax, eax
je 0x140001f50
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], 0
jne 0x140001f20
mov ebx, 0xffffd9d2
jmp 0x140001ebf
test rbx, rbx
je 0x140001f46
mov eax, dword [rbx + 0x20]
mov dword [rdi + 0x250], eax
mov eax, dword [rbx + 0x24]
mov dword [rdi + 0x254], eax
cmp eax, 6
jne 0x140001fe8
lea edx, [rax + 2]
lea ecx, [rax - 5]
call fcn.140087e2c
mov rsi, rax
test rax, rax
jne 0x140001f89
mov ebx, 0xffffd780
jmp 0x140001ebf
lea r9, [rax + 4]
mov r8, rsi
lea rdx, [rdi + 0x250]
lea rcx, [rbp - 9]
call fcn.140014ca0
mov ebx, eax
test eax, eax
je 0x140001fb3
mov rcx, rsi
call fcn.140081438
jmp 0x140001ebf
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 0x140002005
mov rcx, rdi
mov esi, r15d
call fcn.140005410
lea eax, [r15 - 0x2180]
jmp 0x140001ec9
mov eax, dword [rbp - 9]
cmp eax, 5
je 0x140001ff4
test eax, eax
jne 0x140001ffb
cmp qword [rbp - 1], 0
je 0x140001fba
mov ebx, 0xffffdd00
jmp 0x140001ebf
cmp byte [rcx], 0x30
je 0x140002022
mov rcx, rdi
mov esi, 0xffffff9e
call fcn.140005410
lea eax, [rsi - 0x2180]
jmp 0x140001ec9
inc rcx
lea r8, [rbp + 0x77]
mov qword [rbp + 0x57], rcx
mov rdx, r14
lea rcx, [rbp + 0x57]
call fcn.140016000
mov esi, eax
test eax, eax
je 0x140002052
mov rcx, rdi
call fcn.140005410
lea eax, [rsi - 0x2180]
jmp 0x140001ec9
mov rdx, qword [rbp + 0x77]
lea r8, [rdi + 0xa0]
add rdx, qword [rbp + 0x57]
lea rcx, [rbp + 0x57]
call fcn.140015450
mov ebx, eax
test eax, eax
jne 0x140001ebf
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 0x14000209a
mov eax, r15d
jmp 0x1400020c2
cmp byte [rcx], 0x30
je 0x1400020a3
mov eax, esi
jmp 0x1400020c2
inc rcx
lea r8, [rbp + 0x7f]
mov qword [rbp + 0x57], rcx
mov rdx, r14
lea rcx, [rbp + 0x57]
call fcn.140016000
test eax, eax
je 0x1400020f9
mov rcx, qword [rbp + 0x57]
lea ebx, [rax - 0x2400]
test ebx, ebx
jne 0x140001ebf
mov rax, r14
mov qword [rdi + 0x98], rcx
sub rax, rcx
cmp rax, 1
jge 0x14000214e
mov rcx, rdi
mov ebx, r15d
call fcn.140005410
lea eax, [rbx - 0x2180]
jmp 0x140001ec9
mov r12, qword [rbp + 0x7f]
lea r8, [rdi + 0x120]
add r12, qword [rbp + 0x57]
lea rcx, [rbp + 0x57]
mov rdx, r12
call fcn.140015990
mov ebx, eax
test eax, eax
jne 0x140001ebf
lea r8, [rdi + 0x138]
mov rdx, r12
lea rcx, [rbp + 0x57]
call fcn.140015990
mov ebx, eax
test eax, eax
jne 0x140001ebf
mov rcx, qword [rbp + 0x57]
cmp rcx, r12
je 0x1400020d0
mov ebx, 0xffffdb9a
jmp 0x140001ebf
cmp byte [rcx], 0x30
je 0x140002168
mov rcx, rdi
mov ebx, esi
call fcn.140005410
lea eax, [rbx - 0x2180]
jmp 0x140001ec9
inc rcx
lea r8, [rbp + 0x77]
mov qword [rbp + 0x57], rcx
mov rdx, r14
lea rcx, [rbp + 0x57]
call fcn.140016000
mov ebx, eax
test eax, eax
je 0x140002198
mov rcx, rdi
call fcn.140005410
lea eax, [rbx - 0x2180]
jmp 0x140001ec9
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x1400021c2
mov rdx, qword [rbp + 0x57]
lea r8, [rdi + 0xe0]
add rdx, rcx
lea rcx, [rbp + 0x57]
call fcn.140015450
mov ebx, eax
test eax, eax
jne 0x140001ebf
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.140017f90
mov ebx, eax
test eax, eax
jne 0x140001ebf
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 0x14000228f
cmp rbx, r14
je 0x14000228f
movzx eax, byte [rbx]
mov dword [rdi + 0x178], eax
mov rax, r14
sub rax, rbx
cmp rax, 1
jge 0x14000223a
mov eax, r15d
jmp 0x140002265
cmp byte [rbx], 0xa1
jne 0x14000228f
inc rbx
lea r8, [rdi + 0x180]
mov rdx, r14
mov qword [rbp + 0x57], rbx
lea rcx, [rbp + 0x57]
call fcn.140016000
mov rbx, qword [rbp + 0x57]
test eax, eax
je 0x140002281
cmp eax, esi
je 0x14000228f
lea r12d, [rax - 0x2180]
test r12d, r12d
je 0x14000228f
mov rcx, rdi
call fcn.140005410
mov eax, r12d
jmp 0x140001ec9
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 0x14000230e
cmp rbx, r14
je 0x14000230e
movzx eax, byte [rbx]
mov dword [rdi + 0x190], eax
mov rax, r14
sub rax, rbx
cmp rax, 1
jge 0x1400022b9
mov eax, r15d
jmp 0x1400022e4
cmp byte [rbx], 0xa2
jne 0x14000230e
inc rbx
lea r8, [rdi + 0x198]
mov rdx, r14
mov qword [rbp + 0x57], rbx
lea rcx, [rbp + 0x57]
call fcn.140016000
mov rbx, qword [rbp + 0x57]
test eax, eax
je 0x140002300
cmp eax, esi
je 0x14000230e
lea r12d, [rax - 0x2180]
test r12d, r12d
je 0x14000230e
mov rcx, rdi
call fcn.140005410
mov eax, r12d
jmp 0x140001ec9
mov qword [rdi + 0x1a0], rbx
add rbx, qword [r8]
mov qword [rbp + 0x57], rbx
cmp dword [rdi + 0x38], 3
jne 0x140002331
mov r8, rdi
lea rcx, [rbp + 0x57]
mov rdx, r14
call fcn.140001460
mov ebx, eax
test eax, eax
jne 0x140001ebf
mov rbx, qword [rbp + 0x57]
cmp rbx, r14
jne 0x14000259b
mov r12, qword [rbp - 0x29]
mov rax, r12
sub rax, rbx
cmp rax, 1
jge 0x140002352
mov eax, r15d
jmp 0x1400024c3
cmp byte [rbx], 0x30
je 0x14000235e
mov eax, esi
jmp 0x1400024c3
inc rbx
lea r8, [rbp + 0x77]
mov rdx, r12
mov qword [rbp + 0x57], rbx
lea rcx, [rbp + 0x57]
call fcn.140016000
mov rbx, qword [rbp + 0x57]
test eax, eax
jne 0x1400024c3
mov rax, r12
sub rax, rbx
cmp rax, 1
jge 0x1400023a3
mov rcx, rdi
mov r14d, 0xffffdca0
call fcn.140005410
mov eax, r14d
jmp 0x140001ec9
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 0x1400023c4
mov eax, r15d
jmp 0x1400024c3
cmp cl, 6
je 0x1400023d0
mov eax, esi
jmp 0x1400024c3
inc rbx
lea r8, [rbp + 0x17]
mov rdx, r14
mov qword [rbp + 0x57], rbx
lea rcx, [rbp + 0x57]
call fcn.140016000
test eax, eax
jne 0x1400024bf
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 0x14000249d
mov rax, qword [fcn.140080540]
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 0x140002589
mov rdx, qword [rbp + 0x1f]
mov rcx, qword [rdi + 0x68]
call fcn.140080030
test eax, eax
jne 0x140002589
mov eax, dword [rbp - 0x21]
cmp dword [rbp - 9], eax
jne 0x140002589
mov r8, qword [rbp - 1]
cmp r8, qword [rbp - 0x19]
jne 0x140002589
test r8, r8
je 0x140002479
mov rdx, qword [rbp - 0x11]
mov rcx, qword [rbp + 7]
call fcn.140080030
test eax, eax
jne 0x140002589
mov rax, r12
sub rax, rbx
cmp rax, 1
jge 0x14000250a
mov rcx, rdi
mov esi, 0xffffdb20
call fcn.140005410
mov eax, esi
jmp 0x140001ec9
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.140016000
test eax, eax
je 0x1400024df
mov rbx, qword [rbp + 0x57]
test eax, eax
lea r14d, [rax - 0x2300]
mov eax, 0
cmove r14d, eax
test r14d, r14d
jne 0x1400024fa
jmp 0x140002422
mov rbx, qword [rbp + 0x57]
mov qword [rbp - 0x11], rbx
add rbx, qword [rbp - 0x19]
cmp rbx, r14
je 0x140002422
mov r14d, 0xffffdc9a
mov rcx, rdi
call fcn.140005410
mov eax, r14d
jmp 0x140001ec9
movzx r14d, byte [rbx]
cmp r14b, 3
jne 0x14000254b
inc rbx
lea r8, [rbp + 0x77]
mov rdx, r12
mov qword [rbp + 0x57], rbx
lea rcx, [rbp + 0x57]
call fcn.140016000
mov rbx, qword [rbp + 0x57]
mov esi, eax
test eax, eax
jne 0x14000254b
mov rax, qword [rbp + 0x77]
test rax, rax
je 0x140002546
dec rax
cmp byte [rbx], sil
je 0x140002562
mov esi, 0xffffff98
add esi, 0xffffdb80
je 0x14000257d
mov rcx, rdi
call fcn.140005410
mov eax, esi
jmp 0x140001ec9
inc rbx
mov dword [rdi + 0x238], r14d
mov qword [rdi + 0x248], rbx
add rbx, rax
mov qword [rdi + 0x240], rax
cmp rbx, r12
jne 0x14000259b
xor eax, eax
jmp 0x140001ec9
mov rcx, rdi
call fcn.140005410
mov eax, 0xffffd980
jmp 0x140001ec9
mov rcx, rdi
call fcn.140005410
mov eax, 0xffffde1a
jmp 0x140001ec9
mov rcx, rdi
call fcn.140005410
mov eax, 0xffffda80
jmp 0x140001ed1
mov rcx, rdi
call fcn.140005410
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