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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov r12, rdx
mov rbp, rcx
mov r8, qword [r8 + 0x10]
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x18002233e
mov rdx, qword [rsi]
movabs rdi, 0xcbf29ce484222325
xor r13d, r13d
mov ecx, r13d
test r8, r8
je 0x180022373
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor rdi, rax
imul rdi, r9
inc rcx
cmp rcx, r8
jb 0x180022360
mov r9, rdi
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.1800144c0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x18002239e
mov qword [r12], rax
mov byte [r12 + 8], r13b
jmp 0x180022577
movabs rax, 0x333333333333333
cmp qword [rbp + 0x10], rax
jne 0x1800223bc
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea r15, [rbp + 8]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r13
mov ecx, 0x50
call fcn.18009f2f0
mov r14, rax
mov qword [rsp + 0x38], rax
mov rdx, rsi
lea rcx, [rax + 0x10]
call fcn.180008d50
xorps xmm0, xmm0
movups xmmword [r14 + 0x30], xmm0
mov qword [r14 + 0x40], r13
mov qword [r14 + 0x48], r13
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [r14 + 0x30], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [r14 + 0x40], xmm1
mov qword [rsi + 0x30], r13
mov qword [rsi + 0x38], 0xf
mov byte [rsi + 0x20], 0
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x18002242e
cvtsi2ss xmm0, rcx
jmp 0x180022443
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x180022456
cvtsi2ss xmm1, rcx
jmp 0x18002246b
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x18002251e
mov rcx, rbp
call fcn.180023100
mov rax, qword [rbp + 0x30]
and rax, rdi
add rax, rax
mov r13, qword [rbp + 0x18]
mov rbx, qword [r13 + rax*8 + 8]
mov rcx, qword [r15]
cmp rbx, rcx
jne 0x1800224a8
mov qword [rsp + 0x20], rcx
jmp 0x18002250a
mov r13, qword [r13 + rax*8]
mov r15, qword [r14 + 0x20]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800224c3
mov rdx, qword [rdx]
lea rcx, [r14 + 0x10]
cmp qword [r14 + 0x28], 0xf
jbe 0x1800224d2
mov rcx, qword [r14 + 0x10]
cmp r15, rax
jne 0x1800224e3
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800224ee
cmp rbx, r13
je 0x180022501
mov rbx, qword [rbx + 8]
jmp 0x1800224b1
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
lea r15, [rbp + 8]
jmp 0x180022513
mov qword [rsp + 0x20], rbx
lea r15, [rbp + 8]
mov qword [rsp + 0x28], 0
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc qword [rbp + 0x10]
mov qword [r14], rdx
mov qword [r14 + 8], r8
mov qword [r8], r14
mov qword [rdx + 8], r14
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rdi
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r15]
jne 0x180022556
mov qword [rcx + rax*8], r14
jmp 0x180022568
cmp r9, rdx
jne 0x180022561
mov qword [rcx + rax*8], r14
jmp 0x18002256d
cmp qword [rcx + rax*8 + 8], r8
jne 0x18002256d
mov qword [rcx + rax*8 + 8], r14
mov qword [r12], r14
mov byte [r12 + 8], 1
mov rax, r12
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret