Function at 0x180158fb0
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 0x180158fea
mov rdx, qword [rsi]
xor r13d, r13d
movabs rbx, 0xcbf29ce484222325
mov ecx, r13d
test r8, r8
je 0x180159023
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
inc rcx
xor rbx, rax
imul rbx, r9
cmp rcx, r8
jb 0x180159010
xor edx, edx
mov rax, rbx
div qword [0x180397938]
mov r12, rdx
call fcn.180158040
test al, al
jne 0x180159043
mov rdx, r12
call fcn.1801580c0
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 + 0x397718]
mov rdi, qword [rdi + r12*8]
call fcn.180159ba0
mov rsi, rax
mov rbx, qword [rdi]
test rbx, rbx
je 0x18015917d
cmp qword [rbx + 0x40], rbp
ja 0x18015917d
jne 0x180159175
cmp qword [rsi + 0x20], 0xf
lea rcx, [rbx + 8]
lea rdx, [rsi + 8]
jbe 0x180159158
mov rdx, qword [rsi + 8]
cmp qword [rcx + 0x18], 0xf
mov r8, qword [rcx + 0x10]
jbe 0x180159166
mov rcx, qword [rcx]
cmp r8, qword [rsi + 0x18]
jne 0x180159175
call fcn.1802060d0
test eax, eax
je 0x18015919b
mov rdi, rbx
mov rbx, qword [rbx]
jmp 0x180159138
mov qword [rsi], rbx
mov rax, rbx
lock cmpxchg qword [rdi], rsi
je 0x1801591c8
cmp rax, rsi
je 0x1801591c8
mov qword [rsp + 0x20], r13
mov byte [rsp + 0x28], r13b
jmp 0x180159135
movzx edx, byte [rsi + 0x40]
not dl
test r15b, dl
jne 0x1801591af
lea rcx, [rsi + 8]
call fcn.180008100
mov edx, 0x48
mov rcx, rsi
call fcn.1801cb9e0
mov qword [r14], rbx
mov byte [r14 + 8], r13b
jmp 0x180159257
lock xadd dword [0x180397928], r15d
mov r8, qword [0x180397938]
add r15d, 1
movsxd rcx, r15d
xorps xmm0, xmm0
mov qword [rsp + 0x20], rsi
mov byte [rsp + 0x28], 1
js 0x1801591f5
cvtsi2ss xmm0, rcx
jmp 0x18015920a
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 0x180159219
cvtsi2ss xmm1, r8
jmp 0x180159231
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 [0x180397940]
jbe 0x18015924e
lea rcx, [r8 + r8]
mov rax, r8
lock cmpxchg qword [0x180397938], 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