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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov qword [rbp - 8], rdx
mov rbx, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
mov r15, r8
jb 0x18001dbf2
mov r15, qword [r8]
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x30], rcx
test rbx, rbx
je 0x18001dcba
movabs rdx, 0xcbf29ce484222325
xor eax, eax
movabs r8, 0xac997b2cb7b12930
movabs r9, 0xa01174dc280977fa
movabs r10, 0x7850fb95df506248
movabs r11, 0xc880ff09fb85e4d
movabs r13, 0x100000001b3
nop word cs:[rax + rax]
movzx ecx, byte [r15 + rax]
mov rdi, rcx
not rdi
mov r14, rdi
mov rsi, rdi
and edi, 0x58
mov r12d, ecx
and r12d, 0xffffffa7
or r12d, edi
xor r12d, 0x15
and r12d, ecx
and ecx, 0x48
movabs rdi, 0x87af046a20af9db7
and r14, rdi
or r14, rcx
mov ecx, r14d
and ecx, 0xcf
and rsi, r8
or rsi, rcx
xor rsi, r9
xor r14, r10
and r14, rsi
or r12, r14
xor rdx, r11
xor r12, rdx
imul r12, r13
inc rax
mov rdx, r12
cmp rbx, rax
jne 0x18001dc50
jmp 0x18001dcc4
movabs r12, 0xcbf29ce484222325
mov rdi, qword [rbp - 0x30]
mov rax, qword [rdi + 0x30]
and rax, r12
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov r13, qword [rcx + rdx + 8]
cmp r13, qword [rdi + 8]
je 0x18001dd3b
add rax, rax
mov rsi, qword [rcx + rax*8]
cmp rbx, qword [r13 + 0x20]
jne 0x18001dd27
nop word cs:[rax + rax]
cmp qword [r13 + 0x28], 0x10
jb 0x18001dd10
mov rdx, qword [r13 + 0x10]
jmp 0x18001dd14
lea rdx, [r13 + 0x10]
mov rcx, r15
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18001dec4
cmp r13, rsi
je 0x18001dd38
mov r13, qword [r13 + 8]
cmp rbx, qword [r13 + 0x20]
je 0x18001dd00
jmp 0x18001dd27
mov r13, rsi
movabs rax, 0x333333333333333
cmp qword [rdi + 0x10], rax
je 0x18001df5e
lea rax, [rdi + 8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], 0
mov ecx, 0x50
call fcn.18003c980
mov rbx, rax
mov qword [rbp - 0x18], rax
mov r15, rax
add r15, 0x10
mov qword [rbp - 0x10], rax
mov rcx, r15
mov rdx, qword [rbp - 0x28]
call fcn.18001e120
mov rax, qword [rdi + 0x10]
inc rax
js 0x18001dd97
cvtsi2ss xmm0, rax
jmp 0x18001ddac
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
movss xmm1, dword [rdi]
mov r14, qword [rdi + 0x38]
test r14, r14
js 0x18001ddc0
cvtsi2ss xmm2, r14
jmp 0x18001ddd8
mov rax, r14
shr rax, 1
mov ecx, r14d
and ecx, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm3, xmm0
divss xmm3, xmm2
ucomiss xmm3, xmm1
jbe 0x18001deda
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x180042ae0]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rdx, 9
mov eax, 8
cmovae rax, rdx
cmp r14, rax
jae 0x18001de3f
lea rcx, [r14*8]
cmp rcx, rax
cmovb rcx, rax
cmp r14, 0x200
cmovae rcx, rax
mov r14, rcx
mov rcx, rdi
mov rdx, r14
call fcn.18001e380
mov rax, qword [rdi + 0x30]
and rax, r12
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov r13, qword [rcx + rdx + 8]
cmp r13, qword [rdi + 8]
je 0x18001deda
add rax, rax
cmp qword [rbx + 0x28], 0x10
jb 0x18001de75
mov r15, qword [rbx + 0x10]
mov rsi, qword [rcx + rax*8]
mov r14, qword [rbx + 0x20]
cmp r14, qword [r13 + 0x20]
jne 0x18001deb3
nop word cs:[rax + rax]
cmp qword [r13 + 0x28], 0x10
jb 0x18001dea0
mov rdx, qword [r13 + 0x10]
jmp 0x18001dea4
lea rdx, [r13 + 0x10]
mov rcx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18001ded6
cmp r13, rsi
je 0x18001ded1
mov r13, qword [r13 + 8]
cmp r14, qword [r13 + 0x20]
je 0x18001de90
jmp 0x18001deb3
mov rsi, qword [rbp - 8]
mov qword [rsi], r13
mov byte [rsi + 8], 0
jmp 0x18001df4a
mov r13, rsi
jmp 0x18001deda
mov r13, qword [r13]
mov qword [rbp - 0x18], 0
mov rax, qword [r13 + 8]
inc qword [rdi + 0x10]
mov qword [rbx], r13
mov qword [rbx + 8], rax
mov qword [rax], rbx
mov qword [r13 + 8], rbx
mov r8, qword [rdi + 0x18]
and r12, qword [rdi + 0x30]
shl r12, 4
lea rcx, [r8 + r12]
lea rdx, [r8 + r12]
add rdx, 8
mov r8, qword [r8 + r12]
cmp r8, qword [rdi + 8]
je 0x18001df2d
cmp r8, r13
mov rsi, qword [rbp - 8]
je 0x18001df37
mov rcx, rdx
cmp qword [rdx], rax
jne 0x18001df3a
jmp 0x18001df37
mov qword [rcx], rbx
mov rcx, rdx
mov rsi, qword [rbp - 8]
mov qword [rcx], rbx
mov qword [rsi], rbx
mov byte [rsi + 8], 1
lea rcx, [rbp - 0x20]
call fcn.18001e010
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movabs rcx, 0x1d41aac50084961c
add rcx, qword [0x1800508f8]
call fcn.180038ae0
lea rcx, [0x180052038]
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3