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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c3c5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1008d040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esi
cmp dword [ebx + 0x14], 7
mov eax, dword [ebx + 0x10]
jbe 0x10040fee
mov edx, dword [ebx]
xor ecx, ecx
mov edi, 0x811c9dc5
add eax, eax
je 0x10041014
mov esi, eax
nop dword [eax + eax]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, esi
jb 0x10041000
mov esi, dword [ebp - 0x1c]
push edi
push ebx
lea eax, [ebp - 0x18]
push eax
call fcn.100416d0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10041042
mov dword [esi], eax
mov eax, esi
mov byte [esi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x10090838], 0x38e38e3
jne 0x10041059
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x28], 0x10090834
mov dword [ebp - 4], 0
push 0x48
mov dword [ebp - 0x24], 0
call fcn.100574fc
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
lea eax, [esi + 8]
push ebx
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.10006b50
lea ecx, [esi + 0x20]
mov dword [ecx + 0x24], 0
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebx + 0x3c]
test edx, edx
je 0x100410ad
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
mov dword [esi + 0x44], eax
mov dword [ebp - 4], 3
mov ecx, dword [0x10090838]
mov ebx, dword [0x1009084c]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10084760]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10084760]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10090830]
comiss xmm1, xmm0
jbe 0x10041174
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10057de0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10041156
cmp ebx, 0x200
jae 0x10041154
shl ebx, 3
cmp ebx, ecx
jae 0x10041156
mov ebx, ecx
push ebx
call fcn.100412b0
push edi
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100416d0
mov ecx, dword [0x10090838]
mov edx, dword [eax]
jmp 0x10041177
mov edx, dword [ebp - 0x18]
mov ebx, dword [edx + 4]
inc ecx
mov dword [0x10090838], ecx
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [0x10090848]
mov ecx, dword [0x1009083c]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [0x10090834]
jne 0x100411a8
mov dword [ecx + eax*8], esi
jmp 0x100411b7
cmp edi, edx
jne 0x100411b1
mov dword [ecx + eax*8], esi
jmp 0x100411bb
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100411bb
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp - 0x1c]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8