Function at 0x1800051b8
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x180005e93
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov rax, rcx
lea r9, [rbp - 0x80]
lea rcx, [rbp - 0x80]
mov r8, rax
sub rcx, rax
lea rsi, [0x180068000]
mov qword [rbp + 0x98], rcx
lea rcx, [rbp - 0x80]
sub rcx, rdx
sub r8, r9
mov qword [rsp + 0x70], rcx
mov qword [rbp + 0xa0], r8
movups xmm0, xmmword [rax]
lea r9, [r8 + rcx]
mov qword [rbp + 0x90], rdx
movups xmm1, xmmword [rax + 0x10]
mov r8d, 8
movaps xmmword [rbp + 0xb0], xmm0
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp + 0xc0], xmm1
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp + 0xd0], xmm0
movaps xmmword [rbp + 0xe0], xmm1
mov rax, qword [r9 + rdx]
xor rax, qword [rdx]
mov qword [rcx + rdx], rax
add rdx, 8
sub r8, 1
jne 0x180005257
mov rax, qword [rbp + 0xb0]
lea r8, [0x18006c020]
mov r9, qword [rbp + 0xd8]
mov r10, qword [rbp + 0xd0]
mov r11, qword [rbp + 0xc8]
mov rbx, qword [rbp + 0xc0]
mov rdi, qword [rbp + 0xb8]
mov r12, qword [rbp - 0x78]
mov r14, qword [rbp - 0x80]
mov r15, qword [rbp + 0xe8]
mov r13, qword [rbp + 0xe0]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x58], rax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp - 0x58]
mov qword [rsp], rax
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x148], rdx
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], r12
mov qword [rsp + 0x38], r14
mov rax, r15
shr rax, 8
movzx edx, al
mov rax, r13
shr rax, 0x10
movzx ecx, al
mov rax, r9
shr rax, 0x18
mov rsi, qword [rsi + rdx*8 + 0x800]
lea rdx, [0x180068000]
xor rsi, qword [rdx + rcx*8 + 0x1000]
movzx ecx, al
mov rax, r10
shr rax, 0x20
xor rsi, qword [rdx + rcx*8 + 0x1800]
movzx ecx, al
mov rax, r11
shr rax, 0x28
xor rsi, qword [rdx + rcx*8 + 0x2000]
movzx ecx, al
mov rax, rbx
shr rax, 0x30
xor rsi, qword [rdx + rcx*8 + 0x2800]
movzx ecx, al
mov rax, rdi
shr rax, 0x38
xor rsi, qword [rdx + rcx*8 + 0x3000]
xor rsi, qword [rdx + rax*8 + 0x3800]
mov rcx, qword [rbp + 0x158]
movzx eax, cl
xor rsi, qword [rdx + rax*8]
mov rax, rcx
xor rsi, qword [r8]
mov r8, qword [rsp + 8]
shr rax, 8
movzx edx, al
mov rax, r15
shr rax, 0x10
movzx ecx, al
lea rax, [0x180068000]
mov qword [rbp + 0xa8], rsi
mov rdi, qword [rax + rdx*8 + 0x800]
lea rdx, [0x180068000]
mov rax, r13
xor rdi, qword [rdx + rcx*8 + 0x1000]
shr rax, 0x18
movzx ecx, al
mov rax, r9
shr rax, 0x20
xor rdi, qword [rdx + rcx*8 + 0x1800]
movzx ecx, al
mov rax, r10
shr rax, 0x28
xor rdi, qword [rdx + rcx*8 + 0x2000]
movzx ecx, al
mov rax, r11
shr rax, 0x30
xor rdi, qword [rdx + rcx*8 + 0x2800]
movzx ecx, al
mov rax, rbx
shr rax, 0x38
xor rdi, qword [rdx + rcx*8 + 0x3000]
xor rdi, qword [rdx + rax*8 + 0x3800]
movzx eax, r8b
xor rdi, qword [rdx + rax*8]
mov rax, qword [rbp + 0x158]
shr rax, 0x10
movzx edx, al
mov rax, r15
shr rax, 0x18
movzx ecx, al
lea rax, [0x180068000]
mov qword [rbp - 0x40], rdi
mov rbx, qword [rax + rdx*8 + 0x1000]
lea rdx, [0x180068000]
mov rax, r13
xor rbx, qword [rdx + rcx*8 + 0x1800]
shr rax, 0x20
movzx ecx, al
mov rax, r9
xor rbx, qword [rdx + rcx*8 + 0x2000]
shr rax, 0x28
movzx ecx, al
mov rax, r10
shr rax, 0x30
xor rbx, qword [rdx + rcx*8 + 0x2800]
movzx ecx, al
mov rax, r8
shr rax, 8
mov r8, qword [rsp + 0x18]
xor rbx, qword [rdx + rcx*8 + 0x3000]
movzx ecx, al
mov rax, r11
shr rax, 0x38
xor rbx, qword [rdx + rcx*8 + 0x800]
xor rbx, qword [rdx + rax*8 + 0x3800]
movzx eax, r8b
xor rbx, qword [rdx + rax*8]
mov rax, qword [rbp + 0x158]
shr rax, 0x18
movzx edx, al
mov rax, r15
shr rax, 0x20
movzx ecx, al
lea rax, [0x180068000]
mov qword [rbp - 0x38], rbx
mov r11, qword [rax + rdx*8 + 0x1800]
lea rdx, [0x180068000]
mov rax, r13
xor r11, qword [rdx + rcx*8 + 0x2000]
shr rax, 0x28
movzx ecx, al
mov rax, r9
shr rax, 0x30
xor r11, qword [rdx + rcx*8 + 0x2800]
movzx ecx, al
mov rax, r8
mov r8, qword [rsp + 0x40]
shr rax, 8
xor r11, qword [rdx + rcx*8 + 0x3000]
movzx ecx, al
mov rax, qword [rsp + 8]
shr rax, 0x10
xor r11, qword [rdx + rcx*8 + 0x800]
movzx ecx, al
mov rax, r10
shr rax, 0x38
xor r11, qword [rdx + rcx*8 + 0x1000]
xor r11, qword [rdx + rax*8 + 0x3800]
movzx eax, r8b
xor r11, qword [rdx + rax*8]
mov rax, qword [rbp + 0x158]
shr rax, 0x20
movzx edx, al
mov rax, r15
shr rax, 0x28
movzx ecx, al
lea rax, [0x180068000]
mov qword [rbp - 0x30], r11
mov r10, qword [rax + rdx*8 + 0x2000]
lea rdx, [0x180068000]
mov rax, r13
xor r10, qword [rdx + rcx*8 + 0x2800]
shr rax, 0x30
movzx ecx, al
mov rax, r8
mov r8, qword [rsp + 0x50]
shr rax, 8
xor r10, qword [rdx + rcx*8 + 0x3000]
movzx ecx, al
mov rax, qword [rsp + 0x18]
shr rax, 0x10
xor r10, qword [rdx + rcx*8 + 0x800]
movzx ecx, al
mov rax, qword [rsp + 8]
shr rax, 0x18
xor r10, qword [rdx + rcx*8 + 0x1000]
movzx ecx, al
mov rax, r9
shr rax, 0x38
xor r10, qword [rdx + rcx*8 + 0x1800]
xor r10, qword [rdx + rax*8 + 0x3800]
movzx eax, r8b
xor r10, qword [rdx + rax*8]
mov rax, qword [rbp + 0x158]
shr rax, 0x28
movzx edx, al
mov rax, r15
shr rax, 0x30
movzx ecx, al
lea rax, [0x180068000]
mov qword [rbp - 0x28], r10
mov r9, qword [rax + rdx*8 + 0x2800]
mov rax, r8
shr rax, 8
lea rdx, [0x180068000]
xor r9, qword [rdx + rcx*8 + 0x3000]
movzx ecx, al
mov rax, qword [rsp + 0x40]
shr rax, 0x10
xor r9, qword [rdx + rcx*8 + 0x800]
movzx ecx, al
mov rax, qword [rsp + 0x18]
shr rax, 0x18
xor r9, qword [rdx + rcx*8 + 0x1000]
movzx ecx, al
mov rax, qword [rsp + 8]
shr rax, 0x20
xor r9, qword [rdx + rcx*8 + 0x1800]
movzx ecx, al
mov rax, r13
shr rax, 0x38
xor r9, qword [rdx + rcx*8 + 0x2000]
xor r9, qword [rdx + rax*8 + 0x3800]
mov rcx, qword [rsp + 0x60]
movzx eax, cl
xor r9, qword [rdx + rax*8]
mov rax, qword [rbp + 0x158]
shr rax, 0x30
movzx edx, al
mov rax, rcx
shr rax, 8
movzx ecx, al
lea rax, [0x180068000]
mov qword [rbp + 8], r9
mov r8, qword [rax + rdx*8 + 0x3000]
lea rdx, [0x180068000]
mov rax, qword [rsp + 0x50]
xor r8, qword [rdx + rcx*8 + 0x800]
shr rax, 0x10
movzx ecx, al
mov rax, qword [rsp + 0x40]
shr rax, 0x18
xor r8, qword [rdx + rcx*8 + 0x1000]
movzx ecx, al
mov rax, qword [rsp + 0x18]
shr rax, 0x20
xor r8, qword [rdx + rcx*8 + 0x1800]
movzx ecx, al
mov rax, qword [rsp + 8]
shr rax, 0x28
xor r8, qword [rdx + rcx*8 + 0x2000]
movzx ecx, al
mov rax, r15
shr rax, 0x38
xor r8, qword [rdx + rcx*8 + 0x2800]
xor r8, qword [rdx + rax*8 + 0x3800]
movzx eax, r13b
shr r13, 8
movzx ecx, r13b
xor r8, qword [rdx + rax*8]
mov rax, qword [rsp + 0x60]
mov rdx, qword [rdx + rcx*8 + 0x800]
lea rcx, [0x180068000]
shr rax, 0x10
movzx eax, al
mov qword [rbp + 0x40], r8
xor rdx, qword [rcx + rax*8 + 0x1000]
mov rax, qword [rsp + 0x50]
shr rax, 0x18
movzx eax, al
xor rdx, qword [rcx + rax*8 + 0x1800]
mov rax, qword [rsp + 0x40]
shr rax, 0x20
mov r13, r14
movzx eax, al
mov qword [rbp + 0x88], r8
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x50], r10
mov r10, r14
xor rdx, qword [rcx + rax*8 + 0x2000]
mov rax, qword [rsp + 0x18]
shr rax, 0x28
movzx eax, al
mov qword [rsp + 0x60], r9
mov r9, r14
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x40], r11
mov r11, r12
xor rdx, qword [rcx + rax*8 + 0x2800]
mov rax, qword [rsp + 8]
shr rax, 0x30
movzx eax, al
mov qword [rsp + 8], rdi
mov rdi, r12
shr r9, 8
shr r10, 0x10
xor rdx, qword [rcx + rax*8 + 0x3000]
mov rax, qword [rbp + 0x158]
shr rax, 0x38
mov qword [rbp + 0x158], rsi
mov rsi, r14
shr r11, 8
shr rsi, 0x18
xor rdx, qword [rcx + rax*8 + 0x3800]
movzx eax, r15b
mov r15, r8
shr rdi, 0x10
shr r13, 0x20
shr r15, 8
xor rdx, qword [rcx + rax*8]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
shr rax, 0x28
mov r14, rcx
mov qword [rbp], rax
mov qword [rbp + 0x80], rdx
mov rdx, qword [rsp + 0x30]
mov rax, rdx
shr rbx, 8
shr rax, 8
mov qword [rbp - 8], rax
mov rax, r8
shr rax, 0x10
mov qword [rbp - 0x10], rax
mov rax, rcx
shr rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rsp + 0x10]
shr rax, 0x20
mov qword [rbp - 0x20], rax
mov rax, qword [rsp + 0x38]
shr rax, 0x30
mov qword [rbp + 0x38], rax
mov rax, qword [rsp]
shr rax, 8
mov qword [rbp + 0x30], rax
mov rax, rdx
shr rax, 0x10
mov qword [rbp + 0x28], rax
mov rax, r8
shr rax, 0x18
mov qword [rbp + 0x20], rax
mov rax, rcx
shr rax, 0x20
mov qword [rbp + 0x18], rax
mov rax, qword [rsp + 0x10]
shr rax, 0x28
mov qword [rbp + 0x10], rax
mov rax, qword [rsp + 0x38]
shr r14, 0x10
shr r12, 0x18
shr rax, 0x38
mov qword [rbp + 0x78], rax
mov rax, qword [rsp + 0x48]
shr rax, 8
mov qword [rbp + 0x68], rax
mov rax, qword [rsp]
shr rax, 0x10
mov qword [rbp + 0x58], rax
mov rax, rdx
shr rax, 0x18
mov qword [rbp + 0x70], rax
mov rax, r8
shr rax, 0x20
mov qword [rbp + 0x50], rax
mov rax, rcx
shr rax, 0x28
mov qword [rbp + 0x48], rax
mov rax, qword [rsp + 0x10]
shr rax, 0x30
mov qword [rbp + 0x60], rax
mov rax, qword [rsp + 0x58]
shr rax, 8
movzx edx, al
mov rax, qword [rsp + 0x48]
shr rax, 0x10
movzx ecx, al
lea rax, [0x180068000]
mov r8, qword [rax + rdx*8 + 0x800]
lea rdx, [0x180068000]
mov rax, qword [rsp]
shr rax, 0x18
xor r8, qword [rdx + rcx*8 + 0x1000]
movzx ecx, al
mov rax, qword [rsp + 0x30]
shr rax, 0x20
xor r8, qword [rdx + rcx*8 + 0x1800]
movzx ecx, al
mov rax, qword [rsp + 0x28]
shr rax, 0x28
xor r8, qword [rdx + rcx*8 + 0x2000]
movzx ecx, al
mov rax, qword [rsp + 0x20]
shr rax, 0x30
xor r8, qword [rdx + rcx*8 + 0x2800]
movzx ecx, al
mov rax, qword [rsp + 0x10]
shr rax, 0x38
xor r8, qword [rdx + rcx*8 + 0x3000]
xor r8, qword [rdx + rax*8 + 0x3800]
movzx eax, byte [rsp + 0x38]
mov rcx, r8
xor rcx, qword [rdx + rax*8]
xor rcx, qword [rbp + 0xa8]
mov rax, qword [rsp + 0x58]
shr rax, 0x10
movzx edx, al
mov rax, qword [rsp + 0x48]
shr rax, 0x18
mov qword [rsp + 0x38], rcx
mov qword [rbp - 0x80], rcx
movzx ecx, al
lea rax, [0x180068000]
mov r8, qword [rax + rdx*8 + 0x1000]
lea rdx, [0x180068000]
mov rax, qword [rsp]
shr rax, 0x20
xor r8, qword [rdx + rcx*8 + 0x1800]
movzx ecx, al
mov rax, qword [rsp + 0x30]
shr rax, 0x28
xor r8, qword [rdx + rcx*8 + 0x2000]
movzx ecx, al
mov rax, qword [rsp + 0x28]
shr rax, 0x30
xor r8, qword [rdx + rcx*8 + 0x2800]
movzx ecx, al
mov rax, qword [rsp + 0x20]
shr rax, 0x38
xor r8, qword [rdx + rcx*8 + 0x3000]
xor r8, qword [rdx + rax*8 + 0x3800]
movzx eax, r9b
xor r8, qword [rdx + rax*8 + 0x800]
movzx eax, byte [rsp + 0x10]
mov rcx, r8
mov r9, qword [rsp + 0x58]
xor rcx, qword [rdx + rax*8]
mov rax, r9
xor rcx, qword [rbp - 0x40]
shr rax, 0x18
movzx edx, al
mov rax, qword [rsp + 0x48]
shr rax, 0x20
mov qword [rsp + 0x10], rcx
mov qword [rbp - 0x78], rcx
movzx ecx, al
lea rax, [0x180068000]
mov r8, qword [rax + rdx*8 + 0x1800]
lea rdx, [0x180068000]
mov rax, qword [rsp]
shr rax, 0x28
xor r8, qword [rdx + rcx*8 + 0x2000]
movzx ecx, al
mov rax, qword [rsp + 0x30]
shr rax, 0x30
xor r8, qword [rdx + rcx*8 + 0x2800]
movzx ecx, al
mov rax, qword [rsp + 0x28]
shr rax, 0x38
xor r8, qword [rdx + rcx*8 + 0x3000]
xor r8, qword [rdx + rax*8 + 0x3800]
movzx eax, byte [rsp + 0x20]
mov rcx, r8
xor rcx, qword [rdx + rax*8]
movzx eax, r10b
mov r10, qword [rsp + 0x48]
xor rcx, qword [rdx + rax*8 + 0x1000]
movzx eax, r11b
mov r11, qword [rsp + 0x30]
xor rcx, qword [rdx + rax*8 + 0x800]
mov rax, r9
xor rcx, qword [rbp - 0x38]
shr rax, 0x20
movzx edx, al
mov rax, r10
shr rax, 0x28
mov qword [rsp + 0x20], rcx
mov qword [rbp - 0x70], rcx
movzx ecx, al
lea rax, [0x180068000]
mov r8, qword [rax + rdx*8 + 0x2000]
lea rdx, [0x180068000]
mov rax, qword [rsp]
shr rax, 0x30
xor r8, qword [rdx + rcx*8 + 0x2800]
movzx ecx, al
mov rax, r11
shr rax, 0x38
xor r8, qword [rdx + rcx*8 + 0x3000]
xor r8, qword [rdx + rax*8 + 0x3800]
movzx eax, byte [rsp + 0x28]
mov rcx, r8
xor rcx, qword [rdx + rax*8]
movzx eax, bl
mov rbx, qword [rsp]
xor rcx, qword [rdx + rax*8 + 0x800]
movzx eax, sil
lea rsi, [0x180068000]
xor rcx, qword [rsi + rax*8 + 0x1800]
movzx eax, dil
xor rcx, qword [rsi + rax*8 + 0x1000]
mov rax, r9
xor rcx, qword [rbp - 0x30]
shr rax, 0x28
movzx edx, al
mov rax, r10
shr rax, 0x30
mov qword [rsp + 0x28], rcx
mov qword [rbp - 0x68], rcx
mov r8, qword [rsi + rdx*8 + 0x2800]
movzx ecx, al
mov rax, rbx
xor r8, qword [rsi + rcx*8 + 0x3000]
shr rax, 0x38
xor r8, qword [rsi + rax*8 + 0x3800]
mov rcx, r8
movzx eax, r11b
mov r8, qword [rsp + 0x68]
xor rcx, qword [rsi + rax*8]
movzx eax, r14b
xor rcx, qword [rsi + rax*8 + 0x1000]
movzx eax, r15b
mov r15, qword [rbp + 0x80]
xor rcx, qword [rsi + rax*8 + 0x800]
movzx eax, r13b
xor rcx, qword [rsi + rax*8 + 0x2000]
movzx eax, r12b
xor rcx, qword [rsi + rax*8 + 0x1800]
mov rax, r9
xor rcx, qword [rbp - 0x28]
mov qword [rsp + 0x30], rcx
mov qword [rbp - 0x60], rcx
shr rax, 0x30
movzx ecx, al
mov rax, r10
shr rax, 0x38
mov rcx, qword [rsi + rcx*8 + 0x3000]
xor rcx, qword [rsi + rax*8 + 0x3800]
movzx eax, byte [rbp - 0x20]
xor rcx, qword [rsi + rax*8 + 0x2000]
movzx eax, byte [rbp - 0x18]
xor rcx, qword [rsi + rax*8 + 0x1800]
movzx eax, byte [rbp - 0x10]
xor rcx, qword [rsi + rax*8 + 0x1000]
movzx eax, byte [rbp - 8]
xor rcx, qword [rsi + rax*8 + 0x800]
movzx eax, bl
xor rcx, qword [rsi + rax*8]
movzx eax, byte [rbp]
xor rcx, qword [rsi + rax*8 + 0x2800]
xor rcx, qword [rbp + 8]
movzx eax, byte [rbp + 0x10]
mov qword [rsp], rcx
mov qword [rbp - 0x58], rcx
mov rcx, r9
shr rcx, 0x38
mov rcx, qword [rsi + rcx*8 + 0x3800]
xor rcx, qword [rsi + rax*8 + 0x2800]
movzx eax, r10b
xor rcx, qword [rsi + rax*8]
movzx eax, byte [rbp + 0x18]
xor rcx, qword [rsi + rax*8 + 0x2000]
movzx eax, byte [rbp + 0x20]
xor rcx, qword [rsi + rax*8 + 0x1800]
movzx eax, byte [rbp + 0x28]
xor rcx, qword [rsi + rax*8 + 0x1000]
movzx eax, byte [rbp + 0x30]
xor rcx, qword [rsi + rax*8 + 0x800]
movzx eax, byte [rbp + 0x38]
xor rcx, qword [rsi + rax*8 + 0x3000]
xor rcx, qword [rbp + 0x40]
movzx eax, byte [rbp + 0x48]
mov qword [rsp + 0x48], rcx
mov qword [rbp - 0x50], rcx
movzx ecx, r9b
mov rcx, qword [rsi + rcx*8]
xor rcx, qword [rsi + rax*8 + 0x2800]
movzx eax, byte [rbp + 0x50]
xor rcx, qword [rsi + rax*8 + 0x2000]
movzx eax, byte [rbp + 0x58]
xor rcx, qword [rsi + rax*8 + 0x1000]
movzx eax, byte [rbp + 0x60]
xor rcx, qword [rsi + rax*8 + 0x3000]
movzx eax, byte [rbp + 0x68]
xor rcx, qword [rsi + rax*8 + 0x800]
movzx eax, byte [rbp + 0x70]
xor rcx, qword [rsi + rax*8 + 0x1800]
mov rax, qword [rbp + 0x78]
xor rcx, qword [rsi + rax*8 + 0x3800]
lea rax, [0x18006c070]
xor rcx, r15
add r8, 8
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x68], r8
mov qword [rbp - 0x48], rcx
mov r12, qword [rsp + 0x10]
mov r14, qword [rsp + 0x38]
mov r13, qword [rbp + 0x88]
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0x50]
mov r11, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x18]
mov rdi, qword [rsp + 8]
cmp r8, rax
jl 0x18000531e
mov r8, qword [rbp + 0x140]
mov r9d, 8
mov r10, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x98]
lea rcx, [rbp - 0x80]
add rdx, r8
mov rax, rdx
sub rax, rcx
mov rcx, qword [rax + r10]
xor rcx, qword [r8]
xor rcx, qword [rdx]
mov qword [r8], rcx
add r8, 8
sub r9, 1
jne 0x180005e24
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rbp + 0x148]
sub rcx, 0x40
sub qword [rbp + 0x150], 1
mov rax, qword [rbp + 0x140]
mov r8, qword [rbp + 0xa0]
mov qword [rsp + 0x70], rcx
jne 0x18000521b
add rsp, 0x1f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret