Function at 0x140137350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rdi
push r13
push r14
push r15
mov eax, 0x50
call fcn.1400b21a0
sub rsp, rax
mov rax, qword [rsp + 0xa0]
mov r13, rcx
xor ebp, ebp
mov rcx, r9
test rax, rax
mov qword [rsp + 0x30], rbp
mov r14, rdx
mov edi, ebp
cmovne rcx, rax
mov qword [rsp + 0x38], rcx
mov rcx, r9
call fcn.1400e50b0
movsxd r15, eax
test eax, eax
js 0x1401376c2
mov qword [rsp + 0x80], rbx
mov ebx, dword [rsp + 0xa8]
cmp ebx, 0xffffffff
jne 0x140137456
mov ebx, r15d
mov rcx, qword [r13 + 0x18]
mov qword [rsp + 0x48], rsi
call fcn.1400c9eb0
mov rcx, r13
lea esi, [rax - 1]
and esi, 7
mov dword [rsp + 0xa0], esi
call fcn.140105750
mov r13d, eax
test esi, esi
jne 0x1401373f6
mov byte [r14], dil
inc r14
dec r13d
cmp ebx, 0xfffffffd
jne 0x140137495
mov ebx, r13d
sub ebx, r15d
sub ebx, 2
test ebx, ebx
jle 0x1401374dd
movsxd rcx, ebx
lea rdx, str.crypto_rsa_rsa_pss.c
mov r8d, 0xb9
call fcn.1400b3480
mov rdi, rax
test rax, rax
jne 0x1401374cb
lea r9, str.crypto_rsa_rsa_pss.c
mov dword [rsp + 0x20], 0xbc
mov edx, 0x98
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
call fcn.1400c2e00
jmp 0x1401376b5
cmp ebx, 0xfffffffe
jne 0x140137465
mov ebx, 0xfffffffd
jmp 0x1401373c3
cmp ebx, 0xfffffffd
jge 0x1401373c3
mov edx, 0x98
mov dword [rsp + 0x20], 0xa7
lea r9, str.crypto_rsa_rsa_pss.c
mov ecx, 4
lea r8d, [rdx - 0x10]
call fcn.1400c2e00
jmp 0x1401376ba
lea eax, [r15 + 2]
add eax, ebx
cmp r13d, eax
jge 0x140137408
mov edx, 0x98
mov dword [rsp + 0x20], 0xb5
lea r9, str.crypto_rsa_rsa_pss.c
mov ecx, 4
lea r8d, [rdx - 0x2a]
call fcn.1400c2e00
jmp 0x1401376b5
mov edx, ebx
mov rcx, rax
call fcn.1400bf710
test eax, eax
jle 0x1401376b5
mov qword [rsp + 0x40], r12
mov esi, r13d
sub esi, r15d
lea eax, [rsi - 1]
movsxd r12, eax
add r12, r14
call fcn.1400de030
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1401376b0
mov rdx, qword [rsp + 0x98]
xor r8d, r8d
mov rcx, rax
call fcn.1400ddb00
test eax, eax
je 0x1401376b0
mov rcx, qword [rsp + 0x30]
lea rdx, [0x1401e84a8]
mov r8d, 8
call fcn.1400ddd70
test eax, eax
je 0x1401376b0
mov rdx, qword [rsp + 0x90]
mov r8, r15
mov rcx, qword [rsp + 0x30]
call fcn.1400ddd70
test eax, eax
je 0x1401376b0
test ebx, ebx
je 0x140137577
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
movsxd r8, ebx
call fcn.1400ddd70
test eax, eax
je 0x1401376b0
mov rcx, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, r12
call fcn.1400dda20
test eax, eax
je 0x1401376b0
mov rax, qword [rsp + 0x38]
lea edx, [rsi - 1]
mov r9d, r15d
mov qword [rsp + 0x20], rax
mov r8, r12
mov rcx, r14
call fcn.140105de0
test eax, eax
jne 0x1401376b0
sub esi, ebx
sub esi, 2
movsxd rdx, esi
add rdx, r14
xor byte [rdx], 1
inc rdx
test ebx, ebx
jle 0x140137683
cmp ebx, 0x20
jb 0x140137658
lea eax, [rbx - 1]
movsxd rcx, eax
lea rax, [rcx + rdi]
lea r8, [rcx + rdx]
cmp rdx, rax
ja 0x1401375ec
cmp r8, rdi
jae 0x140137658
mov ecx, ebx
and ecx, 0x8000001f
jge 0x1401375fd
dec ecx
or ecx, 0xffffffe0
inc ecx
mov eax, ebx
mov r8, 0xfffffffffffffff0
sub eax, ecx
lea rcx, [rdi + 0x10]
movsxd r9, eax
sub r8, rdi
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rdx]
add ebp, 0x20
movdqu xmm1, xmmword [rcx - 0x10]
lea rcx, [rcx + 0x20]
lea rax, [r8 + rcx]
pxor xmm1, xmm0
movdqu xmmword [rdx], xmm1
movdqu xmm1, xmmword [rdx + 0x10]
movdqu xmm0, xmmword [rcx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rdx + 0x10], xmm1
add rdx, 0x20
cmp rax, r9
jl 0x140137620
movsxd r8, ebp
movsxd r9, ebx
cmp r8, r9
jge 0x140137683
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdi]
inc r8
xor byte [rdx], al
lea rdx, [rdx + 1]
cmp r8, r9
jl 0x140137670
mov eax, dword [rsp + 0xa0]
test eax, eax
je 0x14013769f
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [r14], al
lea eax, [r13 - 1]
mov ebp, 1
movsxd rcx, eax
mov byte [rcx + r14], 0xbc
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
call fcn.1400ddff0
mov r8d, 0xeb
lea rdx, str.crypto_rsa_rsa_pss.c
mov rcx, rdi
call fcn.1400b34d0
mov eax, ebp
add rsp, 0x50
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret