Function at 0x1800d7720
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, 0x8a0
mov rax, qword [0x1803a0f20]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov rbx, r8
lea rax, [rsp + 0x90]
mov r9d, 8
mov qword [rsp + 0x88], rbx
mov r10d, r9d
mov r8, rcx
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 0x1800d7770
lea r10, [rsp + 0x90]
add rcx, 0x10
sub r10, r8
lea r11, [rsp + 0x98]
sub r11, r8
mov r8d, 0x20
mov qword [rsp + 0x40], r8
mov edx, r8d
nop dword [rax + rax]
mov rax, qword [rcx - 0x10]
xor qword [r10 + rcx - 0x10], rax
mov rax, qword [rcx - 8]
xor qword [r11 + rcx - 0x10], rax
mov rax, qword [rcx]
xor qword [r10 + rcx], rax
mov rax, qword [rcx + 8]
xor qword [r11 + rcx], rax
lea rcx, [rcx + 0x20]
sub rdx, 1
jne 0x1800d77f0
lea rax, [rsp + 0x490]
mov rdx, r9
lea rcx, [rsp + 0x90]
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 0x1800d7830
lea rax, [rbx + 0x10]
lea r10, [rsp + 0x490]
mov qword [rsp + 0x38], rax
sub r10, rbx
lea r11, [rsp + 0x498]
sub r11, rbx
mov rdx, rax
nop word [rax + rax]
mov rcx, qword [rdx - 0x10]
xor qword [r10 + rdx - 0x10], rcx
mov rcx, qword [rdx - 8]
xor qword [r11 + rdx - 0x10], rcx
mov rcx, qword [rdx]
xor qword [r10 + rdx], rcx
mov rcx, qword [rdx + 8]
xor qword [r11 + rdx], rcx
lea rdx, [rdx + 0x20]
sub r8, 1
jne 0x1800d78b0
lea rax, [rsp + 0xe0]
mov qword [rsp], r9
nop word [rax + rax]
mov r9, qword [rax - 0x30]
mov r8, qword [rax - 0x50]
mov r11, qword [rax + 0x10]
mov ecx, r9d
mov edx, r8d
imul rdx, rcx
lea r10, [r8 + rdx*2]
mov r8, qword [rax - 0x10]
add r10, r9
mov edx, r8d
xor r11, r10
ror r11, 0x20
mov ecx, r11d
imul rdx, rcx
lea r8, [r8 + rdx*2]
mov edx, r10d
add r8, r11
mov rbx, r8
xor rbx, r9
ror rbx, 0x18
mov ecx, ebx
imul rdx, rcx
lea rdi, [r10 + rdx*2]
mov edx, r8d
add rdi, rbx
mov r9, rdi
xor r9, r11
mov r11, qword [rax + 0x18]
ror r9, 0x10
mov ecx, r9d
imul rdx, rcx
mov qword [rsp + 8], r9
lea rcx, [r8 + rdx*2]
mov r8, qword [rax - 0x48]
add rcx, r9
mov edx, r8d
mov r9, qword [rax - 0x28]
xor rbx, rcx
mov qword [rsp + 0x18], rcx
mov ecx, r9d
imul rdx, rcx
rol rbx, 1
mov qword [rsp + 0x20], rbx
lea r10, [r8 + rdx*2]
mov r8, qword [rax - 8]
add r10, r9
mov edx, r8d
xor r11, r10
ror r11, 0x20
mov ecx, r11d
imul rdx, rcx
lea r8, [r8 + rdx*2]
mov edx, r10d
add r8, r11
mov r13, r8
xor r13, r9
ror r13, 0x18
mov ecx, r13d
imul rdx, rcx
lea rsi, [r10 + rdx*2]
mov edx, r8d
add rsi, r13
mov r9, rsi
xor r9, r11
ror r9, 0x10
mov ecx, r9d
imul rdx, rcx
mov qword [rsp + 0x10], r9
lea rcx, [r8 + rdx*2]
mov r8, qword [rax - 0x40]
add rcx, r9
mov edx, r8d
mov r9, qword [rax - 0x20]
xor r13, rcx
mov qword [rsp + 0x30], rcx
mov ecx, r9d
imul rdx, rcx
rol r13, 1
lea r10, [r8 + rdx*2]
add r10, r9
mov r11, r10
xor r11, qword [rax + 0x20]
mov r8, qword [rax]
mov edx, r8d
ror r11, 0x20
mov ecx, r11d
imul rdx, rcx
lea r8, [r8 + rdx*2]
mov edx, r10d
add r8, r11
mov rbp, r8
xor rbp, r9
ror rbp, 0x18
mov ecx, ebp
imul rdx, rcx
lea r14, [r10 + rdx*2]
mov edx, r8d
add r14, rbp
mov r9, r14
xor r9, r11
mov r11, qword [rax + 0x28]
ror r9, 0x10
mov ecx, r9d
imul rdx, rcx
mov qword [rsp + 0x28], r9
lea rbx, [r8 + rdx*2]
mov r8, qword [rax - 0x38]
add rbx, r9
mov edx, r8d
mov r9, qword [rax - 0x18]
xor rbp, rbx
mov ecx, r9d
imul rdx, rcx
rol rbp, 1
lea r10, [r8 + rdx*2]
mov r8, qword [rax + 8]
add r10, r9
mov edx, r8d
xor r11, r10
ror r11, 0x20
mov ecx, r11d
imul rdx, rcx
lea r8, [r8 + rdx*2]
mov edx, r10d
add r8, r11
mov r12, r8
xor r12, r9
ror r12, 0x18
mov ecx, r12d
imul rdx, rcx
lea r15, [r10 + rdx*2]
mov edx, r8d
add r15, r12
mov r9, r15
xor r9, r11
ror r9, 0x10
mov ecx, r9d
imul rdx, rcx
mov ecx, r13d
lea r11, [r8 + rdx*2]
mov edx, edi
imul rdx, rcx
add r11, r9
xor r12, r11
rol r12, 1
lea r8, [rdi + rdx*2]
mov edx, ebx
add r8, r13
mov r10, r8
xor r10, r9
ror r10, 0x20
mov ecx, r10d
imul rdx, rcx
lea r9, [rbx + rdx*2]
mov edx, r8d
add r9, r10
xor r13, r9
ror r13, 0x18
mov ecx, r13d
imul rdx, rcx
lea r8, [r8 + rdx*2]
add r8, r13
mov qword [rax - 0x50], r8
xor r8, r10
ror r8, 0x10
mov ecx, r8d
mov qword [rax + 0x28], r8
mov edx, r9d
imul rdx, rcx
mov ecx, ebp
lea rdx, [r9 + rdx*2]
add rdx, r8
xor r13, rdx
mov qword [rax], rdx
mov edx, esi
imul rdx, rcx
rol r13, 1
mov qword [rax - 0x28], r13
lea r8, [rsi + rdx*2]
mov edx, r11d
add r8, rbp
mov r9, r8
xor r9, qword [rsp + 8]
ror r9, 0x20
mov ecx, r9d
imul rdx, rcx
lea r10, [r11 + rdx*2]
mov edx, r8d
add r10, r9
xor rbp, r10
ror rbp, 0x18
mov ecx, ebp
imul rdx, rcx
lea r8, [r8 + rdx*2]
mov edx, r10d
add r8, rbp
mov qword [rax - 0x48], r8
xor r8, r9
ror r8, 0x10
mov ecx, r8d
imul rdx, rcx
mov qword [rax + 0x10], r8
mov ecx, r12d
lea rdx, [r10 + rdx*2]
mov r10, qword [rsp + 0x18]
add rdx, r8
mov qword [rax + 8], rdx
xor rdx, rbp
rol rdx, 1
mov qword [rax - 0x20], rdx
mov edx, r14d
imul rdx, rcx
lea r8, [r14 + rdx*2]
mov edx, r10d
add r8, r12
mov r9, r8
xor r9, qword [rsp + 0x10]
ror r9, 0x20
mov ecx, r9d
imul rdx, rcx
lea r10, [r10 + rdx*2]
mov edx, r8d
add r10, r9
xor r12, r10
ror r12, 0x18
mov ecx, r12d
imul rdx, rcx
lea r8, [r8 + rdx*2]
mov edx, r10d
add r8, r12
mov qword [rax - 0x40], r8
xor r8, r9
ror r8, 0x10
mov ecx, r8d
imul rdx, rcx
mov qword [rax + 0x18], r8
lea rdx, [r10 + rdx*2]
add rdx, r8
mov qword [rax - 0x10], rdx
xor rdx, r12
rol rdx, 1
mov qword [rax - 0x18], rdx
mov edx, r15d
mov r11, qword [rsp + 0x20]
lea rax, [rax + 0x80]
mov r10, qword [rsp + 0x30]
mov ecx, r11d
imul rdx, rcx
lea r8, [r15 + rdx*2]
mov edx, r10d
add r8, r11
mov r9, r8
xor r9, qword [rsp + 0x28]
ror r9, 0x20
mov ecx, r9d
imul rdx, rcx
lea r10, [r10 + rdx*2]
mov edx, r8d
add r10, r9
xor r11, r10
ror r11, 0x18
mov ecx, r11d
imul rdx, rcx
lea r8, [r8 + rdx*2]
mov edx, r10d
add r8, r11
mov qword [rax - 0xb8], r8
xor r8, r9
ror r8, 0x10
mov ecx, r8d
imul rdx, rcx
mov qword [rax - 0x60], r8
lea rdx, [r10 + rdx*2]
add rdx, r8
mov qword [rax - 0x88], rdx
xor rdx, r11
rol rdx, 1
sub qword [rsp], 1
mov qword [rax - 0xb0], rdx
jne 0x1800d78f0
mov rax, qword [rsp + 0x38]
lea rdi, [rsp + 0x198]
mov esi, 0x60
mov qword [rsp], rdi
mov dword [rsp + 8], esi
nop dword [rax + rax]
mov r8, qword [rdi - 0x108]
lea edx, [rsi - 0x40]
lea rbx, [rsp + 0x90]
lea rcx, [rsp + 0x90]
mov r10, qword [rcx + rdx*8]
lea rcx, [rcx + rdx*8]
mov qword [rsp + 0x80], rcx
mov edx, r8d
mov ecx, r10d
imul rdx, rcx
mov ecx, esi
lea rcx, [rbx + rcx*8]
lea r11, [r8 + rdx*2]
mov qword [rsp + 0x20], rcx
add r11, r10
lea edx, [rsi - 0x20]
mov rbx, r11
xor rbx, qword [rcx]
lea rcx, [rsp + 0x90]
mov r8, qword [rcx + rdx*8]
lea rcx, [rcx + rdx*8]
mov qword [rsp + 0x58], rcx
ror rbx, 0x20
mov edx, r8d
mov ecx, ebx
imul rdx, rcx
lea r8, [r8 + rdx*2]
mov edx, r11d
add r8, rbx
mov r9, r8
xor r9, r10
ror r9, 0x18
mov ecx, r9d
imul rdx, rcx
lea rcx, [r11 + rdx*2]
mov edx, r8d
add rcx, r9
xor rbx, rcx
mov qword [rsp + 0x38], rcx
ror rbx, 0x10
mov ecx, ebx
imul rdx, rcx
mov qword [rsp + 0x28], rbx
lea rcx, [r8 + rdx*2]
mov r8, qword [rdi - 0x100]
add rcx, rbx
mov edx, r8d
mov qword [rsp + 0x48], rcx
xor rcx, r9
mov r9, qword [rdi]
rol rcx, 1
mov qword [rsp + 0x60], rcx
mov ecx, r9d
imul rdx, rcx
lea r11, [r8 + rdx*2]
mov r8, qword [rdi + 0x100]
add r11, r9
mov edx, r8d
mov rbx, r11
xor rbx, qword [rdi + 0x200]
ror rbx, 0x20
mov ecx, ebx
imul rdx, rcx
lea r8, [r8 + rdx*2]
mov edx, r11d
add r8, rbx
mov r10, r8
xor r10, r9
ror r10, 0x18
mov ecx, r10d
imul rdx, rcx
lea rcx, [r11 + rdx*2]
mov edx, r8d
add rcx, r10
mov r9, rcx
mov qword [rsp + 0x30], rcx
xor r9, rbx
ror r9, 0x10
mov ecx, r9d
imul rdx, rcx
mov qword [rsp + 0x10], r9
lea rcx, [r8 + rdx*2]
add rcx, r9
lea edx, [rsi - 0x30]
mov r15, rcx
mov qword [rsp + 0x70], rcx
xor r15, r10
lea rcx, [rsp + 0x90]
mov r10, qword [rcx + rdx*8]
lea rcx, [rcx + rdx*8]
mov qword [rsp + 0x18], rcx
lea edx, [rsi - 0x50]
lea rcx, [rsp + 0x90]
rol r15, 1
mov r8, qword [rcx + rdx*8]
lea rcx, [rcx + rdx*8]
mov qword [rsp + 0x50], rcx
lea r14, [rsp + 0x90]
mov edx, r8d
mov ecx, r10d
imul rdx, rcx
lea rcx, [rsp + 0x90]
lea r11, [r8 + rdx*2]
add r11, r10
lea edx, [rsi + 0x10]
lea rcx, [rcx + rdx*8]
mov rbx, r11
xor rbx, qword [rcx]
ror rbx, 0x20
mov qword [rsp + 0x78], rcx
lea ecx, [rsi - 0x10]
mov r8, qword [r14 + rcx*8]
lea r14, [r14 + rcx*8]
mov edx, r8d
mov ecx, ebx
imul rdx, rcx
lea r8, [r8 + rdx*2]
mov edx, r11d
add r8, rbx
mov r9, r8
xor r9, r10
mov r10, qword [rsp]
ror r9, 0x18
mov ecx, r9d
imul rdx, rcx
lea r13, [r11 + rdx*2]
mov edx, r8d
add r13, r9
xor rbx, r13
ror rbx, 0x10
mov ecx, ebx
imul rdx, rcx
mov qword [rsp + 0x68], rbx
lea rdi, [r8 + rdx*2]
mov r8, qword [r10 - 0x80]
add rdi, rbx
mov edx, r8d
mov rsi, rdi
xor rsi, r9
mov r9, qword [r10 + 0x80]
mov ecx, r9d
imul rdx, rcx
rol rsi, 1
lea r11, [r8 + rdx*2]
mov r8, qword [r10 + 0x180]
add r11, r9
mov edx, r8d
mov rbx, r11
xor rbx, qword [r10 + 0x280]
ror rbx, 0x20
mov ecx, ebx
imul rdx, rcx
lea r8, [r8 + rdx*2]
mov edx, r11d
add r8, rbx
mov r10, r8
xor r10, r9
ror r10, 0x18
mov ecx, r10d
imul rdx, rcx
lea r12, [r11 + rdx*2]
add r12, r10
mov edx, r8d
mov r9, r12
xor r9, rbx
ror r9, 0x10
mov ecx, r9d
imul rdx, rcx
mov ecx, r15d
lea rbx, [r8 + rdx*2]
mov r8, qword [rsp + 0x38]
mov edx, r8d
add rbx, r9
imul rdx, rcx
mov rbp, rbx
xor rbp, r10
rol rbp, 1
lea r8, [r8 + rdx*2]
mov edx, edi
add r8, r15
mov r10, r8
xor r10, r9
ror r10, 0x20
mov ecx, r10d
imul rdx, rcx
lea r9, [rdi + rdx*2]
mov rdi, qword [rsp]
mov edx, r8d
add r9, r10
mov r11, r9
xor r11, r15
ror r11, 0x18
mov ecx, r11d
imul rdx, rcx
lea r8, [r8 + rdx*2]
mov edx, r9d
add r8, r11
mov qword [rdi - 0x108], r8
xor r8, r10
ror r8, 0x10
mov ecx, r8d
imul rdx, rcx
mov qword [rdi + 0x280], r8
mov ecx, esi
lea rdx, [r9 + rdx*2]
add rdx, r8
mov r8, qword [rsp + 0x30]
mov qword [r14], rdx
xor rdx, r11
mov r11, qword [rsp + 0x28]
rol rdx, 1
mov qword [rdi], rdx
mov edx, r8d
imul rdx, rcx
lea r8, [r8 + rdx*2]
mov edx, ebx
add r8, rsi
xor r11, r8
ror r11, 0x20
mov ecx, r11d
imul rdx, rcx
lea r9, [rbx + rdx*2]
mov edx, r8d
add r9, r11
mov r10, r9
xor r10, rsi
ror r10, 0x18
mov ecx, r10d
imul rdx, rcx
mov rcx, qword [rsp + 0x20]
lea r8, [r8 + rdx*2]
mov edx, r9d
add r8, r10
mov qword [rdi - 0x100], r8
xor r8, r11
ror r8, 0x10
mov qword [rcx], r8
mov ecx, r8d
imul rdx, rcx
lea rdx, [r9 + rdx*2]
add rdx, r8
mov qword [rdi + 0x180], rdx
xor rdx, r10
mov rcx, qword [rsp + 0x18]
mov r10, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x60]
mov esi, dword [rsp + 8]
rol rdx, 1
mov qword [rcx], rdx
mov ecx, ebp
mov edx, r13d
imul rdx, rcx
lea r8, [rdx*2]
mov edx, r10d
add r8, r13
add r8, rbp
mov r9, r8
xor r9, qword [rsp + 0x10]
ror r9, 0x20
mov ecx, r9d
imul rdx, rcx
lea r10, [r10 + rdx*2]
mov edx, r8d
add r10, r9
mov r11, r10
xor r11, rbp
ror r11, 0x18
mov ecx, r11d
imul rdx, rcx
mov rcx, qword [rsp + 0x50]
lea r8, [r8 + rdx*2]
mov edx, r10d
add r8, r11
mov qword [rcx], r8
xor r8, r9
mov r9, qword [rsp + 0x70]
ror r8, 0x10
mov ecx, r8d
imul rdx, rcx
mov rcx, qword [rsp + 0x58]
mov qword [rdi + 0x200], r8
lea rdx, [r10 + rdx*2]
add rdx, r8
mov qword [rcx], rdx
xor rdx, r11
rol rdx, 1
mov qword [rdi + 0x80], rdx
mov ecx, ebx
mov edx, r12d
imul rdx, rcx
lea r8, [r12 + rdx*2]
mov edx, r9d
add r8, rbx
mov r10, r8
xor r10, qword [rsp + 0x68]
ror r10, 0x20
mov ecx, r10d
imul rdx, rcx
lea r9, [r9 + rdx*2]
mov edx, r8d
add r9, r10
mov r11, r9
xor r11, rbx
ror r11, 0x18
mov ecx, r11d
imul rdx, rcx
mov rcx, qword [rsp + 0x78]
lea r8, [r8 + rdx*2]
mov edx, r9d
add r8, r11
mov qword [rdi - 0x80], r8
xor r8, r10
ror r8, 0x10
mov qword [rcx], r8
mov ecx, r8d
imul rdx, rcx
mov rcx, qword [rsp + 0x80]
lea rdx, [r9 + rdx*2]
add rdx, r8
mov qword [rdi + 0x100], rdx
xor rdx, r11
rol rdx, 1
mov qword [rcx], rdx
add esi, 2
add rdi, 0x10
mov dword [rsp + 8], esi
mov qword [rsp], rdi
cmp esi, 0x70
jb 0x1800d7cf0
mov r9, qword [rsp + 0x88]
lea rdx, [rsp + 0x490]
mov rcx, r9
mov r8d, 8
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x1800d81f0
lea rdx, [rsp + 0x90]
sub rdx, r9
lea r8, [rsp + 0x98]
sub r8, r9
nop dword [rax]
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 + 0x40], 1
jne 0x1800d8260
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.1800edae0
lea r11, [rsp + 0x8a0]
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