Function at 0x140070a60
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 0x140070d19
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x1403b6e98]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x68], rsi
inc ecx
shl rdi, cl
lea rcx, [0x1403b6ea8]
lea rdx, [rdi + rdi]
call fcn.140029320
mov rcx, qword [0x1403b6e98]
lea rsi, [rdi - 1]
mov qword [0x1403b6ec0], rsi
mov qword [0x1403b6ec8], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x140070d09
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 0x140070b29
mov r10, qword [rcx + 0x10]
lea r11, [r15 + r15]
xor r9d, r9d
mov r8, rax
test r11, r11
je 0x140070b54
nop dword [rax + rax]
movzx eax, byte [r9 + r10]
inc r9
xor r8, rax
imul r8, r13
cmp r9, r11
jb 0x140070b40
mov rbp, qword [0x1403b6ea8]
and r8, rsi
shl r8, 4
add rbp, r8
mov rsi, qword [rbp]
cmp rsi, rbx
jne 0x140070b7b
mov qword [rbp], rcx
mov qword [rbp + 8], rcx
jmp 0x140070c87
mov rax, qword [rbp + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x140070b91
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x140070b9f
mov rdi, qword [rcx + 0x10]
cmp r15, r9
jne 0x140070be8
mov r11, r15
test r15, r15
je 0x140070c9b
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x140070be8
sub rdi, r8
cmp r9w, r10w
ja 0x140070be8
cmp r11, 1
je 0x140070c9b
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x140070bc5
cmp rsi, rax
je 0x140070c62
nop dword [rax]
mov rax, qword [rax + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x140070c06
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x140070c14
mov rdi, qword [rcx + 0x10]
cmp r15, r9
jne 0x140070c5d
mov r11, r15
test r15, r15
je 0x140070cca
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x140070c5d
sub rdi, r8
cmp r9w, r10w
ja 0x140070c5d
cmp r11, 1
je 0x140070cca
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x140070c3a
cmp rsi, rax
jne 0x140070bf0
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 0x140070cf0
mov rsi, qword [0x1403b6ec0]
jmp 0x140070b06
mov r10, qword [rax]
cmp r10, rcx
je 0x140070cc4
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 0x140070c87
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 0x140070c87
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.1401137b4
int3