Function at 0x1800593e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x800]
sub rsp, 0x900
mov rax, qword [0x1800aad48]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
mov rbx, rcx
mov qword [rbp - 0x20], r8
lea rcx, [rbp - 0x10]
mov edi, r9d
mov rsi, r8
call fcn.1800545b0
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.1800549d0
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x3f0]
call fcn.1800545b0
test edi, edi
je 0x180059455
mov rdx, rsi
lea rcx, [rbp + 0x3f0]
call fcn.1800549d0
xor eax, eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
nop
shl eax, 4
mov edi, eax
lea ecx, [rax + 4]
lea rax, [rbp - 0x10]
mov r10, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x10]
mov rdx, qword [rax + rdi*8]
lea rax, [rax + rdi*8]
mov qword [rsp + 0x38], rax
mov eax, r10d
mov ecx, edx
imul rcx, rax
lea rax, [rbp - 0x10]
lea r11, [rdx + rcx*2]
add r11, r10
lea ecx, [rdi + 0xc]
lea rax, [rax + rcx*8]
mov r9, r11
xor r9, qword [rax]
lea ecx, [rdi + 8]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x10]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x70], rax
ror r9, 0x20
mov eax, r9d
mov ecx, edx
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r11d
add rdx, r9
mov r8, rdx
xor r8, r10
ror r8, 0x18
mov eax, r8d
imul rcx, rax
lea rax, [r11 + rcx*2]
mov ecx, edx
add rax, r8
mov r10, rax
mov qword [rbp - 0x28], rax
xor r10, r9
ror r10, 0x10
mov eax, r10d
imul rcx, rax
mov qword [rsp + 0x50], r10
lea rax, [rdx + rcx*2]
add rax, r10
lea ecx, [rdi + 5]
mov qword [rsp + 0x78], rax
xor rax, r8
rol rax, 1
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x10]
mov r11, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x40], rax
lea ecx, [rdi + 1]
lea rax, [rbp - 0x10]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x58], rax
mov eax, r11d
mov ecx, edx
imul rcx, rax
lea rax, [rbp - 0x10]
lea r10, [rdx + rcx*2]
lea ecx, [rdi + 0xd]
add r10, r11
lea rax, [rax + rcx*8]
mov r9, r10
xor r9, qword [rax]
lea ecx, [rdi + 9]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x10]
lea rax, [rax + rcx*8]
ror r9, 0x20
mov qword [rbp - 0x38], rax
mov rdx, qword [rax]
lea rsi, [rbp - 0x10]
mov ecx, edx
mov eax, r9d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r10d
add rdx, r9
mov r8, rdx
xor r8, r11
ror r8, 0x18
mov eax, r8d
imul rcx, rax
lea r13, [r10 + rcx*2]
mov ecx, edx
add r13, r8
mov r10, r13
xor r10, r9
ror r10, 0x10
mov eax, r10d
imul rcx, rax
mov qword [rsp + 0x70], r10
lea rax, [rdx + rcx*2]
add rax, r10
lea ecx, [rdi + 6]
mov r14, rax
mov qword [rbp - 0x50], rax
xor r14, r8
lea rax, [rbp - 0x10]
mov r9, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x68], rax
lea ecx, [rdi + 2]
lea rax, [rbp - 0x10]
rol r14, 1
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x80], rax
mov eax, r9d
mov ecx, edx
imul rcx, rax
lea rax, [rbp - 0x10]
lea r8, [rdx + rcx*2]
add r8, r9
lea ecx, [rdi + 0xe]
lea rax, [rax + rcx*8]
mov r10, r8
xor r10, qword [rax]
mov qword [rbp - 0x40], rax
lea eax, [rdi + 0xa]
mov rdx, qword [rsi + rax*8]
lea rsi, [rsi + rax*8]
ror r10, 0x20
mov eax, r10d
mov ecx, edx
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, r10
xor r9, rdx
ror r9, 0x18
mov eax, r9d
imul rcx, rax
lea r12, [r8 + rcx*2]
mov ecx, edx
add r12, r9
xor r10, r12
ror r10, 0x10
mov eax, r10d
imul rcx, rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x58], r10
lea r11, [rdx + rcx*2]
add r11, r10
lea ecx, [rdi + 7]
mov r10, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
xor r9, r11
mov qword [rbp - 0x68], rax
rol r9, 1
mov qword [rsp + 0x48], r9
lea ecx, [rdi + 3]
lea rax, [rbp - 0x10]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x48], rax
lea r9, [rbp - 0x10]
mov eax, r10d
mov ecx, edx
imul rcx, rax
lea eax, [rdi + 0xf]
mov rbx, qword [r9 + rax*8]
lea r9, [r9 + rax*8]
lea eax, [rdi + 0xb]
lea rdi, [rbp - 0x10]
lea r8, [rdx + rcx*2]
mov rdx, qword [rdi + rax*8]
lea rdi, [rdi + rax*8]
mov ecx, edx
add r8, r10
xor rbx, r8
ror rbx, 0x20
mov eax, ebx
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, rbx
xor r10, rdx
ror r10, 0x18
mov eax, r10d
imul rcx, rax
mov qword [rsp + 0x20], r10
lea r15, [r8 + rcx*2]
mov ecx, edx
add r15, r10
xor rbx, r15
ror rbx, 0x10
mov eax, ebx
imul rcx, rax
mov rax, qword [rsp + 0x20]
lea r10, [rdx + rcx*2]
mov rdx, qword [rbp - 0x28]
add r10, rbx
mov ecx, edx
xor rax, r10
rol rax, 1
mov qword [rsp + 0x20], rax
mov eax, r14d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r11d
add rdx, r14
xor rbx, rdx
ror rbx, 0x20
mov eax, ebx
imul rcx, rax
lea r8, [r11 + rcx*2]
mov r11, qword [rsp + 0x48]
add r8, rbx
mov ecx, edx
xor r14, r8
ror r14, 0x18
mov eax, r14d
imul rcx, rax
mov rax, qword [rsp + 0x38]
lea rcx, [rdx + rcx*2]
add rcx, r14
xor rbx, rcx
mov qword [rax], rcx
ror rbx, 0x10
mov eax, ebx
mov ecx, r8d
imul rcx, rax
mov rax, qword [rsp + 0x40]
mov qword [r9], rbx
lea rcx, [r8 + rcx*2]
add rcx, rbx
xor r14, rcx
mov qword [rsi], rcx
rol r14, 1
mov qword [rax], r14
mov ecx, r13d
mov eax, r11d
imul rcx, rax
lea rdx, [rcx*2]
mov ecx, r10d
add rdx, r13
add rdx, r11
mov r9, rdx
xor r9, qword [rsp + 0x50]
ror r9, 0x20
mov eax, r9d
imul rcx, rax
lea r8, [r10 + rcx*2]
mov r10, qword [rsp + 0x70]
add r8, r9
mov ecx, edx
xor r11, r8
ror r11, 0x18
mov eax, r11d
imul rcx, rax
mov rax, qword [rsp + 0x58]
lea rcx, [rdx + rcx*2]
add rcx, r11
mov qword [rax], rcx
xor r9, rcx
mov rax, qword [rsp + 0x60]
ror r9, 0x10
mov ecx, r8d
mov qword [rax], r9
mov eax, r9d
imul rcx, rax
mov rax, qword [rsp + 0x68]
lea rcx, [r8 + rcx*2]
mov r8, qword [rsp + 0x78]
add rcx, r9
mov r9, qword [rsp + 0x20]
xor r11, rcx
mov qword [rdi], rcx
rol r11, 1
mov qword [rax], r11
mov r11, qword [rbp - 0x60]
mov eax, r9d
mov ecx, r12d
imul rcx, rax
lea rdx, [r12 + rcx*2]
mov ecx, r8d
add rdx, r9
xor r10, rdx
ror r10, 0x20
mov eax, r10d
imul rcx, rax
lea r8, [r8 + rcx*2]
mov ecx, edx
add r8, r10
xor r9, r8
ror r9, 0x18
mov eax, r9d
imul rcx, rax
mov rax, qword [rbp - 0x80]
lea rcx, [rdx + rcx*2]
add rcx, r9
mov qword [rax], rcx
xor r10, rcx
mov rax, qword [rbp - 0x78]
ror r10, 0x10
mov ecx, r8d
mov qword [rax], r10
mov eax, r10d
imul rcx, rax
mov rax, qword [rbp - 0x70]
lea rcx, [r8 + rcx*2]
add rcx, r10
mov qword [rax], rcx
xor r9, rcx
mov rax, qword [rbp - 0x68]
rol r9, 1
mov ecx, r15d
mov qword [rax], r9
mov eax, r11d
imul rcx, rax
lea rdx, [r15 + rcx*2]
add rdx, r11
mov r8, qword [rbp - 0x50]
mov r10, qword [rbp - 0x58]
xor r10, rdx
mov ecx, r8d
ror r10, 0x20
mov eax, r10d
imul rcx, rax
lea r8, [r8 + rcx*2]
mov ecx, edx
add r8, r10
mov r9, r8
xor r9, r11
ror r9, 0x18
mov eax, r9d
imul rcx, rax
mov rax, qword [rbp - 0x48]
lea rcx, [rdx + rcx*2]
add rcx, r9
mov qword [rax], rcx
xor r10, rcx
mov rax, qword [rbp - 0x40]
ror r10, 0x10
mov ecx, r8d
mov qword [rax], r10
mov eax, r10d
imul rcx, rax
mov rax, qword [rbp - 0x38]
lea rcx, [r8 + rcx*2]
add rcx, r10
mov qword [rax], rcx
xor r9, rcx
mov rax, qword [rbp - 0x30]
rol r9, 1
mov qword [rax], r9
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
cmp eax, 8
jb 0x180059460
xor edx, edx
nop dword [rax]
lea edi, [rdx + rdx]
lea r11d, [rdx + 0x30]
lea ecx, [r11*2 - 0x40]
lea rax, [rbp - 0x10]
mov r9, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x38], rax
lea rcx, [rbp - 0x10]
mov rdx, qword [rcx + rdi*8]
lea rax, [rcx + rdi*8]
mov qword [rbp - 0x38], rax
mov ecx, edx
mov eax, r9d
imul rcx, rax
lea rax, [rbp - 0x10]
lea r8, [rdx + rcx*2]
add r8, r9
lea ecx, [r11 + r11]
mov r10, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x58], rax
lea ecx, [r11*2 - 0x20]
xor r10, r8
lea rax, [rbp - 0x10]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x78], rax
ror r10, 0x20
mov eax, r10d
mov ecx, edx
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, r10
xor r9, rdx
ror r9, 0x18
mov eax, r9d
imul rcx, rax
lea rax, [r8 + rcx*2]
mov ecx, edx
add rax, r9
xor r10, rax
mov qword [rbp - 0x30], rax
ror r10, 0x10
mov eax, r10d
imul rcx, rax
mov qword [rbp - 0x48], r10
lea rax, [rdx + rcx*2]
add rax, r10
lea ecx, [rdi + 0x21]
mov qword [rbp - 0x70], rax
xor rax, r9
rol rax, 1
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x10]
mov r9, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x40], rax
lea ecx, [rdi + 1]
lea rax, [rbp - 0x10]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x50], rax
mov ecx, edx
mov eax, r9d
imul rcx, rax
lea rax, [rbp - 0x10]
lea r8, [rdx + rcx*2]
lea ecx, [rdi + 0x61]
add r8, r9
lea rax, [rax + rcx*8]
mov r10, r8
xor r10, qword [rax]
lea ecx, [rdi + 0x41]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x10]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov ecx, edx
ror r10, 0x20
mov qword [rsp + 0x40], rax
mov eax, r10d
lea r14, [rbp - 0x10]
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, r10
xor r9, rdx
ror r9, 0x18
mov eax, r9d
imul rcx, rax
lea r13, [r8 + rcx*2]
mov ecx, edx
add r13, r9
xor r10, r13
ror r10, 0x10
mov eax, r10d
imul rcx, rax
mov qword [rbp - 0x68], r10
lea rax, [rdx + rcx*2]
add rax, r10
lea ecx, [r11*2 - 0x30]
xor r9, rax
mov qword [rsp + 0x58], rax
rol r9, 1
lea rax, [rbp - 0x10]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x28], r9
mov r9, qword [rax]
lea ecx, [r11*2 - 0x50]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x10]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x78], rax
mov ecx, edx
mov eax, r9d
imul rcx, rax
lea rax, [rbp - 0x10]
lea r10, [rdx + rcx*2]
add r10, r9
lea ecx, [r11*2 + 0x10]
lea rax, [rax + rcx*8]
mov rbx, r10
xor rbx, qword [rax]
mov qword [rsp + 0x48], rax
lea eax, [r11*2 - 0x10]
mov rdx, qword [r14 + rax*8]
lea r14, [r14 + rax*8]
ror rbx, 0x20
mov eax, ebx
mov ecx, edx
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r10d
add rdx, rbx
mov r8, rdx
xor r8, r9
ror r8, 0x18
mov eax, r8d
imul rcx, rax
lea r12, [r10 + rcx*2]
mov ecx, edx
add r12, r8
xor rbx, r12
ror rbx, 0x10
mov eax, ebx
imul rcx, rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x60], rbx
lea r11, [rdx + rcx*2]
lea ecx, [rdi + 0x31]
add r11, rbx
mov r9, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x70], rax
lea ecx, [rdi + 0x11]
mov rsi, r11
lea rax, [rbp - 0x10]
xor rsi, r8
lea rax, [rax + rcx*8]
rol rsi, 1
mov rdx, qword [rax]
lea r10, [rbp - 0x10]
mov qword [rsp + 0x50], rax
mov eax, r9d
mov ecx, edx
imul rcx, rax
lea eax, [rdi + 0x71]
mov rbx, qword [r10 + rax*8]
lea r10, [r10 + rax*8]
lea eax, [rdi + 0x51]
lea rdi, [rbp - 0x10]
lea r8, [rdx + rcx*2]
mov rdx, qword [rdi + rax*8]
lea rdi, [rdi + rax*8]
mov ecx, edx
add r8, r9
xor rbx, r8
ror rbx, 0x20
mov eax, ebx
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, rbx
xor r9, rdx
ror r9, 0x18
mov eax, r9d
imul rcx, rax
mov qword [rsp + 0x20], r9
lea r15, [r8 + rcx*2]
mov r8, qword [rsp + 0x28]
add r15, r9
mov ecx, edx
xor rbx, r15
ror rbx, 0x10
mov eax, ebx
imul rcx, rax
mov rax, qword [rsp + 0x20]
lea r9, [rdx + rcx*2]
mov rdx, qword [rbp - 0x30]
add r9, rbx
mov ecx, edx
xor rax, r9
rol rax, 1
mov qword [rsp + 0x20], rax
mov eax, r8d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r11d
add rdx, r8
xor rbx, rdx
ror rbx, 0x20
mov eax, ebx
imul rcx, rax
lea r8, [r11 + rcx*2]
mov r11, qword [rsp + 0x28]
add r8, rbx
mov ecx, edx
xor r11, r8
ror r11, 0x18
mov eax, r11d
imul rcx, rax
mov rax, qword [rbp - 0x38]
lea rcx, [rdx + rcx*2]
add rcx, r11
mov qword [rax], rcx
xor rbx, rcx
ror rbx, 0x10
mov eax, ebx
mov ecx, r8d
imul rcx, rax
mov rax, qword [rbp - 0x40]
mov qword [r10], rbx
lea rcx, [r8 + rcx*2]
add rcx, rbx
xor r11, rcx
mov qword [r14], rcx
rol r11, 1
mov qword [rax], r11
mov eax, esi
mov ecx, r13d
imul rcx, rax
mov r10, qword [rbp - 0x48]
lea rdx, [rcx*2]
mov r11, qword [rsp + 0x68]
add rdx, r13
mov ecx, r9d
add rdx, rsi
xor r10, rdx
ror r10, 0x20
mov eax, r10d
imul rcx, rax
lea r8, [r9 + rcx*2]
mov ecx, edx
add r8, r10
mov r9, r8
xor r9, rsi
ror r9, 0x18
mov eax, r9d
imul rcx, rax
mov rax, qword [rbp - 0x50]
lea rcx, [rdx + rcx*2]
add rcx, r9
mov qword [rax], rcx
xor r10, rcx
mov rax, qword [rbp - 0x58]
ror r10, 0x10
mov ecx, r8d
mov qword [rax], r10
mov eax, r10d
imul rcx, rax
mov rax, qword [rbp - 0x60]
lea rcx, [r8 + rcx*2]
mov r8, qword [rbp - 0x70]
add rcx, r10
mov r10, qword [rbp - 0x68]
mov qword [rdi], rcx
xor rcx, r9
mov r9, qword [rsp + 0x20]
rol rcx, 1
mov qword [rax], rcx
mov eax, r9d
mov ecx, r12d
imul rcx, rax
lea rdx, [r12 + rcx*2]
mov ecx, r8d
add rdx, r9
xor r10, rdx
ror r10, 0x20
mov eax, r10d
imul rcx, rax
lea r8, [r8 + rcx*2]
mov ecx, edx
add r8, r10
xor r9, r8
ror r9, 0x18
mov eax, r9d
imul rcx, rax
mov rax, qword [rbp - 0x78]
lea rcx, [rdx + rcx*2]
add rcx, r9
mov qword [rax], rcx
xor r10, rcx
mov rax, qword [rbp - 0x80]
ror r10, 0x10
mov ecx, r8d
mov qword [rax], r10
mov eax, r10d
imul rcx, rax
mov rax, qword [rsp + 0x78]
lea rcx, [r8 + rcx*2]
add rcx, r10
mov r10, qword [rsp + 0x60]
mov qword [rax], rcx
xor r9, rcx
mov rax, qword [rsp + 0x70]
rol r9, 1
mov ecx, r15d
mov qword [rax], r9
mov eax, r11d
imul rcx, rax
lea rdx, [r15 + rcx*2]
add rdx, r11
mov r8, qword [rsp + 0x58]
xor r10, rdx
ror r10, 0x20
mov ecx, r8d
mov eax, r10d
imul rcx, rax
lea r8, [r8 + rcx*2]
mov ecx, edx
add r8, r10
mov r9, r8
xor r9, r11
ror r9, 0x18
mov eax, r9d
imul rcx, rax
mov rax, qword [rsp + 0x50]
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, r9
mov qword [rax], rdx
xor rdx, r10
mov rax, qword [rsp + 0x48]
ror rdx, 0x10
mov qword [rax], rdx
mov eax, edx
imul rcx, rax
lea rax, [r8 + rcx*2]
add rdx, rax
mov rax, qword [rsp + 0x40]
mov qword [rax], rdx
xor rdx, r9
mov rax, qword [rsp + 0x38]
rol rdx, 1
mov qword [rax], rdx
mov edx, dword [rsp + 0x30]
inc edx
mov dword [rsp + 0x30], edx
cmp edx, 8
jb 0x180059960
mov rcx, qword [rbp - 0x20]
lea rdx, [rbp + 0x3f0]
call fcn.1800545b0
mov rcx, qword [rbp - 0x20]
lea rdx, [rbp - 0x10]
call fcn.1800549d0
mov rcx, qword [rbp + 0x7f0]
xor rcx, rsp
call fcn.18005aca0
mov rbx, qword [rsp + 0x958]
add rsp, 0x900
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret