Function at 0x1400a6608
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400a6a0d
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r14
mov rbp, rsp
sub rsp, 0x50
shr r8, 4
mov rbx, r9
cmp byte [rcx], 0
mov r11, rdx
mov r10, rcx
je 0x1400a6648
call fcn.1400a6a10
jmp 0x1400a69f4
movups xmm1, xmmword [rcx + 8]
movups xmmword [rbp - 0x10], xmm1
test r8, r8
je 0x1400a69ee
lea r9, [rbp - 0x30]
sub r9, rdx
lea r12, [0x140000000]
sub rbx, rdx
movsxd rsi, dword [r10 + 4]
mov rcx, r11
mov rdx, rsi
mov edi, 4
shl rdx, 4
add rdx, 0x18
add rdx, r10
sub rdx, r11
mov eax, dword [rdx + rcx]
xor eax, dword [rcx]
mov dword [r9 + rcx], eax
lea rcx, [rcx + 4]
sub rdi, 1
jne 0x1400a6687
movzx ecx, byte [rbp - 0x30]
movzx eax, byte [rbp - 0x29]
mov edx, dword [r12 + rcx*4 + 0x1cfd20]
xor edx, dword [r12 + rax*4 + 0x1d0920]
movzx eax, byte [rbp - 0x26]
movzx ecx, byte [rbp - 0x2f]
xor edx, dword [r12 + rax*4 + 0x1d0520]
movzx eax, byte [rbp - 0x23]
xor edx, dword [r12 + rax*4 + 0x1d0120]
movzx eax, byte [rbp - 0x2c]
mov dword [rbp - 0x20], edx
mov edx, dword [r12 + rcx*4 + 0x1d0120]
movzx ecx, byte [rbp - 0x2e]
xor edx, dword [r12 + rax*4 + 0x1cfd20]
movzx eax, byte [rbp - 0x25]
xor edx, dword [r12 + rax*4 + 0x1d0920]
movzx eax, byte [rbp - 0x22]
xor edx, dword [r12 + rax*4 + 0x1d0520]
movzx eax, byte [rbp - 0x2b]
mov dword [rbp - 0x1c], edx
mov edx, dword [r12 + rcx*4 + 0x1d0520]
movzx ecx, byte [rbp - 0x2d]
xor edx, dword [r12 + rax*4 + 0x1d0120]
movzx eax, byte [rbp - 0x28]
xor edx, dword [r12 + rax*4 + 0x1cfd20]
movzx eax, byte [rbp - 0x21]
xor edx, dword [r12 + rax*4 + 0x1d0920]
movzx eax, byte [rbp - 0x2a]
mov dword [rbp - 0x18], edx
mov edx, dword [r12 + rcx*4 + 0x1d0920]
xor edx, dword [r12 + rax*4 + 0x1d0520]
movzx eax, byte [rbp - 0x27]
xor edx, dword [r12 + rax*4 + 0x1d0120]
movzx eax, byte [rbp - 0x24]
xor edx, dword [r12 + rax*4 + 0x1cfd20]
lea eax, [rsi - 1]
movsxd rcx, eax
mov dword [rbp - 0x14], edx
cmp rcx, 1
jle 0x1400a6885
mov rdi, rcx
lea rdx, [rbp - 0x20]
shl rdi, 4
lea rsi, [rcx - 1]
sub rdi, rdx
add rdi, 0x18
add rdi, r10
xor edx, edx
lea rax, [rbp - 0x20]
add rax, rdx
mov ecx, dword [rdi + rax]
xor ecx, dword [rax]
mov dword [rbp + rdx - 0x30], ecx
add rdx, 4
cmp rdx, 0x10
jl 0x1400a6791
movzx ecx, byte [rbp - 0x30]
sub rdi, 0x10
movzx eax, byte [rbp - 0x29]
mov edx, dword [r12 + rcx*4 + 0x1cfd20]
xor edx, dword [r12 + rax*4 + 0x1d0920]
movzx eax, byte [rbp - 0x26]
movzx ecx, byte [rbp - 0x2f]
xor edx, dword [r12 + rax*4 + 0x1d0520]
movzx eax, byte [rbp - 0x23]
xor edx, dword [r12 + rax*4 + 0x1d0120]
movzx eax, byte [rbp - 0x2c]
mov dword [rbp - 0x20], edx
mov edx, dword [r12 + rcx*4 + 0x1d0120]
movzx ecx, byte [rbp - 0x2e]
xor edx, dword [r12 + rax*4 + 0x1cfd20]
movzx eax, byte [rbp - 0x25]
xor edx, dword [r12 + rax*4 + 0x1d0920]
movzx eax, byte [rbp - 0x22]
xor edx, dword [r12 + rax*4 + 0x1d0520]
movzx eax, byte [rbp - 0x2b]
mov dword [rbp - 0x1c], edx
mov edx, dword [r12 + rcx*4 + 0x1d0520]
movzx ecx, byte [rbp - 0x2d]
xor edx, dword [r12 + rax*4 + 0x1d0120]
movzx eax, byte [rbp - 0x28]
xor edx, dword [r12 + rax*4 + 0x1cfd20]
movzx eax, byte [rbp - 0x21]
xor edx, dword [r12 + rax*4 + 0x1d0920]
movzx eax, byte [rbp - 0x2a]
mov dword [rbp - 0x18], edx
mov edx, dword [r12 + rcx*4 + 0x1d0920]
xor edx, dword [r12 + rax*4 + 0x1d0520]
movzx eax, byte [rbp - 0x27]
xor edx, dword [r12 + rax*4 + 0x1d0120]
movzx eax, byte [rbp - 0x24]
xor edx, dword [r12 + rax*4 + 0x1cfd20]
mov dword [rbp - 0x14], edx
sub rsi, 1
jne 0x1400a678f
lea rax, [rbp - 0x20]
lea rdi, [r10 + 0x28]
sub rdi, rax
xor edx, edx
lea rax, [rbp - 0x20]
add rax, rdx
mov ecx, dword [rdi + rax]
xor ecx, dword [rax]
mov dword [rbp + rdx - 0x30], ecx
add rdx, 4
cmp rdx, 0x10
jl 0x1400a6892
movzx eax, byte [rbp - 0x30]
xor ecx, ecx
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x20], al
movzx eax, byte [rbp - 0x23]
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x1f], al
movzx eax, byte [rbp - 0x26]
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x1e], al
movzx eax, byte [rbp - 0x29]
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x1d], al
movzx eax, byte [rbp - 0x2c]
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x1c], al
movzx eax, byte [rbp - 0x2f]
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x1b], al
movzx eax, byte [rbp - 0x22]
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x1a], al
movzx eax, byte [rbp - 0x25]
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x19], al
movzx eax, byte [rbp - 0x28]
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x18], al
movzx eax, byte [rbp - 0x2b]
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x17], al
movzx eax, byte [rbp - 0x2e]
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x16], al
movzx eax, byte [rbp - 0x21]
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x15], al
movzx eax, byte [rbp - 0x24]
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x14], al
movzx eax, byte [rbp - 0x27]
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x13], al
movzx eax, byte [rbp - 0x2a]
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x12], al
movzx eax, byte [rbp - 0x2d]
mov al, byte [rax + r12 + 0x1cec20]
mov byte [rbp - 0x11], al
mov eax, dword [r10 + rcx*4 + 0x18]
xor dword [rbp + rcx*4 - 0x20], eax
inc rcx
cmp rcx, 4
jl 0x1400a699e
cmp byte [r10 + 1], 0
je 0x1400a69cb
xor ecx, ecx
mov eax, dword [rbp + rcx - 0x10]
xor dword [rbp + rcx - 0x20], eax
add rcx, 4
cmp rcx, 0x10
jl 0x1400a69b9
movups xmm1, xmmword [r11]
sub r9, 0x10
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbx + r11], xmm0
add r11, 0x10
sub r8, 1
jne 0x1400a666a
movdqu xmmword [r10 + 8], xmm1
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rbp
ret