Function at 0x1800bbfe0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0x70
mov rax, qword [rcx + 0x10]
mov rbp, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 8], rax
jne 0x1800bc014
call fcn.180036630
mov qword [rsp + 0x68], r12
mov r13d, 8
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r15
cmp rbp, 2
jb 0x1800bc3dc
mov rdx, rbp
shr rdx, 1
imul rax, rdx, 0xfffffffffffffffe
mov qword [rsp + 0x40], rdx
add rbp, rax
mov qword [rsp + 0xb8], rbp
nop dword [rax]
mov r14, qword [rdi + 0x20]
mov ebp, dword [rbx]
mov ecx, dword [rbx + 8]
mov esi, dword [rbx + 0x10]
xor ebp, dword [r14]
lea r11, [r14 + 0x24]
xor ecx, dword [r14 + 8]
mov r15d, dword [rbx + 0x14]
mov r12d, dword [rbx + 0xc]
xor esi, dword [r14]
xor r15d, dword [r14 + 4]
xor r12d, dword [r14 + 0xc]
mov r13d, dword [rbx + 0x1c]
mov dword [rsp + 0x24], ebp
mov ebp, dword [rbx + 4]
xor ebp, dword [r14 + 4]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rbx + 0x18]
xor ecx, dword [r14 + 8]
xor r13d, dword [r14 + 0xc]
mov ebx, dword [rsp + 0x28]
mov qword [rsp + 0x48], r14
mov r14d, dword [rsp + 0x24]
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x38], 8
nop dword [rax + rax]
mov r8, qword [rdi + 8]
mov eax, ebp
shr rax, 0x10
movzx ecx, al
mov eax, ebp
shr rax, 8
movzx eax, al
mov r10d, dword [r11 - 4]
mov r9d, dword [r8 + rcx*4 + 0xc00]
mov r11d, dword [r11]
xor r9d, dword [r8 + rax*4 + 0x800]
mov eax, ebp
shr eax, 0x18
movzx ecx, al
movzx eax, bpl
add eax, 0x100
rol r12d, 1
rol r13d, 1
xor r9d, dword [r8 + rcx*4]
xor r9d, dword [r8 + rax*4]
mov eax, r14d
shr eax, 0x18
movzx ecx, al
mov eax, r14d
shr eax, 0x10
movzx eax, al
mov edx, dword [r8 + rcx*4 + 0xc00]
xor edx, dword [r8 + rax*4 + 0x800]
mov eax, r14d
shr eax, 8
movzx ecx, al
movzx eax, r14b
xor edx, dword [r8 + rcx*4 + 0x400]
xor edx, dword [r8 + rax*4]
add edx, r9d
lea eax, [r10 + rdx]
xor ebx, eax
lea eax, [r11 + r9]
add eax, edx
ror ebx, 1
xor r12d, eax
mov eax, r15d
shr eax, 0x10
movzx ecx, al
mov eax, r15d
shr eax, 8
movzx eax, al
mov r9d, dword [r8 + rcx*4 + 0xc00]
xor r9d, dword [r8 + rax*4 + 0x800]
movzx eax, r15b
add eax, 0x100
xor r9d, dword [r8 + rax*4]
mov eax, r15d
shr eax, 0x18
movzx ecx, al
mov eax, esi
shr eax, 0x18
xor r9d, dword [r8 + rcx*4]
movzx ecx, al
mov eax, esi
shr eax, 0x10
movzx eax, al
mov edx, dword [r8 + rcx*4 + 0xc00]
xor edx, dword [r8 + rax*4 + 0x800]
mov eax, esi
shr eax, 8
movzx ecx, al
movzx eax, sil
xor edx, dword [r8 + rcx*4 + 0x400]
xor edx, dword [r8 + rax*4]
add edx, r9d
lea eax, [r10 + rdx]
xor eax, dword [rsp + 0x20]
ror eax, 1
mov dword [rsp + 0x20], eax
lea eax, [r11 + r9]
add eax, edx
xor r13d, eax
mov eax, r12d
shr eax, 0x10
movzx ecx, al
mov r9d, dword [r8 + rcx*4 + 0xc00]
mov eax, r12d
shr eax, 8
movzx eax, al
rol ebp, 1
rol r15d, 1
xor r9d, dword [r8 + rax*4 + 0x800]
movzx eax, r12b
add eax, 0x100
xor r9d, dword [r8 + rax*4]
mov eax, r12d
shr eax, 0x18
movzx ecx, al
mov eax, ebx
shr eax, 0x18
xor r9d, dword [r8 + rcx*4]
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov edx, dword [r8 + rcx*4 + 0xc00]
xor edx, dword [r8 + rax*4 + 0x800]
mov eax, ebx
shr eax, 8
movzx ecx, al
movzx eax, bl
xor edx, dword [r8 + rcx*4 + 0x400]
xor edx, dword [r8 + rax*4]
mov rcx, qword [rsp + 0x30]
add edx, r9d
mov r11d, dword [rcx + 8]
mov r10d, dword [rcx + 4]
lea eax, [r10 + rdx]
xor r14d, eax
lea eax, [r11 + r9]
mov r9d, dword [rsp + 0x20]
add eax, edx
xor ebp, eax
ror r14d, 1
mov rdx, r8
mov eax, r13d
shr eax, 0x10
movzx ecx, al
mov eax, r13d
shr eax, 8
movzx eax, al
mov r8d, dword [r8 + rcx*4 + 0xc00]
xor r8d, dword [rdx + rax*4 + 0x800]
movzx eax, r13b
add eax, 0x100
xor r8d, dword [rdx + rax*4]
mov eax, r13d
shr eax, 0x18
movzx ecx, al
mov eax, r9d
shr eax, 0x18
xor r8d, dword [rdx + rcx*4]
movzx ecx, al
mov eax, r9d
shr eax, 0x10
movzx eax, al
mov edx, dword [rdx + rcx*4 + 0xc00]
mov rcx, qword [rdi + 8]
xor edx, dword [rcx + rax*4 + 0x800]
mov eax, r9d
shr eax, 8
movzx ecx, al
mov rax, qword [rdi + 8]
xor edx, dword [rax + rcx*4 + 0x400]
mov rcx, qword [rdi + 8]
movzx eax, r9b
xor edx, dword [rcx + rax*4]
add edx, r8d
lea eax, [r10 + rdx]
xor esi, eax
lea eax, [r11 + r8]
mov r11, qword [rsp + 0x30]
add eax, edx
xor r15d, eax
ror esi, 1
add r11, 0x10
sub qword [rsp + 0x38], 1
mov qword [rsp + 0x30], r11
jne 0x1800bc0c0
mov dword [rsp + 0x24], r14d
mov r14, qword [rsp + 0x48]
mov r9d, dword [r14 + 0x18]
mov r10d, r9d
mov r11d, dword [r14 + 0x1c]
xor r10d, esi
mov rsi, qword [rsp + 0xb0]
mov edi, r11d
mov edx, dword [r14 + 0x14]
xor edi, r15d
mov eax, dword [r14 + 0x10]
mov r8d, edx
xor r9d, dword [rsp + 0x24]
mov ecx, eax
xor ecx, dword [rsp + 0x20]
xor eax, ebx
mov rbx, qword [rsp + 0xa8]
xor r8d, r13d
xor r11d, ebp
mov dword [rsi + 0x1c], edi
mov rdi, qword [rsp + 0xa0]
xor edx, r12d
add rbx, 0x20
mov dword [rsi], eax
mov dword [rsi + 4], edx
mov dword [rsi + 8], r9d
mov dword [rsi + 0xc], r11d
mov dword [rsi + 0x10], ecx
mov dword [rsi + 0x14], r8d
mov dword [rsi + 0x18], r10d
add rsi, 0x20
sub qword [rsp + 0x40], 1
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xa8], rbx
jne 0x1800bc050
mov rbp, qword [rsp + 0xb8]
mov r13d, 8
test rbp, rbp
je 0x1800bc571
mov r12, qword [rdi + 0x20]
mov r14, qword [rsp + 0xa0]
mov edi, dword [r12]
lea r15, [r12 + 0x28]
xor edi, dword [rbx]
mov r10d, dword [r12 + 4]
xor r10d, dword [rbx + 4]
mov ebp, dword [r12 + 8]
xor ebp, dword [rbx + 8]
mov r11d, dword [r12 + 0xc]
xor r11d, dword [rbx + 0xc]
mov rbx, qword [r14 + 8]
nop word [rax + rax]
mov eax, r10d
rol r11d, 1
shr rax, 0x10
lea r15, [r15 + 0x10]
movzx ecx, al
mov eax, r10d
shr rax, 8
movzx eax, al
mov r9d, dword [rbx + rcx*4 + 0xc00]
xor r9d, dword [rbx + rax*4 + 0x800]
mov eax, r10d
shr eax, 0x18
movzx ecx, al
movzx eax, r10b
rol r10d, 1
xor r9d, dword [rbx + rcx*4]
xor r9d, dword [rbx + rax*4 + 0x400]
mov eax, edi
shr eax, 0x18
movzx ecx, al
mov eax, edi
shr eax, 0x10
movzx eax, al
mov edx, dword [rbx + rcx*4 + 0xc00]
xor edx, dword [rbx + rax*4 + 0x800]
mov eax, edi
shr eax, 8
movzx ecx, al
movzx eax, dil
xor edx, dword [rbx + rcx*4 + 0x400]
xor edx, dword [rbx + rax*4]
mov eax, dword [r15 - 0x18]
add edx, r9d
add eax, edx
xor ebp, eax
mov eax, dword [r15 - 0x14]
add eax, r9d
ror ebp, 1
add eax, edx
xor r11d, eax
mov eax, r11d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
shr eax, 8
movzx eax, al
mov r8d, dword [rbx + rcx*4 + 0xc00]
xor r8d, dword [rbx + rax*4 + 0x800]
movzx eax, r11b
add eax, 0x100
xor r8d, dword [rbx + rax*4]
mov eax, r11d
shr eax, 0x18
movzx ecx, al
mov eax, ebp
shr eax, 0x18
xor r8d, dword [rbx + rcx*4]
movzx ecx, al
mov eax, ebp
shr eax, 0x10
movzx eax, al
mov edx, dword [rbx + rcx*4 + 0xc00]
xor edx, dword [rbx + rax*4 + 0x800]
mov eax, ebp
shr eax, 8
movzx ecx, al
movzx eax, bpl
xor edx, dword [rbx + rcx*4 + 0x400]
xor edx, dword [rbx + rax*4]
mov ecx, dword [r15 - 0x10]
add edx, r8d
mov eax, dword [r15 - 0xc]
add ecx, edx
add eax, r8d
xor edi, ecx
add eax, edx
ror edi, 1
xor r10d, eax
sub r13, 1
jne 0x1800bc420
mov r8d, dword [r12 + 0x1c]
mov edx, dword [r12 + 0x18]
xor r8d, r10d
mov ecx, dword [r12 + 0x14]
xor edx, edi
mov eax, dword [r12 + 0x10]
xor ecx, r11d
xor eax, ebp
mov dword [rsi + 4], ecx
mov dword [rsi], eax
mov dword [rsi + 8], edx
mov dword [rsi + 0xc], r8d
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
add rsp, 0x70
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret