Function at 0x180002100
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
mov rax, qword [0x18009c2c0]
test rax, rax
je 0x18000237c
mov rax, qword [0x18009c2c0]
mov rcx, qword [0x18009c2b8]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], rsi
mov rdx, qword [rcx]
mov qword [rsp + 0x38], rdi
sub rax, rdx
mov qword [rsp + 0x10], r12
mov r12d, 2
mov qword [rsp + 8], r14
mov qword [rsp], r15
lea r14, [rdx + 1]
movabs r15, 0x1e1f21ae09eff881
nop
movzx ecx, r15b
movzx r10d, r15b
xor cl, byte [rax + r14 - 1]
movzx ebp, r15b
mov byte [r14 - 1], cl
ror r15, 8
movzx ecx, r15b
movzx r9d, r15b
xor cl, byte [r14 + rax]
mov rdi, r15
mov byte [r14], cl
movzx esi, r15b
shr r15, 8
shl rdi, 0x38
or rdi, r15
movzx ecx, dil
mov rbx, rdi
xor cl, byte [rax + r14 + 1]
mov byte [r14 + 1], cl
ror rbx, 8
movzx ecx, bl
mov r11, rbx
xor cl, byte [rax + r14 + 2]
mov byte [r14 + 2], cl
mov rcx, rbx
shr rcx, 8
shl r11, 0x38
or r11, rcx
movzx ecx, r11b
mov r8, r11
xor cl, byte [rax + r14 + 3]
mov byte [r14 + 3], cl
ror r8, 8
movzx ecx, r8b
mov r15, r8
xor cl, byte [r14 + rax + 4]
mov byte [r14 + 4], cl
mov rcx, r8
shr rcx, 8
shl r15, 0x38
or r15, rcx
movzx ecx, r15b
movzx edx, r15b
xor cl, byte [r14 + rax + 5]
mov byte [r14 + 5], cl
ror r15, 8
movzx ecx, r15b
xor cl, byte [r14 + rax + 6]
mov byte [r14 + 6], cl
movzx ecx, r10b
xor cl, byte [r14 + rax + 7]
mov byte [r14 + 7], cl
movzx ecx, r9b
xor cl, byte [r14 + rax + 8]
mov byte [r14 + 8], cl
movzx ecx, dil
xor cl, byte [r14 + rax + 9]
mov byte [r14 + 9], cl
movzx ecx, bl
xor cl, byte [r14 + rax + 0xa]
mov byte [r14 + 0xa], cl
movzx ecx, r11b
xor cl, byte [r14 + rax + 0xb]
mov byte [r14 + 0xb], cl
movzx ecx, r8b
xor cl, byte [r14 + rax + 0xc]
mov byte [r14 + 0xc], cl
movzx ecx, dl
xor cl, byte [r14 + rax + 0xd]
mov byte [r14 + 0xd], cl
movzx ecx, r15b
xor cl, byte [r14 + rax + 0xe]
mov byte [r14 + 0xe], cl
movzx ecx, dil
xor r10b, byte [r14 + rax + 0xf]
mov byte [r14 + 0xf], r10b
xor r9b, byte [r14 + rax + 0x10]
mov byte [r14 + 0x10], r9b
xor cl, byte [r14 + rax + 0x11]
mov byte [r14 + 0x11], cl
movzx ecx, bl
xor cl, byte [r14 + rax + 0x12]
mov byte [r14 + 0x12], cl
lea r14, [r14 + 0x20]
movzx ecx, r11b
xor cl, byte [r14 + rax - 0xd]
mov byte [r14 - 0xd], cl
movzx ecx, r8b
xor cl, byte [r14 + rax - 0xc]
mov byte [r14 - 0xc], cl
movzx ecx, dl
xor cl, byte [r14 + rax - 0xb]
mov byte [r14 - 0xb], cl
movzx ecx, r15b
xor cl, byte [r14 + rax - 0xa]
mov byte [r14 - 0xa], cl
movzx ecx, r15b
xor bpl, byte [r14 + rax - 9]
mov byte [r14 - 9], bpl
xor sil, byte [r14 + rax - 8]
mov byte [r14 - 8], sil
xor dil, byte [rax + r14 - 7]
mov byte [r14 - 7], dil
xor bl, byte [rax + r14 - 6]
mov byte [r14 - 6], bl
xor r11b, byte [rax + r14 - 5]
mov byte [r14 - 5], r11b
xor r8b, byte [rax + r14 - 4]
mov byte [r14 - 4], r8b
xor dl, byte [rax + r14 - 3]
mov byte [r14 - 3], dl
xor cl, byte [rax + r14 - 2]
ror r15, 8
mov byte [r14 - 2], cl
sub r12, 1
jne 0x180002160
mov rax, qword [0x18009c2b8]
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x10]
mov rcx, qword [rax]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
mov byte [rcx + 0x40], 0
mov qword [0x18009c2c0], 0
lea rax, [0x18009c2b8]
add rsp, 0x18
ret