Function at 0x1400097c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10d, ecx
mov r11d, r8d
mov rbx, rdx
lea rsi, [0x14001ca00]
not r10d
test r8d, r8d
je 0x1400094fe
test bl, 3
je 0x1400094fe
movzx ecx, byte [rbx]
mov eax, r10d
inc rbx
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r10d, dword [rsi + rdx*4]
xor r10d, eax
dec r11d
jne 0x1400094db
cmp r11d, 0x20
jb 0x140009729
mov edi, r11d
shr rdi, 5
xor r10d, dword [rbx]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r10d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
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
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
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
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
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
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
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
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx + 0x14]
mov eax, r8d
mov r9d, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
shr rax, 8
mov r8d, dword [rsi + rdx*4 + 0x400]
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
add rbx, 0x20
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
add r11d, 0xffffffe0
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
mov r8d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r9d
xor r8d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
xor r8d, dword [rsi + rax*4]
movzx eax, r9b
xor r8d, dword [rsi + rax*4 + 0xc00]
xor r8d, dword [rbx - 4]
mov eax, r8d
shr rax, 0x10
movzx edx, al
mov eax, r8d
mov r10d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r10d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
xor r10d, dword [rsi + rax*4]
movzx eax, r8b
xor r10d, dword [rsi + rax*4 + 0xc00]
dec rdi
jne 0x14000950f
cmp r11d, 4
jb 0x140009784
mov r9d, r11d
shr r9, 2
xor r10d, dword [rbx]
add r11d, 0xfffffffc
add rbx, 4
mov r8d, r10d
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
mov r10d, dword [rsi + rdx*4 + 0x400]
shr rax, 8
movzx ecx, al
mov eax, r8d
xor r10d, dword [rsi + rcx*4 + 0x800]
shr rax, 0x18
xor r10d, dword [rsi + rax*4]
movzx eax, r8b
xor r10d, dword [rsi + rax*4 + 0xc00]
dec r9
jne 0x140009736
test r11d, r11d
je 0x1400097a7
movzx ecx, byte [rbx]
mov eax, r10d
inc rbx
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r10d, dword [rsi + rdx*4]
xor r10d, eax
dec r11d
jne 0x140009789
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
not r10d
mov eax, r10d
ret
test rdx, rdx
jne 0x1400097c8
xor eax, eax
ret
jmp 0x1400094b4