Function at 0x180012750
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movups xmm0, xmmword [rdx + 0x60]
lea rbx, [rcx + 2]
mov r11, rcx
movsd xmm1, qword [rdx + 0x70]
mov esi, 2
movups xmmword [rsp], xmm0
mov rdi, qword [rsp]
sub rdx, rcx
mov r9, qword [rsp + 8]
movsd qword [rsp + 0x10], xmm1
mov r8, qword [rsp + 0x10]
nop
lea rcx, [r9 + rdi]
imul r8, r8
add r8, rcx
mov r9, r8
shl r8, 0x20
shr r9, 0x20
or r9, r8
lea r8, [rcx + rdi]
movzx eax, r9w
lea rcx, [r8 + rdi]
xor ax, word [rdx + rbx - 2]
imul r9, r9
mov word [rbx - 2], ax
add r9, r8
lea r8, [rcx + rdi]
mov r10, r9
shl r9, 0x20
shr r10, 0x20
or r10, r9
movzx eax, r10w
xor ax, word [rdx + rbx]
imul r10, r10
mov word [rbx], ax
add r10, rcx
lea rcx, [r8 + rdi]
mov r9, r10
shl r10, 0x20
shr r9, 0x20
or r9, r10
movzx eax, r9w
xor ax, word [rdx + rbx + 2]
imul r9, r9
mov word [rbx + 2], ax
add r9, r8
lea r8, [rcx + rdi]
mov r10, r9
shl r9, 0x20
shr r10, 0x20
or r10, r9
movzx eax, r10w
xor ax, word [rdx + rbx + 4]
imul r10, r10
mov word [rbx + 4], ax
add r10, rcx
lea rcx, [r8 + rdi]
mov r9, r10
shl r10, 0x20
shr r9, 0x20
or r9, r10
movzx eax, r9w
xor ax, word [rdx + rbx + 6]
imul r9, r9
mov word [rbx + 6], ax
add r9, r8
lea r8, [rcx + rdi]
mov r10, r9
shl r9, 0x20
shr r10, 0x20
or r10, r9
movzx eax, r10w
xor ax, word [rdx + rbx + 8]
imul r10, r10
mov word [rbx + 8], ax
add r10, rcx
lea rcx, [r8 + rdi]
mov r9, r10
shl r10, 0x20
shr r9, 0x20
or r9, r10
movzx eax, r9w
xor ax, word [rdx + rbx + 0xa]
imul r9, r9
mov word [rbx + 0xa], ax
add r9, r8
mov r10, r9
shl r9, 0x20
shr r10, 0x20
or r10, r9
movzx eax, r10w
xor ax, word [rdx + rbx + 0xc]
mov word [rbx + 0xc], ax
imul r10, r10
lea r8, [rcx + rdi]
add r10, rcx
lea rcx, [r8 + rdi]
mov r9, r10
shl r10, 0x20
shr r9, 0x20
or r9, r10
movzx eax, r9w
xor ax, word [rdx + rbx + 0xe]
imul r9, r9
mov word [rbx + 0xe], ax
add r9, r8
lea r8, [rcx + rdi]
mov r10, r9
shl r9, 0x20
shr r10, 0x20
or r10, r9
movzx eax, r10w
xor ax, word [rdx + rbx + 0x10]
imul r10, r10
mov word [rbx + 0x10], ax
add r10, rcx
lea rcx, [r8 + rdi]
mov r9, r10
shl r10, 0x20
shr r9, 0x20
or r9, r10
movzx eax, r9w
xor ax, word [rdx + rbx + 0x12]
imul r9, r9
mov word [rbx + 0x12], ax
add r9, r8
lea r8, [rcx + rdi]
mov r10, r9
shl r9, 0x20
shr r10, 0x20
or r10, r9
movzx eax, r10w
xor ax, word [rdx + rbx + 0x14]
imul r10, r10
mov word [rbx + 0x14], ax
add r10, rcx
lea rcx, [r8 + rdi]
mov r9, r10
shl r10, 0x20
shr r9, 0x20
or r9, r10
movzx eax, r9w
xor ax, word [rdx + rbx + 0x16]
imul r9, r9
mov word [rbx + 0x16], ax
add r9, r8
lea r8, [rcx + rdi]
mov r10, r9
shl r9, 0x20
shr r10, 0x20
or r10, r9
movzx eax, r10w
xor ax, word [rdx + rbx + 0x18]
imul r10, r10
mov word [rbx + 0x18], ax
add r10, rcx
lea rcx, [r8 + rdi]
mov r9, r10
shl r10, 0x20
shr r9, 0x20
or r9, r10
movzx eax, r9w
xor ax, word [rdx + rbx + 0x1a]
imul r9, r9
mov word [rbx + 0x1a], ax
add r9, r8
mov r10, r9
shl r9, 0x20
shr r10, 0x20
or r10, r9
movzx eax, r10w
xor ax, word [rdx + rbx + 0x1c]
mov word [rbx + 0x1c], ax
imul r10, r10
add r10, rcx
lea r8, [rcx + rdi]
mov r9, r10
lea rcx, [r8 + rdi]
shr r9, 0x20
lea rbx, [rbx + 0x2e]
shl r10, 0x20
or r9, r10
movzx eax, r9w
xor ax, word [rdx + rbx - 0x10]
imul r9, r9
mov word [rbx - 0x10], ax
add r9, r8
lea r8, [rcx + rdi]
mov r10, r9
shl r9, 0x20
shr r10, 0x20
or r10, r9
movzx eax, r10w
xor ax, word [rdx + rbx - 0xe]
mov word [rbx - 0xe], ax
imul r10, r10
add r10, rcx
lea rcx, [r8 + rdi]
mov r9, r10
shl r10, 0x20
shr r9, 0x20
or r9, r10
movzx eax, r9w
xor ax, word [rdx + rbx - 0xc]
imul r9, r9
mov word [rbx - 0xc], ax
add r9, r8
lea r8, [rcx + rdi]
mov r10, r9
shl r9, 0x20
shr r10, 0x20
or r10, r9
movzx eax, r10w
xor ax, word [rdx + rbx - 0xa]
mov word [rbx - 0xa], ax
imul r10, r10
add r10, rcx
mov r9, r10
shl r10, 0x20
shr r9, 0x20
or r9, r10
movzx eax, r9w
xor ax, word [rdx + rbx - 8]
mov word [rbx - 8], ax
imul r9, r9
add r9, r8
mov rcx, r9
shl r9, 0x20
shr rcx, 0x20
or rcx, r9
lea r9, [r8 + rdi]
movzx eax, cx
xor ax, word [rdx + rbx - 6]
imul rcx, rcx
mov word [rbx - 6], ax
add rcx, r9
mov r8, rcx
shl rcx, 0x20
shr r8, 0x20
or r8, rcx
movzx eax, r8w
xor ax, word [rdx + rbx - 4]
mov word [rbx - 4], ax
sub rsi, 1
jne 0x180012790
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov word [r11 + 0x5c], ax
mov rax, r11
add rsp, 0x20
pop rdi
ret