Function at 0x14010cfd0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
push rdi
push r13
sub rsp, 0x48
movabs rax, 0xfffffffffffffff
mov r13, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14010d298
lea rax, [rdx - 1]
mov qword [rsp + 0x70], rbx
mov rbx, qword [r13 + 8]
or rax, rdi
bsr rcx, rax
mov qword [rsp + 0x20], r15
mov r8, rbx
inc ecx
lea r15, [r13 + 0x18]
shl rdi, cl
mov rcx, r15
lea rdx, [rdi + rdi]
call fcn.14004e0e0
mov qword [r13 + 0x38], rdi
lea rax, [rdi - 1]
mov qword [r13 + 0x30], rax
mov rcx, qword [r13 + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x14010d22e
mov qword [rsp + 0x40], rbp
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
nop dword [rax]
nop dword [rax + rax]
mov r12, qword [rcx + 0x28]
lea r10, [rcx + 0x10]
mov rdx, qword [rdx]
mov r14, qword [rcx + 0x20]
cmp r12, 8
jb 0x14010d099
mov r10, qword [rcx + 0x10]
lea r11, [r14 + r14]
xor r8d, r8d
mov r9, rax
test r11, r11
je 0x14010d0c4
nop dword [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rdi
cmp r8, r11
jb 0x14010d0b0
mov r8, qword [r13 + 0x30]
mov r15, qword [r15]
and r8, r9
shl r8, 4
add r15, r8
mov rbp, qword [r15]
cmp rbp, rbx
jne 0x14010d0e9
mov qword [r15], rcx
mov qword [r15 + 8], rcx
jmp 0x14010d200
mov rax, qword [r15 + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x14010d0ff
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x14010d10d
mov rdi, qword [rcx + 0x10]
cmp r14, r9
jne 0x14010d156
mov r11, r14
test r14, r14
je 0x14010d240
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x14010d156
sub rdi, r8
cmp r9w, r10w
ja 0x14010d156
cmp r11, 1
je 0x14010d240
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x14010d133
cmp rbp, rax
je 0x14010d1d2
nop dword [rax + rax]
mov rax, qword [rax + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x14010d176
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x14010d184
mov rdi, qword [rcx + 0x10]
cmp r14, r9
jne 0x14010d1cd
mov r11, r14
test r14, r14
je 0x14010d26f
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x14010d1cd
sub rdi, r8
cmp r9w, r10w
ja 0x14010d1cd
cmp r11, 1
je 0x14010d26f
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x14010d1aa
cmp rbp, rax
jne 0x14010d160
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r15], rcx
movabs rdi, 0x100000001b3
lea r15, [r13 + 0x18]
mov rcx, rdx
movabs rax, 0xcbf29ce484222325
cmp rdx, rbx
jne 0x14010d080
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x20]
add rsp, 0x48
pop r13
pop rdi
ret
mov r10, qword [rax]
cmp r10, rcx
je 0x14010d269
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r15 + 8], rcx
jmp 0x14010d1f6
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x14010d1f6
lea rcx, str.invalid_hash_bucket_count
call fcn.1401460f4
int3