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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r13, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1801440ae
lea rax, [rdx - 1]
or rax, rdi
bsr rcx, rax
inc ecx
shl rdi, cl
mov rbx, qword [r13 + 8]
lea rdx, [rdi + rdi]
mov r8, rbx
lea rcx, [r13 + 0x18]
call fcn.18002b900
lea rax, [rdi - 1]
mov qword [r13 + 0x30], rax
mov qword [r13 + 0x38], rdi
mov qword [rsp + 0x58], r13
mov rdx, qword [r13 + 8]
mov rdx, qword [rdx]
mov r8, rdx
cmp rdx, rbx
je 0x180144088
movabs rax, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop dword [rax]
mov r8, qword [r8]
mov r10, qword [rdx + 0x20]
lea r11, [rdx + 0x10]
mov rsi, qword [rdx + 0x28]
cmp rsi, 7
jbe 0x180143ef9
mov r11, qword [rdx + 0x10]
mov r9, rax
lea rdi, [r10 + r10]
xor ecx, ecx
test rdi, rdi
je 0x180143f24
nop word [rax + rax]
movzx eax, byte [rcx + r11]
xor r9, rax
imul r9, rbp
inc rcx
cmp rcx, rdi
jb 0x180143f10
mov r15, qword [r13 + 0x30]
and r15, r9
shl r15, 4
add r15, qword [r13 + 0x18]
cmp qword [r15], rbx
jne 0x180143f44
mov qword [r15], rdx
mov qword [r15 + 8], rdx
jmp 0x180144068
mov rax, qword [r15 + 8]
lea r9, [rax + 0x10]
mov rcx, qword [r9 + 0x10]
cmp qword [r9 + 0x18], 7
jbe 0x180143f5a
mov r9, qword [r9]
lea r11, [rdx + 0x10]
cmp rsi, 7
jbe 0x180143f68
mov r11, qword [rdx + 0x10]
cmp r10, rcx
jne 0x180143fbc
test r10, r10
je 0x180143f8a
sub r11, r9
movzx ecx, word [r9 + r11]
cmp cx, word [r9]
jne 0x180143fbc
add r9, 2
sub r10, 1
jne 0x180143f75
mov rcx, qword [rax]
cmp rcx, rdx
je 0x180143fb3
mov r10, qword [rdx + 8]
mov qword [r10], r8
mov r9, qword [r8 + 8]
mov qword [r9], rcx
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov qword [rcx + 8], r9
mov qword [r8 + 8], r10
mov qword [rdx + 8], rax
mov qword [r15 + 8], rdx
jmp 0x180144068
mov rsi, qword [r15]
cmp rsi, rax
je 0x180144044
mov rbp, qword [rdx + 0x28]
mov rdi, qword [rdx + 0x20]
mov rax, qword [rax + 8]
lea rcx, [rax + 0x10]
mov r9, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x180143fe6
mov rcx, qword [rcx]
lea r11, [rdx + 0x10]
cmp rbp, 7
jbe 0x180143ff4
mov r11, qword [rdx + 0x10]
cmp rdi, r9
jne 0x18014403f
mov r10, rdi
test rdi, rdi
je 0x180144019
sub r11, rcx
movzx r9d, word [rcx + r11]
cmp r9w, word [rcx]
jne 0x18014403f
add rcx, 2
sub r10, 1
jne 0x180144004
mov rax, qword [rax]
mov r10, qword [rdx + 8]
mov qword [r10], r8
mov r9, qword [r8 + 8]
mov qword [r9], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdx
mov qword [rax + 8], r9
mov qword [r8 + 8], r10
mov qword [rdx + 8], rcx
jmp 0x180144068
cmp rsi, rax
jne 0x180143fd0
mov r10, qword [rdx + 8]
mov qword [r10], r8
mov r9, qword [r8 + 8]
mov qword [r9], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdx
mov qword [rax + 8], r9
mov qword [r8 + 8], r10
mov qword [rdx + 8], rcx
mov qword [r15], rdx
mov rdx, r8
cmp r8, rbx
movabs rbp, 0x100000001b3
movabs rax, 0xcbf29ce484222325
jne 0x180143ee0
mov qword [rsp + 0x58], 0
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1802819e8
int3