Function at 0x41a510
Capabilities:
Encode data using add xor sub operations
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 rdi, rax
mov qword [rsp + 0x38], rdx
mov rdx, qword [rcx + 0x18]
mov r12, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x48], rdx
mov rdx, qword [rcx + 0x28]
mov r14, rax
mov qword [rsp + 0x40], rax
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x58], rdx
mov rdx, qword [r12 + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, rax
mov rax, qword [r12 + 0x30]
mov qword [rsp + 0x68], rdx
mov rdx, qword [r12 + 0x48]
mov qword [rsp + 0x60], rax
mov r13, rax
mov rax, qword [r12 + 0x40]
mov qword [rsp + 0x78], rdx
mov rdx, qword [r12 + 0x58]
mov qword [rsp + 0x70], rax
mov r11, rax
mov rax, qword [r12 + 0x50]
mov qword [rsp + 0x88], rdx
mov rdx, qword [r12 + 0x68]
mov r9, qword [r12 + 0x78]
mov r10, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x98], rdx
mov rax, qword [r12 + 0x60]
mov rsi, r10
mov rdx, qword [r12 + 0x70]
mov qword [rsp + 0xa8], r9
mov qword [rsp + 0x90], rax
mov r8, rax
mov qword [rsp + 0xa0], rdx
mov rbx, qword [rsp + 0x58]
mov rax, rdx
mov qword [rsp], r14
mov r14, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 0x28], 4
mov qword [rsp + 8], r14
mov r14, qword [rsp + 0x68]
mov r9, qword [rsp + 0x98]
mov r15, qword [rsp + 0xa8]
mov qword [rsp + 0x100], r12
mov r12, rbp
mov qword [rsp + 0x10], r14
mov r10, qword [rsp + 0x88]
lea rbp, [r8 + rdi]
rol rbp, 0x20
xor rcx, rbp
lea rbp, [r15 + r10]
lea r14, [rcx + rdi]
rol rbp, 0x20
xor rbp, qword [rsp + 8]
rol r14, 0xd
xor r14, r11
lea r11, [rcx + r14]
ror r11, 0x19
xor r11, r8
lea r8, [r14 + r11]
mov qword [rsp + 0x18], r11
rol r8, 0x20
xor rdi, r8
lea r8, [r12 + rbx]
rol r8, 0x20
xor rdx, r8
lea r8, [rdx + rbx]
rol r8, 0xd
xor r8, r9
lea r11, [rdx + r8]
mov qword [rsp + 0x20], r8
ror r11, 0x19
xor r11, r12
lea r8, [r8 + r11]
rol r8, 0x20
xor rbx, r8
lea r8, [r13 + rsi]
rol r8, 0x20
xor rax, r8
lea r9, [rax + rsi]
rol r9, 0xd
xor r9, qword [rsp]
lea r8, [rax + r9]
ror r8, 0x19
xor r13, r8
lea r8, [r9 + r13]
rol r8, 0x20
xor rsi, r8
lea r8, [rbp + r15]
rol r8, 0xd
xor r8, qword [rsp + 0x10]
lea r12, [rbp + r8]
ror r12, 0x19
xor r10, r12
lea r12, [r8 + r10]
rol r12, 0x20
xor r15, r12
lea r12, [rdi + rbp]
rol r12, 0x20
xor r12, r11
lea r11, [rdi + r12]
rol r11, 0xd
xor r11, r9
lea r9, [r12 + r11]
mov qword [rsp], r11
ror r9, 0x19
xor r9, rbp
add r11, r9
mov qword [rsp + 8], r9
mov r9, r11
rol r9, 0x20
xor rdi, r9
lea r9, [rcx + rbx]
rol r9, 0x20
xor r13, r9
lea r9, [rbx + r13]
rol r9, 0xd
mov r11, r9
xor r11, r8
lea r8, [r13 + r11]
mov qword [rsp + 0x10], r11
ror r8, 0x19
xor rcx, r8
lea r8, [r11 + rcx]
rol r8, 0x20
xor rbx, r8
lea r8, [rdx + rsi]
rol r8, 0x20
xor r10, r8
lea r11, [rsi + r10]
rol r11, 0xd
xor r11, r14
lea r8, [r10 + r11]
ror r8, 0x19
xor rdx, r8
lea r8, [r11 + rdx]
rol r8, 0x20
xor rsi, r8
lea r8, [rax + r15]
rol r8, 0x20
xor r8, qword [rsp + 0x18]
lea r9, [r15 + r8]
rol r9, 0xd
xor r9, qword [rsp + 0x20]
lea rbp, [r8 + r9]
ror rbp, 0x19
xor rax, rbp
lea rbp, [r9 + rax]
rol rbp, 0x20
xor r15, rbp
sub qword [rsp + 0x28], 1
jne 0x41a63f
vmovq xmm2, qword [rsp]
mov rbp, r12
vmovq xmm3, rdi
mov r12, qword [rsp + 0x100]
vpinsrq xmm0, xmm3, rbp, 1
vmovq xmm4, r13
vmovq xmm5, rcx
vpinsrq xmm1, xmm2, qword [rsp + 8], 1
vmovq xmm3, r11
vmovq xmm2, rsi
vinserti128 ymm0, ymm0, xmm1, 1
vpaddq ymm0, ymm0, ymmword [r12]
vpinsrq xmm1, xmm5, rbx, 1
vmovq xmm5, r8
vmovdqu ymmword [r12], ymm0
vpinsrq xmm0, xmm4, qword [rsp + 0x10], 1
vmovq xmm4, rax
vinserti128 ymm0, ymm1, xmm0, 1
vpaddq ymm0, ymm0, ymmword [r12 + 0x20]
vpinsrq xmm1, xmm2, r10, 1
vmovdqu ymmword [r12 + 0x20], ymm0
vpinsrq xmm0, xmm3, rdx, 1
vinserti128 ymm0, ymm0, xmm1, 1
vpaddq ymm0, ymm0, ymmword [r12 + 0x40]
vpinsrq xmm1, xmm4, r15, 1
vmovdqu ymmword [r12 + 0x40], ymm0
vpinsrq xmm0, xmm5, r9, 1
vinserti128 ymm0, ymm0, xmm1, 1
vpaddq ymm0, ymm0, ymmword [r12 + 0x60]
vmovdqu ymmword [r12 + 0x60], ymm0
vzeroupper
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret