Function at 0x649400
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
mov edi, dword [rcx]
mov ebx, dword [rcx + 4]
mov r10d, dword [rcx + 8]
mov r15d, dword [rcx + 0xc]
mov qword [rsp + 0xc0], rcx
mov rsi, qword [rsp + 0xc0]
mov rax, rcx
mov r14d, edx
mov ecx, dword [rcx + 0x10]
mov dword [rsp + 0x2c], edi
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x58], r10d
mov dword [rsp + 0x6c], r15d
mov esi, dword [rsi + 0x1c]
mov edx, dword [rax + 0x14]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x14], esi
mov dword [rsp + 0x3c], esi
mov rsi, qword [rsp + 0xc0]
mov dword [rsp + 0x54], edx
mov dword [rsp + 0x68], eax
mov r11d, dword [rsi + 0x20]
mov r9d, dword [rsi + 0x24]
mov esi, dword [rsi + 0x28]
mov dword [rsp + 0x50], r11d
mov dword [rsp + 0x64], r9d
mov dword [rsp + 0x10], esi
mov dword [rsp + 0x38], esi
mov rsi, qword [rsp + 0xc0]
mov esi, dword [rsi + 0x2c]
mov dword [rsp + 0x18], esi
mov dword [rsp + 0x4c], esi
mov rsi, qword [rsp + 0xc0]
mov r8d, dword [rsi + 0x30]
mov ebp, dword [rsi + 0x34]
mov r13d, dword [rsi + 0x38]
mov r12d, dword [rsi + 0x3c]
mov esi, r14d
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x60], r8d
mov dword [rsp + 0x34], ebp
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x5c], r12d
test rsi, rsi
je 0x649747
mov qword [rsp + 8], 0
nop word cs:[rax + rax]
nop dword [rax]
lea esi, [r8 + rdi]
rorx esi, esi, 0x19
xor ecx, esi
lea esi, [r13 + r10]
lea r14d, [rcx + rdi]
rorx esi, esi, 0x19
rorx r14d, r14d, 0x17
xor esi, eax
xor r14d, r11d
lea r11d, [rcx + r14]
rorx r11d, r11d, 0x13
xor r11d, r8d
lea r8d, [r14 + r11]
mov dword [rsp + 0x1c], r11d
lea r11d, [r15 + r12]
rorx r8d, r8d, 0xe
rorx r11d, r11d, 0x19
xor r11d, dword [rsp + 0x14]
xor edi, r8d
lea r8d, [rbp + rbx]
rorx r8d, r8d, 0x19
xor edx, r8d
lea r8d, [rdx + rbx]
rorx r8d, r8d, 0x17
xor r8d, r9d
lea r9d, [rdx + r8]
mov dword [rsp + 0x28], r8d
rorx r9d, r9d, 0x13
xor r9d, ebp
lea r8d, [r8 + r9]
rorx r8d, r8d, 0xe
xor ebx, r8d
lea r8d, [rsi + r10]
rorx r8d, r8d, 0x17
xor r8d, dword [rsp + 0x10]
lea eax, [rsi + r8]
rorx eax, eax, 0x13
xor r13d, eax
lea eax, [r8 + r13]
rorx eax, eax, 0xe
xor r10d, eax
lea eax, [r11 + r15]
rorx eax, eax, 0x17
xor eax, dword [rsp + 0x18]
lea ebp, [r11 + rax]
rorx ebp, ebp, 0x13
xor r12d, ebp
lea ebp, [rax + r12]
rorx ebp, ebp, 0xe
xor r15d, ebp
lea ebp, [rdi + r11]
rorx ebp, ebp, 0x19
xor ebp, r9d
lea r9d, [rdi + rbp]
rorx r9d, r9d, 0x17
xor r9d, r8d
lea r8d, [rbp + r9]
mov dword [rsp + 0x10], r9d
rorx r8d, r8d, 0x13
xor r8d, r11d
add r9d, r8d
mov dword [rsp + 0x14], r8d
rorx r8d, r9d, 0xe
xor edi, r8d
lea r8d, [rcx + rbx]
rorx r8d, r8d, 0x19
xor r13d, r8d
lea r8d, [rbx + r13]
rorx r8d, r8d, 0x17
xor r8d, eax
lea eax, [r13 + r8]
mov dword [rsp + 0x18], r8d
rorx eax, eax, 0x13
xor ecx, eax
lea eax, [r8 + rcx]
lea r8d, [rsi + r15]
rorx eax, eax, 0xe
rorx r8d, r8d, 0x19
xor r8d, dword [rsp + 0x1c]
xor ebx, eax
lea eax, [rdx + r10]
rorx eax, eax, 0x19
xor r12d, eax
lea r11d, [r10 + r12]
rorx r11d, r11d, 0x17
lea r9d, [r15 + r8]
xor r11d, r14d
rorx r9d, r9d, 0x17
xor r9d, dword [rsp + 0x28]
lea eax, [r12 + r11]
rorx eax, eax, 0x13
xor edx, eax
lea eax, [r11 + rdx]
rorx eax, eax, 0xe
xor r10d, eax
lea eax, [r8 + r9]
rorx eax, eax, 0x13
xor eax, esi
lea esi, [r9 + rax]
rorx esi, esi, 0xe
xor r15d, esi
add qword [rsp + 8], 2
mov rsi, qword [rsp + 8]
cmp qword [rsp + 0x20], rsi
ja 0x6494f0
vmovd xmm2, dword [rsp + 0x10]
vpinsrd xmm1, xmm2, dword [rsp + 0x14], 1
vmovd xmm3, edi
vpinsrd xmm0, xmm3, ebp, 1
vmovd xmm4, r13d
vmovd xmm5, ecx
vmovd xmm2, r10d
vmovd xmm3, r11d
vpunpcklqdq xmm0, xmm0, xmm1
vpinsrd xmm1, xmm5, ebx, 1
vmovd xmm5, r8d
vmovups xmmword [rsp + 0x30], xmm0
vpinsrd xmm0, xmm4, dword [rsp + 0x18], 1
vmovd xmm4, eax
vpunpcklqdq xmm0, xmm1, xmm0
vpinsrd xmm1, xmm2, r12d, 1
vmovups xmmword [rsp + 0x40], xmm0
vpinsrd xmm0, xmm3, edx, 1
vpunpcklqdq xmm0, xmm0, xmm1
vpinsrd xmm1, xmm4, r15d, 1
vmovups xmmword [rsp + 0x50], xmm0
vpinsrd xmm0, xmm5, r9d, 1
vpunpcklqdq xmm0, xmm0, xmm1
vmovups xmmword [rsp + 0x60], xmm0
add edi, dword [rsp + 0x2c]
mov rbx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov dword [rax], edi
mov eax, dword [rsp + 0x44]
add dword [rbx + 4], eax
mov eax, dword [rsp + 0x58]
add dword [rbx + 8], eax
mov eax, dword [rsp + 0x6c]
add dword [rbx + 0xc], eax
mov eax, dword [rsp + 0x40]
add dword [rbx + 0x10], eax
mov eax, dword [rsp + 0x54]
add dword [rbx + 0x14], eax
mov eax, dword [rsp + 0x68]
add dword [rbx + 0x18], eax
mov eax, dword [rsp + 0x3c]
add dword [rbx + 0x1c], eax
mov eax, dword [rsp + 0x50]
add dword [rbx + 0x20], eax
mov eax, dword [rsp + 0x64]
add dword [rbx + 0x24], eax
mov eax, dword [rsp + 0x38]
add dword [rbx + 0x28], eax
mov eax, dword [rsp + 0x4c]
add dword [rbx + 0x2c], eax
mov eax, dword [rsp + 0x60]
add dword [rbx + 0x30], eax
mov eax, dword [rsp + 0x34]
add dword [rbx + 0x34], eax
mov eax, dword [rsp + 0x48]
add dword [rbx + 0x38], eax
mov eax, dword [rsp + 0x5c]
add dword [rbx + 0x3c], eax
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret