Function at 0x64a760
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rax, r8
mov rdi, rdx
mov qword [rsp + 0xf0], r8
lea rbp, [rsp + 0x50]
shl rax, 7
mov qword [rsp + 0xe0], rcx
lea r12, [rcx + rax - 0x40]
mov qword [rsp + 0x30], rax
mov rsi, rax
mov rax, qword [r12]
mov rdx, qword [r12 + 8]
shr rsi, 6
mov r9, qword [r12 + 0x28]
vmovdqu xmm2, xmmword [r12 + 0x30]
mov qword [rsp + 0x38], rsi
shl rsi, 6
mov qword [rsp + 0x50], rax
mov r8d, eax
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x58], rdx
mov rdx, qword [r12 + 0x18]
mov ecx, eax
mov ebx, dword [rsp + 0x58]
mov r13d, dword [rsp + 0x5c]
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x68], rdx
mov rdx, qword [r12 + 0x20]
mov dword [rsp + 0x24], ecx
mov ecx, dword [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov eax, edx
mov r11d, dword [rsp + 0x6c]
mov dword [rsp + 0x20], ecx
mov ecx, dword [rsp + 0x78]
mov qword [rsp + 0x70], rdx
mov edx, dword [rsp + 0x54]
mov dword [rsp + 0x2c], r8d
mov r8d, dword [rsp + 0x64]
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x74]
vmovups xmmword [rsp + 0x80], xmm2
mov r15d, dword [rsp + 0x8c]
mov dword [rsp + 0x44], ecx
mov rbx, qword [rsp + 0xe0]
mov qword [rsp + 0x48], r12
mov r10d, dword [rsp + 0x7c]
add rbx, rsi
mov r14d, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x84]
mov r9d, dword [rsp + 0x88]
mov rsi, qword [rsp + 0xe0]
mov r12d, dword [rsp + 0x44]
nop dword [rax + rax]
vmovdqu xmm5, xmmword [rsi + 0x20]
vinserti128 ymm1, ymm5, xmmword [rsi + 0x30], 1
vmovd xmm5, r14d
vmovd xmm4, r9d
vpinsrd xmm2, xmm5, ecx, 1
vmovd xmm5, dword [rsp + 0x40]
vpinsrd xmm3, xmm4, r15d, 1
vmovd xmm4, r12d
vpinsrd xmm4, xmm4, r10d, 1
vpunpcklqdq xmm2, xmm2, xmm3
vmovd xmm3, dword [rsp + 0x20]
mov rcx, rbp
vpinsrd xmm0, xmm5, eax, 1
vmovd xmm5, dword [rsp + 0x28]
vpunpcklqdq xmm0, xmm0, xmm4
vpinsrd xmm4, xmm3, r11d, 1
vmovd xmm3, dword [rsp + 0x24]
vinserti128 ymm0, ymm0, xmm2, 1
vpinsrd xmm5, xmm5, r13d, 1
vmovdqu xmm2, xmmword [rsi]
vinserti128 ymm2, ymm2, xmmword [rsi + 0x10], 1
vpxor ymm0, ymm0, ymm1
vmovd xmm1, dword [rsp + 0x2c]
vpinsrd xmm3, xmm3, r8d, 1
vpunpcklqdq xmm3, xmm3, xmm4
vmovups xmmword [rsp + 0x70], xmm0
vextracti128 xmmword [rsp + 0x80], ymm0, 1
vpinsrd xmm1, xmm1, edx, 1
mov rdx, rdi
vpunpcklqdq xmm1, xmm1, xmm5
vinserti128 ymm1, ymm1, xmm3, 1
vpxor ymm1, ymm1, ymm2
vmovups xmmword [rsp + 0x50], xmm1
vextracti128 xmmword [rsp + 0x60], ymm1, 1
vzeroupper
add rsi, 0x40
call fcn.0064a3e0
mov eax, dword [rsp + 0x50]
vmovdqu xmm2, xmmword [rsp + 0x70]
vmovdqu xmm4, xmmword [rsp + 0x50]
vinserti128 ymm1, ymm4, xmmword [rsp + 0x60], 1
mov edx, dword [rsp + 0x54]
mov r13d, dword [rsp + 0x5c]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x58]
vmovups xmmword [rsi - 0x40], xmm1
vinserti128 ymm0, ymm2, xmmword [rsp + 0x80], 1
vextracti128 xmmword [rsi - 0x30], ymm1, 1
mov r8d, dword [rsp + 0x64]
mov r11d, dword [rsp + 0x6c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
vextracti128 xmmword [rsi - 0x10], ymm0, 1
vmovups xmmword [rsi - 0x20], xmm0
mov r12d, dword [rsp + 0x78]
mov r10d, dword [rsp + 0x7c]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x68]
mov r14d, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x84]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x88]
mov r15d, dword [rsp + 0x8c]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x74]
cmp rbx, rsi
jne 0x64a880
mov r12, qword [rsp + 0x48]
mov edx, dword [rdi + 4]
mov rcx, r12
vzeroupper
call fcn.0064a030
mov rax, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0x30]
add rsi, qword [rsp + 0xe0]
add rax, rax
cmp qword [rsp + 0x38], rax
jae 0x64aa9b
nop dword [rax + rax]
mov eax, dword [rbx - 0x40]
xor dword [rbx], eax
mov rcx, rbx
mov eax, dword [rbx - 0x3c]
xor dword [rbx + 4], eax
mov eax, dword [rbx - 0x38]
xor dword [rbx + 8], eax
mov eax, dword [rbx - 0x34]
xor dword [rbx + 0xc], eax
mov eax, dword [rbx - 0x30]
xor dword [rbx + 0x10], eax
mov eax, dword [rbx - 0x2c]
xor dword [rbx + 0x14], eax
mov eax, dword [rbx - 0x28]
xor dword [rbx + 0x18], eax
mov eax, dword [rbx - 0x24]
xor dword [rbx + 0x1c], eax
mov eax, dword [rbx - 0x20]
xor dword [rbx + 0x20], eax
mov eax, dword [rbx - 0x1c]
xor dword [rbx + 0x24], eax
mov eax, dword [rbx - 0x18]
xor dword [rbx + 0x28], eax
mov eax, dword [rbx - 0x14]
xor dword [rbx + 0x2c], eax
mov eax, dword [rbx - 0x10]
xor dword [rbx + 0x30], eax
mov eax, dword [rbx - 0xc]
xor dword [rbx + 0x34], eax
mov eax, dword [rbx - 8]
xor dword [rbx + 0x38], eax
mov eax, dword [rbx - 4]
xor dword [rbx + 0x3c], eax
add rbx, 0x40
mov edx, dword [rdi + 4]
call fcn.0064a030
cmp rsi, rbx
jne 0x64aa28
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret