Function at 0x14008e880
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x80
call fcn.1400d8890
sub rsp, rax
mov rax, qword [0x1401cde90]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xe8]
xor esi, esi
xor r14d, r14d
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xe0]
mov r13d, r9d
dec eax
mov r15, r8
mov dword [rsp + 0x30], edx
cmp eax, 0x29
mov qword [rsp + 0x38], rcx
jl 0x14008eaf5
mov ebx, eax
sub ebx, r9d
jns 0x14008e8ef
xor ebx, ebx
lea r14d, [rsi + 1]
mov r13d, eax
lea edi, [rax - 0x14]
lea rdx, [0x1401b1dd8]
mov r8d, 0x7c
lea ecx, [rdi + rax]
call fcn.14007d160
mov rsi, rax
test rax, rax
jne 0x14008e932
lea r9, [0x1401b1df0]
lea edx, [rax + 0x7a]
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
mov dword [rsp + 0x20], 0x7f
call fcn.140075dc0
jmp 0x14008eb22
movsxd r12, edi
movsxd rbx, ebx
xor edx, edx
lea rbp, [r12 + rax]
mov r8, rbx
mov rcx, rbp
call fcn.1400d8c20
lea rcx, [rbx + rbp]
movsxd r8, r13d
mov rdx, r15
call fcn.1400d3810
lea r13, [rbp + 0x14]
call fcn.140099000
mov ebx, 0x14
lea rcx, [rsp + 0x48]
mov r9d, edi
mov r8, r13
mov edx, ebx
mov qword [rsp + 0x20], rax
call fcn.14008e440
test eax, eax
jne 0x14008eb22
lea rax, [rsp + 0x48]
mov r8, rbp
xor edx, edx
sub r8, rax
nop word [rax + rax]
lea rcx, [rsp + rdx + 0x48]
add rdx, 5
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
movzx eax, byte [rdx + rbp - 4]
xor byte [rcx + 1], al
movzx eax, byte [rdx + rbp - 3]
xor byte [rcx + 2], al
movzx eax, byte [rdx + rbp - 2]
xor byte [rcx + 3], al
movzx eax, byte [rdx + rbp - 1]
xor byte [rcx + 4], al
cmp rdx, rbx
jl 0x14008e9a0
call fcn.140099000
lea r8, [rsp + 0x48]
mov r9d, ebx
mov edx, edi
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.14008e440
test eax, eax
jne 0x14008eb22
test edi, edi
jle 0x14008ea22
mov rcx, rsi
sub r13, rsi
mov rdx, r12
nop word [rax + rax]
movzx eax, byte [r13 + rcx]
inc rcx
xor byte [rcx - 1], al
sub rdx, 1
jne 0x14008ea10
call fcn.140099000
movsxd rdx, dword [rsp + 0xf0]
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.14009fd80
test eax, eax
je 0x14008eb22
lea rdx, [rsp + 0x60]
mov r8, rbx
mov rcx, rsi
call fcn.14007bef0
test eax, eax
jne 0x14008eaf5
test r14d, r14d
jne 0x14008eaf5
cmp rbx, r12
mov rax, rbx
jge 0x14008ea90
cmp byte [rax + rsi], 0
jne 0x14008ea90
inc rax
inc ebx
cmp rax, r12
jl 0x14008ea80
cmp ebx, edi
je 0x14008eaf5
movsxd rax, ebx
cmp byte [rax + rsi], 1
jne 0x14008eaf5
inc ebx
sub edi, ebx
cmp dword [rsp + 0x30], edi
jge 0x14008ead6
mov edx, 0x7a
lea r9, [0x1401b1e08]
mov dword [rsp + 0x20], 0xa8
lea ecx, [rdx - 0x76]
lea r8d, [rdx - 0xd]
call fcn.140075dc0
mov rcx, rsi
or edi, 0xffffffff
call fcn.14007d3f0
mov eax, edi
jmp 0x14008eb25
mov rcx, qword [rsp + 0x38]
movsxd rdx, ebx
movsxd r8, edi
add rdx, rsi
call fcn.1400d3810
mov rcx, rsi
call fcn.14007d3f0
mov eax, edi
jmp 0x14008eb25
mov edx, 0x7a
lea r9, str..crypto_rsa_rsa_oaep.c
mov dword [rsp + 0x20], 0xb5
lea ecx, [rdx - 0x76]
lea r8d, [rdx - 1]
call fcn.140075dc0
test rsi, rsi
je 0x14008eb22
mov rcx, rsi
call fcn.14007d3f0
or eax, 0xffffffff
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400d37e0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret