Function at 0x18008af70
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
movzx eax, byte [rcx + 0xf]
lea r12, [0x180120970]
mov r8d, eax
mov rsi, rdx
and eax, 0xf
mov rdi, rcx
add rax, rax
and r8, 0xfffffffffffffff0
mov r15d, 3
lea rbp, [rdi + 0xc]
mov r9, qword [rdx + rax*8]
mov rax, qword [rdx + rax*8 + 8]
mov rcx, r9
mov rdx, rax
shr rcx, 4
and edx, 0xf
shr rax, 4
shl r9, 0x3c
or rax, r9
mov r11, qword [r12 + rdx*8]
xor r11, rcx
xor r11, qword [r8 + rsi]
xor rax, qword [r8 + rsi + 8]
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rbp + 2]
mov rdx, rax
mov r9d, ecx
shr rax, 4
and ecx, 0xf
and edx, 0xf
add rcx, rcx
and r9, 0xfffffffffffffff0
lea r8, [rsi + rcx*8]
mov rcx, r11
shr rcx, 4
mov rbx, qword [r12 + rdx*8]
xor rbx, rcx
shl r11, 0x3c
xor rbx, qword [r8]
or r11, rax
xor r11, qword [r8 + 8]
mov rax, rbx
shr rax, 4
mov rcx, r11
and ecx, 0xf
shr r11, 4
shl rbx, 0x3c
or rbx, r11
xor rbx, qword [r9 + rsi + 8]
mov r10, qword [r12 + rcx*8]
xor r10, rax
movzx eax, byte [rbp + 1]
xor r10, qword [r9 + rsi]
mov r8d, eax
and eax, 0xf
mov rcx, r10
add rax, rax
shr rcx, 4
lea rdx, [rsi + rax*8]
shl r10, 0x3c
mov rax, rbx
and r8, 0xfffffffffffffff0
and eax, 0xf
shr rbx, 4
or rbx, r10
xor rbx, qword [rdx + 8]
mov rax, qword [r12 + rax*8]
xor rax, rcx
xor rax, qword [rdx]
mov rdx, rbx
mov rcx, rax
shr rbx, 4
shr rcx, 4
and edx, 0xf
shl rax, 0x3c
or rax, rbx
xor rax, qword [r8 + rsi + 8]
mov r11, qword [r12 + rdx*8]
mov rdx, rax
xor r11, rcx
shr rax, 4
xor r11, qword [r8 + rsi]
and edx, 0xf
movzx ecx, byte [rbp]
mov r9d, ecx
and ecx, 0xf
add rcx, rcx
and r9, 0xfffffffffffffff0
mov r10, qword [r12 + rdx*8]
lea r8, [rsi + rcx*8]
mov rcx, r11
shl r11, 0x3c
or rax, r11
shr rcx, 4
xor rax, qword [r8 + 8]
xor r10, rcx
xor r10, qword [r8]
mov rdx, rax
and edx, 0xf
mov rcx, r10
shr rcx, 4
mov r11, qword [r12 + rdx*8]
xor r11, rcx
xor r11, qword [r9 + rsi]
shr rax, 4
movzx ecx, byte [rbp - 1]
lea rbp, [rbp - 5]
shl r10, 0x3c
or rax, r10
xor rax, qword [r9 + rsi + 8]
mov r9d, ecx
mov rdx, rax
and ecx, 0xf
add rcx, rcx
shr rax, 4
lea r8, [rsi + rcx*8]
and edx, 0xf
mov rcx, r11
and r9, 0xfffffffffffffff0
shr rcx, 4
shl r11, 0x3c
mov r10, qword [r12 + rdx*8]
or rax, r11
xor rax, qword [r8 + 8]
xor r10, rcx
xor r10, qword [r8]
mov rdx, rax
shr rax, 4
and edx, 0xf
mov rcx, r10
shl r10, 0x3c
or rax, r10
shr rcx, 4
xor rax, qword [r9 + rsi + 8]
mov r11, qword [r12 + rdx*8]
mov rdx, rax
xor r11, rcx
shr rax, 4
xor r11, qword [r9 + rsi]
and edx, 0xf
movzx ecx, byte [rbp + 3]
mov r9d, ecx
and ecx, 0xf
add rcx, rcx
and r9, 0xfffffffffffffff0
mov r10, qword [r12 + rdx*8]
lea r8, [rsi + rcx*8]
mov rcx, r11
shl r11, 0x3c
or rax, r11
shr rcx, 4
xor rax, qword [r8 + 8]
xor r10, rcx
xor r10, qword [r8]
mov rdx, rax
shr rax, 4
and edx, 0xf
mov rcx, r10
shl r10, 0x3c
shr rcx, 4
or rax, r10
xor rax, qword [r9 + rsi + 8]
mov r11, qword [r12 + rdx*8]
xor r11, rcx
xor r11, qword [r9 + rsi]
sub r15, 1
jne 0x18008aff0
mov rbx, qword [rsp + 0x20]
mov rdx, r11
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
shr rdx, 0x20
mov ecx, edx
mov byte [rdi + 3], dl
shr ecx, 0x18
mov byte [rdi], cl
mov ecx, edx
shr ecx, 0x10
mov byte [rdi + 1], cl
mov ecx, edx
shr ecx, 8
mov rdx, rax
mov byte [rdi + 2], cl
mov ecx, r11d
shr ecx, 0x18
mov byte [rdi + 4], cl
mov ecx, r11d
shr ecx, 0x10
mov byte [rdi + 5], cl
mov ecx, r11d
shr ecx, 8
mov byte [rdi + 6], cl
shr rdx, 0x20
mov ecx, edx
mov byte [rdi + 7], r11b
shr ecx, 0x18
mov byte [rdi + 8], cl
mov ecx, edx
shr ecx, 0x10
mov byte [rdi + 9], cl
mov ecx, edx
shr ecx, 8
mov byte [rdi + 0xa], cl
mov ecx, eax
shr ecx, 0x18
mov byte [rdi + 0xc], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rdi + 0xd], cl
mov ecx, eax
shr ecx, 8
mov byte [rdi + 0xe], cl
mov byte [rdi + 0xb], dl
mov byte [rdi + 0xf], al
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret