Function at 0x140025210
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push r13
sub rsp, 0x58
movabs rax, 0xfffffffffffffff
mov qword [rsp + 0x28], rcx
mov r13, rcx
mov esi, 1
bsr rcx, rax
mov eax, esi
shl rax, cl
cmp rdx, rax
ja 0x140025582
mov qword [rsp + 0x80], rbx
lea rax, [rdx - 1]
mov rdx, qword [r13 + 0x20]
or rax, rsi
bsr rcx, rax
mov qword [rsp + 0x50], rbp
mov rbp, qword [r13 + 8]
inc ecx
shl rsi, cl
mov rcx, rdx
mov qword [rsp + 0x48], rdi
mov rdi, qword [r13 + 0x18]
sub rcx, rdi
mov rax, rcx
lea rbx, [rsi + rsi]
sar rax, 3
cmp rax, rbx
jae 0x14002540e
movabs rax, 0x1fffffffffffffff
cmp rbx, rax
ja 0x14002557c
lea rbx, [rbx*8]
test rbx, rbx
jne 0x1400252ad
xor edi, edi
jmp 0x1400252ea
cmp rbx, 0x1000
jb 0x1400252df
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14002557c
call fcn.14002ed38
test rax, rax
je 0x14002558f
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400252ea
mov rcx, rbx
call fcn.14002ed38
mov rdi, rax
mov rcx, qword [r13 + 0x18]
mov rax, qword [r13 + 0x28]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x140025330
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x14002532b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002558f
mov rcx, r8
call fcn.14002ed30
lea rax, [rbx + rdi]
mov qword [r13 + 0x18], rdi
mov qword [r13 + 0x20], rax
mov qword [r13 + 0x28], rax
cmp rdi, rax
je 0x14002535c
nop word [rax + rax]
mov qword [rdi], rbp
add rdi, 8
cmp rdi, rax
jne 0x140025350
xor r8d, r8d
mov rbx, qword [r13 + 8]
lea rax, [rsi - 1]
mov qword [r13 + 0x38], rsi
mov qword [r13 + 0x30], rax
mov rbx, qword [rbx]
mov rsi, rbx
cmp rbx, rbp
je 0x14002553c
mov qword [rsp + 0x40], r12
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], r14
movabs r9, 0x100000001b3
mov qword [rsp + 0x30], r15
mov r12, qword [rbx + 0x28]
lea rdi, [rbx + 0x10]
mov rsi, qword [rsi]
cmp r12, 0xf
jbe 0x1400253b6
mov rdi, qword [rbx + 0x10]
mov r15, qword [rbx + 0x20]
mov rdx, rax
mov rcx, r8
test r15, r15
je 0x1400253e3
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, r15
jb 0x1400253d0
mov rcx, qword [r13 + 0x30]
mov rax, qword [r13 + 0x18]
and rcx, rdx
shl rcx, 4
add rax, rcx
mov qword [rsp + 0x20], rax
mov r13, qword [rax]
cmp r13, rbp
jne 0x140025434
mov qword [rax], rbx
mov qword [rax + 8], rbx
jmp 0x140025512
add rcx, 7
xor r8d, r8d
shr rcx, 3
cmp rdi, rdx
cmova rcx, r8
test rcx, rcx
je 0x14002535f
mov rax, rbp
rep stosq qword [rdi], rax
jmp 0x14002535f
mov rdi, qword [rax + 8]
cmp qword [rdi + 0x28], 0xf
lea rdx, [rdi + 0x10]
jbe 0x140025447
mov rdx, qword [rdi + 0x10]
lea rcx, [rbx + 0x10]
cmp r12, 0xf
jbe 0x140025455
mov rcx, qword [rbx + 0x10]
cmp r15, qword [rdi + 0x20]
jne 0x14002549b
mov r8, r15
call fcn.14005bdc0
test eax, eax
jne 0x14002549b
mov rdi, qword [rdi]
cmp rdi, rbx
je 0x140025490
mov rdx, qword [rbx + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov qword [rdi + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], rbx
jmp 0x140025505
cmp r13, rdi
je 0x1400254dc
mov rdi, qword [rdi + 8]
cmp qword [rdi + 0x28], 0xf
lea rdx, [rdi + 0x10]
jbe 0x1400254b3
mov rdx, qword [rdi + 0x10]
lea rcx, [rbx + 0x10]
cmp r12, 0xf
jbe 0x1400254c1
mov rcx, qword [rbx + 0x10]
cmp r15, qword [rdi + 0x20]
jne 0x1400254d7
mov r8, r15
call fcn.14005bdc0
test eax, eax
je 0x140025556
cmp r13, rdi
jne 0x1400254a0
mov rdx, qword [rbx + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov qword [rdi + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x20]
mov qword [rax], rbx
xor r8d, r8d
movabs r9, 0x100000001b3
mov r13, qword [rsp + 0x28]
mov rbx, rsi
movabs rax, 0xcbf29ce484222325
cmp rsi, rbp
jne 0x1400253a1
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x48]
add rsp, 0x58
pop r13
pop rsi
ret
mov rdi, qword [rdi]
mov rdx, qword [rbx + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov qword [rdi + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x140025505
call fcn.1400017f0
int3
lea rcx, str.invalid_hash_bucket_count
call fcn.14002bfdc
int3
call fcn.140036848
int3