Function at 0x427dd0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
mov rdx, qword [rcx + 8]
mov rax, qword [rcx]
mov qword [rsp + 0x38], rdx
mov rdx, qword [rcx + 0x18]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rdx
mov rdi, rax
mov rdx, qword [rcx + 0x28]
mov rax, qword [rcx + 0x10]
mov r12, rcx
mov r14, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x58], rdx
mov rax, qword [rcx + 0x20]
mov rdx, qword [r12 + 0x38]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rdx
mov rcx, rax
mov rdx, qword [r12 + 0x48]
mov rax, qword [r12 + 0x30]
mov qword [rsp + 0x78], rdx
mov r13, rax
mov rdx, qword [r12 + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [r12 + 0x40]
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x70], rax
mov rdx, qword [r12 + 0x68]
mov r11, rax
mov rax, qword [r12 + 0x50]
mov r9, qword [r12 + 0x78]
mov r10, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x98], rdx
mov rax, qword [r12 + 0x60]
mov rdx, qword [r12 + 0x70]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], r9
mov rsi, r10
mov rbx, qword [rsp + 0x58]
mov r10, qword [rsp + 0x48]
mov qword [rsp + 0x18], r13
mov qword [rsp + 8], r10
mov r10, qword [rsp + 0x68]
mov qword [rsp + 0x28], 4
mov qword [rsp + 0x10], r10
mov qword [rsp + 0x100], r12
mov r8, rax
mov r13, r14
mov rax, rdx
mov r15, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x78]
mov r9, qword [rsp + 0x98]
mov r14, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0x88]
mov r12, qword [rsp + 0x18]
lea r10, [r8 + rdi]
rorx r10, r10, 0x20
xor rcx, r10
lea r10, [rcx + rdi]
rorx r10, r10, 0x33
xor r11, r10
lea r10, [rcx + r11]
rorx r10, r10, 0x19
xor r10, r8
lea r8, [r11 + r10]
rorx r8, r8, 0x20
xor rdi, r8
lea r8, [r15 + rbx]
rorx r8, r8, 0x20
xor rdx, r8
lea r8, [rdx + rbx]
rorx r8, r8, 0x33
xor r8, r9
mov r9, r8
add r8, rdx
rorx r8, r8, 0x19
xor r15, r8
lea r8, [r9 + r15]
rorx r8, r8, 0x20
xor rbx, r8
lea r8, [r12 + rsi]
rorx r8, r8, 0x20
xor rax, r8
lea r8, [rax + rsi]
rorx r8, r8, 0x33
xor r13, r8
lea r8, [rax + r13]
rorx r8, r8, 0x19
xor r12, r8
lea r8, [r13 + r12]
rorx r8, r8, 0x20
xor rsi, r8
lea r8, [r14 + rbp]
rorx r8, r8, 0x20
xor r8, qword [rsp + 8]
mov qword [rsp + 0x20], r9
lea r9, [r8 + r14]
rorx r9, r9, 0x33
xor r9, qword [rsp + 0x10]
mov qword [rsp + 0x18], r10
lea r10, [r8 + r9]
rorx r10, r10, 0x19
xor rbp, r10
lea r10, [r9 + rbp]
rorx r10, r10, 0x20
xor r10, r14
lea r14, [rdi + r8]
rorx r14, r14, 0x20
xor r15, r14
lea r14, [rdi + r15]
rorx r14, r14, 0x33
xor r13, r14
lea r14, [r15 + r13]
rorx r14, r14, 0x19
xor r14, r8
lea r8, [r13 + r14]
rorx r8, r8, 0x20
xor rdi, r8
lea r8, [rcx + rbx]
rorx r8, r8, 0x20
xor r12, r8
lea r8, [rbx + r12]
rorx r8, r8, 0x33
xor r8, r9
mov qword [rsp + 8], r14
mov qword [rsp + 0x10], r8
mov r14, r8
add r8, r12
rorx r8, r8, 0x19
xor rcx, r8
lea r8, [r14 + rcx]
rorx r8, r8, 0x20
xor rbx, r8
lea r8, [rdx + rsi]
rorx r8, r8, 0x20
xor rbp, r8
lea r8, [rsi + rbp]
rorx r8, r8, 0x33
xor r11, r8
lea r8, [rbp + r11]
rorx r8, r8, 0x19
xor rdx, r8
lea r8, [r11 + rdx]
rorx r8, r8, 0x20
xor rsi, r8
lea r8, [rax + r10]
rorx r8, r8, 0x20
xor r8, qword [rsp + 0x18]
lea r9, [r10 + r8]
rorx r9, r9, 0x33
xor r9, qword [rsp + 0x20]
lea r14, [r8 + r9]
rorx r14, r14, 0x19
xor rax, r14
lea r14, [r9 + rax]
rorx r14, r14, 0x20
xor r14, r10
dec qword [rsp + 0x28]
jne 0x427f05
mov qword [rsp + 0x18], r12
vmovq xmm2, r13
vpinsrq xmm0, xmm2, qword [rsp + 8], 1
vmovq xmm3, rdi
vpinsrq xmm1, xmm3, r15, 1
vmovq xmm4, qword [rsp + 0x18]
vinserti128 ymm0, ymm1, xmm0, 1
vmovq xmm5, rcx
vmovdqu ymmword [rsp + 0x30], ymm0
vpinsrq xmm0, xmm4, qword [rsp + 0x10], 1
vpinsrq xmm1, xmm5, rbx, 1
vinserti128 ymm0, ymm1, xmm0, 1
vmovq xmm2, rsi
vmovq xmm3, r11
vpinsrq xmm1, xmm2, rbp, 1
vmovdqu ymmword [rsp + 0x50], ymm0
lea rcx, [rsp + 0x30]
vpinsrq xmm0, xmm3, rdx, 1
vinserti128 ymm0, ymm0, xmm1, 1
vmovq xmm4, rax
vmovq xmm5, r8
mov rdx, rcx
vmovdqu ymmword [rsp + 0x70], ymm0
vpinsrq xmm1, xmm4, r14, 1
vpinsrq xmm0, xmm5, r9, 1
shr rdx, 3
vinserti128 ymm0, ymm0, xmm1, 1
neg rdx
mov r12, qword [rsp + 0x100]
vmovdqu ymmword [rsp + 0x90], ymm0
xor r9d, r9d
and edx, 3
je 0x4281b3
add qword [r12], rdi
mov r9d, 1
cmp rdx, 1
je 0x4281b3
add qword [r12 + 8], r15
mov r9d, 2
cmp rdx, 3
jne 0x4281b3
add qword [r12 + 0x10], r13
mov r9d, 3
lea r8, [rdx*8]
lea rax, [r12 + r8]
vmovdqu ymm3, ymmword [rax]
add rcx, r8
vpaddq ymm0, ymm3, ymmword [rcx]
vmovdqu ymm4, ymmword [rax + 0x20]
vmovdqu ymmword [rax], ymm0
vpaddq ymm0, ymm4, ymmword [rcx + 0x20]
vmovdqu ymm5, ymmword [rax + 0x40]
vmovdqu ymmword [rax + 0x20], ymm0
mov r8d, 0x10
vpaddq ymm0, ymm5, ymmword [rcx + 0x40]
sub r8, rdx
shr r8, 2
vmovdqu ymmword [rax + 0x40], ymm0
cmp r8, 4
jne 0x428228
vmovdqu ymm3, ymmword [rax + 0x60]
vpaddq ymm0, ymm3, ymmword [rcx + 0x60]
vmovdqu ymmword [rax + 0x60], ymm0
vzeroupper
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8d, 4
lea rax, [r9 + 0xc]
sub r8, rdx
lea rcx, [rdx + 0xc]
cmp rdx, 3
je 0x428263
lea rax, [rcx*8]
vmovdqu xmm2, xmmword [rsp + rax + 0x30]
lea rdx, [r12 + rax]
vpaddq xmm0, xmm2, xmmword [rdx]
lea rax, [r9 + 0xe]
vmovdqu xmmword [rdx], xmm0
cmp r8, 2
je 0x42820e
mov rdx, qword [rsp + rax*8 + 0x30]
add qword [r12 + rax*8], rdx
jmp 0x42820e