Function at 0x1800a85b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [rcx + 0x28]
mov rsi, r9
mov rdi, r8
mov r9, rdx
cmp qword [rcx + 0x20], rax
jne 0x1800a85f2
call fcn.1800331f0
mov rcx, qword [rsp + 0x80]
mov r9, qword [rsp + 0x88]
test rsi, rsi
je 0x1800a8b15
mov qword [rsp + 0x60], rbx
sub r9, rdi
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x88], r9
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx + 8]
mov r10, qword [rcx + 0x20]
mov ebx, dword [r9 + rdi]
mov r14d, dword [r10]
lea r8d, [r14 + rbx]
mov ecx, r8d
shr rcx, 0x10
movzx edx, cl
mov ecx, r8d
shr rcx, 0x18
mov r11d, dword [rax + rdx*4 + 0x800]
or r11d, dword [rax + rcx*4 + 0xc00]
mov ecx, r8d
shr ecx, 8
movzx edx, cl
movzx ecx, r8b
or r11d, dword [rax + rdx*4 + 0x400]
or r11d, dword [rax + rcx*4]
xor r11d, dword [r9 + rdi + 4]
mov r9d, dword [r10 + 4]
add r9d, r11d
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
mov r9d, dword [r10 + 8]
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
add r9d, ebx
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
mov r9d, dword [r10 + 0xc]
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
add r9d, r11d
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
mov r9d, dword [r10 + 0x10]
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
add r9d, ebx
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
mov r15d, dword [r10 + 0x1c]
mov r12d, dword [r10 + 0x18]
mov ebp, dword [r10 + 0x14]
or r8d, dword [rax + rdx*4 + 0x400]
mov r13d, dword [r10 + 0x10]
movzx ecx, r9b
mov r9d, dword [r10 + 0x14]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
add r9d, r11d
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
mov r9d, dword [r10 + 0x18]
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
add r9d, ebx
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
mov r9d, dword [r10 + 0x1c]
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
add r9d, r11d
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
mov ecx, dword [r10 + 0xc]
xor ebx, r8d
mov dword [rsp + 0x20], ecx
mov ecx, dword [r10 + 8]
mov esi, dword [rsp + 0x20]
mov dword [rsp + 0x24], ecx
mov ecx, dword [r10 + 4]
mov r10d, 3
mov edi, dword [rsp + 0x24]
mov dword [rsp + 0x28], ecx
nop dword [rax + rax]
lea r9d, [r15 + rbx]
mov ecx, r9d
shr rcx, 0x10
movzx edx, cl
mov ecx, r9d
shr rcx, 8
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0x800]
or r8d, dword [rax + rcx*4 + 0x400]
mov ecx, r9d
shr rcx, 0x18
or r8d, dword [rax + rcx*4 + 0xc00]
movzx ecx, r9b
or r8d, dword [rax + rcx*4]
xor r11d, r8d
lea r9d, [r12 + r11]
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [rbx + rbp]
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
lea r9d, [r11 + r13]
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
lea r9d, [rsi + rbx]
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
lea r9d, [rdi + r11]
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
mov r9d, dword [rsp + 0x28]
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
add r9d, ebx
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor r11d, r8d
lea r9d, [r14 + r11]
mov ecx, r9d
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
shr ecx, 0x10
movzx ecx, cl
mov r8d, dword [rax + rdx*4 + 0xc00]
or r8d, dword [rax + rcx*4 + 0x800]
mov ecx, r9d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
or r8d, dword [rax + rdx*4 + 0x400]
or r8d, dword [rax + rcx*4]
xor ebx, r8d
sub r10, 1
jne 0x1800a88a0
mov rdi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
mov r9, qword [rsp + 0x88]
mov dword [rdi], r11d
mov dword [rdi + 4], ebx
add rdi, 8
sub qword [rsp + 0x98], 1
mov qword [rsp + 0x90], rdi
jne 0x1800a8630
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x68
pop rdi
pop rsi
ret