Function at 0x140010690
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 0x140010958
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.14000fb90
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 0x1400108ee
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 0x140010759
mov r10, qword [rcx + 0x10]
lea r11, [r14 + r14]
xor r8d, r8d
mov r9, rax
test r11, r11
je 0x140010784
nop dword [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rdi
cmp r8, r11
jb 0x140010770
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 0x1400107a9
mov qword [r15], rcx
mov qword [r15 + 8], rcx
jmp 0x1400108c0
mov rax, qword [r15 + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x1400107bf
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x1400107cd
mov rdi, qword [rcx + 0x10]
cmp r14, r9
jne 0x140010816
mov r11, r14
test r14, r14
je 0x140010900
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x140010816
sub rdi, r8
cmp r9w, r10w
ja 0x140010816
cmp r11, 1
je 0x140010900
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x1400107f3
cmp rbp, rax
je 0x140010892
nop dword [rax + rax]
mov rax, qword [rax + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x140010836
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x140010844
mov rdi, qword [rcx + 0x10]
cmp r14, r9
jne 0x14001088d
mov r11, r14
test r14, r14
je 0x14001092f
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x14001088d
sub rdi, r8
cmp r9w, r10w
ja 0x14001088d
cmp r11, 1
je 0x14001092f
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x14001086a
cmp rbp, rax
jne 0x140010820
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 0x140010740
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 0x140010929
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 0x1400108b6
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 0x1400108b6
lea rcx, str.invalid_hash_bucket_count
call fcn.1400935c0
int3