Function at 0x499cb0
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
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rdx
shl rax, 5
add qword [rcx + 0x30], rax
mov eax, dword [rcx + 0x10]
mov dword [rsp + 0x24], eax
mov eax, dword [rcx + 0x14]
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 0x49a686
lea rax, [rdx + r8*4]
mov qword [rsp + 0x48], rax
nop word cs:[rax + rax]
mov rbx, qword [rsp + 0xa8]
lea r10, [0x006f1d60]
lea r15, [0x006efd60]
mov rax, qword [rsp + 0xa8]
movzx esi, byte [rbx + 3]
lea rbx, [0x006edd60]
movzx ecx, byte [rax + 1]
movzx edi, byte [rax]
movzx ebp, byte [rax + 2]
mov r9, rsi
shl rsi, 5
shl r9, 5
mov rdx, rcx
shl rcx, 5
shl rdi, 5
shl rbp, 5
add rcx, r10
add rsi, rbx
mov r11d, dword [rbx + r9]
shl rdx, 5
lea rbx, [0x006f3d60]
mov eax, dword [rcx + 4]
xor eax, dword [r15 + rbp + 4]
mov edx, dword [r10 + rdx]
mov r10d, dword [rsi + 4]
mov r14, rbx
xor r10d, dword [rbx + rdi + 4]
xor edx, dword [r15 + rbp]
xor r11d, dword [rbx + rdi]
mov ebx, dword [rsi + 8]
xor ebx, dword [r14 + rdi + 8]
mov r9d, dword [rsi + 0x10]
xor r9d, dword [r14 + rdi + 0x10]
xor r10d, eax
mov eax, dword [rcx + 8]
xor eax, dword [r15 + rbp + 8]
xor r11d, edx
mov edx, dword [rsi + 0xc]
xor edx, dword [r14 + rdi + 0xc]
xor ebx, eax
mov eax, dword [rcx + 0xc]
xor eax, dword [r15 + rbp + 0xc]
xor edx, eax
mov eax, dword [rcx + 0x10]
xor eax, dword [r15 + rbp + 0x10]
xor r9d, eax
mov eax, dword [rcx + 0x14]
xor eax, dword [r15 + rbp + 0x14]
mov r8d, eax
mov eax, dword [rsi + 0x14]
xor eax, dword [r14 + rdi + 0x14]
xor eax, r8d
mov r8d, dword [rcx + 0x18]
xor r8d, dword [r15 + rbp + 0x18]
mov r12d, r8d
mov r8d, dword [rsi + 0x18]
mov ecx, dword [rcx + 0x1c]
mov esi, dword [rsi + 0x1c]
xor ecx, dword [r15 + rbp + 0x1c]
xor esi, dword [r14 + rdi + 0x1c]
xor r8d, dword [r14 + rdi + 0x18]
mov r15d, dword [rsp + 0x1c]
mov r13d, dword [rsp + 0xc]
mov r14d, dword [rsp + 0x18]
mov ebp, dword [rsp + 0x24]
mov edi, dword [rsp + 0x20]
xor ecx, esi
mov esi, dword [rsp + 0x10]
xor r8d, r12d
xor r11d, 0xff00f0f0
xor r9d, 0xccccaaaa
xor r15d, 0xf0f0cccc
xor r13d, 0xaaaaff00
mov r12d, dword [rsp + 8]
xor r10d, 0xccccaaaa
xor edx, 0xaaaaf0f0
xor eax, 0xff00f0f0
xor r14d, 0xaaaaff00
mov dword [rsp + 0x28], edx
mov edx, dword [rsp + 0x14]
xor ebp, 0xf0f0cccc
xor edi, 0xff00aaaa
xor esi, 0xf0f0cccc
xor ebx, 0xccccff00
xor r8d, 0xaaaaf0f0
xor ecx, 0xccccff00
mov dword [rsp + 0x2c], esi
mov esi, r11d
xor r12d, 0xf0f0cccc
and esi, r9d
xor r9d, r15d
xor esi, r13d
or r13d, r11d
xor edx, 0xff00aaaa
xor r9d, esi
xor r15d, r13d
xor r11d, r9d
mov r13d, r15d
rorx r9d, r9d, 0x13
or r13d, r11d
xor r13d, esi
and esi, r15d
xor esi, r11d
mov r11d, r10d
mov dword [rsp + 0x30], r13d
and r11d, eax
xor eax, r14d
mov dword [rsp + 0x34], esi
xor r11d, r12d
or r12d, r10d
xor eax, r11d
xor r14d, r12d
xor r10d, eax
mov r13d, r14d
rorx eax, eax, 0x13
or r14d, r10d
mov esi, r14d
xor esi, r11d
and r11d, r13d
xor r11d, r10d
mov r10d, ebp
and r10d, edx
xor edx, ebx
mov dword [rsp + 0x38], r11d
mov r11d, dword [rsp + 0x28]
xor r10d, r8d
or r8d, ebp
xor r8d, ebx
xor edx, r10d
mov ebx, dword [rsp + 0x2c]
mov dword [rsp + 0x2c], esi
xor ebp, edx
mov r12d, r8d
rorx edx, edx, 0x13
or r12d, ebp
xor r12d, r10d
and r10d, r8d
xor r10d, ebp
lea ebp, [rax*8]
mov r14d, r10d
mov r10d, ebx
xor ebx, r11d
and r10d, edi
xor r8d, r14d
mov dword [rsp + 0x28], r14d
xor r10d, ecx
or ecx, edi
xor r8d, r12d
xor ebx, r10d
xor r11d, ecx
rorx r8d, r8d, 0x1d
xor edi, ebx
mov ecx, r11d
rorx ebx, ebx, 0x13
or ecx, edi
xor ecx, r10d
and r10d, r11d
xor edi, r10d
mov r10d, esi
lea esi, [r9*8]
xor r10d, r9d
mov r14d, r10d
xor r14d, r8d
xor esi, edi
xor r11d, edi
xor r12d, eax
xor esi, r8d
rorx r14d, r14d, 0x1f
xor r11d, ecx
xor ecx, edx
mov r10d, r14d
not esi
xor r9d, r14d
rorx r11d, r11d, 0x1d
rorx esi, esi, 0x19
shl r10d, 7
xor r12d, r11d
xor r9d, esi
xor r10d, esi
rorx r12d, r12d, 0x1f
xor r8d, r10d
rorx r10d, r9d, 0x1b
mov r9d, dword [rsp + 0x34]
mov edi, r12d
shl edi, 7
xor eax, r12d
mov dword [rsp + 0x3c], r10d
rorx r8d, r8d, 0xa
mov dword [rsp + 0x40], r8d
xor ebp, r9d
xor r15d, r9d
mov r9d, dword [rsp + 0x38]
xor ebp, r11d
not ebp
rorx ebp, ebp, 0x19
xor edi, ebp
xor eax, ebp
xor r13d, r9d
xor r13d, dword [rsp + 0x2c]
xor r11d, edi
rorx r10d, eax, 0x1b
lea edi, [rdx*8]
rorx eax, r11d, 0xa
xor edi, r9d
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x30]
rorx r9d, r13d, 0x1d
xor r15d, eax
xor eax, ebx
rorx r15d, r15d, 0x1d
mov r13d, eax
xor ecx, r15d
xor edi, r15d
rorx ecx, ecx, 0x1f
not edi
mov r11d, ecx
rorx edi, edi, 0x19
xor edx, ecx
shl r11d, 7
xor edx, edi
xor r11d, edi
rorx r8d, edx, 0x1b
lea edx, [rbx*8]
xor r15d, r11d
xor r13d, r9d
xor edx, dword [rsp + 0x28]
xor ecx, 0xaaaaf0f0
rorx r13d, r13d, 0x1f
rorx r11d, r15d, 0xa
xor ebp, 0xaaaaff00
mov eax, r13d
xor r11d, 0xccccaaaa
xor ebx, r13d
xor r13d, 0xf0f0cccc
shl eax, 7
xor r10d, 0xccccaaab
xor r8d, 0xf0f0cccc
xor r14d, 0xaaaaff00
xor r12d, 0xccccff00
xor edi, 0xf0f0cccc
xor esi, 0xccccff00
xor edx, r9d
not edx
rorx edx, edx, 0x19
xor eax, edx
xor ebx, edx
xor edx, 0xaaaaf0f0
xor r9d, eax
rorx ebx, ebx, 0x1b
rorx eax, r9d, 0xa
mov r9d, dword [rsp + 0x3c]
mov dword [rsp + 0x30], ecx
mov r15d, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x40]
xor ebx, 0xff00aaaa
xor eax, 0xff00f0f0
xor r9d, 0xff00f0f0
xor r15d, 0xf0f0cccc
mov dword [rsp + 0x34], r15d
mov r15d, r9d
xor ecx, 0xff00aaaa
and r15d, r11d
xor r11d, r13d
xor r15d, ebp
or ebp, r9d
xor r11d, r15d
xor r13d, ebp
xor r9d, r11d
mov ebp, r13d
rorx r11d, r11d, 0x13
or r13d, r9d
mov dword [rsp + 0x28], ebp
xor r13d, r15d
and r15d, ebp
xor r15d, r9d
mov r9d, r10d
mov dword [rsp + 0x2c], r13d
and r9d, eax
xor eax, r14d
mov dword [rsp + 0x38], r15d
xor r9d, edi
or edi, r10d
xor eax, r9d
xor r14d, edi
xor r10d, eax
mov r13d, r14d
rorx eax, eax, 0x13
or r14d, r10d
lea ebp, [rax*8]
xor r14d, r9d
and r9d, r13d
xor r9d, r10d
mov dword [rsp + 0x3c], r9d
mov r9d, r8d
and r9d, ecx
xor ecx, r12d
xor r9d, edx
or edx, r8d
xor r12d, edx
xor ecx, r9d
xor r8d, ecx
mov r10d, r12d
rorx ecx, ecx, 0x13
or r10d, r8d
xor r10d, r9d
and r9d, r12d
xor r9d, r8d
mov r8d, dword [rsp + 0x34]
mov edi, r8d
and edi, ebx
mov edx, edi
mov edi, dword [rsp + 0x30]
mov dword [rsp + 0x30], r14d
xor edx, esi
or esi, ebx
xor r8d, edi
xor esi, edi
lea edi, [r11*8]
mov r15d, r8d
mov r8d, esi
xor r15d, edx
xor ebx, r15d
or r8d, ebx
xor r12d, r9d
xor r14d, r11d
xor r8d, edx
xor r12d, r10d
and edx, esi
xor r10d, eax
xor ebx, edx
rorx r12d, r12d, 0x1d
xor r14d, r12d
xor edi, ebx
xor esi, ebx
xor edi, r12d
rorx r14d, r14d, 0x1f
xor esi, r8d
xor r8d, ecx
mov edx, r14d
not edi
rorx esi, esi, 0x1d
xor r11d, r14d
rorx edi, edi, 0x19
shl edx, 7
xor edx, edi
xor r11d, edi
xor r12d, edx
mov edx, dword [rsp + 0x28]
rorx r11d, r11d, 0x1b
rorx r12d, r12d, 0xa
mov dword [rsp + 0x34], r11d
mov r11d, dword [rsp + 0x3c]
mov dword [rsp + 0x40], r12d
mov r12d, r10d
mov r10d, dword [rsp + 0x38]
xor r12d, esi
rorx r12d, r12d, 0x1f
mov ebx, r12d
xor eax, r12d
xor ebp, r10d
xor edx, r10d
shl ebx, 7
xor edx, dword [rsp + 0x2c]
xor ebp, esi
not ebp
rorx ebp, ebp, 0x19
xor ebx, ebp
xor eax, ebp
xor esi, ebx
rorx eax, eax, 0x1b
rorx edx, edx, 0x1d
rorx ebx, r15d, 0x13
mov dword [rsp + 0x38], eax
rorx eax, esi, 0xa
xor r8d, edx
mov dword [rsp + 0x44], eax
lea eax, [rcx*8]
rorx esi, r8d, 0x1f
mov r15d, dword [rsp + 0x44]
xor eax, r11d
mov r10d, esi
xor eax, edx
xor ecx, esi
xor r13d, r11d
xor r13d, dword [rsp + 0x30]
not eax
shl r10d, 7
xor esi, 0xaaaaf0f0
rorx eax, eax, 0x19
mov dword [rsp + 0x28], esi
mov esi, dword [rsp + 0x40]
xor r15d, 0xf0f0cccc
xor ecx, eax
xor r10d, eax
xor r14d, 0xaaaaff00
xor r12d, 0xccccff00
rorx r8d, ecx, 0x1b
mov ecx, dword [rsp + 0x2c]
xor edx, r10d
mov dword [rsp + 0x2c], r15d
rorx r11d, r13d, 0x1d
rorx r10d, edx, 0xa
lea edx, [rbx*8]
xor r8d, 0xf0f0cccc
xor edx, r9d
mov r9d, dword [rsp + 0x38]
xor r10d, 0xccccaaaa
xor esi, 0xff00aaaa
xor edx, r11d
xor ebp, 0xaaaaff00
xor eax, 0xf0f0cccc
xor edi, 0xccccff00
xor ecx, ebx
not edx
mov r13d, ecx
rorx edx, edx, 0x19
xor r13d, r11d
xor r9d, 0xccccaaa8
rorx r13d, r13d, 0x1f
mov ecx, r13d
xor ebx, r13d
xor r13d, 0xf0f0cccc
shl ecx, 7
xor ebx, edx
xor ecx, edx
rorx ebx, ebx, 0x1b
xor edx, 0xaaaaf0f0
xor r11d, ecx
xor ebx, 0xff00aaaa
rorx ecx, r11d, 0xa
mov r11d, dword [rsp + 0x34]
xor ecx, 0xff00f0f0
xor r11d, 0xff00f0f0
mov r15d, r11d
and r15d, r10d
xor r10d, r13d
xor r15d, ebp
or ebp, r11d
xor r10d, r15d
xor r13d, ebp
xor r11d, r10d
mov ebp, r13d
rorx r10d, r10d, 0x13
or ebp, r11d
xor ebp, r15d
and r15d, r13d
xor r15d, r11d
mov r11d, r9d
mov dword [rsp + 0x30], ebp
and r11d, ecx
xor ecx, r14d
xor r11d, eax
or eax, r9d
xor ecx, r11d
xor r14d, eax
xor r9d, ecx
mov eax, r14d
rorx ecx, ecx, 0x13
or eax, r9d
xor eax, r11d
and r11d, r14d
xor r11d, r9d
mov r9d, r8d
mov ebp, eax
and r9d, esi
xor esi, r12d
mov dword [rsp + 0x34], r11d
mov eax, r9d
xor eax, edx
or edx, r8d
xor r12d, edx
xor esi, eax
xor r8d, esi
mov r9d, r12d
rorx esi, esi, 0x13
or r9d, r8d
xor r9d, eax
and eax, r12d
xor r8d, eax
mov eax, dword [rsp + 0x2c]
xor r12d, r8d
xor r12d, r9d
xor r9d, ecx
rorx r12d, r12d, 0x1d
mov r11d, eax
xor eax, dword [rsp + 0x28]
and r11d, ebx
mov edx, r11d
xor edx, edi
or edi, ebx
xor edi, dword [rsp + 0x28]
mov dword [rsp + 0x28], ebp
mov r11d, eax
xor r11d, edx
xor ebx, r11d
rorx r11d, r11d, 0x13
mov eax, edi
or eax, ebx
xor eax, edx
and edx, edi
xor ebx, edx
mov edx, ebp
xor edx, r10d
xor edi, ebx
mov ebp, edx
lea edx, [r10*8]
xor edi, eax
xor edx, ebx
xor ebp, r12d
rorx edi, edi, 0x1d
mov ebx, dword [rsp + 0x30]
xor edx, r12d
rorx ebp, ebp, 0x1f
xor r9d, edi
not edx
xor r10d, ebp
shl ebp, 7
rorx r9d, r9d, 0x1f
rorx edx, edx, 0x19
xor ebp, edx
xor r10d, edx
lea edx, [rcx*8]
xor ecx, r9d
xor edx, r15d
shl r9d, 7
xor r12d, ebp
rorx r10d, r10d, 0x1b
xor edx, edi
rorx r12d, r12d, 0xa
not edx
rorx edx, edx, 0x19
xor ecx, edx
xor r9d, edx
xor r13d, r15d
lea edx, [rsi*8]
xor r9d, edi
mov edi, dword [rsp + 0x34]
xor r13d, ebx
xor eax, esi
rorx r13d, r13d, 0x1d
xor ebx, r11d
xor dword [rsp + 0xc], r12d
rorx r9d, r9d, 0xa
xor eax, r13d
mov ebp, ebx
xor dword [rsp + 8], r9d
rorx ecx, ecx, 0x1b
rorx eax, eax, 0x1f
xor dword [rsp + 0x20], ecx
xor edx, edi
xor r14d, edi
xor r14d, dword [rsp + 0x28]
xor esi, eax
xor edx, r13d
shl eax, 7
mov r9, qword [rsp + 0xa0]
not edx
mov edi, dword [rsp + 0x20]
rorx edx, edx, 0x19
xor esi, edx
xor eax, edx
lea edx, [r11*8]
rorx r14d, r14d, 0x1d
xor edx, r8d
xor eax, r13d
rorx esi, esi, 0x1b
xor ebp, r14d
xor edx, r14d
xor dword [rsp + 0x1c], esi
rorx eax, eax, 0xa
rorx ebp, ebp, 0x1f
not edx
xor dword [rsp + 0x14], eax
mov r8d, dword [rsp + 8]
rorx edx, edx, 0x19
xor r11d, ebp
shl ebp, 7
mov r13d, dword [rsp + 0xc]
xor ebp, edx
xor r11d, edx
mov r15d, dword [rsp + 0x1c]
mov dword [r9 + 0x14], edi
xor ebp, r14d
rorx r11d, r11d, 0x1b
xor dword [rsp + 0x18], r11d
rorx ebp, ebp, 0xa
xor dword [rsp + 0x10], ebp
mov edx, dword [rsp + 0x14]
mov dword [r9 + 0x2c], r8d
mov dword [r9 + 0x28], r13d
mov dword [r9 + 0x18], r15d
mov ebx, dword [rsp + 0x10]
mov r14d, dword [rsp + 0x18]
mov dword [r9 + 0x20], edx
mov dword [r9 + 0x24], ebx
mov dword [r9 + 0x1c], r14d
xor dword [rsp + 0x24], r10d
mov ebp, dword [rsp + 0x24]
add qword [rsp + 0xa8], 4
mov rax, qword [rsp + 0x48]
mov dword [r9 + 0x10], ebp
cmp rax, qword [rsp + 0xa8]
jne 0x499d30
vmovd xmm2, dword [rsp + 0x1c]
vmovd xmm3, dword [rsp + 0x24]
vpinsrd xmm1, xmm2, dword [rsp + 0x18], 1
vmovd xmm4, dword [rsp + 0xc]
vpinsrd xmm0, xmm3, dword [rsp + 0x20], 1
mov rax, qword [rsp + 0xa0]
vmovd xmm5, dword [rsp + 0x14]
vpunpcklqdq xmm0, xmm0, xmm1
vpinsrd xmm1, xmm4, dword [rsp + 8], 1
vmovdqu xmmword [rax + 0x10], xmm0
vpinsrd xmm0, xmm5, dword [rsp + 0x10], 1
vpunpcklqdq xmm0, xmm0, xmm1
vmovdqu xmmword [rax + 0x20], xmm0
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret