Function at 0x42edf0
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 0x42f1c2
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 0x42ee50
cmp edi, 0x40000000
jae 0x42f1cc
mov ecx, ebx
push edi
call fcn.0041acf0
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 0x42ee87
mov esi, dword [esi + 0x14]
sub esi, ecx
sar esi, 2
cmp esi, edi
mov esi, edi
jae 0x42eea8
mov ecx, dword [ebp - 0x18]
push esi
call fcn.0041ae60
xor eax, eax
jmp 0x42ef69
lea eax, [ecx + edi*4]
test edi, edi
je 0x42eec3
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x10]
lea esi, [edx*8 - 4]
shr esi, 2
inc esi
cmp esi, 8
jae 0x42eece
mov edx, ecx
jmp 0x42ef10
cmp ecx, edx
je 0x42ef69
add ebx, 0xfffffffc
shr ebx, 2
inc ebx
cmp ebx, 8
jae 0x42ef2e
mov edi, ecx
jmp 0x42ef6e
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
jmp 0x42efe8
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 0x42eef0
mov ebx, dword [ebp - 0x10]
cmp esi, edi
jne 0x42ef10
mov edi, dword [ebp - 0x14]
jmp 0x42efe8
mov edi, dword [ebp - 0x14]
nop word cs:[eax + eax]
nop dword [eax]
mov dword [edx], ebx
add edx, 4
cmp eax, edx
jne 0x42ef20
jmp 0x42efe8
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 0x42ef50
cmp ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
jne 0x42ef6e
mov ebx, dword [ebp - 0x10]
jmp 0x42ef89
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 0x42ef80
mov edi, dword [ebp - 0x14]
sub esi, eax
mov edx, dword [edi + 0x10]
je 0x42ef9e
cmp esi, 8
jae 0x42efa2
mov ecx, esi
mov eax, edx
jmp 0x42efe0
mov eax, edx
jmp 0x42efe8
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 0x42efc0
cmp dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x14]
je 0x42efe8
nop dword [eax]
mov dword [eax], ebx
add eax, 4
dec ecx
jne 0x42efe0
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 0x42f1b8
mov ebx, eax
mov ecx, eax
jmp 0x42f02c
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 0x42f1b8
mov eax, dword [ebx]
mov edx, ebx
mov ebx, dword [ecx + 0x18]
cmp dword [ecx + 0x1c], 0xf
mov dword [ebp - 0x20], eax
jbe 0x42f050
mov eax, dword [ecx + 8]
jmp 0x42f053
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 0x42f07f
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 0x42f070
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 0x42f010
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 0x42f137
cmp dword [edi + 0x1c], 0xf
mov dword [ebp - 0x2c], eax
jbe 0x42f0ba
mov eax, dword [edi + 8]
jmp 0x42f0bd
lea eax, [edi + 8]
push ebx
push eax
push dword [ebp - 0x1c]
call fcn.004d4cbb
add esp, 0xc
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x42f137
mov eax, dword [edi]
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
cmp eax, edi
je 0x42f104
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 0x42f022
mov eax, dword [edi + 8]
push ebx
push eax
push dword [ebp - 0x1c]
call fcn.004d4cbb
add esp, 0xc
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x42f184
cmp esi, edi
je 0x42f150
mov edi, dword [edi + 4]
cmp ebx, dword [edi + 0x18]
jne 0x42f137
cmp dword [edi + 0x1c], 0xf
ja 0x42f120
lea eax, [edi + 8]
jmp 0x42f123
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 0x42f1ad
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 0x42f022
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.004782af
call fcn.00405080
int3