Function at 0x18008a2a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov rax, qword [rcx + 8]
mov r14d, dword [rcx]
movzx r9d, byte [rdx + 2]
movzx ecx, byte [rdx]
movzx edi, byte [rdx + 3]
movzx esi, byte [rdx + 7]
shl edi, 8
mov r15, r8
movzx r8d, byte [rdx + 0xb]
or edi, r9d
movzx r9d, byte [rdx + 1]
shl esi, 8
shl r8d, 8
shl edi, 8
sar r14d, 1
or edi, r9d
movzx r9d, byte [rdx + 0xf]
dec r14d
shl r9d, 8
shl edi, 8
add rax, 0x10
or edi, ecx
movzx ecx, byte [rdx + 6]
lea r12, [0x180000000]
xor edi, dword [rax - 0x10]
or esi, ecx
movzx ecx, byte [rdx + 5]
shl esi, 8
or esi, ecx
movzx ecx, byte [rdx + 4]
shl esi, 8
or esi, ecx
movzx ecx, byte [rdx + 0xa]
xor esi, dword [rax - 0xc]
or r8d, ecx
movzx ecx, byte [rdx + 9]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rdx + 8]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rdx + 0xe]
xor r8d, dword [rax - 8]
or r9d, ecx
movzx ecx, byte [rdx + 0xd]
shl r9d, 8
or r9d, ecx
movzx ecx, byte [rdx + 0xc]
shl r9d, 8
or r9d, ecx
xor r9d, dword [rax - 4]
test r14d, r14d
jle 0x18008a5aa
nop dword [rax]
mov ebp, r8d
mov r11d, edi
mov ebx, esi
mov esi, r9d
mov ecx, ebx
shr rcx, 8
movzx r8d, cl
mov ecx, ebp
mov edi, dword [r12 + r8*4 + 0x107480]
shr rcx, 0x10
movzx edx, cl
mov ecx, r9d
xor edi, dword [r12 + rdx*4 + 0x107880]
shr rcx, 0x18
xor edi, dword [r12 + rcx*4 + 0x107c80]
movzx ecx, r11b
xor edi, dword [r12 + rcx*4 + 0x107080]
mov ecx, r9d
xor edi, dword [rax]
shr rcx, 0x10
movzx r8d, cl
mov ecx, ebp
mov r10d, dword [r12 + r8*4 + 0x107880]
shr rcx, 8
movzx edx, cl
mov ecx, r11d
xor r10d, dword [r12 + rdx*4 + 0x107480]
shr rcx, 0x18
xor r10d, dword [r12 + rcx*4 + 0x107c80]
movzx ecx, bl
xor r10d, dword [r12 + rcx*4 + 0x107080]
mov ecx, r9d
xor r10d, dword [rax + 4]
shr rcx, 8
movzx r8d, cl
mov ecx, r11d
shr r11, 8
mov r9d, dword [r12 + r8*4 + 0x107480]
shr rcx, 0x10
movzx edx, cl
mov ecx, ebx
shr rbx, 0x10
xor r9d, dword [r12 + rdx*4 + 0x107880]
shr rcx, 0x18
movzx edx, r11b
xor r9d, dword [r12 + rcx*4 + 0x107c80]
mov r8d, dword [r12 + rdx*4 + 0x107480]
movzx ecx, bpl
xor r9d, dword [r12 + rcx*4 + 0x107080]
movzx ecx, bl
shr rbp, 0x18
xor r8d, dword [r12 + rcx*4 + 0x107880]
xor r9d, dword [rax + 8]
movzx ecx, sil
xor r8d, dword [r12 + rbp*4 + 0x107c80]
mov ebx, r9d
mov r9d, edi
xor r8d, dword [r12 + rcx*4 + 0x107080]
mov r11d, r10d
xor r8d, dword [rax + 0xc]
mov ecx, r11d
shr rcx, 8
mov r10d, r8d
movzx r8d, cl
mov ecx, ebx
mov edi, dword [r12 + r8*4 + 0x107480]
shr rcx, 0x10
movzx edx, cl
mov ecx, r10d
xor edi, dword [r12 + rdx*4 + 0x107880]
shr rcx, 0x18
xor edi, dword [r12 + rcx*4 + 0x107c80]
movzx ecx, r9b
xor edi, dword [r12 + rcx*4 + 0x107080]
mov ecx, r10d
xor edi, dword [rax + 0x10]
shr rcx, 0x10
movzx r8d, cl
mov ecx, ebx
shr rcx, 8
movzx edx, cl
mov esi, dword [r12 + r8*4 + 0x107880]
mov ecx, r9d
dec r14d
xor esi, dword [r12 + rdx*4 + 0x107480]
shr rcx, 0x18
add rax, 0x20
xor esi, dword [r12 + rcx*4 + 0x107c80]
movzx ecx, r11b
xor esi, dword [r12 + rcx*4 + 0x107080]
mov ecx, r10d
xor esi, dword [rax - 0xc]
shr rcx, 8
movzx r8d, cl
mov ecx, r9d
shr r9, 8
mov r8d, dword [r12 + r8*4 + 0x107480]
shr rcx, 0x10
movzx edx, cl
mov ecx, r11d
shr r11, 0x10
xor r8d, dword [r12 + rdx*4 + 0x107880]
shr rcx, 0x18
movzx edx, r9b
xor r8d, dword [r12 + rcx*4 + 0x107c80]
mov r9d, dword [r12 + rdx*4 + 0x107480]
movzx ecx, bl
xor r8d, dword [r12 + rcx*4 + 0x107080]
movzx ecx, r11b
shr rbx, 0x18
xor r9d, dword [r12 + rcx*4 + 0x107880]
xor r8d, dword [rax - 8]
movzx ecx, r10b
xor r9d, dword [r12 + rbx*4 + 0x107c80]
xor r9d, dword [r12 + rcx*4 + 0x107080]
xor r9d, dword [rax - 4]
test r14d, r14d
jg 0x18008a380
mov r11d, edi
mov ebp, r8d
mov ebx, esi
mov esi, r9d
mov ecx, ebx
shr rcx, 8
movzx r8d, cl
mov ecx, ebp
mov edi, dword [r12 + r8*4 + 0x107480]
shr rcx, 0x10
movzx edx, cl
mov ecx, r9d
xor edi, dword [r12 + rdx*4 + 0x107880]
shr rcx, 0x18
xor edi, dword [r12 + rcx*4 + 0x107c80]
movzx ecx, r11b
xor edi, dword [r12 + rcx*4 + 0x107080]
mov ecx, r9d
xor edi, dword [rax]
shr rcx, 0x10
movzx r8d, cl
mov ecx, ebp
mov r10d, dword [r12 + r8*4 + 0x107880]
shr rcx, 8
movzx edx, cl
mov ecx, r11d
xor r10d, dword [r12 + rdx*4 + 0x107480]
shr rcx, 0x18
xor r10d, dword [r12 + rcx*4 + 0x107c80]
movzx ecx, bl
xor r10d, dword [r12 + rcx*4 + 0x107080]
mov ecx, r9d
xor r10d, dword [rax + 4]
shr rcx, 8
movzx r8d, cl
mov ecx, r11d
shr r11, 8
mov r9d, dword [r12 + r8*4 + 0x107480]
shr rcx, 0x10
movzx edx, cl
mov ecx, ebx
shr rbx, 0x10
xor r9d, dword [r12 + rdx*4 + 0x107880]
shr rcx, 0x18
movzx edx, r11b
xor r9d, dword [r12 + rcx*4 + 0x107c80]
mov r8d, dword [r12 + rdx*4 + 0x107480]
movzx ecx, bpl
xor r9d, dword [r12 + rcx*4 + 0x107080]
movzx ecx, bl
mov ebx, edi
xor r8d, dword [r12 + rcx*4 + 0x107880]
xor r9d, dword [rax + 8]
movzx ecx, sil
shr rbp, 0x18
mov r11d, r9d
mov r9d, r10d
xor r8d, dword [r12 + rbp*4 + 0x107c80]
xor r8d, dword [r12 + rcx*4 + 0x107080]
xor r8d, dword [rax + 0xc]
mov ecx, r8d
mov esi, r8d
shr rcx, 0x18
movzx edi, byte [rcx + r12 + 0x106f80]
mov ecx, r11d
shr rcx, 0x10
shl edi, 8
movzx edx, cl
movzx ecx, byte [rdx + r12 + 0x106f80]
xor edi, ecx
mov ecx, r10d
shr rcx, 8
shl edi, 8
movzx edx, cl
movzx ecx, byte [rdx + r12 + 0x106f80]
xor edi, ecx
movzx ecx, bl
movzx ecx, byte [rcx + r12 + 0x106f80]
shl edi, 8
xor edi, ecx
xor edi, dword [rax + 0x10]
mov ecx, r8d
shr rcx, 0x10
movzx edx, cl
mov ecx, ebx
movzx r10d, byte [rdx + r12 + 0x106f80]
shr rcx, 0x18
movzx ecx, byte [rcx + r12 + 0x106f80]
shl ecx, 8
xor r10d, ecx
mov ecx, r11d
shr rcx, 8
shl r10d, 8
movzx edx, cl
movzx ecx, byte [rdx + r12 + 0x106f80]
xor r10d, ecx
movzx ecx, r9b
movzx ecx, byte [rcx + r12 + 0x106f80]
shl r10d, 8
xor r10d, ecx
mov ecx, ebx
shr rbx, 8
xor r10d, dword [rax + 0x14]
shr rcx, 0x10
movzx edx, cl
mov ecx, r9d
shr r9, 0x10
movzx r8d, byte [rdx + r12 + 0x106f80]
shr rcx, 0x18
movzx ecx, byte [rcx + r12 + 0x106f80]
shl ecx, 8
xor r8d, ecx
mov ecx, esi
shr rcx, 8
shl r8d, 8
movzx edx, cl
movzx ecx, byte [rdx + r12 + 0x106f80]
xor r8d, ecx
movzx ecx, r11b
shr r11, 0x18
movzx ecx, byte [rcx + r12 + 0x106f80]
shl r8d, 8
xor r8d, ecx
movzx ecx, r9b
xor r8d, dword [rax + 0x18]
movzx edx, byte [rcx + r12 + 0x106f80]
movzx ecx, byte [r11 + r12 + 0x106f80]
shl ecx, 8
xor edx, ecx
movzx ecx, bl
movzx ecx, byte [rcx + r12 + 0x106f80]
shl edx, 8
xor edx, ecx
movzx ecx, sil
movzx ecx, byte [rcx + r12 + 0x106f80]
shl edx, 8
xor edx, ecx
xor edx, dword [rax + 0x1c]
mov eax, edi
mov byte [r15], dil
shr eax, 8
mov byte [r15 + 4], r10b
mov byte [r15 + 8], r8b
mov byte [r15 + 1], al
mov eax, edi
shr edi, 0x18
shr eax, 0x10
mov byte [r15 + 3], dil
mov byte [r15 + 2], al
mov eax, r10d
shr eax, 8
mov byte [r15 + 5], al
mov eax, r10d
shr r10d, 0x18
shr eax, 0x10
mov byte [r15 + 7], r10b
mov byte [r15 + 6], al
mov eax, r8d
shr eax, 8
mov byte [r15 + 9], al
mov eax, r8d
shr eax, 0x10
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov byte [r15 + 0xa], al
mov eax, edx
shr eax, 8
shr r8d, 0x18
mov byte [r15 + 0xc], dl
mov byte [r15 + 0xd], al
mov eax, edx
shr edx, 0x18
shr eax, 0x10
mov byte [r15 + 0xb], r8b
mov byte [r15 + 0xf], dl
mov byte [r15 + 0xe], al
xor eax, eax
pop r15
pop r14
pop r12
ret