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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100080d5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x1000c008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 0xc]
mov esi, ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
cmp dword [ebx + 0x14], 0x10
jb 0x10004940
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
mov dword [ebp - 0x14], edx
cmp dword [ebx + 0x10], ecx
jbe 0x10004965
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x10004950
mov dword [ebp - 0x14], edx
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
and eax, edx
lea edx, [edi + 4]
mov edi, dword [edx]
mov dword [ebp - 0x18], edx
mov esi, dword [ecx + eax*8 + 4]
cmp esi, edi
je 0x100049bc
mov edi, dword [ecx + eax*8]
lea eax, [esi + 8]
push eax
push ebx
call fcn.10005320
test al, al
je 0x100049a5
nop
cmp esi, edi
je 0x100049b7
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.10005320
test al, al
jne 0x10004990
mov edi, dword [esi]
test esi, esi
je 0x100049b9
mov eax, dword [ebp - 0x24]
mov byte [eax + 4], 0
jmp 0x10004b6f
mov edi, esi
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0x71c71c7
jne 0x100049d3
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x28], 0
call fcn.10006f3b
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
lea eax, [esi + 8]
push ebx
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.10006da0
mov dword [esi + 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [ecx + 8]
mov ebx, dword [ecx + 0x1c]
inc eax
movss xmm3, dword [ecx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10009430]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10009430]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10004b25
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x38], xmm0
fld qword [ebp - 0x38]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x38]
movsd xmm0, qword [ebp - 0x38]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10007d20
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10004aac
cmp ebx, 0x200
jae 0x10004aaa
shl ebx, 3
cmp ebx, ecx
jae 0x10004aac
mov ebx, ecx
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.100051a0
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0xc]
and eax, ebx
mov edi, dword [ecx + 4]
mov esi, dword [edx + eax*8 + 4]
cmp esi, edi
jne 0x10004ada
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x1c], 0
jmp 0x10004b28
mov edi, dword [edx + eax*8]
lea eax, [esi + 8]
push eax
push dword [ebp - 0x1c]
call fcn.10005320
test al, al
je 0x10004b07
nop dword [eax]
cmp esi, edi
je 0x10004b14
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push dword [ebp - 0x1c]
call fcn.10005320
test al, al
jne 0x10004af0
mov edi, dword [esi]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x28]
jmp 0x10004b28
mov ecx, dword [ebp - 0x10]
mov edi, esi
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x1c], 0
jmp 0x10004b28
mov ebx, dword [ebp - 0x14]
mov eax, dword [edi + 4]
inc dword [ecx + 8]
mov dword [esi + 4], eax
mov dword [esi], edi
mov dword [eax], esi
mov dword [edi + 4], esi
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x18]
and eax, ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [edx + eax*8]
cmp ecx, dword [ebx]
jne 0x10004b52
mov dword [edx + eax*8], esi
jmp 0x10004b64
cmp ecx, edi
jne 0x10004b5b
mov dword [edx + eax*8], esi
jmp 0x10004b68
mov ecx, dword [ebp - 0x1c]
cmp dword [edx + eax*8 + 4], ecx
jne 0x10004b68
mov dword [edx + eax*8 + 4], esi
mov eax, dword [ebp - 0x24]
mov byte [eax + 4], 1
mov dword [eax], esi
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