Function at 0x1800c1cb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r13
push r15
sub rsp, 0x88
mov rax, qword [rcx + 0x10]
mov r15, r9
mov rsi, r8
mov r13, rdx
mov rdi, rcx
cmp qword [rcx + 8], rax
jne 0x1800c1ce7
call fcn.180036630
mov rcx, qword [rdi + 8]
mov rax, r15
shr rax, 2
and r15d, 3
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
test rax, rax
je 0x1800c1efb
lea rdx, [rcx + 0xf8]
mov qword [rsp + 0x78], rbp
add rcx, 0xfc
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x20], rcx
lea r8, [r13 + 8]
mov r12, rsi
mov qword [rsp + 0x68], r14
sub r12, r13
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0xc8], rax
lea rcx, [r12 - 4]
mov qword [rsp + 0x30], rcx
lea rcx, [r12 - 8]
mov qword [rsp + 0x28], rcx
mov r9d, dword [r8 - 8]
mov r15, rdx
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]
mov r13, qword [rsp + 0x20]
bswap r9d
bswap r10d
bswap r11d
bswap ebx
bswap edi
bswap esi
bswap ebp
bswap r14d
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r13]
lea r13, [r13 - 8]
mov ecx, r9d
lea r15, [r15 - 8]
shr ecx, 5
mov eax, r9d
shl eax, 4
xor ecx, eax
mov eax, r11d
add ecx, r9d
shl eax, 4
xor ecx, edx
sub r10d, ecx
mov ecx, r11d
shr ecx, 5
xor ecx, eax
mov eax, edi
add ecx, r11d
shl eax, 4
xor ecx, edx
sub ebx, ecx
mov ecx, edi
shr ecx, 5
xor ecx, eax
mov eax, ebp
add ecx, edi
shl eax, 4
xor ecx, edx
sub esi, ecx
mov ecx, ebp
shr ecx, 5
xor ecx, eax
mov eax, r10d
add ecx, ebp
shl eax, 4
xor ecx, edx
mov edx, dword [r15 + 8]
sub r14d, ecx
mov ecx, r10d
shr ecx, 5
xor ecx, eax
mov eax, ebx
add ecx, r10d
shl eax, 4
xor ecx, edx
sub r9d, ecx
mov ecx, ebx
shr ecx, 5
xor ecx, eax
mov eax, esi
add ecx, ebx
shl eax, 4
xor ecx, edx
sub r11d, ecx
mov ecx, esi
shr ecx, 5
xor ecx, eax
mov eax, r14d
add ecx, esi
shl eax, 4
xor ecx, edx
sub edi, ecx
mov ecx, r14d
shr ecx, 5
xor ecx, eax
add ecx, r14d
xor ecx, edx
sub ebp, ecx
sub r12, 1
jne 0x1800c1db0
mov r12, qword [rsp + 0x38]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
bswap r9d
bswap r10d
bswap r11d
bswap ebx
bswap edi
bswap esi
bswap ebp
bswap r14d
mov dword [rax + r8], r9d
mov dword [rcx + r8], r10d
mov dword [r12 + r8], r11d
mov dword [r12 + r8 + 4], ebx
mov dword [r12 + r8 + 8], edi
mov dword [r12 + r8 + 0xc], esi
mov dword [r12 + r8 + 0x10], ebp
mov dword [r12 + r8 + 0x14], r14d
add r8, 0x20
sub qword [rsp + 0xc8], 1
jne 0x1800c1d63
mov r15, qword [rsp + 0x48]
mov r13, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x50]
mov rsi, qword [rsp + 0xc0]
mov r14, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
test r15, r15
je 0x1800c1f9f
shl rax, 5
lea rbx, [rsi + 4]
add rbx, rax
sub r13, rsi
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rdi + 8]
mov r11d, 0x20
mov r8d, dword [rbx + r13 - 4]
mov eax, dword [rbx + r13]
bswap r8d
lea r9, [rcx + 0xf8]
lea r10, [rcx + 0xfc]
bswap eax
nop word [rax + rax]
mov edx, r8d
lea r10, [r10 - 8]
shr edx, 5
lea r9, [r9 - 8]
mov ecx, r8d
shl ecx, 4
xor edx, ecx
add edx, r8d
xor edx, dword [r10 + 8]
sub eax, edx
mov edx, eax
mov ecx, eax
shr edx, 5
shl ecx, 4
xor edx, ecx
add edx, eax
xor edx, dword [r9 + 8]
sub r8d, edx
sub r11, 1
jne 0x1800c1f50
bswap r8d
bswap eax
mov dword [rbx - 4], r8d
mov dword [rbx], eax
add rbx, 8
sub r15, 1
jne 0x1800c1f20
mov rbx, qword [rsp + 0x80]
add rsp, 0x88
pop r15
pop r13
pop rdi
pop rsi
ret