Function at 0x14001b470
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
jbe 0x14001b4a1
lea rcx, str.invalid_hash_bucket_count
call qword [0x140137588]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x1401952a8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x60], rsi
inc ecx
shl rdi, cl
lea rcx, [0x1401952b8]
lea rdx, [rdi + rdi]
call fcn.140018460
mov rcx, qword [0x1401952a8]
lea rsi, [rdi - 1]
mov qword [0x1401952d0], rsi
mov qword [0x1401952d8], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x14001b729
mov qword [rsp + 0x58], 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 0x14001b543
mov r10, qword [rcx + 0x10]
lea r11, [r15 + r15]
xor r9d, r9d
mov r8, rax
test r11, r11
je 0x14001b574
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + r10]
inc r9
xor r8, rax
imul r8, r13
cmp r9, r11
jb 0x14001b560
mov rbp, qword [0x1401952b8]
and r8, rsi
shl r8, 4
add rbp, r8
mov rsi, qword [rbp]
cmp rsi, rbx
jne 0x14001b59b
mov qword [rbp], rcx
mov qword [rbp + 8], rcx
jmp 0x14001b6a7
mov rax, qword [rbp + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x14001b5b1
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x14001b5bf
mov rdi, qword [rcx + 0x10]
cmp r15, r9
jne 0x14001b608
mov r11, r15
test r15, r15
je 0x14001b6bb
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x14001b608
sub rdi, r8
cmp r9w, r10w
ja 0x14001b608
cmp r11, 1
je 0x14001b6bb
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x14001b5e5
cmp rsi, rax
je 0x14001b682
nop dword [rax]
mov rax, qword [rax + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x14001b626
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x14001b634
mov rdi, qword [rcx + 0x10]
cmp r15, r9
jne 0x14001b67d
mov r11, r15
test r15, r15
je 0x14001b6ea
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x14001b67d
sub rdi, r8
cmp r9w, r10w
ja 0x14001b67d
cmp r11, 1
je 0x14001b6ea
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x14001b65a
cmp rsi, rax
jne 0x14001b610
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 0x14001b710
mov rsi, qword [0x1401952d0]
jmp 0x14001b520
mov r10, qword [rax]
cmp r10, rcx
je 0x14001b6e4
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 0x14001b6a7
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 0x14001b6a7
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret