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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x18028ab00]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, r8
mov r14, rdx
mov r8, qword [r8 + 0x10]
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x18015958a
mov rdx, qword [rsi]
xor r13d, r13d
movabs rbx, 0xcbf29ce484222325
mov ecx, r13d
test r8, r8
je 0x1801595c3
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
xor rbx, rax
imul rbx, r9
cmp rcx, r8
jb 0x1801595b0
xor edx, edx
mov rax, rbx
div qword [0x1803976f8]
mov r12, rdx
call fcn.180158560
test al, al
jne 0x1801595e3
mov rdx, r12
call fcn.1801585e0
lea rdi, [0x180000000]
movzx eax, bl
mov r15d, 1
mov r8, rsi
movzx eax, byte [rax + rdi + 0x229c90]
mov byte [rsp + 0x27], al
mov rax, rbx
shr rax, 8
movzx eax, al
movzx eax, byte [rax + rdi + 0x229c90]
mov byte [rsp + 0x26], al
mov rax, rbx
shr rax, 0x10
movzx eax, al
movzx eax, byte [rax + rdi + 0x229c90]
mov byte [rsp + 0x25], al
mov rax, rbx
shr rax, 0x18
movzx eax, al
movzx eax, byte [rax + rdi + 0x229c90]
mov byte [rsp + 0x24], al
mov rax, rbx
shr rax, 0x20
movzx eax, al
movzx eax, byte [rax + rdi + 0x229c90]
mov byte [rsp + 0x23], al
mov rax, rbx
shr rax, 0x28
movzx eax, al
movzx eax, byte [rax + rdi + 0x229c90]
mov byte [rsp + 0x22], al
mov rax, rbx
shr rax, 0x30
movzx eax, al
shr rbx, 0x38
movzx eax, byte [rax + rdi + 0x229c90]
mov byte [rsp + 0x21], al
movzx eax, byte [rbx + rdi + 0x229c90]
mov byte [rsp + 0x20], al
mov rax, r12
mov rbp, qword [rsp + 0x20]
or rax, 1
bsr rcx, rax
or rbp, 1
mov eax, r15d
mov dword [rsp + 0x20], ecx
mov rdx, rbp
movzx ecx, cl
shl rax, cl
and rax, 0xfffffffffffffffe
sub r12, rax
mov rdi, qword [rdi + rcx*8 + 0x3974d8]
mov rdi, qword [rdi + r12*8]
call fcn.180159c10
mov rsi, rax
mov rbx, qword [rdi]
test rbx, rbx
je 0x18015971d
cmp qword [rbx + 0x78], rbp
ja 0x18015971d
jne 0x180159715
cmp qword [rsi + 0x20], 0xf
lea rcx, [rbx + 8]
lea rdx, [rsi + 8]
jbe 0x1801596f8
mov rdx, qword [rsi + 8]
cmp qword [rcx + 0x18], 0xf
mov r8, qword [rcx + 0x10]
jbe 0x180159706
mov rcx, qword [rcx]
cmp r8, qword [rsi + 0x18]
jne 0x180159715
call fcn.1802060d0
test eax, eax
je 0x18015973b
mov rdi, rbx
mov rbx, qword [rbx]
jmp 0x1801596d8
mov qword [rsi], rbx
mov rax, rbx
lock cmpxchg qword [rdi], rsi
je 0x18015977a
cmp rax, rsi
je 0x18015977a
mov qword [rsp + 0x20], r13
mov byte [rsp + 0x28], r13b
jmp 0x1801596d5
movzx eax, byte [rsi + 0x78]
not al
test r15b, al
jne 0x180159761
lea rcx, [rsi + 0x50]
call fcn.180008100
lea rcx, [rsi + 0x30]
call fcn.180008100
lea rcx, [rsi + 8]
call fcn.180008100
mov edx, 0x80
mov rcx, rsi
call fcn.1801cb9e0
mov qword [r14], rbx
mov byte [r14 + 8], r13b
jmp 0x180159809
lock xadd dword [0x1803976e8], r15d
mov r8, qword [0x1803976f8]
add r15d, 1
movsxd rcx, r15d
xorps xmm0, xmm0
mov qword [rsp + 0x20], rsi
mov byte [rsp + 0x28], 1
js 0x1801597a7
cvtsi2ss xmm0, rcx
jmp 0x1801597bc
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
xorps xmm1, xmm1
test r8, r8
js 0x1801597cb
cvtsi2ss xmm1, r8
jmp 0x1801597e3
mov rcx, r8
mov rdx, r8
shr rdx, 1
and ecx, 1
or rdx, rcx
cvtsi2ss xmm1, rdx
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x180397700]
jbe 0x180159800
lea rcx, [r8 + r8]
mov rax, r8
lock cmpxchg qword [0x1803976f8], rcx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [r14], xmm0
mov rax, r14
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1801cb9c0
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret