Function at 0x1400989d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x80
call fcn.1400cc090
sub rsp, rax
mov rbp, rcx
mov rcx, qword [rsp + 0xd0]
xor edi, edi
test rcx, rcx
mov r14, rdx
mov esi, edi
cmove rcx, r9
mov qword [rsp + 0xd0], rcx
mov rcx, r9
call fcn.14005b2e0
movsxd r15, eax
test eax, eax
js 0x140098ada
mov qword [rsp + 0xb0], rbx
mov ebx, dword [rsp + 0xd8]
cmp ebx, 0xffffffff
jne 0x140098aeb
mov ebx, r15d
mov rcx, qword [rbp + 0x18]
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r13
call fcn.140074500
mov rcx, rbp
lea r13d, [rax - 1]
call fcn.140079ad0
mov r12d, eax
and r13d, 7
jne 0x140098a6e
mov byte [r14], sil
inc r14
dec r12d
cmp ebx, 0xfffffffe
jne 0x140098b1f
mov ebx, r12d
sub ebx, r15d
sub ebx, 2
test ebx, ebx
jle 0x140098b62
lea rdx, [0x140165d20]
mov r8d, 0xe9
mov ecx, ebx
call fcn.14004d100
mov rsi, rax
test rax, rax
jne 0x140098b50
mov dword [rsp + 0x20], 0xec
lea r9, str..crypto_rsa_rsa_pss.c
mov edx, 0x94
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
call fcn.14004b7a0
mov r12, qword [rsp + 0x78]
mov r13, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xb0]
mov eax, edi
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp ebx, 0xfffffffe
jne 0x140098af5
jmp 0x140098a3d
jge 0x140098a3d
mov edx, 0x94
lea r9, [0x140165cf0]
mov ecx, 4
lea r8d, [rdx - 0xc]
mov dword [rsp + 0x20], 0xd7
call fcn.14004b7a0
jmp 0x140098ad2
lea eax, [r15 + 2]
add eax, ebx
cmp r12d, eax
jge 0x140098a80
mov edx, 0x94
mov dword [rsp + 0x20], 0xe5
lea r9, [0x140165d08]
lea r8d, [rdx - 0x26]
mov ecx, 4
jmp 0x140098ac3
mov edx, ebx
mov rcx, rax
call fcn.14005d710
test eax, eax
jle 0x140098d19
mov ebp, r12d
lea rcx, [rsp + 0x38]
sub ebp, r15d
lea eax, [rbp - 1]
cdqe
add rax, r14
mov qword [rsp + 0x30], rax
call fcn.140080380
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x38]
xor r8d, r8d
call fcn.14007fdc0
test eax, eax
je 0x140098d19
lea rdx, [0x140126038]
lea rcx, [rsp + 0x38]
mov r8d, 8
call fcn.140080020
test eax, eax
je 0x140098d19
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x38]
mov r8, r15
call fcn.140080020
test eax, eax
je 0x140098d19
test ebx, ebx
je 0x140098bf4
lea rcx, [rsp + 0x38]
movsxd r8, ebx
mov rdx, rsi
call fcn.140080020
test eax, eax
je 0x140098d19
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x38]
xor r8d, r8d
call fcn.14007fd20
test eax, eax
je 0x140098d19
lea rcx, [rsp + 0x38]
call fcn.140080040
mov rax, qword [rsp + 0xd0]
mov r8, qword [rsp + 0x30]
lea edx, [rbp - 1]
mov r9d, r15d
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.140097d60
test eax, eax
jne 0x140098d19
sub ebp, ebx
sub ebp, 2
movsxd rdx, ebp
add rdx, r14
inc rdx
xor byte [rdx - 1], 1
test ebx, ebx
jle 0x140098cf4
cmp ebx, 0x20
jb 0x140098cca
lea eax, [rbx - 1]
movsxd rcx, eax
lea rax, [rcx + rsi]
lea r8, [rcx + rdx]
cmp rdx, rax
ja 0x140098c77
cmp r8, rsi
jae 0x140098cca
mov eax, ebx
and eax, 0x8000001f
jge 0x140098c87
dec eax
or eax, 0xffffffe0
inc eax
mov r8d, ebx
sub r8d, eax
nop dword [rax]
movdqu xmm0, xmmword [rdx]
movsxd rax, edi
add rdx, 0x20
movdqu xmm1, xmmword [rax + rsi]
lea eax, [rdi + 0x10]
add edi, 0x20
movsxd rcx, eax
pxor xmm1, xmm0
movdqu xmmword [rdx - 0x20], xmm1
movdqu xmm0, xmmword [rdx - 0x10]
movdqu xmm1, xmmword [rcx + rsi]
pxor xmm1, xmm0
movdqu xmmword [rdx - 0x10], xmm1
cmp edi, r8d
jl 0x140098c90
movsxd r8, edi
movsxd r9, ebx
cmp r8, r9
jge 0x140098cf4
nop word [rax + rax]
movzx eax, byte [r8 + rsi]
inc r8
lea rdx, [rdx + 1]
xor byte [rdx - 1], al
cmp r8, r9
jl 0x140098ce0
test r13d, r13d
je 0x140098d0b
mov ecx, 8
mov eax, 0xff
sub ecx, r13d
sar eax, cl
and byte [r14], al
movsxd rax, r12d
mov edi, 1
mov byte [rax + r14 - 1], 0xbc
test rsi, rsi
je 0x140098ac8
mov rcx, rsi
call fcn.14004d060
jmp 0x140098ac8