Function at 0x180007bc0
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 0x180007bf1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [0x18007bcd8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x60], rsi
inc ecx
shl rdi, cl
lea rcx, [0x18007bce8]
lea rdx, [rdi + rdi]
call fcn.180004e20
mov rcx, qword [0x18007bcd8]
lea rsi, [rdi - 1]
mov qword [0x18007bd00], rsi
mov qword [0x18007bd08], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x180007e79
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 0x180007c93
mov r10, qword [rcx + 0x10]
lea r11, [r15 + r15]
xor r9d, r9d
mov r8, rax
test r11, r11
je 0x180007cc4
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + r10]
inc r9
xor r8, rax
imul r8, r13
cmp r9, r11
jb 0x180007cb0
mov rbp, qword [0x18007bce8]
and r8, rsi
shl r8, 4
add rbp, r8
mov rsi, qword [rbp]
cmp rsi, rbx
jne 0x180007ceb
mov qword [rbp], rcx
mov qword [rbp + 8], rcx
jmp 0x180007df7
mov rax, qword [rbp + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x180007d01
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x180007d0f
mov rdi, qword [rcx + 0x10]
cmp r15, r9
jne 0x180007d58
mov r11, r15
test r15, r15
je 0x180007e0b
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x180007d58
sub rdi, r8
cmp r9w, r10w
ja 0x180007d58
cmp r11, 1
je 0x180007e0b
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x180007d35
cmp rsi, rax
je 0x180007dd2
nop dword [rax]
mov rax, qword [rax + 8]
cmp qword [rax + 0x28], 8
lea r8, [rax + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x180007d76
mov r8, qword [r8]
lea rdi, [rcx + 0x10]
cmp r12, 8
jb 0x180007d84
mov rdi, qword [rcx + 0x10]
cmp r15, r9
jne 0x180007dcd
mov r11, r15
test r15, r15
je 0x180007e3a
movzx r9d, word [rdi]
movzx r10d, word [r8]
cmp r9w, r10w
jb 0x180007dcd
sub rdi, r8
cmp r9w, r10w
ja 0x180007dcd
cmp r11, 1
je 0x180007e3a
movzx r9d, word [r8 + rdi + 2]
add r8, 2
dec r11
movzx r10d, word [r8]
cmp r9w, r10w
jae 0x180007daa
cmp rsi, rax
jne 0x180007d60
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 0x180007e60
mov rsi, qword [0x18007bd00]
jmp 0x180007c70
mov r10, qword [rax]
cmp r10, rcx
je 0x180007e34
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 0x180007df7
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 0x180007df7
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