Function at 0x1800c1fc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rdi
push r12
push r15
sub rsp, 0x68
mov rax, qword [rcx + 0x10]
mov r12, r9
mov rdi, r8
mov rbx, rdx
mov r15, rcx
cmp qword [rcx + 8], rax
jne 0x1800c1fef
call fcn.180036630
mov r15, qword [r15 + 8]
mov rax, r12
shr rax, 2
and r12d, 3
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
test rax, rax
je 0x1800c21cf
mov qword [rsp + 0x60], rbp
lea rcx, [r15 + 4]
mov qword [rsp + 0x58], rsi
lea r8, [rbx + 8]
mov qword [rsp + 0x50], r13
mov r13, rdi
sub r13, rbx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0x90], rax
nop dword [rax + rax]
mov r9d, dword [r8 - 8]
mov r15, rcx
mov r10d, dword [r8 - 4]
mov r12d, 0x20
mov r11d, dword [r8]
mov ebx, dword [r8 + 4]
mov edi, dword [r8 + 8]
mov esi, dword [r8 + 0xc]
mov ebp, dword [r8 + 0x10]
mov r14d, dword [r8 + 0x14]
bswap r9d
bswap r10d
bswap r11d
bswap ebx
bswap edi
bswap esi
bswap ebp
bswap r14d
nop dword [rax]
mov edx, dword [r15 - 4]
lea r15, [r15 + 8]
mov ecx, r10d
mov eax, r10d
shr ecx, 5
shl eax, 4
xor ecx, eax
mov eax, ebx
add ecx, r10d
shl eax, 4
xor ecx, edx
add r9d, ecx
mov ecx, ebx
shr ecx, 5
xor ecx, eax
mov eax, esi
add ecx, ebx
shl eax, 4
xor ecx, edx
add r11d, ecx
mov ecx, esi
shr ecx, 5
xor ecx, eax
mov eax, r14d
add ecx, esi
shl eax, 4
xor ecx, edx
add edi, ecx
mov ecx, r14d
shr ecx, 5
xor ecx, eax
mov eax, r9d
add ecx, r14d
shl eax, 4
xor ecx, edx
mov edx, dword [r15 - 8]
add ebp, ecx
mov ecx, r9d
shr ecx, 5
xor ecx, eax
mov eax, r11d
add ecx, r9d
shl eax, 4
xor ecx, edx
add r10d, ecx
mov ecx, r11d
shr ecx, 5
xor ecx, eax
mov eax, edi
add ecx, r11d
shl eax, 4
xor ecx, edx
add ebx, ecx
mov ecx, edi
shr ecx, 5
xor ecx, eax
mov eax, ebp
add ecx, edi
shl eax, 4
xor ecx, edx
add esi, ecx
mov ecx, ebp
shr ecx, 5
xor ecx, eax
add ecx, ebp
xor ecx, edx
add r14d, ecx
sub r12, 1
jne 0x1800c2090
mov rcx, qword [rsp + 0xa8]
bswap r9d
bswap r10d
bswap r11d
bswap ebx
bswap edi
bswap esi
bswap ebp
bswap r14d
mov dword [r8 + r13 - 8], r9d
mov dword [r8 + r13 - 4], r10d
mov dword [r8 + r13], r11d
mov dword [r8 + r13 + 4], ebx
mov dword [r8 + r13 + 8], edi
mov dword [r8 + r13 + 0xc], esi
mov dword [r8 + r13 + 0x10], ebp
mov dword [r8 + r13 + 0x14], r14d
add r8, 0x20
sub qword [rsp + 0x90], 1
jne 0x1800c2050
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x30]
mov rdi, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x48]
mov r13, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
test r12, r12
je 0x1800c224d
shl rax, 5
lea r10, [rdi + 4]
add r10, rax
sub rbx, rdi
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rbx + r10 - 4]
xor r9d, r9d
mov eax, dword [rbx + r10]
bswap r8d
bswap eax
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r15 + r9*8]
add r8d, edx
mov edx, r8d
mov ecx, r8d
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r15 + r9*8 + 4]
inc r9
add eax, edx
cmp r9, 0x20
jne 0x1800c2201
bswap r8d
bswap eax
mov dword [r10 - 4], r8d
mov dword [r10], eax
add r10, 8
sub r12, 1
jne 0x1800c21f0
add rsp, 0x68
pop r15
pop r12
pop rdi
pop rbx
ret