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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, r8
mov r14, rdx
mov r15, rcx
xor edx, edx
movabs r12, 0xcbf29ce484222325
movzx eax, byte [rdx + r8]
xor r12, rax
movabs rcx, 0x100000001b3
imul r12, rcx
inc rdx
cmp rdx, 2
jb 0x15031f439
mov rax, qword [r15 + 0x30]
and rax, r12
add rax, rax
mov rcx, qword [r15 + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
lea r13, [r15 + 8]
mov rbp, qword [r13]
cmp rbx, rbp
jne 0x15031f4d1
mov rbx, rbp
movabs rax, 0x666666666666666
cmp qword [r15 + 0x10], rax
je 0x15031f689
mov qword [rsp + 0x20], r13
and qword [rsp + 0x28], 0
mov ecx, 0x28
call fcn.15040af44
mov rsi, rax
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rdi]
movups xmmword [rax + 0x10], xmm0
movsd xmm1, qword [rdi + 0x10]
movsd qword [rax + 0x20], xmm1
mov rcx, qword [r15 + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x15031f50c
cvtsi2ss xmm0, rcx
jmp 0x15031f521
mov rdx, qword [rcx + rax*8]
movzx eax, word [r8]
jmp 0x15031f4e4
cmp rbx, rdx
je 0x15031f505
mov rbx, qword [rbx + 8]
cmp ax, word [rbx + 0x10]
jne 0x15031f4db
mov rbp, qword [rbx]
mov rax, rbx
mov rbx, rbp
test rax, rax
je 0x15031f47b
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x15031f669
mov rbp, rbx
xor eax, eax
jmp 0x15031f4f3
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [r15 + 0x38]
xorps xmm2, xmm2
test rdi, rdi
js 0x15031f534
cvtsi2ss xmm2, rdi
jmp 0x15031f54c
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, dword [r15]
seta al
test al, al
je 0x15031f60f
divss xmm0, dword [r15]
call fcn.1504413bc
xor ecx, ecx
movss xmm1, dword [0x1502703c8]
comiss xmm0, xmm1
jb 0x15031f591
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x15031f591
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdi, rcx
jae 0x15031f5bf
cmp rdi, 0x200
jae 0x15031f5bc
shl rdi, 3
cmp rdi, rcx
jae 0x15031f5bf
mov rdi, rcx
mov rdx, rdi
mov rcx, r15
call fcn.15031fec0
mov rcx, qword [r15 + 0x30]
and rcx, r12
add rcx, rcx
mov rdx, qword [r15 + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [r13]
cmp rax, rbx
je 0x15031f605
mov rdx, qword [rdx + rcx*8]
movzx ecx, word [rsi + 0x10]
jmp 0x15031f5fc
mov rbx, rax
cmp rax, rdx
je 0x15031f643
mov rax, qword [rax + 8]
cmp cx, word [rax + 0x10]
jne 0x15031f5f0
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [r15 + 0x10]
mov qword [rsi], rbp
mov qword [rsi + 8], rdx
mov qword [rdx], rsi
mov qword [rbx + 8], rsi
mov rcx, qword [r15 + 0x18]
mov rax, qword [r15 + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [r13]
jne 0x15031f64a
mov qword [rcx + rax*8], rsi
jmp 0x15031f65c
mov qword [rsp + 0x20], rax
jmp 0x15031f60a
cmp r8, rbp
jne 0x15031f655
mov qword [rcx + rax*8], rsi
jmp 0x15031f661
cmp qword [rcx + rax*8 + 8], rdx
jne 0x15031f661
mov qword [rcx + rax*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [0x1501755e8]
call fcn.15040822c
int3