Function at 0x4ac240
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rax, r8
shl rax, 5
add qword [rcx + 0x30], rax
mov eax, dword [rcx + 0x10]
mov qword [rsp + 0xa0], rcx
mov dword [rsp + 0x24], eax
mov eax, dword [rcx + 0x14]
mov qword [rsp + 0xa8], rdx
mov dword [rsp + 0x20], eax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x1c], eax
mov eax, dword [rcx + 0x1c]
mov dword [rsp + 0x18], eax
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x14], eax
mov eax, dword [rcx + 0x24]
mov dword [rsp + 0x10], eax
mov eax, dword [rcx + 0x28]
mov dword [rsp + 0xc], eax
mov eax, dword [rcx + 0x2c]
mov dword [rsp + 8], eax
test r8, r8
je 0x4acbf0
lea rax, [rdx + r8*4]
mov qword [rsp + 0x48], rax
nop dword [rax]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xa8]
movzx ecx, byte [rcx + 3]
movzx ebp, byte [rax]
mov r9, rcx
movzx edi, byte [rax + 1]
lea r10, [0x0076dde0]
shl r9, 5
mov r11d, dword [r10 + r9]
movzx esi, byte [rax + 2]
mov r8, rbp
lea rbx, [0x00773de0]
shl r8, 5
mov rdx, rdi
xor r11d, dword [rbx + r8]
lea r15, [0x00771de0]
shl rdx, 5
mov rax, rsi
shl rcx, 5
add rcx, r10
xor r11d, dword [r15 + rdx]
lea r14, [0x0076fde0]
shl rax, 5
shl rbp, 5
add rbp, rbx
xor r11d, dword [r14 + rax]
mov r10d, dword [rcx + 4]
mov ebx, dword [rcx + 8]
mov edx, dword [rcx + 0xc]
mov r9d, dword [rcx + 0x10]
mov eax, dword [rcx + 0x14]
mov r8d, dword [rcx + 0x18]
shl rdi, 5
add rdi, r15
xor r10d, dword [rbp + 4]
xor ebx, dword [rbp + 8]
xor edx, dword [rbp + 0xc]
xor r9d, dword [rbp + 0x10]
xor eax, dword [rbp + 0x14]
shl rsi, 5
add rsi, r14
xor r10d, dword [rdi + 4]
xor ebx, dword [rdi + 8]
xor edx, dword [rdi + 0xc]
xor r9d, dword [rdi + 0x10]
xor eax, dword [rdi + 0x14]
xor r8d, dword [rbp + 0x18]
xor r10d, dword [rsi + 4]
xor ebx, dword [rsi + 8]
xor edx, dword [rsi + 0xc]
xor r9d, dword [rsi + 0x10]
xor eax, dword [rsi + 0x14]
xor r8d, dword [rdi + 0x18]
mov ecx, dword [rcx + 0x1c]
xor r8d, dword [rsi + 0x18]
xor ecx, dword [rbp + 0x1c]
xor ecx, dword [rdi + 0x1c]
xor ecx, dword [rsi + 0x1c]
mov esi, dword [rsp + 0x10]
xor r11d, 0xff00f0f0
xor esi, 0xf0f0cccc
mov r15d, dword [rsp + 0x1c]
mov r13d, dword [rsp + 0xc]
mov dword [rsp + 0x2c], esi
xor r9d, 0xccccaaaa
mov esi, r11d
xor r15d, 0xf0f0cccc
xor r13d, 0xaaaaff00
and esi, r9d
xor esi, r13d
xor r9d, r15d
or r13d, r11d
xor r9d, esi
xor r15d, r13d
xor r11d, r9d
mov r13d, r15d
or r13d, r11d
xor r10d, 0xccccaaaa
xor r13d, esi
xor edx, 0xaaaaf0f0
and esi, r15d
mov r14d, dword [rsp + 0x18]
mov r12d, dword [rsp + 8]
mov dword [rsp + 0x28], edx
xor esi, r11d
xor eax, 0xff00f0f0
mov ebp, dword [rsp + 0x24]
mov edi, dword [rsp + 0x20]
mov edx, dword [rsp + 0x14]
mov r11d, r10d
xor r14d, 0xaaaaff00
xor r12d, 0xf0f0cccc
and r11d, eax
xor ebp, 0xf0f0cccc
xor edi, 0xff00aaaa
xor ebx, 0xccccff00
xor edx, 0xff00aaaa
xor r8d, 0xaaaaf0f0
xor ecx, 0xccccff00
xor r11d, r12d
xor eax, r14d
xor eax, r11d
or r12d, r10d
xor r14d, r12d
xor r10d, eax
mov dword [rsp + 0x30], r13d
mov r13d, r14d
or r14d, r10d
mov dword [rsp + 0x34], esi
mov esi, r14d
xor esi, r11d
and r11d, r13d
xor r11d, r10d
mov r10d, ebp
and r10d, edx
xor r10d, r8d
xor edx, ebx
or r8d, ebp
xor edx, r10d
xor r8d, ebx
xor ebp, edx
mov r12d, r8d
or r12d, ebp
mov ebx, dword [rsp + 0x2c]
xor r12d, r10d
and r10d, r8d
xor r10d, ebp
mov r14d, r10d
mov dword [rsp + 0x38], r11d
mov r10d, ebx
mov r11d, dword [rsp + 0x28]
and r10d, edi
xor r10d, ecx
xor ebx, r11d
or ecx, edi
xor ebx, r10d
xor r11d, ecx
xor edi, ebx
mov ecx, r11d
or ecx, edi
xor ecx, r10d
and r10d, r11d
xor edi, r10d
mov r10d, esi
xor r8d, r14d
rorx r9d, r9d, 0x13
xor r10d, r9d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x2c], esi
xor r8d, r12d
mov r14d, r10d
lea esi, [r9*8]
xor esi, edi
rorx r8d, r8d, 0x1d
xor r14d, r8d
xor esi, r8d
rorx r14d, r14d, 0x1f
mov r10d, r14d
xor r9d, r14d
shl r10d, 7
not esi
rorx esi, esi, 0x19
xor r9d, esi
xor r10d, esi
xor r8d, r10d
xor r11d, edi
rorx r10d, r9d, 0x1b
mov r9d, dword [rsp + 0x34]
xor r11d, ecx
rorx eax, eax, 0x13
xor r12d, eax
lea ebp, [rax*8]
xor ebp, r9d
rorx r11d, r11d, 0x1d
xor r12d, r11d
xor ebp, r11d
rorx r12d, r12d, 0x1f
mov edi, r12d
shl edi, 7
not ebp
xor eax, r12d
rorx ebp, ebp, 0x19
xor edi, ebp
xor eax, ebp
xor r11d, edi
mov dword [rsp + 0x3c], r10d
rorx r10d, eax, 0x1b
rorx eax, r11d, 0xa
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x30]
xor r15d, r9d
mov r9d, dword [rsp + 0x38]
xor r15d, eax
rorx edx, edx, 0x13
xor ecx, edx
lea edi, [rdx*8]
xor edi, r9d
rorx r15d, r15d, 0x1d
xor ecx, r15d
rorx ecx, ecx, 0x1f
xor edi, r15d
mov r11d, ecx
shl r11d, 7
not edi
xor edx, ecx
rorx edi, edi, 0x19
xor r11d, edi
xor edx, edi
xor r15d, r11d
xor r13d, r9d
xor r13d, dword [rsp + 0x2c]
rorx ebx, ebx, 0x13
xor eax, ebx
rorx r9d, r13d, 0x1d
rorx r8d, r8d, 0xa
mov r13d, eax
mov dword [rsp + 0x40], r8d
rorx r8d, edx, 0x1b
lea edx, [rbx*8]
xor r13d, r9d
xor edx, dword [rsp + 0x28]
xor edx, r9d
rorx r13d, r13d, 0x1f
mov eax, r13d
shl eax, 7
not edx
rorx edx, edx, 0x19
xor eax, edx
xor r9d, eax
xor ecx, 0xaaaaf0f0
rorx r11d, r15d, 0xa
rorx eax, r9d, 0xa
mov r9d, dword [rsp + 0x3c]
mov dword [rsp + 0x30], ecx
mov r15d, dword [rsp + 0x34]
xor r9d, 0xff00f0f0
xor r15d, 0xf0f0cccc
mov dword [rsp + 0x34], r15d
xor r11d, 0xccccaaaa
mov r15d, r9d
mov ecx, dword [rsp + 0x40]
xor ebx, r13d
and r15d, r11d
xor r13d, 0xf0f0cccc
xor ebp, 0xaaaaff00
xor r15d, ebp
xor ebx, edx
xor r11d, r13d
xor r10d, 0xccccaaab
xor r8d, 0xf0f0cccc
xor r11d, r15d
xor r14d, 0xaaaaff00
xor r12d, 0xccccff00
xor eax, 0xff00f0f0
xor ecx, 0xff00aaaa
xor edi, 0xf0f0cccc
xor edx, 0xaaaaf0f0
xor esi, 0xccccff00
rorx ebx, ebx, 0x1b
xor ebx, 0xff00aaaa
or ebp, r9d
xor r13d, ebp
xor r9d, r11d
mov ebp, r13d
or r13d, r9d
xor r13d, r15d
and r15d, ebp
xor r15d, r9d
mov r9d, r10d
and r9d, eax
xor r9d, edi
xor eax, r14d
xor eax, r9d
or edi, r10d
xor r14d, edi
xor r10d, eax
mov dword [rsp + 0x2c], r13d
mov r13d, r14d
or r14d, r10d
xor r14d, r9d
and r9d, r13d
xor r9d, r10d
mov dword [rsp + 0x3c], r9d
mov r9d, r8d
and r9d, ecx
xor r9d, edx
xor ecx, r12d
or edx, r8d
xor r12d, edx
xor ecx, r9d
xor r8d, ecx
mov r10d, r12d
or r10d, r8d
xor r10d, r9d
and r9d, r12d
xor r9d, r8d
mov r8d, dword [rsp + 0x34]
mov dword [rsp + 0x38], r15d
mov edi, r8d
and edi, ebx
mov edx, edi
mov edi, dword [rsp + 0x30]
xor edx, esi
xor r8d, edi
mov r15d, r8d
xor r15d, edx
or esi, ebx
xor esi, edi
xor ebx, r15d
mov r8d, esi
or r8d, ebx
xor r8d, edx
xor r12d, r9d
and edx, esi
xor ebx, edx
mov dword [rsp + 0x30], r14d
xor r12d, r10d
rorx r11d, r11d, 0x13
xor r14d, r11d
lea edi, [r11*8]
xor edi, ebx
rorx r12d, r12d, 0x1d
xor r14d, r12d
xor edi, r12d
rorx r14d, r14d, 0x1f
mov edx, r14d
shl edx, 7
not edi
rorx edi, edi, 0x19
xor edx, edi
xor r12d, edx
rorx eax, eax, 0x13
xor r10d, eax
xor esi, ebx
rorx r12d, r12d, 0xa
mov dword [rsp + 0x40], r12d
mov r12d, r10d
mov r10d, dword [rsp + 0x38]
mov dword [rsp + 0x28], ebp
xor esi, r8d
lea ebp, [rax*8]
xor ebp, r10d
rorx esi, esi, 0x1d
xor r12d, esi
xor ebp, esi
rorx r12d, r12d, 0x1f
mov ebx, r12d
xor r11d, r14d
shl ebx, 7
not ebp
mov edx, dword [rsp + 0x28]
xor r11d, edi
xor eax, r12d
rorx ebp, ebp, 0x19
xor ebx, ebp
xor esi, ebx
xor eax, ebp
rorx r11d, r11d, 0x1b
mov dword [rsp + 0x34], r11d
mov r11d, dword [rsp + 0x3c]
xor edx, r10d
rorx ecx, ecx, 0x13
rorx eax, eax, 0x1b
mov dword [rsp + 0x38], eax
rorx eax, esi, 0xa
mov dword [rsp + 0x44], eax
lea eax, [rcx*8]
xor edx, dword [rsp + 0x2c]
xor r8d, ecx
xor eax, r11d
rorx edx, edx, 0x1d
xor r8d, edx
xor eax, edx
rorx esi, r8d, 0x1f
not eax
xor ecx, esi
rorx eax, eax, 0x19
mov r10d, esi
xor ecx, eax
shl r10d, 7
rorx r8d, ecx, 0x1b
mov ecx, dword [rsp + 0x2c]
xor r10d, eax
xor r13d, r11d
xor r13d, dword [rsp + 0x30]
rorx ebx, r15d, 0x13
xor edx, r10d
xor ecx, ebx
rorx r11d, r13d, 0x1d
rorx r10d, edx, 0xa
mov r13d, ecx
lea edx, [rbx*8]
xor r13d, r11d
xor edx, r9d
xor edx, r11d
rorx r13d, r13d, 0x1f
mov ecx, r13d
shl ecx, 7
not edx
rorx edx, edx, 0x19
xor ecx, edx
xor r11d, ecx
mov r15d, dword [rsp + 0x44]
rorx ecx, r11d, 0xa
mov r11d, dword [rsp + 0x34]
xor esi, 0xaaaaf0f0
mov dword [rsp + 0x28], esi
xor r11d, 0xff00f0f0
xor ebx, r13d
xor r15d, 0xf0f0cccc
mov r9d, dword [rsp + 0x38]
mov esi, dword [rsp + 0x40]
mov dword [rsp + 0x2c], r15d
xor ebx, edx
xor r10d, 0xccccaaaa
mov r15d, r11d
xor r9d, 0xccccaaa8
xor r8d, 0xf0f0cccc
xor r13d, 0xf0f0cccc
xor r14d, 0xaaaaff00
xor r12d, 0xccccff00
xor ecx, 0xff00f0f0
xor esi, 0xff00aaaa
rorx ebx, ebx, 0x1b
xor ebx, 0xff00aaaa
xor ebp, 0xaaaaff00
and r15d, r10d
xor r15d, ebp
xor r10d, r13d
or ebp, r11d
xor r10d, r15d
xor r13d, ebp
xor r11d, r10d
mov ebp, r13d
or ebp, r11d
xor ebp, r15d
and r15d, r13d
xor r15d, r11d
mov r11d, r9d
xor eax, 0xf0f0cccc
and r11d, ecx
xor r11d, eax
xor ecx, r14d
or eax, r9d
xor ecx, r11d
xor r14d, eax
xor r9d, ecx
mov eax, r14d
or eax, r9d
xor eax, r11d
and r11d, r14d
xor r11d, r9d
mov r9d, r8d
and r9d, esi
xor edx, 0xaaaaf0f0
mov dword [rsp + 0x30], ebp
mov ebp, eax
mov eax, r9d
xor eax, edx
xor esi, r12d
or edx, r8d
xor r12d, edx
xor esi, eax
xor edi, 0xccccff00
mov r9d, r12d
xor r8d, esi
or r9d, r8d
xor r9d, eax
and eax, r12d
xor r8d, eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x34], r11d
mov r11d, eax
and r11d, ebx
xor eax, dword [rsp + 0x28]
mov edx, r11d
xor edx, edi
mov r11d, eax
or edi, ebx
xor edi, dword [rsp + 0x28]
xor r11d, edx
xor ebx, r11d
mov eax, edi
or eax, ebx
xor eax, edx
and edx, edi
xor ebx, edx
mov edx, ebp
rorx r10d, r10d, 0x13
xor edx, r10d
xor r12d, r8d
mov dword [rsp + 0x28], ebp
mov ebp, edx
lea edx, [r10*8]
xor r12d, r9d
xor edx, ebx
rorx r12d, r12d, 0x1d
xor ebp, r12d
xor edx, r12d
rorx ebp, ebp, 0x1f
not edx
xor r10d, ebp
shl ebp, 7
xor edi, ebx
rorx edx, edx, 0x19
rorx ecx, ecx, 0x13
xor ebp, edx
xor r10d, edx
lea edx, [rcx*8]
xor edi, eax
xor r9d, ecx
xor edx, r15d
rorx edi, edi, 0x1d
xor r12d, ebp
xor r9d, edi
xor edx, edi
rorx r9d, r9d, 0x1f
not edx
xor ecx, r9d
shl r9d, 7
rorx edx, edx, 0x19
xor r9d, edx
mov ebx, dword [rsp + 0x30]
xor r9d, edi
mov edi, dword [rsp + 0x34]
xor ecx, edx
xor r13d, r15d
rorx esi, esi, 0x13
lea edx, [rsi*8]
xor r13d, ebx
xor eax, esi
xor edx, edi
rorx r13d, r13d, 0x1d
xor eax, r13d
xor edx, r13d
rorx eax, eax, 0x1f
not edx
xor esi, eax
shl eax, 7
xor r14d, edi
rorx edx, edx, 0x19
rorx r11d, r11d, 0x13
xor esi, edx
xor ebx, r11d
xor eax, edx
lea edx, [r11*8]
xor r14d, dword [rsp + 0x28]
xor edx, r8d
mov ebp, ebx
rorx r14d, r14d, 0x1d
xor ebp, r14d
xor edx, r14d
rorx ebp, ebp, 0x1f
not edx
xor r11d, ebp
shl ebp, 7
rorx edx, edx, 0x19
xor ebp, edx
xor eax, r13d
xor r11d, edx
xor ebp, r14d
rorx r9d, r9d, 0xa
rorx ebp, ebp, 0xa
xor dword [rsp + 8], r9d
xor dword [rsp + 0x10], ebp
rorx eax, eax, 0xa
rorx r12d, r12d, 0xa
xor dword [rsp + 0x14], eax
xor dword [rsp + 0xc], r12d
rorx r11d, r11d, 0x1b
rorx esi, esi, 0x1b
xor dword [rsp + 0x18], r11d
rorx ecx, ecx, 0x1b
xor dword [rsp + 0x1c], esi
xor dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0xa0]
mov r8d, dword [rsp + 8]
mov r13d, dword [rsp + 0xc]
mov ebx, dword [rsp + 0x10]
mov edx, dword [rsp + 0x14]
mov r14d, dword [rsp + 0x18]
mov r15d, dword [rsp + 0x1c]
mov edi, dword [rsp + 0x20]
mov dword [r9 + 0x2c], r8d
mov dword [r9 + 0x28], r13d
mov dword [r9 + 0x24], ebx
mov dword [r9 + 0x20], edx
mov dword [r9 + 0x1c], r14d
mov dword [r9 + 0x18], r15d
mov dword [r9 + 0x14], edi
rorx r10d, r10d, 0x1b
xor dword [rsp + 0x24], r10d
add qword [rsp + 0xa8], 4
mov ebp, dword [rsp + 0x24]
mov rax, qword [rsp + 0x48]
mov dword [r9 + 0x10], ebp
cmp rax, qword [rsp + 0xa8]
jne 0x4ac2b8
vmovd xmm3, dword [rsp + 0xc]
vmovd xmm4, dword [rsp + 0x14]
vpinsrd xmm1, xmm3, dword [rsp + 8], 1
vpinsrd xmm0, xmm4, dword [rsp + 0x10], 1
vmovd xmm5, dword [rsp + 0x1c]
vmovd xmm3, dword [rsp + 0x24]
vpunpcklqdq xmm1, xmm0, xmm1
vpinsrd xmm2, xmm5, dword [rsp + 0x18], 1
vpinsrd xmm0, xmm3, dword [rsp + 0x20], 1
mov rax, qword [rsp + 0xa0]
vpunpcklqdq xmm0, xmm0, xmm2
vinserti128 ymm0, ymm0, xmm1, 1
vmovdqu ymmword [rax + 0x10], ymm0
vzeroupper
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret