Function at 0x180160e80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], 6
mov qword [rsp + 0x58], 0xf
mov r11d, dword [str.haptic]
mov dword [rsp + 0x40], r11d
movzx r10d, word [0x1802f6248]
mov word [rsp + 0x44], r10w
mov byte [rsp + 0x46], sil
movabs r8, 0xcbf29ce484222325
mov rcx, r8
mov edx, esi
movabs rbx, 0x100000001b3
movzx eax, byte [rsp + rdx + 0x40]
xor rcx, rax
imul rcx, rbx
inc rdx
cmp rdx, 6
jb 0x180160f01
and rcx, qword [rdi + 0x9c8]
add rcx, rcx
mov rax, qword [rdi + 0x9b0]
mov rdx, qword [rax + rcx*8 + 8]
cmp rdx, qword [rdi + 0x9a0]
je 0x180160f6f
mov r9, qword [rax + rcx*8]
nop dword [rax]
lea rax, [rdx + 0x10]
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x180160f52
mov rax, qword [rax]
cmp rcx, 6
jne 0x180160f64
cmp r11d, dword [rax]
jne 0x180160f64
cmp r10w, word [rax + 4]
je 0x180160f72
cmp rdx, r9
je 0x180160f6f
mov rdx, qword [rdx + 8]
jmp 0x180160f40
mov rdx, rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
test rdx, rdx
je 0x1801611f6
mov dword [rbp - 0x10], 0x3b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], 6
mov qword [rsp + 0x58], 0xf
mov r11d, dword [str.haptic]
mov dword [rsp + 0x40], r11d
movzx r10d, word [0x1802f6248]
mov word [rsp + 0x44], r10w
mov byte [rsp + 0x46], al
mov rcx, rsi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rsp + rcx + 0x40]
xor r8, rax
imul r8, rbx
inc rcx
cmp rcx, 6
jb 0x180160ff0
and r8, qword [rdi + 0x9c8]
add r8, r8
mov r9, qword [rdi + 0x9b0]
mov rcx, qword [r9 + r8*8 + 8]
mov rbx, qword [rdi + 0x9a0]
cmp rcx, rbx
je 0x18016105f
mov r9, qword [r9 + r8*8]
nop dword [rax + rax]
lea rax, [rcx + 0x10]
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x180161042
mov rax, qword [rax]
cmp rdx, 6
jne 0x180161054
cmp r11d, dword [rax]
jne 0x180161054
cmp r10w, word [rax + 4]
je 0x180161062
cmp rcx, r9
je 0x18016105f
mov rcx, qword [rcx + 8]
jmp 0x180161030
mov rcx, rsi
test rcx, rcx
cmovne rbx, rcx
mov rax, qword [rbx + 0x30]
mov qword [rbp], rax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
movzx eax, byte [rbp + 0x40]
imul rcx, rax, 0x2c8
mov rax, qword [rcx + rdi + 0xb68]
mov qword [rbp + 8], rax
mov dword [rbp - 0x48], 0xd
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
movss dword [rbp - 0x2c], xmm3
movss dword [rbp - 0x30], xmm2
mulss xmm1, dword [0x18032a104]
cvttss2si rax, xmm1
mov qword [rbp - 0x38], rax
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x10]
mov rcx, qword [rdi + 0x420]
call fcn.1801c4580
test eax, eax
je 0x1801611f6
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
mov rcx, qword [0x1804da9d8]
call fcn.1801c5480
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180161130
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.1800083d0
mov ebx, 1
mov dword [rsp + 0x30], ebx
call fcn.180270610
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x70], rsi
lea rcx, str._VR__Failed_to_apply_haptic_feedback:_
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], 0x28
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rsp + 0x40], xmm0
movsd xmm1, qword [rbp - 0x70]
movsd qword [rsp + 0x50], xmm1
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x20]
lea r8d, [rbx + 3]
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.18000b610
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1801611e5
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801611e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18016120f
call fcn.180286270
movdqa xmm0, xmmword [0x1802f5620]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.18028ddc0
int3