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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 8]
cmp eax, 0x10000001
jae 0x427c02
dec eax
mov edx, ecx
lea ebx, [ecx + 0xc]
or eax, 1
mov esi, dword [edx + 0x14]
mov dword [ebp - 0x14], edx
bsr ecx, eax
mov eax, 1
xor ecx, 0x1f
neg cl
shl eax, cl
mov ecx, dword [edx + 0xc]
lea edi, [eax + eax]
mov dword [ebp - 0x1c], eax
sub esi, ecx
sar esi, 2
cmp esi, edi
mov esi, dword [edx + 4]
jae 0x427890
cmp edi, 0x40000000
jae 0x427c0c
mov ecx, ebx
push edi
call fcn.0042d110
mov ecx, dword [ebx]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
mov edx, dword [esi + 0x10]
mov ebx, edx
sub ebx, ecx
mov eax, ebx
sar eax, 2
cmp eax, edi
jae 0x4278c7
mov esi, dword [esi + 0x14]
sub esi, ecx
sar esi, 2
cmp esi, edi
mov esi, edi
jae 0x4278e8
mov ecx, dword [ebp - 0x18]
push esi
call fcn.00426c30
xor eax, eax
jmp 0x4279a9
lea eax, [ecx + edi*4]
test edi, edi
je 0x427903
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x10]
lea esi, [edx*8 - 4]
shr esi, 2
inc esi
cmp esi, 8
jae 0x42790e
mov edx, ecx
jmp 0x427950
cmp ecx, edx
je 0x4279a9
add ebx, 0xfffffffc
shr ebx, 2
inc ebx
cmp ebx, 8
jae 0x42796e
mov edi, ecx
jmp 0x4279ae
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
jmp 0x427a28
mov edi, esi
movd xmm0, ebx
and edi, 0xfffffff8
pshufd xmm0, xmm0, 0
lea edx, [ecx + edi*4]
add ecx, 0x10
mov ebx, edi
nop word cs:[eax + eax]
nop
movdqu xmmword [ecx - 0x10], xmm0
movdqu xmmword [ecx], xmm0
add ecx, 0x20
add ebx, 0xfffffff8
jne 0x427930
mov ebx, dword [ebp - 0x10]
cmp esi, edi
jne 0x427950
mov edi, dword [ebp - 0x14]
jmp 0x427a28
mov edi, dword [ebp - 0x14]
nop word cs:[eax + eax]
nop dword [eax]
mov dword [edx], ebx
add edx, 4
cmp eax, edx
jne 0x427960
jmp 0x427a28
movd xmm0, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
mov esi, ebx
and esi, 0xfffffff8
lea edi, [ecx + esi*4]
add ecx, 0x10
mov dword [ebp - 0x20], esi
pshufd xmm0, xmm0, 0
nop dword [eax]
movdqu xmmword [ecx - 0x10], xmm0
movdqu xmmword [ecx], xmm0
add ecx, 0x20
add esi, 0xfffffff8
jne 0x427990
cmp ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
jne 0x4279ae
mov ebx, dword [ebp - 0x10]
jmp 0x4279c9
mov ebx, dword [ebp - 0x10]
nop word cs:[eax + eax]
nop dword [eax + eax]
mov dword [edi], ebx
add edi, 4
cmp edx, edi
jne 0x4279c0
mov edi, dword [ebp - 0x14]
sub esi, eax
mov edx, dword [edi + 0x10]
je 0x4279de
cmp esi, 8
jae 0x4279e2
mov ecx, esi
mov eax, edx
jmp 0x427a20
mov eax, edx
jmp 0x427a28
mov edi, esi
movd xmm0, ebx
mov ecx, esi
mov dword [ebp - 0x18], esi
and edi, 0xfffffff8
pshufd xmm0, xmm0, 0
lea eax, [edx + edi*4]
sub ecx, edi
add edx, 0x10
mov esi, edi
nop
movdqu xmmword [edx - 0x10], xmm0
movdqu xmmword [edx], xmm0
add edx, 0x20
add esi, 0xfffffff8
jne 0x427a00
cmp dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x14]
je 0x427a28
nop dword [eax]
mov dword [eax], ebx
add eax, 4
dec ecx
jne 0x427a20
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
dec eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [edi + 4]
mov eax, dword [eax]
cmp eax, ebx
je 0x427bf8
mov ebx, eax
mov ecx, eax
jmp 0x427a6c
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov dword [ecx + edi*4], eax
mov edi, dword [ebp - 0x14]
cmp ebx, esi
mov ecx, ebx
je 0x427bf8
mov eax, dword [ebx]
mov edx, ebx
mov ebx, dword [ecx + 0x18]
cmp dword [ecx + 0x1c], 0xf
mov dword [ebp - 0x20], eax
jbe 0x427a90
mov eax, dword [ecx + 8]
jmp 0x427a93
lea eax, [ecx + 8]
mov dword [ebp - 0x1c], eax
test ebx, ebx
mov eax, 0x811c9dc5
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
je 0x427abf
mov ecx, dword [ebp - 0x1c]
mov edx, ebx
nop word [eax + eax]
movzx esi, byte [ecx]
inc ecx
xor esi, eax
imul eax, esi, 0x1000193
dec edx
jne 0x427ab0
and eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
mov esi, dword [ecx + eax*8]
lea edi, [eax + eax + 1]
lea edx, [eax + eax]
cmp esi, dword [ebp - 0x10]
je 0x427a50
mov eax, edi
mov edi, dword [ecx + edi*4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], edx
cmp ebx, dword [edi + 0x18]
jne 0x427b77
cmp dword [edi + 0x1c], 0xf
mov dword [ebp - 0x2c], eax
jbe 0x427afa
mov eax, dword [edi + 8]
jmp 0x427afd
lea eax, [edi + 8]
push ebx
push eax
push dword [ebp - 0x1c]
call fcn.004a1d28
add esp, 0xc
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x427b77
mov eax, dword [edi]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
cmp eax, edi
je 0x427b44
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], edi
mov edx, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov dword [eax + 4], edx
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x14]
mov dword [ecx + edx*4], eax
jmp 0x427a62
mov eax, dword [edi + 8]
push ebx
push eax
push dword [ebp - 0x1c]
call fcn.004a1d28
add esp, 0xc
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x427bc4
cmp esi, edi
je 0x427b90
mov edi, dword [edi + 4]
cmp ebx, dword [edi + 0x18]
jne 0x427b77
cmp dword [edi + 0x1c], 0xf
ja 0x427b60
lea eax, [edi + 8]
jmp 0x427b63
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov edi, ecx
mov eax, dword [edx + 4]
mov dword [eax], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov eax, dword [esi + 4]
mov dword [eax], edx
mov ecx, dword [ebx + 4]
mov eax, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edx + 4]
mov dword [ebx + 4], ecx
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov dword [edi + ecx*4], eax
jmp 0x427bed
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov eax, dword [edi]
mov ecx, dword [esi + 4]
mov dword [ecx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov edx, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov dword [eax + 4], edx
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov dword [esi + 4], ecx
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
jmp 0x427a62
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.0049c50b
call fcn.0042e9f0
int3