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

Disassembly:
mov qword [rsp + 8], 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 r8, qword [r8 + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800404ab
mov rdx, qword [rbx]
movabs rdi, 0xcbf29ce484222325
xor ebp, ebp
mov ecx, ebp
test r8, r8
je 0x1800404e3
movabs r9, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
xor rdi, rax
imul rdi, r9
inc rcx
cmp rcx, r8
jb 0x1800404d0
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.180040ca0
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x180040509
mov qword [r15], rcx
mov byte [r15 + 8], bpl
jmp 0x18004074f
movabs rax, 0x492492492492492
cmp qword [0x1801382d0], rax
jne 0x18004052a
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [0x1801382c8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbp
mov ecx, 0x38
call fcn.180043734
mov r14, rax
mov qword [rsp + 0x38], rax
mov rdx, rbx
lea rcx, [rax + 0x10]
call fcn.18003cd00
mov dword [r14 + 0x30], ebp
mov rdx, qword [0x1801382d0]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x180040577
cvtsi2ss xmm0, rcx
jmp 0x18004058c
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rbx, qword [0x1801382f8]
xorps xmm2, xmm2
test rbx, rbx
js 0x1800405a2
cvtsi2ss xmm2, rbx
jmp 0x1800405ba
mov rcx, rbx
shr rcx, 1
mov rax, rbx
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
movss xmm3, dword [0x1801382c0]
comiss xmm1, xmm3
seta al
test al, al
je 0x1800406eb
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x180131488]
comiss xmm0, xmm1
jb 0x180040605
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x180040605
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x180040637
cmp rbx, 0x200
jae 0x180040634
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x180040637
mov rbx, rcx
mov rdx, rbx
call fcn.180040820
mov rax, rdi
and rax, qword [0x1801382f0]
add rax, rax
mov rdx, qword [0x1801382d8]
mov rbx, qword [rdx + rax*8 + 8]
mov rcx, qword [0x1801382c8]
cmp rbx, rcx
jne 0x180040670
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rbp
jmp 0x1800406d9
mov r12, qword [rdx + rax*8]
mov r13, qword [r14 + 0x28]
mov rbp, qword [r14 + 0x20]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180040692
mov rdx, qword [rdx]
lea rcx, [r14 + 0x10]
cmp r13, 0xf
jbe 0x1800406a0
mov rcx, qword [r14 + 0x10]
cmp rbp, rax
jne 0x1800406b1
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800406bc
cmp rbx, r12
je 0x1800406cb
mov rbx, qword [rbx + 8]
jmp 0x180040680
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
jmp 0x1800406d9
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], 0
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rdx, qword [0x1801382d0]
mov rcx, qword [rsp + 0x20]
mov r8, qword [rcx + 8]
inc rdx
mov qword [0x1801382d0], rdx
mov qword [r14], rcx
mov qword [r14 + 8], r8
mov qword [r8], r14
mov qword [rcx + 8], r14
mov rax, qword [0x1801382d8]
and rdi, qword [0x1801382f0]
add rdi, rdi
mov rdx, qword [rax + rdi*8]
cmp rdx, qword [0x1801382c8]
jne 0x180040730
mov qword [rax + rdi*8], r14
jmp 0x180040742
cmp rdx, rcx
jne 0x18004073b
mov qword [rax + rdi*8], r14
jmp 0x180040747
cmp qword [rax + rdi*8 + 8], r8
jne 0x180040747
mov qword [rax + rdi*8 + 8], r14
mov qword [r15], r14
mov byte [r15 + 8], 1
mov rax, r15
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret