Function at 0x18001c6e0
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, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, r8
mov rdi, rcx
mov r14, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
mov r15, r8
jb 0x18001c714
mov r15, qword [rbx]
mov qword [rbp - 8], rdx
movabs r12, 0xcbf29ce484222325
test r14, r14
je 0x18001c7a9
xor eax, eax
movabs rcx, 0x4ca13045b4ac3562
movabs rdx, 0xb35ecfba4b53ca9d
movabs r8, 0x100000001b3
nop dword [rax + rax]
movzx r9d, byte [r15 + rax]
mov r11, r9
not r11
mov esi, r11d
and esi, 0xaa
mov r10d, r9d
and r10d, 0x55
or r10d, esi
xor r10d, r12d
xor r10d, 0xaa
and r10d, r9d
and r11, rcx
mov rsi, r12
not r12d
and r12d, r9d
and r9d, 0xffffff9d
or r9, r11
xor rsi, rdx
xor rsi, r9
or r12, rsi
not r12
or r12, r10
imul r12, r8
inc rax
cmp r14, rax
jne 0x18001c750
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 0x18001c81b
add rax, rax
mov rsi, qword [rcx + rax*8]
cmp r14, qword [r13 + 0x20]
jne 0x18001c807
nop word cs:[rax + rax]
cmp qword [r13 + 0x28], 0x10
jb 0x18001c7f0
mov rdx, qword [r13 + 0x10]
jmp 0x18001c7f4
lea rdx, [r13 + 0x10]
mov rcx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18001c932
cmp r13, rsi
je 0x18001c818
mov r13, qword [r13 + 8]
cmp r14, qword [r13 + 0x20]
je 0x18001c7e0
jmp 0x18001c807
mov r13, rsi
movabs rax, 0x333333333333333
cmp qword [rdi + 0x10], rax
je 0x18001ca5d
lea rdx, [rdi + 8]
lea rcx, [rbp - 0x18]
mov r8, rbx
call fcn.18001cac0
mov rax, qword [rdi + 0x10]
inc rax
js 0x18001c84f
cvtsi2ss xmm0, rax
jmp 0x18001c864
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
movss xmm1, dword [rdi]
mov rbx, qword [rdi + 0x38]
test rbx, rbx
js 0x18001c878
cvtsi2ss xmm2, rbx
jmp 0x18001c88f
mov rax, rbx
shr rax, 1
mov ecx, ebx
and ecx, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm3, xmm0
divss xmm3, xmm2
ucomiss xmm3, xmm1
jbe 0x18001c99d
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x18003fc80]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rdx, 9
mov eax, 8
cmovae rax, rdx
cmp rbx, rax
jae 0x18001c8f6
lea rcx, [rbx*8]
cmp rcx, rax
cmovb rcx, rax
cmp rbx, 0x200
cmovae rcx, rax
mov rbx, rcx
mov rcx, rdi
mov rdx, rbx
call fcn.18001cd10
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 0x18001c99d
add rax, rax
mov rdx, qword [rbp - 0x10]
cmp qword [rdx + 0x28], 0x10
jb 0x18001c942
mov rbx, qword [rdx + 0x10]
jmp 0x18001c946
mov rsi, qword [rbp - 8]
mov qword [rsi], r13
mov byte [rsi + 8], 0
jmp 0x18001ca49
lea rbx, [rdx + 0x10]
mov r15, qword [rcx + rax*8]
mov r14, qword [rdx + 0x20]
cmp r14, qword [r13 + 0x20]
jne 0x18001c983
nop word cs:[rax + rax]
cmp qword [r13 + 0x28], 0x10
jb 0x18001c970
mov rdx, qword [r13 + 0x10]
jmp 0x18001c974
lea rdx, [r13 + 0x10]
mov rcx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18001c999
cmp r13, r15
je 0x18001c994
mov r13, qword [r13 + 8]
cmp r14, qword [r13 + 0x20]
je 0x18001c960
jmp 0x18001c983
mov r13, r15
jmp 0x18001c99d
mov r13, qword [r13]
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x10], 0
mov rcx, qword [r13 + 8]
inc qword [rdi + 0x10]
mov qword [rax], r13
mov qword [rax + 8], rcx
mov qword [rcx], rax
mov qword [r13 + 8], rax
mov r9, qword [rdi + 0x18]
mov rdx, qword [rdi + 0x30]
movabs r8, 0x97d3ea787f0959d
mov r10, r12
xor r10, r8
xor r8, rdx
movabs r11, 0x682c158780f6a62
mov rsi, r12
xor rsi, r11
and rsi, r8
xor r11, rdx
and r11, r10
or r11, rsi
or rdx, r12
not r11
and r11, rdx
shl r11, 4
lea rdx, [r9 + r11]
lea r8, [r9 + r11]
add r8, 8
mov r9, qword [r9 + r11]
cmp r9, qword [rdi + 8]
je 0x18001ca2c
cmp r9, r13
mov rsi, qword [rbp - 8]
je 0x18001ca36
mov rdx, r8
cmp qword [r8], rcx
jne 0x18001ca39
jmp 0x18001ca36
mov qword [rdx], rax
mov rdx, r8
mov rsi, qword [rbp - 8]
mov qword [rdx], rax
mov qword [rsi], rax
mov byte [rsi + 8], 1
lea rcx, [rbp - 0x18]
call fcn.18001cc30
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movabs rcx, 0x27e1a63aa18e7d3c
add rcx, qword [0x18004d8f8]
call fcn.180035980
lea rcx, [0x18004f038]
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3