Function at 0x18018cc90
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
mov r10d, dword [rcx + 4]
mov rbp, rdx
mov rdi, r9
mov r9d, dword [rcx]
shr rbp, 3
mov rsi, r8
mov rbx, rdx
mov r11, rcx
test rbp, rbp
je 0x18018ce8f
nop word [rax + rax]
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
mov dword [r11 + r10*4 + 8], r8d
add eax, r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi]
mov byte [rdi], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
mov dword [r11 + r10*4 + 8], r8d
add eax, r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi + 1]
mov byte [rdi + 1], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
mov dword [r11 + r10*4 + 8], r8d
add eax, r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi + 2]
mov byte [rdi + 2], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
mov dword [r11 + r10*4 + 8], r8d
add eax, r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi + 3]
mov byte [rdi + 3], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
add eax, r8d
mov dword [r11 + r10*4 + 8], r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi + 4]
mov byte [rdi + 4], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
add eax, r8d
mov dword [r11 + r10*4 + 8], r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi + 5]
mov byte [rdi + 5], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
add rdi, 8
add rsi, 8
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
add eax, r8d
mov dword [r11 + r10*4 + 8], r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi - 2]
mov byte [rdi - 2], al
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
add eax, r8d
mov dword [r11 + r10*4 + 8], r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi - 1]
dec rbp
mov byte [rdi - 1], al
jne 0x18018ccd0
and ebx, 7
je 0x18018d08f
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
add eax, r8d
mov dword [r11 + r10*4 + 8], r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi]
dec rbx
mov byte [rdi], al
je 0x18018d08f
nop word [rax + rax]
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
add eax, r8d
mov dword [r11 + r10*4 + 8], r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi + 1]
dec rbx
mov byte [rdi + 1], al
je 0x18018d08f
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
add eax, r8d
mov dword [r11 + r10*4 + 8], r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi + 2]
dec rbx
mov byte [rdi + 2], al
je 0x18018d08f
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
add eax, r8d
mov dword [r11 + r10*4 + 8], r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi + 3]
dec rbx
mov byte [rdi + 3], al
je 0x18018d08f
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
add eax, r8d
mov dword [r11 + r10*4 + 8], r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi + 4]
dec rbx
mov byte [rdi + 4], al
je 0x18018d08f
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
add eax, r8d
mov dword [r11 + r10*4 + 8], r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi + 5]
dec rbx
mov byte [rdi + 5], al
je 0x18018d08f
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
add eax, r8d
mov dword [r11 + r10*4 + 8], r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi + 6]
dec rbx
mov byte [rdi + 6], al
je 0x18018d08f
lea eax, [r9 + 1]
movzx r9d, al
mov r8d, dword [r11 + r9*4 + 8]
lea eax, [r8 + r10]
movzx r10d, al
mov eax, dword [r11 + r10*4 + 8]
mov dword [r11 + r9*4 + 8], eax
add eax, r8d
mov dword [r11 + r10*4 + 8], r8d
movzx ecx, al
movzx eax, byte [r11 + rcx*4 + 8]
xor al, byte [rsi]
dec rbx
mov byte [rdi], al
jne 0x18018cee0
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov dword [r11], r9d
mov dword [r11 + 4], r10d
ret