Function at 0x180040670
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 rbx, r8
mov r15, rdx
mov r13, rcx
mov r8, qword [r8 + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18004069e
mov rdx, qword [rbx]
movabs rdi, 0xcbf29ce484222325
xor r14d, r14d
mov ecx, r14d
test r8, r8
je 0x1800406d3
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor rdi, rax
imul rdi, r9
inc rcx
cmp rcx, r8
jb 0x1800406c0
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.180042680
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1800406fc
mov qword [r15], rax
mov byte [r15 + 8], r14b
jmp 0x1800408d5
movabs rax, 0x555555555555555
cmp qword [r13 + 0x10], rax
jne 0x18004071a
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rbp, [r13 + 8]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], r14
mov ecx, 0x30
call fcn.1800ba474
mov rsi, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], r14
movups xmm0, xmmword [rbx]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x20], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [r13 + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x18004077b
cvtsi2ss xmm0, rdx
jmp 0x180040793
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [r13 + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1800407a6
cvtsi2ss xmm1, rcx
jmp 0x1800407bb
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [r13]
seta al
test al, al
je 0x18004087d
mov rcx, r13
call fcn.18003f7c0
mov rdx, rax
mov rcx, r13
call fcn.18003f860
mov rax, qword [r13 + 0x30]
and rax, rdi
add rax, rax
mov r12, qword [r13 + 0x18]
mov rbx, qword [r12 + rax*8 + 8]
mov rcx, qword [rbp]
cmp rbx, rcx
jne 0x180040805
mov qword [rsp + 0x20], rcx
jmp 0x180040869
mov r12, qword [r12 + rax*8]
mov rbp, qword [rsi + 0x20]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180040822
mov rdx, qword [rdx]
lea rcx, [rsi + 0x10]
cmp qword [rsi + 0x28], 0xf
jbe 0x180040831
mov rcx, qword [rsi + 0x10]
cmp rbp, rax
jne 0x180040842
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18004084d
cmp rbx, r12
je 0x180040860
mov rbx, qword [rbx + 8]
jmp 0x180040810
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
lea rbp, [r13 + 8]
jmp 0x180040872
mov qword [rsp + 0x20], rbx
lea rbp, [r13 + 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 [r13 + 0x10]
mov qword [rsi], rdx
mov qword [rsi + 8], r8
mov qword [r8], rsi
mov qword [rdx + 8], rsi
mov rcx, qword [r13 + 0x18]
mov rax, qword [r13 + 0x30]
and rax, rdi
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [rbp]
jne 0x1800408b6
mov qword [rcx + rax*8], rsi
jmp 0x1800408c8
cmp r9, rdx
jne 0x1800408c1
mov qword [rcx + rax*8], rsi
jmp 0x1800408cd
cmp qword [rcx + rax*8 + 8], r8
jne 0x1800408cd
mov qword [rcx + rax*8 + 8], rsi
mov qword [r15], rsi
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret