Function at 0x42a910
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x14], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x42ab14
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0042a340
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x42aaea
mov edi, dword [ecx + 8]
mov ebx, 0x1505
mov edx, dword [edx]
movzx eax, word [edi]
test ax, ax
je 0x42a9ac
mov dword [ebp - 0x10], eax
mov esi, eax
nop dword [eax]
mov eax, ebx
lea edi, [edi + 2]
shl ebx, 5
add ebx, eax
movzx eax, si
add ebx, eax
movzx eax, word [edi]
mov esi, eax
test ax, ax
jne 0x42a990
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
and edi, ebx
lea eax, [eax + edi*8]
mov dword [ebp - 0xc], eax
cmp dword [eax], esi
jne 0x42a9cb
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x42aae0
mov eax, dword [eax + 4]
mov ebx, 0x4cce94
mov edi, dword [eax + 8]
test edi, edi
cmovne ebx, edi
mov edi, dword [ecx + 8]
nop
mov si, word [edi]
cmp si, word [ebx]
mov esi, dword [ebp - 8]
jne 0x42aa13
cmp word [edi], 0
je 0x42aa0f
mov si, word [edi + 2]
cmp si, word [ebx + 2]
mov word [ebp - 2], si
mov esi, dword [ebp - 8]
jne 0x42aa13
add edi, 4
add ebx, 4
cmp word [ebp - 2], 0
jne 0x42a9e0
xor edi, edi
jmp 0x42aa18
sbb edi, edi
or edi, 1
test edi, edi
jne 0x42aa4e
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp eax, ecx
je 0x42aa43
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 0x10]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], ecx
jmp 0x42aae0
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [edi], eax
je 0x42aaba
nop dword [eax + eax]
mov eax, dword [eax + 4]
mov ebx, 0x4cce94
mov dword [ebp - 0x10], eax
mov edi, dword [eax + 8]
test edi, edi
cmovne ebx, edi
cmp dword [ecx + 8], 0
mov edi, 0x4cce94
cmovne edi, dword [ecx + 8]
mov si, word [edi]
cmp si, word [ebx]
jne 0x42aaaa
test si, si
je 0x42aaa6
mov si, word [edi + 2]
mov word [ebp - 2], si
cmp si, word [ebx + 2]
jne 0x42aaaa
add edi, 4
add ebx, 4
test si, si
jne 0x42aa80
xor edi, edi
jmp 0x42aaaf
sbb edi, edi
or edi, 1
test edi, edi
je 0x42aaf3
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], eax
jne 0x42aa60
mov ebx, dword [ecx + 4]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
mov esi, dword [ebp - 8]
mov ecx, edx
cmp edx, esi
jne 0x42a972
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x42aadd
push str.invalid_hash_bucket_count
call fcn.00451caa
int3