Function at 0x14007cb40
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 0x14007ce08
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.1400793f0
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 0x14007cd9e
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 0x14007cc09
mov r10, qword [rcx + 0x10]
lea r11, [r14 + r14]
xor r8d, r8d
mov r9, rax
test r11, r11
je 0x14007cc34
nop dword [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rdi
cmp r8, r11
jb 0x14007cc20
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 0x14007cc59
mov qword [r15], rcx
mov qword [r15 + 8], rcx
jmp 0x14007cd70
mov rax, qword [r15 + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x14007cc6f
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x14007cc7d
mov rdi, qword [rcx + 0x10]
cmp r14, r9
jne 0x14007ccc6
mov r11, r14
test r14, r14
je 0x14007cdb0
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x14007ccc6
sub rdi, r8
cmp r9w, r10w
ja 0x14007ccc6
cmp r11, 1
je 0x14007cdb0
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x14007cca3
cmp rbp, rax
je 0x14007cd42
nop dword [rax + rax]
mov rax, qword [rax + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x14007cce6
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x14007ccf4
mov rdi, qword [rcx + 0x10]
cmp r14, r9
jne 0x14007cd3d
mov r11, r14
test r14, r14
je 0x14007cddf
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x14007cd3d
sub rdi, r8
cmp r9w, r10w
ja 0x14007cd3d
cmp r11, 1
je 0x14007cddf
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x14007cd1a
cmp rbp, rax
jne 0x14007ccd0
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 0x14007cbf0
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 0x14007cdd9
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 0x14007cd66
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 0x14007cd66
lea rcx, str.invalid_hash_bucket_count
call fcn.1400fa594
int3