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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x20
bsr ecx, eax
push esi
mov esi, 1
mov eax, esi
shl eax, cl
mov ecx, dword [ebx + 8]
push edi
cmp ecx, eax
ja 0x4c54d7
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [0x74ed54]
push eax
mov dword [ebp - 4], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x74ed5c
lea eax, [esi + esi]
push eax
call fcn.004ab710
lea eax, [esi - 1]
mov dword [0x74ed6c], esi
mov esi, dword [0x74ed54]
mov dword [0x74ed68], eax
mov esi, dword [esi]
mov edi, esi
mov dword [ebp - 0x18], esi
cmp esi, dword [ebp - 4]
je 0x4c54a4
nop
mov edx, dword [esi + 0x18]
lea ecx, [esi + 8]
mov edi, dword [edi]
mov dword [ebp - 0xc], edx
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
cmp edx, 0xf
jbe 0x4c5351
mov ecx, dword [ecx]
mov dword [ebp - 0x10], ecx
xor edx, edx
mov ecx, 0x811c9dc5
cmp dword [ebp - 0xc], edx
jbe 0x4c5392
mov edi, dword [ebp - 0x10]
mov eax, ecx
mov esi, dword [ebp - 0xc]
movzx ecx, byte [edi + edx]
inc edx
xor ecx, eax
imul eax, ecx, 0x1000193
cmp edx, esi
jb 0x4c5365
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi + 0x18]
lea edx, [esi + 8]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x14], ecx
mov ecx, eax
mov dword [ebp - 8], eax
jmp 0x4c5395
lea edx, [esi + 8]
and ecx, dword [0x74ed68]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [0x74ed5c]
lea ecx, [ecx + eax*8]
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
cmp dword [ecx], eax
jne 0x4c53c3
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x4c5497
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 8], eax
add eax, 8
mov dword [ebp - 0x1c], ecx
cmp dword [eax + 0x14], 0xf
jbe 0x4c53da
mov eax, dword [eax]
cmp dword [edx + 0x14], 0xf
mov ecx, edx
jbe 0x4c53e4
mov ecx, dword [edx]
push dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
push eax
call fcn.004108e0
add esp, 8
test al, al
mov eax, dword [ebp - 8]
je 0x4c542c
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x4c5424
mov edx, dword [esi + 4]
mov dword [ebp - 0x14], edx
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [eax + 4]
mov dword [eax], esi
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], esi
jmp 0x4c5494
cmp dword [ebp - 0x10], eax
je 0x4c5471
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
add eax, 8
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x4c5445
mov eax, dword [eax]
cmp dword [ebp - 0x14], 0xf
lea ecx, [esi + 8]
mov dword [ebp - 0x1c], ecx
jbe 0x4c5455
mov ecx, dword [ecx]
jmp 0x4c5458
mov ecx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebp - 0xc]
push eax
call fcn.004108e0
add esp, 8
test al, al
mov eax, dword [ebp - 8]
jne 0x4c54af
cmp dword [ebp - 0x10], eax
jne 0x4c5431
mov ecx, dword [esi + 4]
mov dword [ebp - 0x1c], ecx
mov dword [ecx], edi
mov edx, dword [edi + 4]
mov dword [edx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x1c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], ecx
mov dword [eax], esi
mov eax, dword [ebp - 4]
mov esi, edi
mov dword [ebp - 0x18], esi
cmp edi, eax
jne 0x4c5330
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov edx, dword [esi + 4]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [eax + 4]
mov dword [eax], esi
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x18]
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x4c5494
push str.invalid_hash_bucket_count
call fcn.005acb94
int3