Function at 0x180015850
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 + 0x68]
lea rbx, [rcx + 2]
mov r11, rcx
movsd xmm1, qword [rdx + 0x78]
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 [rbx + rdx - 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 [rbx + rdx]
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 [rbx + rdx + 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
shl r10, 0x20
or r9, r10
movzx eax, r9w
xor ax, word [rbx + rdx + 0x1e]
imul r9, r9
mov word [rbx + 0x1e], 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 [rbx + rdx + 0x20]
imul r10, r10
mov word [rbx + 0x20], 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 [rbx + rdx + 0x22]
imul r9, r9
mov word [rbx + 0x22], 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 [rbx + rdx + 0x24]
imul r10, r10
mov word [rbx + 0x24], 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 [rbx + rdx + 0x26]
imul r9, r9
mov word [rbx + 0x26], 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 [rbx + rdx + 0x28]
mov word [rbx + 0x28], 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 [rbx + rdx + 0x2a]
imul r9, r9
mov word [rbx + 0x2a], ax
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 [rbx + rdx + 0x2c]
imul rcx, rcx
mov word [rbx + 0x2c], ax
add rcx, r9
mov r8, rcx
lea rbx, [rbx + 0x32]
shr r8, 0x20
shl rcx, 0x20
or r8, rcx
movzx eax, r8w
xor ax, word [rbx + rdx - 4]
mov word [rbx - 4], ax
sub rsi, 1
jne 0x180015890
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov word [r11 + 0x64], ax
mov rax, r11
add rsp, 0x20
pop rdi
ret