Function at 0x1801c1080
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov r10d, dword [rcx + 4]
mov rdi, r9
mov r9d, dword [rcx]
movzx eax, r8b
mov rsi, r8
mov rbp, rdx
or al, dil
mov r14, rcx
test al, 3
jne 0x1801c11cd
test rdx, 0xfffffffffffffffc
je 0x1801c11cd
mov qword [rsp + 0x10], rbx
nop word [rax + rax]
mov ebx, dword [rsi]
lea eax, [r9 + 1]
sub rbp, 4
movzx r9d, al
add rdi, 4
add rsi, 4
mov r8d, dword [r14 + r9*4 + 8]
lea rdx, [r14 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [r14 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
lea eax, [r9 + 1]
mov r11d, dword [r14 + rcx*4 + 8]
movzx r9d, al
mov r8d, dword [r14 + r9*4 + 8]
lea rdx, [r14 + r9*4]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [r14 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov eax, dword [r14 + rcx*4 + 8]
shl eax, 8
or r11d, eax
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [r14 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov eax, dword [r14 + rcx*4 + 8]
shl eax, 0x10
or r11d, eax
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [r14 + r10*4 + 8], r8d
mov dword [rdx + 8], ecx
lea eax, [rcx + r8]
movzx ecx, al
mov eax, dword [r14 + rcx*4 + 8]
shl eax, 0x18
or eax, r11d
xor eax, ebx
mov dword [rdi - 4], eax
test rbp, 0xfffffffffffffffc
jne 0x1801c10d0
mov rbx, qword [rsp + 0x10]
mov r11, rbp
shr r11, 3
test r11, r11
je 0x1801c13af
nop dword [rax]
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi]
mov byte [rdi], al
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 1]
mov byte [rdi + 1], al
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 2]
mov byte [rdi + 2], al
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 3]
mov byte [rdi + 3], al
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 4]
mov byte [rdi + 4], al
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
add rdi, 8
add rsi, 8
xor al, byte [rsi - 3]
mov byte [rdi - 3], al
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi - 2]
mov byte [rdi - 2], al
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi - 1]
mov byte [rdi - 1], al
dec r11
jne 0x1801c11e0
and ebp, 7
je 0x1801c15c9
lea eax, [r9 + 1]
inc rdi
inc rsi
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi - 1]
mov byte [rdi - 1], al
dec rbp
je 0x1801c15c9
nop
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi]
mov byte [rdi], al
dec rbp
je 0x1801c15c9
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 1]
mov byte [rdi + 1], al
dec rbp
je 0x1801c15c9
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 2]
mov byte [rdi + 2], al
dec rbp
je 0x1801c15c9
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 3]
mov byte [rdi + 3], al
dec rbp
je 0x1801c15c9
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 4]
mov byte [rdi + 4], al
dec rbp
je 0x1801c15c9
lea eax, [r9 + 1]
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi + 5]
mov byte [rdi + 5], al
dec rbp
je 0x1801c15c9
lea eax, [r9 + 1]
add rdi, 7
add rsi, 7
movzx r9d, al
lea rdx, [r14 + r9*4]
mov r8d, dword [rdx + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov ecx, dword [r14 + r10*4 + 8]
mov dword [rdx + 8], ecx
mov dword [r14 + r10*4 + 8], r8d
lea eax, [rcx + r8]
movzx ecx, al
movzx eax, byte [r14 + rcx*4 + 8]
xor al, byte [rsi - 1]
mov byte [rdi - 1], al
dec rbp
jne 0x1801c1400
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov dword [r14], r9d
mov dword [r14 + 4], r10d
pop r14
ret