Function at 0x140005ebc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
lea rsi, [0x14007bee0]
mov r10d, ecx
not r10d
mov r11d, r8d
mov rbx, rdx
test r8d, r8d
je 0x140005f07
test bl, 3
je 0x140005f07
movzx ecx, byte [rbx]
mov eax, r10d
xor rcx, rax
inc rbx
shr eax, 8
movzx edx, cl
mov r10d, dword [rsi + rdx*4]
xor r10d, eax
add r11d, 0xffffffff
jne 0x140005ee3
cmp r11d, 0x20
jb 0x140006133
mov edi, r11d
shr rdi, 5
xor r10d, dword [rbx]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
shr rax, 8
movzx ecx, al
mov r8d, dword [rsi + rdx*4 + 0x400]
mov eax, r10d
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r10b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 4]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 8]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0xc]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0x10]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0x14]
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
mov r9d, r8d
mov r8d, dword [rsi + rdx*4 + 0x400]
add r11d, 0xffffffe0
movzx ecx, al
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0x18]
mov r9d, r8d
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov eax, r9d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r8d, dword [rsi + rcx*4 + 0x800]
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0x1c]
add rbx, 0x20
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
movzx ecx, al
mov r10d, dword [rsi + rdx*4 + 0x400]
mov eax, r8d
shr rax, 0x18
xor r10d, dword [rsi + rcx*4 + 0x800]
xor r10d, dword [rsi + rax*4]
movzx eax, r8b
xor r10d, dword [rsi + rax*4 + 0xc00]
sub rdi, 1
jne 0x140005f18
cmp r11d, 4
jb 0x14000618f
mov r9d, r11d
shr r9, 2
xor r10d, dword [rbx]
add r11d, 0xfffffffc
mov r8d, r10d
add rbx, 4
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
shr rax, 8
movzx ecx, al
mov eax, r8d
mov r10d, dword [rsi + rdx*4 + 0x400]
shr rax, 0x18
xor r10d, dword [rsi + rcx*4 + 0x800]
xor r10d, dword [rsi + rax*4]
movzx eax, r8b
xor r10d, dword [rsi + rax*4 + 0xc00]
sub r9, 1
jne 0x140006140
test r11d, r11d
je 0x1400061b3
movzx ecx, byte [rbx]
mov eax, r10d
xor rcx, rax
inc rbx
shr eax, 8
movzx edx, cl
mov r10d, dword [rsi + rdx*4]
xor r10d, eax
add r11d, 0xffffffff
jne 0x140006194
mov rbx, qword [rsp + 8]
not r10d
mov rsi, qword [rsp + 0x10]
mov eax, r10d
mov rdi, qword [rsp + 0x18]
ret