Function at 0x18001ae30
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 rsi, rdx
mov rdi, rcx
mov r14, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
mov r15, r8
jb 0x18001ae67
mov r15, qword [rbx]
test r14, r14
je 0x18001ae83
cmp r14, 1
jne 0x18001ae92
movabs r12, 0xcbf29ce484222325
xor eax, eax
jmp 0x18001af26
movabs r12, 0xcbf29ce484222325
jmp 0x18001af6a
mov rcx, r14
and rcx, 0xfffffffffffffffe
movabs r12, 0xcbf29ce484222325
xor eax, eax
movabs rdx, 0x100000001b3
nop
movzx r9d, byte [r15 + rax]
mov r8, r12
not r8
mov r10d, r9d
or r8, r9
not r9
mov r11d, r9d
and r11d, 0x3f
and r10d, 0xffffffc0
or r10d, r11d
xor r12d, r10d
xor r12d, 0xc0
or r12, r9
xor r8, r12
imul r8, rdx
movzx r9d, byte [r15 + rax + 1]
mov r12, r8
not r12
mov r10d, r9d
or r12, r9
not r9
mov r11d, r9d
and r11d, 0x3f
and r10d, 0xffffffc0
or r10d, r11d
xor r8d, r10d
xor r8d, 0xc0
or r8, r9
xor r12, r8
imul r12, rdx
add rax, 2
cmp rcx, rax
jne 0x18001aeb0
test r14b, 1
je 0x18001af6a
movzx eax, byte [r15 + rax]
mov rcx, r12
not rcx
mov edx, eax
or rcx, rax
not rax
mov r8d, eax
and r8d, 0x3f
and edx, 0xffffffc0
or edx, r8d
xor r12d, edx
xor r12d, 0xc0
or r12, rax
xor rcx, r12
movabs r12, 0x100000001b3
imul r12, rcx
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 0x18001afdf
mov qword [rbp - 8], rsi
add rax, rax
mov rsi, qword [rcx + rax*8]
cmp r14, qword [r13 + 0x20]
jne 0x18001afc7
nop dword [rax + rax]
cmp qword [r13 + 0x28], 0x10
jb 0x18001afb0
mov rdx, qword [r13 + 0x10]
jmp 0x18001afb4
lea rdx, [r13 + 0x10]
mov rcx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18001b0f6
cmp r13, rsi
je 0x18001afd8
mov r13, qword [r13 + 8]
cmp r14, qword [r13 + 0x20]
je 0x18001afa0
jmp 0x18001afc7
mov r13, rsi
mov rsi, qword [rbp - 8]
movabs rax, 0x333333333333333
cmp qword [rdi + 0x10], rax
je 0x18001b1dd
lea rdx, [rdi + 8]
lea rcx, [rbp - 0x18]
mov r8, rbx
call fcn.18001b240
mov rax, qword [rdi + 0x10]
inc rax
js 0x18001b013
cvtsi2ss xmm0, rax
jmp 0x18001b028
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 0x18001b03c
cvtsi2ss xmm2, rbx
jmp 0x18001b053
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 0x18001b15d
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x18003d640]
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 0x18001b0ba
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.18001b490
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 0x18001b15d
add rax, rax
mov rdx, qword [rbp - 0x10]
cmp qword [rdx + 0x28], 0x10
jb 0x18001b106
mov rbx, qword [rdx + 0x10]
jmp 0x18001b10a
mov rsi, qword [rbp - 8]
mov qword [rsi], r13
mov byte [rsi + 8], 0
jmp 0x18001b1c9
lea rbx, [rdx + 0x10]
mov r15, qword [rcx + rax*8]
mov r14, qword [rdx + 0x20]
cmp r14, qword [r13 + 0x20]
jne 0x18001b143
nop dword [rax + rax]
cmp qword [r13 + 0x28], 0x10
jb 0x18001b130
mov rdx, qword [r13 + 0x10]
jmp 0x18001b134
lea rdx, [r13 + 0x10]
mov rcx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18001b159
cmp r13, r15
je 0x18001b154
mov r13, qword [r13 + 8]
cmp r14, qword [r13 + 0x20]
je 0x18001b120
jmp 0x18001b143
mov r13, r15
jmp 0x18001b15d
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]
and r12, qword [rdi + 0x30]
shl r12, 4
lea rdx, [r9 + r12]
lea r8, [r9 + r12]
add r8, 8
mov r9, qword [r9 + r12]
cmp r9, qword [rdi + 8]
je 0x18001b1b0
cmp r9, r13
je 0x18001b1b6
mov rdx, r8
cmp qword [r8], rcx
jne 0x18001b1b9
jmp 0x18001b1b6
mov qword [rdx], rax
mov rdx, r8
mov qword [rdx], rax
mov qword [rsi], rax
mov byte [rsi + 8], 1
lea rcx, [rbp - 0x18]
call fcn.18001b3b0
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, 0x890f444c0986f74d
add rcx, qword [0x18004a8b8]
call fcn.180033280
lea rcx, [0x18004bfc8]
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3