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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 0x18], edi
shl eax, cl
cmp edx, eax
ja 0x42ba27
mov ebx, dword [edi + 4]
lea eax, [edx - 1]
or eax, esi
mov dword [ebp - 0x14], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.004299f0
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov edi, dword [edi + 4]
mov edi, dword [edi]
cmp edi, ebx
je 0x42ba02
mov esi, edi
mov ecx, dword [esi + 0x1c]
lea edx, [esi + 8]
mov edi, dword [edi]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x10], edi
mov dword [ebp + 8], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xf
jbe 0x42b8e3
mov ecx, dword [edx]
mov dword [ebp - 8], ecx
xor ecx, ecx
mov ebx, 0x811c9dc5
test eax, eax
je 0x42b917
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 8]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, edx
jb 0x42b8f4
mov ecx, dword [esi + 0x18]
lea edx, [esi + 8]
mov eax, dword [edx + 0x14]
mov edi, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
and ebx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
lea eax, [eax + ebx*8]
mov ebx, dword [eax]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
cmp ebx, dword [ebp - 0x14]
jne 0x42b93a
mov dword [eax], esi
mov dword [eax + 4], esi
jmp 0x42b9f7
mov ebx, dword [eax + 4]
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 8]
jbe 0x42b951
mov eax, dword [eax]
cmp dword [ebp - 4], 0xf
mov dword [ebp - 8], edx
jbe 0x42b95f
mov edx, dword [edx]
mov dword [ebp - 8], edx
push dword [ebp - 0x1c]
mov edx, ecx
mov ecx, dword [ebp - 8]
push eax
call fcn.004108e0
add esp, 8
test al, al
je 0x42b99a
mov ebx, dword [ebx]
cmp ebx, esi
je 0x42b992
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], esi
jmp 0x42b9f7
cmp dword [ebp - 0xc], ebx
je 0x42b9da
nop
mov ebx, dword [ebx + 4]
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
mov edx, dword [eax + 0x10]
jbe 0x42b9b1
mov eax, dword [eax]
cmp dword [ebp - 4], 0xf
lea ecx, [esi + 8]
mov dword [ebp - 0x1c], ecx
jbe 0x42b9c1
mov ecx, dword [ecx]
jmp 0x42b9c4
mov ecx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebp + 8]
push eax
call fcn.004108e0
add esp, 8
test al, al
jne 0x42ba0b
cmp dword [ebp - 0xc], ebx
jne 0x42b9a0
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], esi
mov esi, edi
cmp edi, dword [ebp - 0x14]
jne 0x42b8c2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov ebx, dword [ebx]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x42b9f7
push str.invalid_hash_bucket_count
call fcn.005acb94
int3