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

Disassembly:
push rdi
sub rsp, 0x40
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14007d8f9
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x14010d078]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x68], rsi
inc ecx
shl rdi, cl
lea rcx, [0x14010d088]
lea rdx, [rdi + rdi]
call fcn.14000fb90
mov rcx, qword [0x14010d078]
lea rsi, [rdi - 1]
mov qword [0x14010d0a0], rsi
mov qword [0x14010d0a8], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x14007d8e9
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
movabs r13, 0x100000001b3
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov r12, qword [rcx + 0x28]
lea r10, [rcx + 0x10]
mov rdx, qword [rdx]
movabs rax, 0xcbf29ce484222325
mov r15, qword [rcx + 0x20]
cmp r12, 8
jb 0x14007d709
mov r10, qword [rcx + 0x10]
lea r11, [r15 + r15]
xor r9d, r9d
mov r8, rax
test r11, r11
je 0x14007d734
nop dword [rax + rax]
movzx eax, byte [r9 + r10]
inc r9
xor r8, rax
imul r8, r13
cmp r9, r11
jb 0x14007d720
mov rbp, qword [0x14010d088]
and r8, rsi
shl r8, 4
add rbp, r8
mov rsi, qword [rbp]
cmp rsi, rbx
jne 0x14007d75b
mov qword [rbp], rcx
mov qword [rbp + 8], rcx
jmp 0x14007d867
mov rax, qword [rbp + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x14007d771
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x14007d77f
mov rdi, qword [rcx + 0x10]
cmp r15, r9
jne 0x14007d7c8
mov r11, r15
test r15, r15
je 0x14007d87b
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x14007d7c8
sub rdi, r8
cmp r9w, r10w
ja 0x14007d7c8
cmp r11, 1
je 0x14007d87b
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x14007d7a5
cmp rsi, rax
je 0x14007d842
nop dword [rax]
mov rax, qword [rax + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x14007d7e6
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x14007d7f4
mov rdi, qword [rcx + 0x10]
cmp r15, r9
jne 0x14007d83d
mov r11, r15
test r15, r15
je 0x14007d8aa
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x14007d83d
sub rdi, r8
cmp r9w, r10w
ja 0x14007d83d
cmp r11, 1
je 0x14007d8aa
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x14007d81a
cmp rsi, rax
jne 0x14007d7d0
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 [rbp], rcx
mov rcx, rdx
cmp rdx, rbx
je 0x14007d8d0
mov rsi, qword [0x14010d0a0]
jmp 0x14007d6e6
mov r10, qword [rax]
cmp r10, rcx
je 0x14007d8a4
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 [rbp + 8], rcx
jmp 0x14007d867
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 0x14007d867
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1400935c0
int3