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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084dcd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1009e040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 0xf
mov dword [ebp - 0x14], edx
jbe 0x10016727
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1001674b
mov esi, dword [ebp - 0x14]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x10016736
mov esi, dword [ebp - 0x24]
push edi
push edx
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.10011710
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1001676a
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x100168d0
cmp dword [esi + 8], 0x4924924
jne 0x1001677e
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov eax, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
push ecx
lea eax, [esi + 4]
push ecx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.10016bd0
mov dword [ebp - 4], 0
mov eax, dword [esi + 8]
inc eax
movss xmm3, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10097390]
mov eax, dword [esi + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10097390]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10016856
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10083870
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jae 0x10016836
cmp eax, 0x200
jae 0x10016834
shl eax, 3
cmp eax, ecx
jae 0x10016836
mov eax, ecx
push eax
mov ecx, esi
call fcn.100169f0
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
push edi
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10011710
mov edx, dword [eax]
jmp 0x1001685c
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x28], 0
mov ecx, dword [edx + 4]
inc dword [eax + 8]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [ecx], esi
mov dword [edx + 4], esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
and eax, edi
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebx]
jne 0x10016890
mov dword [ecx + eax*8], esi
jmp 0x100168a2
cmp edi, edx
jne 0x10016899
mov dword [ecx + eax*8], esi
jmp 0x100168a6
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100168a6
mov dword [ecx + eax*8 + 4], esi
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov dword [ebx], esi
mov byte [ebx + 4], 1
test ecx, ecx
je 0x100168d0
add ecx, 8
call fcn.10010c00
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100168d0
push 0x38
push eax
call fcn.10082d1c
add esp, 8
mov eax, ebx
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