Function at 0x1800121e0
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 [0x180068008]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov rbx, r8
lea rax, [rsp + 0x90]
mov r10d, 8
mov qword [rsp + 0x80], rbx
mov r11d, r10d
mov edi, r9d
mov r8, rcx
nop dword [rax]
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 r11, 1
jne 0x180012240
mov edx, 0x20
lea r9, [rsp + 0x90]
sub r9, r8
mov qword [rsp + 0x38], rdx
add rcx, 0x10
lea r11, [rsp + 0x98]
sub r11, r8
mov r8d, edx
nop word [rax + rax]
mov rax, qword [rcx - 0x10]
xor qword [r9 + rcx - 0x10], rax
mov rax, qword [rcx - 8]
xor qword [r11 + rcx - 0x10], rax
mov rax, qword [rcx]
xor qword [r9 + rcx], rax
mov rax, qword [rcx + 8]
xor qword [r11 + rcx], rax
lea rcx, [rcx + 0x20]
sub r8, 1
jne 0x1800122c0
lea rax, [rsp + 0x490]
mov r8, r10
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 r8, 1
jne 0x180012300
test edi, edi
je 0x18001239c
lea r8, [rsp + 0x490]
sub r8, rbx
lea r9, [rsp + 0x498]
sub r9, rbx
lea rcx, [rbx + 0x10]
mov rax, qword [rcx - 0x10]
xor qword [r8 + rcx - 0x10], rax
mov rax, qword [rcx - 8]
xor qword [r9 + rcx - 0x10], rax
mov rax, qword [rcx]
xor qword [r8 + rcx], rax
mov rax, qword [rcx + 8]
xor qword [r9 + rcx], rax
lea rcx, [rcx + 0x20]
sub rdx, 1
jne 0x180012371
lea r15, [rsp + 0xe0]
mov qword [rsp + 8], r10
mov qword [rsp], r15
nop dword [rax]
mov r8, qword [r15 - 0x30]
mov rdx, qword [r15 - 0x50]
mov r10, qword [r15 + 0x10]
mov ecx, edx
mov eax, r8d
imul rcx, rax
lea r9, [rdx + rcx*2]
mov rdx, qword [r15 - 0x10]
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 r11, rdx
xor r11, r8
mov r8, qword [r15 - 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 [r15 + 0x18]
ror r13, 0x10
mov eax, r13d
imul rcx, rax
lea rax, [rdx + rcx*2]
mov rdx, qword [r15 - 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 [r15 - 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 ecx, edx
add rdi, rbp
mov r8, rdi
xor r8, r10
mov r10, qword [r15 + 0x20]
ror r8, 0x10
mov eax, r8d
imul rcx, rax
mov qword [rsp + 0x10], r8
lea rax, [rdx + rcx*2]
mov rdx, qword [r15 - 0x40]
add rax, r8
mov ecx, edx
mov r8, qword [r15 - 0x20]
xor rbp, rax
mov qword [rsp + 0x30], rax
mov eax, r8d
imul rcx, rax
rol rbp, 1
lea r9, [rdx + rcx*2]
add r9, r8
xor r10, r9
mov rdx, qword [r15]
mov r14, qword [rsp]
mov ecx, edx
ror r10, 0x20
mov eax, r10d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r9d
add rdx, r10
mov r15, rdx
xor r15, r8
ror r15, 0x18
mov eax, r15d
imul rcx, rax
lea rsi, [r9 + rcx*2]
mov ecx, edx
add rsi, r15
mov r8, rsi
xor r8, r10
ror r8, 0x10
mov eax, r8d
imul rcx, rax
mov qword [rsp + 0x28], r8
lea r11, [rdx + rcx*2]
mov rdx, qword [r14 - 0x38]
add r11, r8
mov ecx, edx
mov r8, qword [r14 - 0x18]
xor r15, r11
mov eax, r8d
imul rcx, rax
rol r15, 1
lea r9, [rdx + rcx*2]
mov rdx, qword [r14 + 8]
add r9, r8
mov ecx, edx
mov r10, r9
xor r10, qword [r14 + 0x28]
ror r10, 0x20
mov eax, r10d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r9d
add rdx, r10
mov r12, rdx
xor r12, r8
ror r12, 0x18
mov eax, r12d
imul rcx, rax
lea r14, [r9 + rcx*2]
mov ecx, edx
add r14, r12
mov r8, r14
xor r8, r10
ror r8, 0x10
mov eax, r8d
imul rcx, rax
mov eax, ebp
lea r10, [rdx + rcx*2]
mov ecx, ebx
imul rcx, rax
add r10, r8
xor r12, r10
rol r12, 1
lea rdx, [rbx + rcx*2]
mov ecx, r11d
add rdx, rbp
mov r9, rdx
xor r9, r8
ror r9, 0x20
mov eax, r9d
imul rcx, rax
lea r8, [r11 + rcx*2]
mov ecx, edx
add r8, r9
xor rbp, r8
ror rbp, 0x18
mov eax, ebp
imul rcx, rax
lea rdx, [rdx + rcx*2]
add rdx, rbp
mov r11, qword [rsp]
mov ecx, r8d
mov qword [r11 - 0x50], rdx
xor rdx, r9
ror rdx, 0x10
mov eax, edx
imul rcx, rax
mov qword [r11 + 0x28], rdx
mov eax, r15d
lea rcx, [r8 + rcx*2]
add rcx, rdx
mov qword [r11], rcx
xor rcx, rbp
rol rcx, 1
mov qword [r11 - 0x28], rcx
mov ecx, edi
imul rcx, rax
lea rdx, [rdi + rcx*2]
mov ecx, r10d
add rdx, r15
mov r8, rdx
xor r8, r13
ror r8, 0x20
mov eax, r8d
imul rcx, rax
lea r9, [r10 + rcx*2]
mov ecx, edx
add r9, r8
xor r15, r9
ror r15, 0x18
mov eax, r15d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r9d
add rdx, r15
mov qword [r11 - 0x48], rdx
xor rdx, r8
ror rdx, 0x10
mov eax, edx
imul rcx, rax
mov qword [r11 + 0x10], rdx
mov eax, r12d
lea rcx, [r9 + rcx*2]
mov r9, qword [rsp + 0x18]
add rcx, rdx
mov qword [r11 + 8], rcx
xor rcx, r15
rol rcx, 1
mov r15, r11
mov qword [r11 - 0x20], rcx
mov ecx, esi
imul rcx, rax
lea rdx, [rsi + rcx*2]
mov ecx, r9d
add rdx, r12
mov r8, rdx
xor r8, qword [rsp + 0x10]
ror r8, 0x20
mov eax, r8d
imul rcx, rax
lea r9, [r9 + rcx*2]
mov ecx, edx
add r9, r8
xor r12, r9
ror r12, 0x18
mov eax, r12d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r9d
add rdx, r12
mov qword [r11 - 0x40], rdx
xor rdx, r8
ror rdx, 0x10
mov eax, edx
imul rcx, rax
mov qword [r11 + 0x18], rdx
lea rcx, [r9 + rcx*2]
add rcx, rdx
mov qword [r11 - 0x10], rcx
xor rcx, r12
rol rcx, 1
mov r10, qword [rsp + 0x20]
sub r15, 0xffffffffffffff80
mov r9, qword [rsp + 0x30]
mov qword [r11 - 0x18], rcx
mov eax, r10d
mov ecx, r14d
imul rcx, rax
mov qword [rsp], r15
lea rdx, [r14 + rcx*2]
mov ecx, r9d
add rdx, r10
mov r8, rdx
xor r8, qword [rsp + 0x28]
ror r8, 0x20
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 [r11 - 0x38], rdx
xor rdx, r8
ror rdx, 0x10
mov eax, edx
imul rcx, rax
mov qword [r11 + 0x20], rdx
lea rcx, [r9 + rcx*2]
add rcx, rdx
mov qword [r11 - 8], rcx
xor rcx, r10
rol rcx, 1
sub qword [rsp + 8], 1
mov qword [r11 - 0x30], rcx
jne 0x1800123b0
mov edi, 0x60
lea rbx, [rsp + 0x198]
mov dword [rsp], edi
mov qword [rsp + 8], rbx
mov rdx, qword [rbx - 0x108]
lea ecx, [rdi - 0x40]
lea rax, [rsp + 0x90]
mov r9, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x78], rax
mov ecx, edx
mov eax, r9d
imul rcx, rax
mov eax, edi
lea r10, [rdx + rcx*2]
add r10, r9
lea rdx, [rsp + 0x90]
lea rax, [rdx + rax*8]
mov r11, r10
xor r11, qword [rax]
lea ecx, [rdi - 0x20]
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x90]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x50], rax
ror r11, 0x20
mov ecx, edx
mov eax, r11d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r10d
add rdx, r11
mov r8, rdx
xor r8, r9
ror r8, 0x18
mov eax, r8d
imul rcx, rax
lea r13, [r10 + rcx*2]
mov ecx, edx
add r13, r8
xor r11, r13
ror r11, 0x10
mov eax, r11d
imul rcx, rax
mov qword [rsp + 0x28], r11
lea rax, [rdx + rcx*2]
mov rdx, qword [rbx - 0x100]
add rax, r11
mov ecx, edx
mov qword [rsp + 0x40], rax
xor rax, r8
mov r8, qword [rbx]
rol rax, 1
mov qword [rsp + 0x58], rax
mov eax, r8d
imul rcx, rax
lea r10, [rdx + rcx*2]
mov rdx, qword [rbx + 0x100]
add r10, r8
mov ecx, edx
mov r11, r10
xor r11, qword [rbx + 0x200]
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 rax, [r10 + rcx*2]
mov ecx, edx
add rax, r9
mov r8, rax
mov qword [rsp + 0x30], rax
xor r8, r11
ror r8, 0x10
mov eax, r8d
imul rcx, rax
mov qword [rsp + 0x10], r8
lea rax, [rdx + rcx*2]
add rax, r8
lea ecx, [rdi - 0x30]
mov rbp, rax
mov qword [rsp + 0x68], rax
xor rbp, r9
lea rax, [rsp + 0x90]
mov r9, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x18], rax
lea ecx, [rdi - 0x50]
lea rax, [rsp + 0x90]
rol rbp, 1
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x48], rax
lea r14, [rsp + 0x90]
mov ecx, edx
mov eax, r9d
imul rcx, rax
lea rax, [rsp + 0x90]
lea r10, [rdx + rcx*2]
add r10, r9
lea ecx, [rdi + 0x10]
lea rax, [rax + rcx*8]
mov r11, r10
xor r11, qword [rax]
ror r11, 0x20
mov qword [rsp + 0x70], rax
lea eax, [rdi - 0x10]
mov rdx, qword [r14 + rax*8]
lea r14, [r14 + rax*8]
mov ecx, edx
mov eax, r11d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r10d
add rdx, r11
mov r8, rdx
xor r8, r9
mov r9, qword [rsp + 8]
ror r8, 0x18
mov eax, r8d
imul rcx, rax
lea r12, [r10 + rcx*2]
mov ecx, edx
add r12, r8
xor r11, r12
ror r11, 0x10
mov eax, r11d
imul rcx, rax
mov qword [rsp + 0x60], r11
lea rbx, [rdx + rcx*2]
mov rdx, qword [r9 - 0x80]
add rbx, r11
mov ecx, edx
mov rdi, rbx
xor rdi, r8
mov r8, qword [r9 + 0x80]
mov eax, r8d
imul rcx, rax
rol rdi, 1
lea r10, [rdx + rcx*2]
mov rdx, qword [r9 + 0x180]
add r10, r8
mov ecx, edx
mov r11, r10
xor r11, qword [r9 + 0x280]
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 r15, [r10 + rcx*2]
add r15, r9
mov r8, r15
mov ecx, edx
xor r8, r11
ror r8, 0x10
mov eax, r8d
imul rcx, rax
mov eax, ebp
lea r11, [rdx + rcx*2]
mov ecx, r13d
imul rcx, rax
add r11, r8
mov rsi, r11
xor rsi, r9
rol rsi, 1
lea rdx, [rcx*2]
mov ecx, ebx
add rdx, r13
add rdx, rbp
mov r9, rdx
xor r9, r8
ror r9, 0x20
mov eax, r9d
imul rcx, rax
lea r8, [rbx + rcx*2]
mov rbx, qword [rsp + 8]
mov ecx, edx
add r8, r9
mov r10, r8
xor r10, rbp
ror r10, 0x18
mov eax, r10d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, r10
mov qword [rbx - 0x108], rdx
xor rdx, r9
ror rdx, 0x10
mov eax, edx
imul rcx, rax
mov qword [rbx + 0x280], rdx
mov eax, edi
lea rcx, [r8 + rcx*2]
add rcx, rdx
mov rdx, qword [rsp + 0x30]
mov qword [r14], rcx
xor rcx, r10
mov r10, qword [rsp + 0x28]
rol rcx, 1
mov qword [rbx], rcx
mov ecx, edx
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r11d
add rdx, rdi
xor r10, rdx
ror r10, 0x20
mov eax, r10d
imul rcx, rax
lea r8, [r11 + rcx*2]
mov ecx, edx
add r8, r10
mov r9, r8
xor r9, rdi
ror r9, 0x18
mov eax, r9d
imul rcx, rax
mov rax, qword [rsp + 0x20]
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, r9
mov qword [rbx - 0x100], rdx
xor rdx, r10
ror rdx, 0x10
mov qword [rax], rdx
mov eax, edx
imul rcx, rax
lea rcx, [r8 + rcx*2]
add rcx, rdx
mov qword [rbx + 0x180], rcx
xor rcx, r9
rol rcx, 1
mov rax, qword [rsp + 0x18]
mov r9, qword [rsp + 0x40]
mov r11, qword [rsp + 0x58]
mov edi, dword [rsp]
mov qword [rax], rcx
add edi, 2
mov eax, esi
mov ecx, r12d
imul rcx, rax
mov dword [rsp], edi
lea rdx, [r12 + rcx*2]
mov ecx, r9d
add rdx, rsi
mov r8, rdx
xor r8, qword [rsp + 0x10]
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, rsi
ror r10, 0x18
mov eax, r10d
imul rcx, rax
mov rax, qword [rsp + 0x48]
lea rdx, [rdx + rcx*2]
mov ecx, r9d
add rdx, r10
mov qword [rax], rdx
xor rdx, r8
mov r8, qword [rsp + 0x68]
ror rdx, 0x10
mov eax, edx
imul rcx, rax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x200], rdx
lea rcx, [r9 + rcx*2]
add rcx, rdx
mov qword [rax], rcx
xor rcx, r10
rol rcx, 1
mov qword [rbx + 0x80], rcx
mov eax, r11d
mov ecx, r15d
imul rcx, rax
lea rdx, [r15 + rcx*2]
mov ecx, r8d
add rdx, r11
mov r9, rdx
xor r9, qword [rsp + 0x60]
ror r9, 0x20
mov eax, r9d
imul rcx, rax
lea r8, [r8 + rcx*2]
mov ecx, edx
add r8, r9
mov r10, r8
xor r10, r11
ror r10, 0x18
mov eax, r10d
imul rcx, rax
mov rax, qword [rsp + 0x70]
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, r10
mov qword [rbx - 0x80], rdx
xor rdx, r9
ror rdx, 0x10
mov qword [rax], rdx
mov eax, edx
imul rcx, rax
mov rax, qword [rsp + 0x78]
lea rcx, [r8 + rcx*2]
add rcx, rdx
mov qword [rbx + 0x100], rcx
xor rcx, r10
rol rcx, 1
mov qword [rax], rcx
add rbx, 0x10
mov qword [rsp + 8], rbx
cmp edi, 0x70
jb 0x180012790
mov r9, qword [rsp + 0x80]
lea rcx, [rsp + 0x490]
mov rax, r9
mov edx, 8
nop word [rax + rax]
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 0x180012c70
lea rdx, [rsp + 0x90]
sub rdx, r9
lea r8, [rsp + 0x98]
sub r8, r9
lea rax, [r9 + 0x10]
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 + 0x38], 1
jne 0x180012ce0
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.180032200
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