Function at 0x425110
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x14], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x425314
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
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.00423af0
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 0x4252ea
mov edi, dword [ecx + 8]
mov ebx, 0x1505
mov edx, dword [edx]
movzx eax, word [edi]
test ax, ax
je 0x4251ac
mov dword [ebp - 4], 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 0x425190
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 - 0x10], eax
cmp dword [eax], esi
jne 0x4251cb
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4252e0
mov eax, dword [eax + 4]
mov ebx, 0x4c455c
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 0x425213
cmp word [edi], 0
je 0x42520f
mov si, word [edi + 2]
cmp si, word [ebx + 2]
mov word [ebp - 0xa], si
mov esi, dword [ebp - 8]
jne 0x425213
add edi, 4
add ebx, 4
cmp word [ebp - 0xa], 0
jne 0x4251e0
xor edi, edi
jmp 0x425218
sbb edi, edi
or edi, 1
test edi, edi
jne 0x42524e
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x425243
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
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 - 0x10]
mov dword [eax + 4], ecx
jmp 0x4252e0
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], eax
cmp dword [edi], eax
je 0x4252ba
nop dword [eax + eax]
mov eax, dword [eax + 4]
mov ebx, 0x4c455c
mov dword [ebp - 4], eax
mov edi, dword [eax + 8]
test edi, edi
cmovne ebx, edi
cmp dword [ecx + 8], 0
mov edi, 0x4c455c
cmovne edi, dword [ecx + 8]
mov si, word [edi]
cmp si, word [ebx]
jne 0x4252aa
test si, si
je 0x4252a6
mov si, word [edi + 2]
mov word [ebp - 0xa], si
cmp si, word [ebx + 2]
jne 0x4252aa
add edi, 4
add ebx, 4
test si, si
jne 0x425280
xor edi, edi
jmp 0x4252af
sbb edi, edi
or edi, 1
test edi, edi
je 0x4252f3
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], eax
jne 0x425260
mov ebx, dword [ecx + 4]
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 4]
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 - 0x10]
mov dword [eax], ecx
mov esi, dword [ebp - 8]
mov ecx, edx
cmp edx, esi
jne 0x425172
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 - 4], 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 0x4252dd
push str.invalid_hash_bucket_count
call fcn.0043eb67
int3