Function at 0x180040d7c
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 0x180040da8
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 0x180040deb
mov rbx, rbp
jmp 0x180040e28
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x180040dfd
cmp rbx, rdx
je 0x180040e1d
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x180040df4
mov rbp, qword [rbx]
mov rax, rbx
mov rbx, rbp
test rax, rax
je 0x180040e24
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x180040fe0
mov rbp, rbx
xor eax, eax
jmp 0x180040e0b
lea rdx, [r15 + 8]
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [r15 + 0x10], rax
jne 0x180040e46
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.18009c414
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 0x180040e85
cvtsi2ss xmm0, rcx
jmp 0x180040e9a
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 0x180040ead
cvtsi2ss xmm2, rdi
jmp 0x180040ec5
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 0x180040f86
divss xmm0, dword [r15]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x1800d9314]
comiss xmm0, xmm1
jb 0x180040f0a
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x180040f0a
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 0x180040f38
cmp rdi, 0x200
jae 0x180040f35
shl rdi, 3
cmp rdi, rcx
jae 0x180040f38
mov rdi, rcx
mov rdx, rdi
mov rcx, r15
call fcn.180040764
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 0x180040f7c
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rsi + 0x10]
jmp 0x180040f74
mov rbx, rax
cmp rax, rdx
je 0x180040fba
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x180040f68
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 0x180040fc1
mov qword [rcx + rax*8], rsi
jmp 0x180040fd3
mov qword [rsp + 0x20], rax
jmp 0x180040f81
cmp r8, rbp
jne 0x180040fcc
mov qword [rcx + rax*8], rsi
jmp 0x180040fd8
cmp qword [rcx + rax*8 + 8], rdx
jne 0x180040fd8
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