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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10008465
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ecx
push esi
push edi
mov dword [ebp - 0x10], eax
mov edx, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x10005140
mov edx, dword [ebx]
mov esi, dword [ebx + 0x10]
xor ecx, ecx
mov edi, 0x811c9dc5
test esi, esi
je 0x10005164
mov edi, edi
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, esi
jb 0x10005150
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0xc]
and ecx, edi
add eax, 4
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov esi, dword [edx + ecx*8 + 4]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
cmp esi, eax
je 0x100051c7
lea eax, [esi + 8]
push eax
push ebx
call fcn.100060f0
test al, al
je 0x100051af
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp esi, dword [ecx + eax*8]
je 0x100051c4
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.100060f0
test al, al
jne 0x10005193
mov eax, dword [esi]
mov dword [ebp + 0xc], eax
test esi, esi
je 0x100051c7
mov eax, dword [ebp + 8]
mov byte [eax + 4], 0
jmp 0x10005356
mov dword [ebp + 0xc], esi
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0x7ffffff
jne 0x100051de
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x24], 0
call fcn.10007107
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
lea eax, [esi + 8]
push ebx
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.10004df0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [edx + 8]
fld dword [edx]
add eax, 1
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
jns 0x1000522f
fadd dword [0x10009744]
mov ebx, dword [edx + 0x1c]
fild dword [edx + 0x1c]
test ebx, ebx
jns 0x1000523f
fadd dword [0x10009744]
fdivr st(1)
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x1000530d
fdivrp st(1)
push ecx
fstp dword [esp]
call fcn.10002480
fnstcw word [ebp + 0xe]
movzx eax, word [ebp + 0xe]
add esp, 4
or eax, 0xc00
mov dword [ebp - 0x1c], eax
fldcw word [ebp - 0x1c]
fistp qword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
fldcw word [ebp + 0xe]
cmp eax, 8
ja 0x10005281
mov eax, 8
cmp ebx, eax
jae 0x10005296
cmp ebx, 0x200
jae 0x10005294
shl ebx, 3
cmp ebx, eax
jae 0x10005296
mov ebx, eax
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.10005c70
mov edx, dword [ebp - 0x10]
mov ebx, edi
and ebx, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [ebp + 0xc], eax
mov esi, dword [ecx + ebx*8 + 4]
cmp esi, eax
jne 0x100052c4
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], 0
jmp 0x10005311
mov ebx, dword [ecx + ebx*8]
lea eax, [esi + 8]
push eax
push dword [ebp - 0x14]
call fcn.100060f0
test al, al
je 0x100052ee
cmp esi, ebx
je 0x100052fb
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push dword [ebp - 0x14]
call fcn.100060f0
test al, al
jne 0x100052d7
mov eax, dword [esi]
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x24]
mov dword [ebp + 0xc], eax
jmp 0x10005311
mov edx, dword [ebp - 0x10]
mov dword [ebp + 0xc], esi
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], 0
jmp 0x10005311
fstp st(0)
fstp st(0)
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 4]
inc dword [edx + 8]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [eax + 4], esi
and edi, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx + edi*8]
cmp edx, dword [eax]
mov eax, dword [ebp + 0xc]
jne 0x1000533c
mov dword [ecx + edi*8], esi
jmp 0x1000534b
cmp edx, eax
jne 0x10005345
mov dword [ecx + edi*8], esi
jmp 0x1000534f
cmp dword [ecx + edi*8 + 4], ebx
jne 0x1000534f
mov dword [ecx + edi*8 + 4], esi
mov eax, dword [ebp + 8]
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8