Function at 0x1800d6c40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x890
mov rax, qword [0x1803a0f20]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov r9d, 8
mov qword [rsp + 0x78], r8
mov r10d, r9d
lea rax, [rsp + 0x480]
mov r11, rcx
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub r10, 1
jne 0x1800d6c90
mov eax, 0x20
lea r8, [rsp + 0x480]
sub r8, r11
mov qword [rsp + 0x38], rax
add rcx, 0x10
lea r10, [rsp + 0x488]
sub r10, r11
mov edx, eax
nop dword [rax]
mov rax, qword [rcx - 0x10]
xor qword [r8 + rcx - 0x10], rax
mov rax, qword [rcx - 8]
xor qword [r10 + rcx - 0x10], rax
mov rax, qword [rcx]
xor qword [r8 + rcx], rax
mov rax, qword [rcx + 8]
xor qword [r10 + rcx], rax
lea rcx, [rcx + 0x20]
sub rdx, 1
jne 0x1800d6d10
lea rax, [rsp + 0x80]
mov rdx, r9
lea rcx, [rsp + 0x480]
nop
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x1800d6d50
lea rbx, [rsp + 0x4d0]
mov qword [rsp + 8], r9
mov qword [rsp], rbx
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx - 0x30]
mov rdx, qword [rbx - 0x50]
mov r14, qword [rsp]
mov ecx, edx
mov eax, r8d
imul rcx, rax
mov r15, qword [r14 - 0x20]
lea r9, [rdx + rcx*2]
mov rdx, qword [rbx - 0x10]
add r9, r8
mov ecx, edx
mov r10, r9
xor r10, qword [rbx + 0x10]
ror r10, 0x20
mov eax, r10d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r9d
add rdx, r10
mov r11, rdx
xor r11, r8
mov r8, qword [r14 - 0x28]
ror r11, 0x18
mov eax, r11d
imul rcx, rax
lea rbx, [r9 + rcx*2]
mov ecx, edx
add rbx, r11
mov r13, rbx
xor r13, r10
mov r10, qword [r14 + 0x18]
ror r13, 0x10
mov eax, r13d
imul rcx, rax
lea rax, [rdx + rcx*2]
mov rdx, qword [r14 - 0x48]
add rax, r13
mov ecx, edx
xor r11, rax
mov qword [rsp + 0x18], rax
mov eax, r8d
imul rcx, rax
rol r11, 1
mov qword [rsp + 0x20], r11
lea r9, [rdx + rcx*2]
mov rdx, qword [r14 - 8]
add r9, r8
mov ecx, edx
xor r10, r9
ror r10, 0x20
mov eax, r10d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r9d
add rdx, r10
mov rbp, rdx
xor rbp, r8
ror rbp, 0x18
mov eax, ebp
imul rcx, rax
lea rdi, [r9 + rcx*2]
mov r9, qword [r14 + 0x20]
add rdi, rbp
mov ecx, edx
xor r10, rdi
ror r10, 0x10
mov eax, r10d
imul rcx, rax
mov qword [rsp + 0x10], r10
lea rax, [rdx + rcx*2]
mov rdx, qword [r14 - 0x40]
add rax, r10
mov ecx, edx
xor rbp, rax
mov qword [rsp + 0x30], rax
mov eax, r15d
imul rcx, rax
rol rbp, 1
lea r8, [rdx + rcx*2]
add r8, r15
xor r9, r8
mov rdx, qword [r14]
mov r12, qword [r14 - 0x18]
mov r11, qword [r14 + 0x28]
mov ecx, edx
ror r9, 0x20
mov eax, r9d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, r9
xor r15, rdx
ror r15, 0x18
mov eax, r15d
imul rcx, rax
lea rsi, [r8 + rcx*2]
mov ecx, edx
add rsi, r15
xor r9, rsi
ror r9, 0x10
mov eax, r9d
imul rcx, rax
mov qword [rsp + 0x28], r9
lea rax, [rdx + rcx*2]
mov rdx, qword [r14 - 0x38]
add r9, rax
mov ecx, edx
mov eax, r12d
xor r15, r9
imul rcx, rax
rol r15, 1
lea r8, [rdx + rcx*2]
mov rdx, qword [r14 + 8]
add r8, r12
mov ecx, edx
xor r11, r8
ror r11, 0x20
mov eax, r11d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, r11
xor r12, rdx
ror r12, 0x18
mov eax, r12d
imul rcx, rax
lea r14, [r8 + rcx*2]
mov ecx, edx
add r14, r12
xor r11, r14
ror r11, 0x10
mov eax, r11d
imul rcx, rax
mov eax, ebp
lea r10, [rdx + rcx*2]
mov ecx, ebx
imul rcx, rax
add r10, r11
xor r12, r10
rol r12, 1
lea rdx, [rbx + rcx*2]
mov rbx, qword [rsp]
add rdx, rbp
mov ecx, r9d
xor r11, rdx
ror r11, 0x20
mov eax, r11d
imul rcx, rax
lea r8, [r9 + rcx*2]
mov ecx, edx
add r8, r11
xor rbp, r8
ror rbp, 0x18
mov eax, ebp
imul rcx, rax
lea rcx, [rdx + rcx*2]
add rcx, rbp
xor r11, rcx
mov qword [rbx - 0x50], rcx
ror r11, 0x10
mov qword [rbx + 0x28], r11
mov ecx, r8d
mov eax, r11d
imul rcx, rax
mov eax, r15d
lea rcx, [r8 + rcx*2]
add rcx, r11
xor rbp, rcx
mov qword [rbx], rcx
mov ecx, edi
imul rcx, rax
rol rbp, 1
mov qword [rbx - 0x28], rbp
lea rdx, [rdi + rcx*2]
mov ecx, r10d
add rdx, r15
mov r9, rdx
xor r9, r13
ror r9, 0x20
mov eax, r9d
imul rcx, rax
lea r8, [r10 + rcx*2]
mov r10, qword [rsp + 0x20]
add r8, r9
mov ecx, edx
xor r15, r8
ror r15, 0x18
mov eax, r15d
imul rcx, rax
lea rcx, [rdx + rcx*2]
add rcx, r15
xor r9, rcx
mov qword [rbx - 0x48], rcx
ror r9, 0x10
mov eax, r9d
mov ecx, r8d
imul rcx, rax
mov eax, r12d
mov qword [rbx + 0x10], r9
lea rcx, [r8 + rcx*2]
mov r8, qword [rsp + 0x18]
add rcx, r9
xor r15, rcx
mov qword [rbx + 8], rcx
mov ecx, esi
imul rcx, rax
rol r15, 1
mov qword [rbx - 0x20], r15
lea rdx, [rsi + rcx*2]
mov ecx, r8d
add rdx, r12
mov r9, rdx
xor r9, qword [rsp + 0x10]
ror r9, 0x20
mov eax, r9d
imul rcx, rax
lea r8, [r8 + rcx*2]
mov ecx, edx
add r8, r9
xor r12, r8
ror r12, 0x18
mov eax, r12d
imul rcx, rax
lea rcx, [rdx + rcx*2]
add rcx, r12
xor r9, rcx
mov qword [rbx - 0x40], rcx
ror r9, 0x10
mov eax, r9d
mov ecx, r8d
imul rcx, rax
mov eax, r10d
mov qword [rbx + 0x18], r9
lea rcx, [r8 + rcx*2]
add rcx, r9
xor r12, rcx
mov qword [rbx - 0x10], rcx
rol r12, 1
mov ecx, r14d
imul rcx, rax
mov qword [rbx - 0x18], r12
lea rdx, [r14 + rcx*2]
add rdx, r10
mov r9, qword [rsp + 0x30]
mov r8, rdx
xor r8, qword [rsp + 0x28]
ror r8, 0x20
mov ecx, r9d
mov eax, r8d
imul rcx, rax
lea r9, [r9 + rcx*2]
mov ecx, edx
add r9, r8
xor r10, r9
ror r10, 0x18
mov eax, r10d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r9d
add rdx, r10
mov qword [rbx - 0x38], rdx
xor rdx, r8
ror rdx, 0x10
mov eax, edx
imul rcx, rax
mov qword [rbx + 0x20], rdx
lea rcx, [r9 + rcx*2]
add rcx, rdx
xor r10, rcx
mov qword [rbx - 8], rcx
rol r10, 1
mov qword [rbx - 0x30], r10
sub rbx, 0xffffffffffffff80
sub qword [rsp + 8], 1
mov qword [rsp], rbx
jne 0x1800d6dc0
mov ebx, 0x60
lea rdi, [rsp + 0x588]
mov dword [rsp + 8], ebx
mov qword [rsp], rdi
nop
mov rdx, qword [rdi - 0x108]
lea ecx, [rbx - 0x40]
lea rax, [rsp + 0x480]
mov r8, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x70], rax
mov ecx, edx
mov eax, r8d
imul rcx, rax
mov eax, ebx
lea r9, [rdx + rcx*2]
add r9, r8
lea rdx, [rsp + 0x480]
mov r10, qword [rdx + rax*8]
lea rax, [rdx + rax*8]
mov qword [rsp + 0x28], rax
lea ecx, [rbx - 0x20]
xor r10, r9
lea rax, [rsp + 0x480]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x48], rax
ror r10, 0x20
mov ecx, edx
mov eax, r10d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r9d
add rdx, r10
mov r11, rdx
xor r11, r8
mov r8, qword [rdi]
ror r11, 0x18
mov eax, r11d
imul rcx, rax
lea r12, [r9 + rcx*2]
mov ecx, edx
add r12, r11
xor r10, r12
ror r10, 0x10
mov eax, r10d
imul rcx, rax
mov qword [rsp + 0x30], r10
lea rax, [rdx + rcx*2]
mov rdx, qword [rdi - 0x100]
add rax, r10
mov ecx, edx
mov r10, qword [rdi + 0x200]
xor r11, rax
mov qword [rsp + 0x10], rax
mov eax, r8d
imul rcx, rax
rol r11, 1
mov qword [rsp + 0x50], r11
lea r9, [rdx + rcx*2]
mov rdx, qword [rdi + 0x100]
add r9, r8
mov ecx, edx
xor r10, r9
ror r10, 0x20
mov eax, r10d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r9d
add rdx, r10
mov r13, rdx
xor r13, r8
ror r13, 0x18
mov eax, r13d
imul rcx, rax
lea rbp, [r9 + rcx*2]
mov ecx, edx
add rbp, r13
mov r8, rbp
xor r8, r10
ror r8, 0x10
mov eax, r8d
imul rcx, rax
mov qword [rsp + 0x18], r8
lea rax, [rdx + rcx*2]
add rax, r8
xor r13, rax
mov qword [rsp + 0x60], rax
lea ecx, [rbx - 0x30]
rol r13, 1
lea rax, [rsp + 0x480]
mov r8, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x20], rax
lea ecx, [rbx - 0x50]
lea rax, [rsp + 0x480]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x40], rax
lea rdi, [rsp + 0x480]
mov ecx, edx
mov eax, r8d
imul rcx, rax
lea rax, [rsp + 0x480]
lea r9, [rdx + rcx*2]
add r9, r8
lea ecx, [rbx + 0x10]
lea rax, [rax + rcx*8]
mov r10, r9
xor r10, qword [rax]
mov qword [rsp + 0x68], rax
lea eax, [rbx - 0x10]
mov rdx, qword [rdi + rax*8]
lea rdi, [rdi + rax*8]
ror r10, 0x20
mov ecx, edx
mov eax, r10d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r9d
add rdx, r10
mov rsi, rdx
xor rsi, r8
ror rsi, 0x18
mov eax, esi
imul rcx, rax
lea r15, [r9 + rcx*2]
mov r9, qword [rsp]
mov ecx, edx
add r15, rsi
xor r10, r15
ror r10, 0x10
mov r8, qword [r9 + 0x80]
mov r11, qword [r9 + 0x280]
mov eax, r10d
imul rcx, rax
mov eax, r8d
mov qword [rsp + 0x58], r10
lea rbx, [rdx + rcx*2]
mov rdx, qword [r9 - 0x80]
mov ecx, edx
add rbx, r10
imul rcx, rax
xor rsi, rbx
rol rsi, 1
lea r10, [rdx + rcx*2]
mov rdx, qword [r9 + 0x180]
add r10, r8
mov ecx, edx
xor r11, r10
ror r11, 0x20
mov eax, r11d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r10d
add rdx, r11
mov r9, rdx
xor r9, r8
ror r9, 0x18
mov eax, r9d
imul rcx, rax
lea r14, [r10 + rcx*2]
mov ecx, edx
add r14, r9
mov r8, r14
xor r8, r11
ror r8, 0x10
mov eax, r8d
imul rcx, rax
mov eax, r13d
lea r10, [rdx + rcx*2]
mov ecx, r12d
imul rcx, rax
add r10, r8
mov r11, r10
xor r11, r9
rol r11, 1
lea rdx, [r12 + rcx*2]
mov ecx, ebx
add rdx, r13
mov r9, rdx
xor r9, r8
ror r9, 0x20
mov eax, r9d
imul rcx, rax
lea r8, [rbx + rcx*2]
mov rbx, qword [rsp + 0x30]
mov ecx, edx
add r8, r9
xor r13, r8
ror r13, 0x18
mov eax, r13d
imul rcx, rax
mov rax, qword [rsp]
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, r13
mov qword [rax - 0x108], rdx
xor rdx, r9
ror rdx, 0x10
mov qword [rax + 0x280], rdx
mov eax, edx
imul rcx, rax
mov eax, esi
lea rcx, [r8 + rcx*2]
add rcx, rdx
mov qword [rdi], rcx
xor rcx, r13
mov rdi, qword [rsp]
rol rcx, 1
mov qword [rdi], rcx
mov ecx, ebp
imul rcx, rax
lea rdx, [rcx*2]
mov ecx, r10d
add rdx, rbp
add rdx, rsi
xor rbx, rdx
ror rbx, 0x20
mov eax, ebx
imul rcx, rax
lea r8, [r10 + rcx*2]
mov ecx, edx
add r8, rbx
mov r9, r8
xor r9, rsi
ror r9, 0x18
mov eax, r9d
imul rcx, rax
mov rax, qword [rsp + 0x28]
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, r9
mov qword [rdi - 0x100], rdx
xor rdx, rbx
ror rdx, 0x10
mov qword [rax], rdx
mov eax, edx
imul rcx, rax
mov rax, qword [rsp + 0x20]
lea rcx, [r8 + rcx*2]
add rcx, rdx
mov qword [rdi + 0x180], rcx
xor rcx, r9
rol rcx, 1
mov qword [rax], rcx
mov ecx, r15d
mov eax, r11d
imul rcx, rax
mov r9, qword [rsp + 0x10]
mov ebx, dword [rsp + 8]
add ebx, 2
mov dword [rsp + 8], ebx
lea rdx, [r15 + rcx*2]
mov ecx, r9d
add rdx, r11
mov r8, rdx
xor r8, qword [rsp + 0x18]
ror r8, 0x20
mov eax, r8d
imul rcx, rax
lea r9, [r9 + rcx*2]
mov ecx, edx
add r9, r8
mov r10, r9
xor r10, r11
ror r10, 0x18
mov eax, r10d
imul rcx, rax
mov rax, qword [rsp + 0x40]
lea rdx, [rdx + rcx*2]
mov ecx, r9d
add rdx, r10
mov qword [rax], rdx
xor rdx, r8
mov r8, qword [rsp + 0x60]
ror rdx, 0x10
mov eax, edx
imul rcx, rax
mov rax, qword [rsp + 0x48]
mov qword [rdi + 0x200], rdx
lea rcx, [r9 + rcx*2]
mov r9, qword [rsp + 0x58]
add rcx, rdx
mov qword [rax], rcx
xor rcx, r10
mov r10, qword [rsp + 0x50]
rol rcx, 1
mov qword [rdi + 0x80], rcx
mov eax, r10d
mov ecx, r14d
imul rcx, rax
lea rdx, [r14 + rcx*2]
mov ecx, r8d
add rdx, r10
xor r9, rdx
ror r9, 0x20
mov eax, r9d
imul rcx, rax
lea r8, [r8 + rcx*2]
mov ecx, edx
add r8, r9
xor r10, r8
ror r10, 0x18
mov eax, r10d
imul rcx, rax
mov rax, qword [rsp + 0x68]
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, r10
mov qword [rdi - 0x80], rdx
xor rdx, r9
ror rdx, 0x10
mov qword [rax], rdx
mov eax, edx
imul rcx, rax
mov rax, qword [rsp + 0x70]
lea rcx, [r8 + rcx*2]
add rcx, rdx
mov qword [rdi + 0x100], rcx
xor rcx, r10
rol rcx, 1
add rdi, 0x10
mov qword [rax], rcx
mov qword [rsp], rdi
cmp ebx, 0x70
jb 0x1800d7190
mov r9, qword [rsp + 0x78]
lea rcx, [rsp + 0x80]
mov rax, r9
mov edx, 8
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x1800d7651
lea rdx, [rsp + 0x480]
sub rdx, r9
lea r8, [rsp + 0x488]
sub r8, r9
lea rax, [r9 + 0x10]
nop
mov rcx, qword [rdx + rax - 0x10]
xor qword [rax - 0x10], rcx
mov rcx, qword [r8 + rax - 0x10]
xor qword [rax - 8], rcx
mov rcx, qword [rdx + rax]
xor qword [rax], rcx
mov rcx, qword [r8 + rax]
xor qword [rax + 8], rcx
lea rax, [rax + 0x20]
sub qword [rsp + 0x38], 1
jne 0x1800d76c0
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.1800edae0
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret