Function at 0x14004ae80
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 [0x140063828]
xor rax, rsp
mov qword [rbp + 0x7f0], rax
mov rbx, rcx
mov qword [rbp - 0x18], r8
lea rcx, [rbp - 0x10]
mov edi, r9d
mov rsi, r8
call fcn.140045b70
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.140046490
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x3f0]
call fcn.140045b70
test edi, edi
je 0x14004aef5
mov rdx, rsi
lea rcx, [rbp + 0x3f0]
call fcn.140046490
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
nop
shl eax, 4
mov esi, eax
lea ecx, [rax + 4]
lea rax, [rbp - 0x10]
mov r10, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x10]
mov rdx, qword [rax + rsi*8]
lea rax, [rax + rsi*8]
mov qword [rsp + 0x30], rax
mov eax, r10d
mov ecx, edx
imul rcx, rax
lea rax, [rbp - 0x10]
lea r11, [rdx + rcx*2]
add r11, r10
lea ecx, [rsi + 0xc]
lea rax, [rax + rcx*8]
mov r9, r11
xor r9, qword [rax]
lea ecx, [rsi + 8]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x10]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x68], 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 - 0x20], 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, [rsi + 5]
mov qword [rbp - 0x80], rax
xor rax, r8
rol rax, 1
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x10]
mov r11, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x38], rax
lea ecx, [rsi + 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, [rsi + 0xd]
add r10, r11
lea rax, [rax + rcx*8]
mov r9, r10
xor r9, qword [rax]
lea ecx, [rsi + 9]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x10]
lea rax, [rax + rcx*8]
ror r9, 0x20
mov qword [rbp - 0x30], rax
mov rdx, qword [rax]
lea r14, [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 rax, [r10 + rcx*2]
mov ecx, edx
add rax, r8
mov r10, rax
mov qword [rsp + 0x40], rax
xor r10, r9
ror r10, 0x10
mov eax, r10d
imul rcx, rax
mov qword [rsp + 0x78], r10
lea rax, [rdx + rcx*2]
add rax, r10
lea ecx, [rsi + 6]
mov r15, rax
mov qword [rbp - 0x48], rax
xor r15, r8
lea rax, [rbp - 0x10]
mov r9, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x68], rax
lea ecx, [rsi + 2]
lea rax, [rbp - 0x10]
rol r15, 1
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x78], rax
mov eax, r9d
mov ecx, edx
imul rcx, rax
lea rax, [rbp - 0x10]
lea r8, [rdx + rcx*2]
add r8, r9
lea ecx, [rsi + 0xe]
mov r10, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x38], rax
xor r10, r8
ror r10, 0x20
lea eax, [rsi + 0xa]
mov rdx, qword [r14 + rax*8]
lea r14, [r14 + rax*8]
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 [rsp + 0x70], rax
ror r10, 0x10
mov eax, r10d
imul rcx, rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x50], r10
lea rbx, [rdx + rcx*2]
add rbx, r10
lea ecx, [rsi + 7]
xor r9, rbx
lea rax, [rax + rcx*8]
rol r9, 1
mov qword [rsp + 0x48], r9
mov r9, qword [rax]
lea ecx, [rsi + 3]
mov qword [rbp - 0x60], rax
lea r11, [rbp - 0x10]
lea rax, [rbp - 0x10]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x40], rax
mov ecx, edx
mov eax, r9d
imul rcx, rax
lea eax, [rsi + 0xf]
mov rdi, qword [r11 + rax*8]
lea r11, [r11 + rax*8]
lea eax, [rsi + 0xb]
lea rsi, [rbp - 0x10]
lea r8, [rdx + rcx*2]
mov rdx, qword [rsi + rax*8]
lea rsi, [rsi + rax*8]
mov ecx, edx
add r8, r9
xor rdi, r8
ror rdi, 0x20
mov eax, edi
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, rdi
mov r13, rdx
xor r13, r9
ror r13, 0x18
mov eax, r13d
imul rcx, rax
lea r12, [r8 + rcx*2]
mov ecx, edx
add r12, r13
xor rdi, r12
ror rdi, 0x10
mov eax, edi
imul rcx, rax
mov eax, r15d
lea r10, [rdx + rcx*2]
mov rdx, qword [rbp - 0x20]
add r10, rdi
mov ecx, edx
imul rcx, rax
xor r13, r10
rol r13, 1
lea rdx, [rdx + rcx*2]
mov ecx, ebx
add rdx, r15
xor rdi, rdx
ror rdi, 0x20
mov eax, edi
imul rcx, rax
lea r8, [rbx + rcx*2]
mov ecx, edx
add r8, rdi
xor r15, r8
ror r15, 0x18
mov eax, r15d
imul rcx, rax
mov rax, qword [rsp + 0x30]
lea rcx, [rdx + rcx*2]
mov rdx, qword [rsp + 0x40]
add rcx, r15
xor rdi, rcx
mov qword [rax], rcx
ror rdi, 0x10
mov eax, edi
mov ecx, r8d
imul rcx, rax
mov rax, qword [rsp + 0x38]
mov qword [r11], rdi
lea rcx, [r8 + rcx*2]
add rcx, rdi
xor r15, rcx
mov qword [r14], rcx
rol r15, 1
mov qword [rax], r15
mov ecx, edx
mov r11, qword [rsp + 0x48]
mov eax, r11d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r10d
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 ecx, edx
add r8, r9
xor r11, r8
ror r11, 0x18
mov eax, r11d
imul rcx, rax
mov rax, qword [rsp + 0x58]
lea rcx, [rdx + rcx*2]
mov rdx, qword [rsp + 0x70]
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 [rbp - 0x80]
add rcx, r9
xor r11, rcx
mov qword [rsi], rcx
mov ecx, edx
rol r11, 1
mov qword [rax], r11
mov r11, qword [rbp - 0x58]
mov eax, r13d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, r13
mov r9, rdx
xor r9, qword [rsp + 0x78]
ror r9, 0x20
mov eax, r9d
imul rcx, rax
lea r8, [r8 + rcx*2]
mov ecx, edx
add r8, r9
xor r13, r8
ror r13, 0x18
mov eax, r13d
imul rcx, rax
mov rax, qword [rbp - 0x78]
lea rcx, [rdx + rcx*2]
add rcx, r13
mov qword [rax], rcx
xor r9, rcx
mov rax, qword [rbp - 0x70]
ror r9, 0x10
mov ecx, r8d
mov qword [rax], r9
mov eax, r9d
imul rcx, rax
mov rax, qword [rbp - 0x68]
lea rcx, [r8 + rcx*2]
add rcx, r9
mov qword [rax], rcx
xor r13, rcx
mov rax, qword [rbp - 0x60]
rol r13, 1
mov ecx, r12d
mov qword [rax], r13
mov eax, r11d
imul rcx, rax
lea rdx, [r12 + rcx*2]
add rdx, r11
mov r8, qword [rbp - 0x48]
mov r10, rdx
xor r10, qword [rbp - 0x50]
ror r10, 0x20
mov eax, r10d
mov ecx, r8d
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 - 0x40]
lea rcx, [rdx + rcx*2]
add rcx, r9
mov qword [rax], rcx
xor r10, rcx
mov rax, qword [rbp - 0x38]
ror r10, 0x10
mov ecx, r8d
mov qword [rax], r10
mov eax, r10d
imul rcx, rax
mov rax, qword [rbp - 0x30]
lea rcx, [r8 + rcx*2]
add rcx, r10
mov qword [rax], rcx
xor r9, rcx
mov rax, qword [rbp - 0x28]
rol r9, 1
mov qword [rax], r9
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp eax, 8
jb 0x14004af00
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
lea esi, [rdx + rdx]
lea r10d, [rdx + 0x28]
lea ecx, [r10*2 - 0x30]
lea rax, [rbp - 0x10]
mov r11, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x10]
mov rdx, qword [rcx + rsi*8]
lea rax, [rcx + rsi*8]
mov qword [rbp - 0x30], rax
mov eax, r11d
mov ecx, edx
imul rcx, rax
lea rax, [rbp - 0x10]
lea r8, [rdx + rcx*2]
add r8, r11
lea ecx, [r10*2 + 0x10]
lea rax, [rax + rcx*8]
mov r9, r8
xor r9, qword [rax]
lea ecx, [r10*2 - 0x10]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x10]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x70], rax
ror r9, 0x20
mov ecx, edx
mov eax, r9d
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, r9
xor r11, rdx
ror r11, 0x18
mov eax, r11d
imul rcx, rax
lea rax, [r8 + rcx*2]
mov ecx, edx
add rax, r11
xor r9, rax
mov qword [rbp - 0x28], rax
ror r9, 0x10
mov eax, r9d
imul rcx, rax
mov qword [rbp - 0x50], r9
lea rax, [rdx + rcx*2]
add rax, r9
lea ecx, [rsi + 0x21]
xor r11, rax
mov qword [rbp - 0x78], rax
rol r11, 1
lea rax, [rbp - 0x10]
mov r9, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x38], rax
lea ecx, [rsi + 1]
mov qword [rsp + 0x60], r11
lea rax, [rbp - 0x10]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x58], rax
mov ecx, edx
mov eax, r9d
imul rcx, rax
lea rax, [rbp - 0x10]
lea r8, [rdx + rcx*2]
lea ecx, [rsi + 0x61]
add r8, r9
mov r11, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x78], rax
lea ecx, [rsi + 0x41]
lea rax, [rbp - 0x10]
xor r11, r8
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov ecx, edx
ror r11, 0x20
mov qword [rsp + 0x38], rax
mov eax, r11d
lea r14, [rbp - 0x10]
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, r11
xor r9, rdx
ror r9, 0x18
mov eax, r9d
imul rcx, rax
lea rax, [r8 + rcx*2]
mov ecx, edx
add rax, r9
xor r11, rax
mov qword [rbp - 0x40], rax
ror r11, 0x10
mov eax, r11d
imul rcx, rax
mov qword [rbp - 0x70], r11
lea rax, [rdx + rcx*2]
add rax, r11
lea ecx, [r10*2 - 0x20]
xor r9, rax
mov qword [rsp + 0x50], rax
rol r9, 1
lea rax, [rbp - 0x10]
mov r8, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x68], rax
lea ecx, [r10*2 - 0x40]
mov qword [rsp + 0x20], r9
lea rax, [rbp - 0x10]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x80], rax
mov ecx, edx
mov eax, r8d
imul rcx, rax
lea rax, [rbp - 0x10]
lea r9, [rdx + rcx*2]
lea ecx, [r10*2 + 0x20]
add r9, r8
mov r11, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x40], rax
xor r11, r9
lea eax, [r10 + r10]
ror r11, 0x20
mov rdx, qword [r14 + rax*8]
lea r14, [r14 + rax*8]
mov eax, r11d
mov ecx, edx
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r9d
add rdx, r11
mov r10, rdx
xor r10, r8
ror r10, 0x18
mov eax, r10d
imul rcx, rax
lea r13, [r9 + rcx*2]
mov ecx, edx
add r13, r10
xor r11, r13
ror r11, 0x10
mov eax, r11d
imul rcx, rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x58], r11
lea rbx, [rdx + rcx*2]
add rbx, r11
lea ecx, [rsi + 0x31]
mov r9, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
xor r10, rbx
mov qword [rsp + 0x68], rax
rol r10, 1
lea ecx, [rsi + 0x11]
mov qword [rbp - 0x48], r10
lea rax, [rbp - 0x10]
mov rdx, qword [rax + rcx*8]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x48], rax
lea r11, [rbp - 0x10]
mov eax, r9d
mov ecx, edx
imul rcx, rax
lea eax, [rsi + 0x71]
mov rdi, qword [r11 + rax*8]
lea r11, [r11 + rax*8]
lea eax, [rsi + 0x51]
lea rsi, [rbp - 0x10]
lea r8, [rdx + rcx*2]
mov rdx, qword [rsi + rax*8]
lea rsi, [rsi + rax*8]
mov ecx, edx
add r8, r9
xor rdi, r8
ror rdi, 0x20
mov eax, edi
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r8d
add rdx, rdi
mov r12, rdx
xor r12, r9
ror r12, 0x18
mov eax, r12d
imul rcx, rax
lea r15, [r8 + rcx*2]
mov r8, qword [rbp - 0x28]
add r15, r12
mov ecx, edx
xor rdi, r15
ror rdi, 0x10
mov eax, edi
imul rcx, rax
lea r10, [rdx + rcx*2]
mov rdx, qword [rsp + 0x20]
add r10, rdi
mov eax, edx
mov ecx, r8d
xor r12, r10
imul rcx, rax
rol r12, 1
lea rax, [r8 + rcx*2]
mov ecx, ebx
add rdx, rax
xor rdi, rdx
ror rdi, 0x20
mov eax, edi
imul rcx, rax
lea r8, [rbx + rcx*2]
mov ecx, edx
add r8, rdi
mov r9, r8
xor r9, qword [rsp + 0x20]
ror r9, 0x18
mov eax, r9d
imul rcx, rax
mov rax, qword [rbp - 0x30]
lea rcx, [rdx + rcx*2]
mov rdx, qword [rbp - 0x40]
add rcx, r9
mov qword [rax], rcx
xor rdi, rcx
ror rdi, 0x10
mov eax, edi
mov ecx, r8d
imul rcx, rax
mov rax, qword [rbp - 0x38]
mov qword [r11], rdi
mov r11, qword [rbp - 0x48]
lea rcx, [r8 + rcx*2]
add rcx, rdi
xor r9, rcx
mov qword [r14], rcx
rol r9, 1
mov qword [rax], r9
mov eax, r11d
mov ecx, edx
imul rcx, rax
lea rdx, [rdx + rcx*2]
mov ecx, r10d
add rdx, r11
mov r9, rdx
xor r9, qword [rbp - 0x50]
ror r9, 0x20
mov eax, r9d
imul rcx, rax
lea r8, [r10 + rcx*2]
mov r10, qword [rsp + 0x60]
add r8, r9
mov ecx, edx
xor r11, r8
ror r11, 0x18
mov eax, r11d
imul rcx, rax
mov rax, qword [rbp - 0x58]
lea rcx, [rdx + rcx*2]
add rcx, r11
mov qword [rax], rcx
xor r9, rcx
mov rax, qword [rbp - 0x60]
ror r9, 0x10
mov ecx, r8d
mov qword [rax], r9
mov eax, r9d
imul rcx, rax
mov rax, qword [rbp - 0x68]
lea rcx, [r8 + rcx*2]
mov r8, qword [rbp - 0x78]
add rcx, r9
xor r11, rcx
mov qword [rsi], rcx
rol r11, 1
mov qword [rax], r11
mov eax, r12d
mov ecx, r13d
imul rcx, rax
lea rdx, [rcx*2]
mov ecx, r8d
add rdx, r13
add rdx, r12
mov r9, rdx
xor r9, qword [rbp - 0x70]
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
mov rax, qword [rbp - 0x80]
lea rcx, [rdx + rcx*2]
add rcx, r12
mov qword [rax], rcx
xor r9, rcx
mov rax, qword [rsp + 0x78]
ror r9, 0x10
mov ecx, r8d
mov qword [rax], r9
mov eax, r9d
imul rcx, rax
mov rax, qword [rsp + 0x70]
lea rcx, [r8 + rcx*2]
add rcx, r9
mov qword [rax], rcx
xor r12, rcx
mov rax, qword [rsp + 0x68]
rol r12, 1
mov ecx, r15d
mov qword [rax], r12
mov eax, r10d
imul rcx, rax
lea rdx, [r15 + rcx*2]
add rdx, r10
mov r9, rdx
xor r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
ror r9, 0x20
mov eax, r9d
mov ecx, r8d
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 + 0x48]
lea rcx, [rdx + rcx*2]
add rcx, r10
mov qword [rax], rcx
xor r9, rcx
mov rax, qword [rsp + 0x40]
ror r9, 0x10
mov ecx, r8d
mov qword [rax], r9
mov eax, r9d
imul rcx, rax
mov rax, qword [rsp + 0x38]
lea rdx, [r8 + rcx*2]
add rdx, r9
xor r10, rdx
mov qword [rax], rdx
mov edx, dword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
inc edx
rol r10, 1
mov dword [rsp + 0x28], edx
mov qword [rax], r10
cmp edx, 8
jb 0x14004b400
mov rcx, qword [rbp - 0x18]
lea rdx, [rbp + 0x3f0]
call fcn.140045b70
mov rcx, qword [rbp - 0x18]
lea rdx, [rbp - 0x10]
call fcn.140046490
mov rcx, qword [rbp + 0x7f0]
xor rcx, rsp
call fcn.14004c1b0
mov rbx, qword [rsp + 0x958]
add rsp, 0x900
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret