Function at 0x638f90
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 edx, dword [rax + 0x14]
mov dword [rsp + 0x2c], edi
mov esi, dword [rsi + 0x1c]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x14], esi
mov dword [rsp + 0x3c], esi
mov rsi, qword [rsp + 0xc0]
mov dword [rsp + 0x58], r10d
mov r11d, dword [rsi + 0x20]
mov r9d, dword [rsi + 0x24]
mov dword [rsp + 0x6c], r15d
mov esi, dword [rsi + 0x28]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x54], edx
mov dword [rsp + 0x10], esi
mov dword [rsp + 0x38], esi
mov rsi, qword [rsp + 0xc0]
mov dword [rsp + 0x68], eax
mov esi, dword [rsi + 0x2c]
mov dword [rsp + 0x50], r11d
mov dword [rsp + 0x64], r9d
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 dword [rsp + 0x60], r8d
mov dword [rsp + 0x34], ebp
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x5c], r12d
mov qword [rsp + 0x20], rsi
test rsi, rsi
je 0x6392cf
mov qword [rsp + 8], 0
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
xor esi, eax
rorx r14d, r14d, 0x17
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
xor edi, r8d
lea r8d, [rbp + rbx]
rorx r11d, r11d, 0x19
rorx r8d, r8d, 0x19
xor edx, r8d
xor r11d, dword [rsp + 0x14]
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
xor ebx, eax
lea eax, [rdx + r10]
rorx r8d, r8d, 0x19
rorx eax, eax, 0x19
xor r12d, eax
xor r8d, dword [rsp + 0x1c]
lea r11d, [r10 + r12]
lea r9d, [r15 + r8]
rorx r11d, r11d, 0x17
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 0x639078
vmovd xmm4, ecx
vmovd xmm5, dword [rsp + 0x10]
vmovd xmm3, r13d
vpinsrd xmm2, xmm5, dword [rsp + 0x14], 1
vpinsrd xmm1, xmm3, dword [rsp + 0x18], 1
vpinsrd xmm3, xmm4, ebx, 1
vmovd xmm4, edi
vpinsrd xmm0, xmm4, ebp, 1
vmovd xmm5, r10d
vmovd xmm4, r11d
vpunpcklqdq xmm1, xmm3, xmm1
vpunpcklqdq xmm0, xmm0, xmm2
vmovd xmm3, eax
vinserti128 ymm0, ymm0, xmm1, 1
vmovd xmm2, r8d
vpinsrd xmm3, xmm3, r15d, 1
vmovdqu ymmword [rsp + 0x30], ymm0
vpinsrd xmm1, xmm4, edx, 1
vpinsrd xmm0, xmm2, r9d, 1
vpinsrd xmm2, xmm5, r12d, 1
vpunpcklqdq xmm1, xmm1, xmm2
vpunpcklqdq xmm0, xmm0, xmm3
vinserti128 ymm0, ymm1, xmm0, 1
vmovdqu ymmword [rsp + 0x50], ymm0
mov rax, qword [rsp + 0xc0]
add edi, dword [rsp + 0x2c]
vpcmpeqd xmm2, xmm2, xmm2
vmovdqu ymm1, ymmword [0x006d9be0]
vmovdqu ymm3, ymmword [0x006d9c00]
vmovdqu xmm4, xmm2
vmovdqu xmm5, xmm2
mov dword [rax], edi
lea rax, [rsp + 0x30]
mov rbx, qword [rsp + 0xc0]
vpgatherqd xmm0, xmmword [rax + ymm1*4], xmm4
vpgatherqd xmm1, xmmword [rax + ymm3*4], xmm5
mov rax, qword [rsp + 0xc0]
vinserti128 ymm0, ymm0, xmm1, 1
vpaddd ymm0, ymm0, ymmword [rax + 4]
vmovdqu ymmword [rax + 4], ymm0
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
vzeroupper
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret