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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf8
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x60], xmm8
movdqa xmmword [rbp + 0x50], xmm7
movaps xmmword [rbp + 0x40], xmm6
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov rdi, rdx
mov rax, qword [r8 + 8]
mov qword [rbp + 0x30], rax
mov rbx, qword [r8 + 0x10]
test rbx, rbx
mov qword [rbp + 0x18], rcx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
je 0x18009e5bc
mov r11d, ebx
and r11d, 7
movabs rax, 0x100000001b3
cmp rbx, 8
jae 0x18009e5d6
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rbp + 0x30]
jmp 0x18009e659
movabs r15, 0xaf64724c8602eb6e
cmp qword [rdi + 0x10], 0
jne 0x18009e6aa
jmp 0x18009e699
mov rsi, rbx
and rsi, 0xfffffffffffffff8
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rbp + 0x30]
nop dword [rax + rax]
movzx r10d, byte [rdx]
xor r10, r9
imul r10, rax
movzx r9d, byte [rdx + 1]
xor r9, r10
imul r9, rax
movzx r10d, byte [rdx + 2]
xor r10, r9
imul r10, rax
movzx r9d, byte [rdx + 3]
xor r9, r10
imul r9, rax
movzx r10d, byte [rdx + 4]
xor r10, r9
imul r10, rax
movzx r9d, byte [rdx + 5]
xor r9, r10
imul r9, rax
movzx r10d, byte [rdx + 6]
xor r10, r9
imul r10, rax
movzx r9d, byte [rdx + 7]
add rdx, 8
xor r9, r10
imul r9, rax
add rsi, 0xfffffffffffffff8
jne 0x18009e5f0
mov r15, r9
test r11, r11
je 0x18009e687
xor r8d, r8d
nop word cs:[rax + rax]
movzx r15d, byte [rdx + r8]
xor r15, r9
imul r15, rax
inc r8
mov r9, r15
cmp r11, r8
jne 0x18009e670
xor r15, 0xff
imul r15, rax
cmp qword [rdi + 0x10], 0
jne 0x18009e6aa
lea r8, [rdi + 0x20]
mov edx, 1
mov rcx, rdi
call fcn.1801240a0
mov r14, qword [rdi]
mov qword [rbp + 8], rdi
mov r13, qword [rdi + 8]
mov rax, r15
shr rax, 0x39
mov qword [rbp + 0x10], rax
movd xmm0, eax
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm6, xmm0, 0
xor ecx, ecx
pcmpeqd xmm7, xmm7
xor r12d, r12d
mov qword [rbp - 8], rcx
and r15, r13
movdqu xmm8, xmmword [r14 + r15]
movdqa xmm0, xmm8
pcmpeqb xmm0, xmm6
pmovmskb edi, xmm0
test edi, edi
jne 0x18009e75a
cmp r12, 1
mov r12d, 1
je 0x18009e721
pmovmskb eax, xmm8
xor r12d, r12d
test eax, eax
setne r12b
tzcnt eax, eax
add rax, r15
and rax, r13
mov qword [rbp], rax
pcmpeqb xmm8, xmm7
pmovmskb eax, xmm8
test eax, eax
mov rax, qword [rbp - 8]
jne 0x18009e80e
add r15, rax
add r15, 0x10
add rax, 0x10
mov rcx, rax
jmp 0x18009e6db
lea eax, [rdi - 1]
and ax, di
mov edi, eax
je 0x18009e6f9
tzcnt eax, edi
add rax, r15
and rax, r13
neg rax
imul rsi, rax, 0x58
cmp rbx, qword [r14 + rsi - 0x48]
jne 0x18009e750
add rsi, r14
mov rdx, qword [rsi - 0x50]
mov rcx, qword [rbp + 0x30]
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18009e750
movups xmm0, xmmword [rsi - 0x40]
movups xmm1, xmmword [rsi - 0x30]
movups xmm2, xmmword [rsi - 0x20]
movups xmm3, xmmword [rsi - 0x10]
mov rdi, qword [rbp + 0x18]
movups xmmword [rdi + 0x30], xmm3
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rax, qword [rbp + 0x28]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movups xmmword [rsi - 0x10], xmm3
movups xmmword [rsi - 0x20], xmm2
movups xmmword [rsi - 0x30], xmm1
movups xmmword [rsi - 0x40], xmm0
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
test rdx, rdx
je 0x18009e7ea
mov r8d, 1
mov rcx, qword [rbp + 0x30]
call fcn.180022840
mov rax, rdi
movaps xmm6, xmmword [rbp + 0x40]
movaps xmm7, xmmword [rbp + 0x50]
movaps xmm8, xmmword [rbp + 0x60]
add rsp, 0xf8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov r8, qword [rbp]
movzx eax, byte [r14 + r8]
test al, al
js 0x18009e82e
movdqa xmm0, xmmword [r14]
pmovmskb eax, xmm0
tzcnt r8d, eax
movzx eax, byte [r14 + r8]
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rdx + 0x10]
mov qword [rbp - 0x50], rcx
movups xmm0, xmmword [rdx]
movaps xmmword [rbp - 0x60], xmm0
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmm2, xmmword [rcx + 0x20]
movups xmm3, xmmword [rcx + 0x30]
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm1
movups xmmword [rbp - 0x28], xmm2
and al, 1
movzx eax, al
mov rcx, qword [rbp + 8]
sub qword [rcx + 0x10], rax
movups xmmword [rbp - 0x18], xmm3
lea rax, [r8 - 0x10]
and rax, r13
mov rdx, qword [rbp + 0x10]
mov byte [r14 + r8], dl
mov byte [r14 + rax + 0x10], dl
inc qword [rcx + 0x18]
neg r8
imul rax, r8, 0x58
mov rcx, qword [rbp - 0x10]
mov qword [r14 + rax - 8], rcx
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [r14 + rax - 0x18], xmm0
movaps xmm0, xmmword [rbp - 0x60]
movaps xmm1, xmmword [rbp - 0x50]
movaps xmm2, xmmword [rbp - 0x40]
movaps xmm3, xmmword [rbp - 0x30]
movups xmmword [r14 + rax - 0x28], xmm3
movups xmmword [r14 + rax - 0x38], xmm2
movups xmmword [r14 + rax - 0x48], xmm1
movups xmmword [r14 + rax - 0x58], xmm0
mov rdi, qword [rbp + 0x18]
mov qword [rdi], 6
jmp 0x18009e7ea