Function at 0x1400010a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push r13
sub rsp, 0x18
cmp byte [rcx + 8], 0
mov r13, r8
mov rbp, rcx
je 0x1400014a3
movzx eax, byte [rdx + 1]
movzx r8d, byte [rdx + 0xe]
shl eax, 0x10
mov qword [rsp + 0x30], rbx
movzx ebx, byte [rdx]
mov qword [rsp + 0x38], rsi
movzx esi, byte [rdx + 8]
mov qword [rsp + 0x48], rdi
movzx edi, byte [rdx + 4]
shl ebx, 0x18
or ebx, eax
shl edi, 0x18
movzx eax, byte [rdx + 2]
shl eax, 8
or ebx, eax
shl esi, 0x18
movzx eax, byte [rdx + 3]
or ebx, eax
shl r8d, 8
xor ebx, dword [rcx + 0x1ec]
movzx eax, byte [rdx + 5]
shl eax, 0x10
or edi, eax
mov qword [rsp + 8], r14
movzx eax, byte [rdx + 6]
lea r14, [0x140000000]
shl eax, 8
or edi, eax
mov qword [rsp], r15
movzx eax, byte [rdx + 7]
movsxd r15, dword [rbp + 0x3d4]
or edi, eax
xor edi, dword [rcx + 0x1f0]
movzx eax, byte [rdx + 9]
shl eax, 0x10
or esi, eax
movzx eax, byte [rdx + 0xa]
shl eax, 8
or esi, eax
movzx eax, byte [rdx + 0xb]
or esi, eax
movzx eax, byte [rdx + 0xd]
xor esi, dword [rcx + 0x1f4]
movzx ecx, byte [rdx + 0xc]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [rdx + 0xf]
or r8d, eax
or r8d, ecx
xor r8d, dword [rbp + 0x1f8]
cmp r15, 1
jle 0x1400012dd
mov qword [rsp + 0x10], r12
lea r14, [rbp + 0x214]
lea r12, [r15 - 1]
lea r13, [0x140000000]
nop dword [rax + rax]
movsxd r9, r8d
lea r14, [r14 + 0x20]
movsxd r11, ebx
movsxd r10, esi
mov rax, r11
sar rax, 0x18
movzx edx, al
mov rax, r9
sar rax, 0x10
movzx ecx, al
mov rax, r10
sar rax, 8
mov ebx, dword [r13 + rdx*4 + 0xad10]
movsxd r8, edi
xor ebx, dword [r13 + rcx*4 + 0x8800]
movzx ecx, al
movzx eax, r8b
xor ebx, dword [r13 + rcx*4 + 0x9800]
xor ebx, dword [r13 + rax*4 + 0xa900]
mov rax, r11
xor ebx, dword [r14 - 0x28]
sar rax, 0x10
movzx edx, al
mov rax, r8
sar rax, 0x18
movzx ecx, al
mov rax, r9
sar rax, 8
mov edi, dword [r13 + rdx*4 + 0x8800]
xor edi, dword [r13 + rcx*4 + 0xad10]
movzx ecx, al
movzx eax, r10b
xor edi, dword [r13 + rcx*4 + 0x9800]
xor edi, dword [r13 + rax*4 + 0xa900]
mov rax, r11
xor edi, dword [r14 - 0x24]
sar rax, 8
movzx edx, al
mov rax, r8
sar rax, 0x10
movzx ecx, al
mov rax, r10
sar r8, 8
mov esi, dword [r13 + rdx*4 + 0x9800]
sar rax, 0x18
xor esi, dword [r13 + rcx*4 + 0x8800]
movzx ecx, al
movzx eax, r9b
sar r9, 0x18
sar r10, 0x10
xor esi, dword [r13 + rcx*4 + 0xad10]
xor esi, dword [r13 + rax*4 + 0xa900]
xor esi, dword [r14 - 0x20]
movzx ecx, r8b
movzx eax, r9b
mov r8d, dword [r13 + rcx*4 + 0x9800]
xor r8d, dword [r13 + rax*4 + 0xad10]
movzx eax, r10b
xor r8d, dword [r13 + rax*4 + 0x8800]
movzx eax, r11b
xor r8d, dword [r13 + rax*4 + 0xa900]
xor r8d, dword [r14 - 0x1c]
sub r12, 1
jne 0x1400011a0
mov r12, qword [rsp + 0x10]
lea r14, [0x140000000]
mov r13, qword [rsp + 0x40]
shl r15, 5
movsxd r10, r8d
movsxd r11, ebx
movsxd r9, esi
mov rax, r11
mov edx, dword [r15 + rbp + 0x1ec]
sar rax, 0x18
movzx ecx, al
mov eax, edx
sar eax, 0x18
movsxd r8, edi
xor al, byte [rcx + r14 + 0x8700]
mov byte [r13], al
mov rax, r10
sar rax, 0x10
movzx ecx, al
mov eax, edx
sar eax, 0x10
xor al, byte [rcx + r14 + 0x8700]
mov byte [r13 + 1], al
mov rax, r9
sar rax, 8
movzx ecx, al
mov eax, edx
sar eax, 8
xor al, byte [rcx + r14 + 0x8700]
mov byte [r13 + 2], al
movzx eax, r8b
xor dl, byte [rax + r14 + 0x8700]
mov rax, r8
sar rax, 0x18
movzx ecx, al
mov byte [r13 + 3], dl
mov edx, dword [r15 + rbp + 0x1f0]
mov eax, edx
sar eax, 0x18
xor al, byte [rcx + r14 + 0x8700]
mov byte [r13 + 4], al
mov rax, r11
sar rax, 0x10
movzx ecx, al
mov eax, edx
sar eax, 0x10
xor al, byte [rcx + r14 + 0x8700]
mov byte [r13 + 5], al
mov rax, r10
sar rax, 8
movzx ecx, al
mov eax, edx
sar eax, 8
xor al, byte [rcx + r14 + 0x8700]
mov byte [r13 + 6], al
movzx eax, r9b
xor dl, byte [rax + r14 + 0x8700]
mov rax, r9
sar rax, 0x18
movzx ecx, al
mov byte [r13 + 7], dl
mov edx, dword [r15 + rbp + 0x1f4]
mov eax, edx
sar eax, 0x18
xor al, byte [rcx + r14 + 0x8700]
mov byte [r13 + 8], al
mov rax, r8
sar rax, 0x10
movzx ecx, al
mov eax, edx
sar eax, 0x10
xor al, byte [rcx + r14 + 0x8700]
mov byte [r13 + 9], al
mov rax, r11
sar rax, 8
movzx ecx, al
mov eax, edx
sar eax, 8
xor al, byte [rcx + r14 + 0x8700]
mov byte [r13 + 0xa], al
movzx eax, r10b
xor dl, byte [rax + r14 + 0x8700]
mov byte [r13 + 0xb], dl
mov edx, dword [r15 + rbp + 0x1f8]
mov r15, qword [rsp]
mov eax, edx
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
sar eax, 0x18
sar r10, 0x18
movzx ecx, r10b
sar r9, 0x10
sar r8, 8
xor al, byte [rcx + r14 + 0x8700]
mov byte [r13 + 0xc], al
mov eax, edx
sar eax, 0x10
movzx ecx, r9b
xor al, byte [rcx + r14 + 0x8700]
mov byte [r13 + 0xd], al
mov eax, edx
sar eax, 8
movzx ecx, r8b
xor al, byte [rcx + r14 + 0x8700]
mov byte [r13 + 0xe], al
movzx eax, r11b
xor dl, byte [rax + r14 + 0x8700]
mov r14, qword [rsp + 8]
mov byte [r13 + 0xf], dl
add rsp, 0x18
pop r13
pop rbp
ret