Function at 0x140294020
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x60
call fcn.1403cb200
sub rsp, rax
mov rax, qword [0x1404f2b48]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, qword [rbp + 0x60]
mov r13d, 0x10
mov r15, r9
mov r12, r8
mov rsi, rcx
cmp rdi, r13
jae 0x14029406e
or eax, 0xffffffff
jmp 0x140294194
mov r8, r13
lea rcx, [rbp - 0x30]
call fcn.1403cc5a0
mov r8, qword [rsi + 8]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x30]
call qword [rsi + 0x18]
xor ebx, ebx
cmp dword [rbp + 0x68], ebx
jne 0x1402941b8
test dil, 0xf
je 0x1402941b8
lea rax, [rdi - 0x10]
mov rdi, rax
cmp rax, r13
jae 0x1402941b8
mov r8, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x30]
mov ecx, dword [rbp - 0x24]
lea rax, [rdx + rdx]
sar ecx, 0x1f
shr rdx, 0x3f
and ecx, 0x87
xor rcx, rax
lea rax, [r8 + r8]
or rax, rdx
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rax
mov r8, r12
lea rax, [rbp - 0x20]
mov rdx, rbx
sub r8, rax
lea rax, [rbp - 0x20]
add rax, rdx
mov rcx, qword [r8 + rax]
xor rcx, qword [rax]
mov qword [rbp + rdx - 0x40], rcx
add rdx, 8
cmp rdx, r13
jl 0x1402940e9
mov r8, qword [rsi]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x40]
call qword [rsi + 0x10]
mov rcx, rbx
mov rax, qword [rbp + rcx - 0x20]
xor qword [rbp + rcx - 0x40], rax
add rcx, 8
cmp rcx, r13
jl 0x140294116
mov r8d, ebx
test rdi, rdi
je 0x140294157
mov r9, rbx
lea eax, [r8 + 0x10]
inc r8d
mov dl, byte [rax + r12]
mov ecx, eax
mov al, byte [rbp + r9 - 0x40]
mov byte [rbp + r9 - 0x40], dl
mov r9d, r8d
mov byte [rcx + r15], al
cmp r9, rdi
jb 0x140294134
mov rcx, rbx
mov rax, qword [rbp + rcx - 0x30]
xor qword [rbp + rcx - 0x40], rax
add rcx, 8
cmp rcx, r13
jl 0x14029415a
mov r8, qword [rsi]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x40]
call qword [rsi + 0x10]
mov rax, qword [rbp + rbx - 0x40]
xor rax, qword [rbp + rbx - 0x30]
mov qword [rbx + r15], rax
add rbx, 8
cmp rbx, r13
jl 0x14029417b
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1403cb150
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rax, [rbp - 0x30]
mov r14, r12
sub r14, rax
mov rdx, rbx
lea rax, [rbp - 0x30]
add rax, rdx
mov rcx, qword [r14 + rax]
xor rcx, qword [rax]
mov qword [rbp + rdx - 0x40], rcx
add rdx, 8
cmp rdx, r13
jl 0x1402941c5
mov r8, qword [rsi]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x40]
call qword [rsi + 0x10]
mov rax, qword [rbp - 0x40]
add r12, r13
mov r8, qword [rbp - 0x30]
add r14, r13
mov r9, qword [rbp - 0x28]
xor rax, r8
mov qword [r15], rax
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x38]
xor rax, r9
mov qword [r15 + 8], rax
add r15, r13
mov qword [rbp - 0x38], rax
sub rdi, r13
je 0x140294192
mov edx, dword [rbp - 0x24]
lea rax, [r8 + r8]
sar edx, 0x1f
mov rcx, r8
and edx, 0x87
shr rcx, 0x3f
xor rdx, rax
lea r8, [r9 + r9]
or r8, rcx
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], r8
cmp rdi, r13
jae 0x1402941c2
cmp dword [rbp + 0x68], ebx
je 0x1402940b6
mov r8d, ebx
test rdi, rdi
je 0x140294287
mov rdx, rbx
mov cl, byte [rdx + r12]
inc r8d
mov al, byte [rbp + rdx - 0x40]
mov byte [rdx + r15], al
mov byte [rbp + rdx - 0x40], cl
mov edx, r8d
cmp rdx, rdi
jb 0x14029426c
mov rcx, rbx
mov rax, qword [rbp + rcx - 0x30]
xor qword [rbp + rcx - 0x40], rax
add rcx, 8
cmp rcx, r13
jl 0x14029428a
mov r8, qword [rsi]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x40]
call qword [rsi + 0x10]
mov rax, qword [rbp + rbx - 0x30]
xor qword [rbp + rbx - 0x40], rax
add rbx, 8
cmp rbx, r13
jl 0x1402942ab
lea rcx, [r15 - 0x10]
mov r8, r13
lea rdx, [rbp - 0x40]
call fcn.1403cc5a0
jmp 0x140294192