Function at 0x180040e24
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, 0x30
mov r13, r9
mov rdi, r8
mov r14, rdx
mov r15, rcx
xor ecx, ecx
movabs r12, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r12, rax
movabs rdx, 0x100000001b3
imul r12, rdx
inc rcx
cmp rcx, 4
jb 0x180040e50
mov rax, qword [r15 + 0x30]
and rax, r12
add rax, rax
mov rcx, qword [r15 + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
lea rdx, [r15 + 8]
mov rbp, qword [rdx]
cmp rbx, rbp
jne 0x180040e93
mov rbx, rbp
jmp 0x180040ed0
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x180040ea5
cmp rbx, rdx
je 0x180040ec5
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x180040e9c
mov rbp, qword [rbx]
mov rax, rbx
mov rbx, rbp
test rax, rax
je 0x180040ecc
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x180041088
mov rbp, rbx
xor eax, eax
jmp 0x180040eb3
lea rdx, [r15 + 8]
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [r15 + 0x10], rax
jne 0x180040eee
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
and qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.18009c4b4
mov rsi, rax
mov qword [rsp + 0x28], rax
mov ecx, dword [rdi]
mov dword [rax + 0x10], ecx
movzx ecx, word [r13]
mov word [rax + 0x14], cx
mov rcx, qword [r15 + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x180040f2d
cvtsi2ss xmm0, rcx
jmp 0x180040f42
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [r15 + 0x38]
xorps xmm2, xmm2
test rdi, rdi
js 0x180040f55
cvtsi2ss xmm2, rdi
jmp 0x180040f6d
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, dword [r15]
seta al
test al, al
je 0x18004102e
divss xmm0, dword [r15]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x1800d91cc]
comiss xmm0, xmm1
jb 0x180040fb2
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x180040fb2
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdi, rcx
jae 0x180040fe0
cmp rdi, 0x200
jae 0x180040fdd
shl rdi, 3
cmp rdi, rcx
jae 0x180040fe0
mov rdi, rcx
mov rdx, rdi
mov rcx, r15
call fcn.18004080c
mov rcx, qword [r15 + 0x30]
and rcx, r12
add rcx, rcx
mov rdx, qword [r15 + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [r15 + 8]
cmp rax, rbx
je 0x180041024
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rsi + 0x10]
jmp 0x18004101c
mov rbx, rax
cmp rax, rdx
je 0x180041062
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x180041010
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [r15 + 0x10]
mov qword [rsi], rbp
mov qword [rsi + 8], rdx
mov qword [rdx], rsi
mov qword [rbx + 8], rsi
mov rcx, qword [r15 + 0x18]
mov rax, qword [r15 + 0x30]
and rax, r12
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [r15 + 8]
jne 0x180041069
mov qword [rcx + rax*8], rsi
jmp 0x18004107b
mov qword [rsp + 0x20], rax
jmp 0x180041029
cmp r8, rbp
jne 0x180041074
mov qword [rcx + rax*8], rsi
jmp 0x180041080
cmp qword [rcx + rax*8 + 8], rdx
jne 0x180041080
mov qword [rcx + rax*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret