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

Disassembly:
push rdi
push r13
sub rsp, 0x38
movabs rax, 0xfffffffffffffff
mov r13, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140071078
lea rax, [rdx - 1]
mov qword [rsp + 0x50], 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.140070c80
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 0x14007100e
mov qword [rsp + 0x58], rbp
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x60], 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 0x140070e79
mov r10, qword [rcx + 0x10]
lea r11, [r14 + r14]
xor r8d, r8d
mov r9, rax
test r11, r11
je 0x140070ea4
nop dword [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rdi
cmp r8, r11
jb 0x140070e90
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 0x140070ec9
mov qword [r15], rcx
mov qword [r15 + 8], rcx
jmp 0x140070fe0
mov rax, qword [r15 + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x140070edf
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x140070eed
mov rdi, qword [rcx + 0x10]
cmp r14, r9
jne 0x140070f36
mov r11, r14
test r14, r14
je 0x140071020
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x140070f36
sub rdi, r8
cmp r9w, r10w
ja 0x140070f36
cmp r11, 1
je 0x140071020
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x140070f13
cmp rbp, rax
je 0x140070fb2
nop dword [rax + rax]
mov rax, qword [rax + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x140070f56
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x140070f64
mov rdi, qword [rcx + 0x10]
cmp r14, r9
jne 0x140070fad
mov r11, r14
test r14, r14
je 0x14007104f
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x140070fad
sub rdi, r8
cmp r9w, r10w
ja 0x140070fad
cmp r11, 1
je 0x14007104f
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x140070f8a
cmp rbp, rax
jne 0x140070f40
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 0x140070e60
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
add rsp, 0x38
pop r13
pop rdi
ret
mov r10, qword [rax]
cmp r10, rcx
je 0x140071049
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 0x140070fd6
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 0x140070fd6
lea rcx, str.invalid_hash_bucket_count
call fcn.1400dc80a
int3