Function at 0x14001eb30
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1d8
mov r14, rdx
mov rbx, rcx
lea rax, [rsp + 0x130]
lea rsi, [0x14007f510]
mov ecx, 9
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
mov qword [rax - 0x10], rdx
mov qword [rax - 8], 0x28e
lea rcx, [rsp + 0x131]
lea rdx, [0x14008a029]
mov r8d, 0x27
call fcn.140076150
test eax, eax
je 0x14001ebbb
mov r8d, 5
mov ecx, 0x48862a09
movabs r9, 0x101010df786
xor r10d, r10d
xor esi, esi
xor ebp, ebp
xor r11d, r11d
xor edi, edi
xor r14d, r14d
xor r12d, r12d
xor eax, eax
lea rdx, [rsp + 0xe0]
mov qword [rdx], r14
mov eax, 0x28e
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], 0
lea rsi, [rsp + 0x40]
mov rcx, rsi
call case.0x140031f39.57
cmp dword [rsi], 2
jne 0x14001ec00
mov dl, byte [rsp + 0x44]
lea rcx, [rsp + 0xa0]
call fcn.1400328f4
jmp 0x14001ec34
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xd0], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmm2, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0xc0], xmm2
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
mov r8d, dword [rsp + 0xa0]
cmp r8d, 2
jne 0x14001ed20
mov r12b, byte [rsp + 0xa4]
movzx r15d, r12b
movzx esi, word [rsp + 0xa5]
lea rdi, [rsp + 0x40]
lea r14, [rsp + 0xe0]
mov rcx, rdi
mov rdx, r14
call case.0x140031f39.57
mov r9d, dword [rdi]
cmp r9d, 2
jne 0x14001ed7b
mov qword [rsp + 0x28], r15
mov r15b, byte [rsp + 0x44]
xor r13d, r13d
test r15b, r15b
js 0x14001edc7
mov ecx, r15d
cmp r12b, 9
mov rdx, qword [rsp + 0x28]
jne 0x14001ef70
movzx eax, cl
shl r13d, 8
or r13d, eax
mov eax, dword [rsp + 0xf0]
mov ecx, dword [rsp + 0xf8]
xor r8d, r8d
sub eax, ecx
cmovb eax, r8d
cmp eax, r13d
jae 0x14001ef9e
add r13d, ecx
setb dl
mov r9d, 0xa
cmp r13d, 0xfffffff
ja 0x14001f056
test dl, dl
jne 0x14001f056
add eax, ecx
setb dl
cmp eax, 0xfffffff
ja 0x14001f0a3
test dl, dl
jne 0x14001f0a3
shl r13, 0x20
or r13, 3
mov r8d, 1
mov r9, r13
jmp 0x14001f0a5
mov bpl, byte [rsp + 0xa8]
movzx eax, byte [rsp + 0xab]
shl eax, 0x10
movzx r9d, word [rsp + 0xa9]
or r9d, eax
mov r10d, dword [rsp + 0xac]
mov rax, qword [rsp + 0xb0]
mov r12, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc0]
mov rsi, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0xa4]
jmp 0x14001eeda
mov dword [rsp + 0x3c], esi
mov cl, byte [rsp + 0x44]
mov bpl, byte [rsp + 0x48]
movzx eax, byte [rsp + 0x47]
shl eax, 0x10
movzx r13d, word [rsp + 0x45]
or r13d, eax
mov r14b, byte [rsp + 0x49]
movzx r11d, word [rsp + 0x4a]
mov r10d, dword [rsp + 0x4c]
mov rax, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
jmp 0x14001ee98
xor r9d, r9d
mov bpl, 0xb
cmp r15b, 0x80
mov dword [rsp + 0x3c], esi
je 0x14001ee93
cmp r15b, 0x84
ja 0x14001ee93
movzx esi, r15b
xor rsi, 0x80
je 0x14001ee93
xor edx, edx
lea rdi, [rsp + 0x40]
lea r14, [rsp + 0xe0]
mov r13d, edx
mov rcx, rdi
mov rdx, r14
call case.0x140031f39.57
mov r9d, dword [rsp + 0x40]
cmp r9d, 2
jne 0x14001f05b
mov eax, r13d
shl eax, 8
movzx ecx, byte [rsp + 0x44]
lea edx, [rax + rcx]
dec rsi
jne 0x14001ee05
cmp edx, 0xfffffff
lea r14, [rsp + 0xe0]
ja 0x14001f0b5
and edx, 0xffffff80
mov r8b, 0x81
cmp edx, 0x80
je 0x14001ee83
lea edx, [rax - 0x100]
mov r8b, 0x82
cmp edx, 0xff00
jb 0x14001ee83
lea edx, [rax - 0x10000]
mov r8b, 0x83
cmp edx, 0xff0000
jb 0x14001ee83
mov r8b, 0x84
cmp eax, 0x1000000
jb 0x14001ee90
cmp r8b, r15b
mov esi, dword [rsp + 0x3c]
je 0x14001ec98
xor r9d, r9d
mov r15, qword [rsp + 0x28]
and r13d, 0xffffff
shl r13, 8
movzx ecx, cl
or rcx, r13
xor r8d, r8d
cmp bpl, 0xb
movzx r14d, r14b
cmove r14d, r15d
cmove r11d, dword [rsp + 0x3c]
movzx r15d, bpl
mov ebp, 5
cmovne ebp, r15d
cmovne r8d, r9d
shl r11d, 8
movzx r9d, r14b
or r9d, r11d
shl r9, 0x28
movzx r11d, bpl
shl r11, 0x20
or r11, r9
or r11, rcx
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x30], r11
mov r9, qword [rsp + 0x34]
mov r14, r12
shr r14, 0x20
mov r11d, edi
shr r11d, 8
mov ebp, edi
shr ebp, 0x10
mov r10, rdi
shr r10, 0x18
movzx eax, si
mov byte [rsp + 0x34], 0x11
mov byte [rsp + 0x37], 0
mov word [rsp + 0x35], 9
mov byte [rsp + 0x3a], ah
shl eax, 8
or edx, eax
mov word [rsp + 0x38], dx
xor r8d, r8d
mov ecx, dword [rsp + 0x30]
jmp 0x14001eef6
mov eax, r13d
lea rdx, [rsp + 0xa0]
mov qword [rdx], r14
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.1400436de
mov r8d, dword [rsi]
cmp r8d, 2
jne 0x14001f032
lea rsi, [rsp + 0x40]
mov r14, qword [rsi + 8]
mov r15, qword [rsi + 0x10]
mov r12, qword [rsi + 0x18]
lea rdx, [rsp + 0xa0]
mov rcx, rsi
call fcn.1400436de
mov r8d, dword [rsi]
cmp r8d, 2
jne 0x14001f032
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov eax, dword [rsp + 0xa8]
mov ecx, dword [rsp + 0xac]
cmp eax, ecx
jbe 0x14001f0c0
xor r8d, r8d
sub eax, ecx
cmovb eax, r8d
mov byte [rsp + 0x34], 0x13
mov dword [rsp + 0x38], ecx
mov r8d, 1
jmp 0x14001eef6
mov ecx, dword [rsp + 0x44]
mov r9, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
jmp 0x14001f0a7
mov ecx, r13d
jmp 0x14001f0a5
mov cl, byte [rsp + 0x44]
mov bpl, byte [rsp + 0x48]
movzx eax, byte [rsp + 0x47]
shl eax, 0x10
movzx r13d, word [rsp + 0x45]
or r13d, eax
mov r14b, byte [rsp + 0x49]
movzx r11d, word [rsp + 0x4a]
mov r10d, dword [rsp + 0x4c]
mov rax, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
jmp 0x14001ee93
mov ecx, eax
mov eax, eax
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x34], r9
jmp 0x14001eef6
xor r9d, r9d
mov bpl, 0xa
jmp 0x14001ee93
mov ecx, dword [rsp + 0xf8]
cmp byte [rsp + 0xfc], 0
je 0x14001f0d9
mov r9d, 1
jmp 0x14001f0f8
mov eax, dword [rsp + 0xf0]
cmp eax, ecx
jbe 0x14001f103
xor r8d, r8d
sub eax, ecx
cmovb eax, r8d
mov r9, rcx
shl r9, 0x20
or r9, 0x13
mov r8d, 1
jmp 0x14001eefb
lea r12, [rsp + 0x178]
mov rcx, r12
mov rdx, r14
mov r8, r15
call fcn.14004f3f7
lea r14, [rsp + 0x1a8]
mov rcx, r14
mov rdx, rdi
mov r8, rsi
call fcn.14004f3f7
movups xmm0, xmmword [r12]
movups xmm1, xmmword [r12 + 0x10]
movups xmm2, xmmword [r12 + 0x20]
movaps xmmword [rsp + 0x60], xmm2
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmm2, xmmword [r14 + 0x20]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x90], xmm2
mov rcx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x40]
cmp rcx, 5
jb 0x14001f193
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14001f1ce
mov r8, qword [rsp + 0x50]
jmp 0x14001f1a0
test rcx, rcx
je 0x14001f1ce
lea r8, [rsp + 0x48]
mov rdx, rcx
mov r8, qword [r8 + rdx*8 - 8]
test r8, r8
je 0x14001f1b4
bsr r8, r8
xor r8, 0x3f
jmp 0x14001f1ba
mov r8d, 0x40
shl rdx, 6
sub rdx, r8
cmp rdx, 0x23a0
ja 0x14001f2b9
mov r11, qword [rsp + 0x98]
cmp r11, 4
jbe 0x14001f1eb
mov r11, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
jmp 0x14001f1f0
lea rsi, [rsp + 0x78]
test r11, r11
je 0x14001f2b9
mov r8d, ecx
shr r8d, 8
mov r9d, ecx
shr r9d, 0x10
mov rdx, rcx
shr rdx, 0x18
mov r10, qword [rsp + 0x70]
shl r11, 3
mov bpl, 1
xor r14d, r14d
xor edi, edi
test bpl, 1
je 0x14001f2b9
add rdi, qword [rsi + r14]
add r14, 8
xor ebp, ebp
cmp r11, r14
jne 0x14001f21f
cmp rdi, 2
jb 0x14001f2b9
shr rdi, 0x21
jne 0x14001f2b9
mov r11, qword [rsp + 0x48]
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0x80]
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x40], xmm1
mov dword [rbx + 8], r11d
shr r11, 0x20
movaps xmm2, xmmword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x78]
movaps xmmword [rsp + 0x100], xmm1
movaps xmmword [rsp + 0x110], xmm0
mov dword [rbx + 0xc], r11d
movups xmmword [rbx + 0x10], xmm2
mov qword [rbx + 0x20], rsi
mov byte [rbx + 0x28], cl
mov byte [rbx + 0x29], r8b
mov byte [rbx + 0x2a], r9b
mov rcx, rdx
shr rcx, 0x20
mov byte [rbx + 0x2f], cl
mov dword [rbx + 0x2b], edx
mov qword [rbx + 0x30], r10
mov qword [rbx + 0x38], rdi
jmp 0x14001ef59
cmp rcx, 5
jb 0x14001f2d3
mov r8, qword [rsp + 0x50]
mov rcx, qword [0x1400a54b0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
cmp qword [rsp + 0x98], 5
jb 0x14001f2f5
mov r8, qword [rsp + 0x80]
mov rcx, qword [0x1400a54b0]