Function at 0x4e2060
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, 0x1505
push ebx
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
lea edx, [eax + 1]
movsx eax, byte [eax]
test al, al
je 0x4e2097
mov ecx, esi
add edx, 1
shl ecx, 5
add eax, ecx
add esi, eax
movsx eax, byte [edx - 1]
test al, al
jne 0x4e2083
mov ebx, dword [ebp - 0x24]
xor edx, edx
mov eax, dword [ebx + 4]
mov edi, eax
mov dword [ebp - 0x1c], eax
mov eax, esi
div edi
lea eax, [edx*4]
mov edi, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4e20de
mov ebx, dword [eax]
mov ecx, dword [ebx + 8]
cmp esi, ecx
je 0x4e2170
mov ebx, dword [ebx]
test ebx, ebx
je 0x4e20de
mov ecx, dword [ebx + 8]
xor edx, edx
mov eax, ecx
div dword [ebp - 0x1c]
cmp edi, edx
je 0x4e20c2
mov dword [esp], 0xc
call fcn.006540e0
test eax, eax
mov edi, eax
mov dword [ebp - 0x20], eax
je 0x4e2108
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 8], 0
mov dword [edi + 4], eax
mov edi, dword [ebp - 0x24]
mov edx, dword [edi + 0xc]
lea ecx, [edi + 0x10]
mov eax, dword [edi + 4]
mov dword [esp + 8], 1
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.005e8790
sub esp, 0xc
test al, al
mov dword [ebp - 0x1c], edx
jne 0x4e2198
mov ecx, dword [edi]
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
add eax, ecx
mov edx, dword [eax]
mov dword [edi + 8], esi
test edx, edx
je 0x4e226c
mov edx, dword [edx]
mov dword [edi], edx
mov eax, dword [eax]
mov dword [eax], edi
mov eax, dword [ebp - 0x24]
add dword [eax + 0xc], 1
mov edx, 1
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x4e20ca
lea esp, [ebp - 0xc]
mov eax, ebx
xor edx, edx
pop ebx
pop esi
pop edi
pop ebp
ret 4
cmp dword [ebp - 0x1c], 0x3fffffff
ja 0x4e22a7
mov eax, dword [ebp - 0x1c]
lea ebx, [eax*4]
mov dword [esp], ebx
call fcn.006540e0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x2c], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
mov ecx, dword [eax + 8]
add eax, 8
mov dword [eax], 0
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x4e223b
mov dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x2c]
jmp 0x4e2201
mov edx, dword [edi]
mov dword [ecx], edx
mov eax, dword [eax]
mov dword [eax], ecx
test ebx, ebx
je 0x4e2238
mov ecx, ebx
mov eax, dword [ecx + 8]
xor edx, edx
mov ebx, dword [ecx]
div dword [ebp - 0x1c]
lea eax, [esi + edx*4]
mov edi, dword [eax]
test edi, edi
jne 0x4e21f3
mov edi, dword [ebp - 0x24]
mov edi, dword [edi + 8]
mov dword [ecx], edi
mov edi, dword [ebp - 0x24]
mov dword [edi + 8], ecx
mov edi, dword [ebp - 0x30]
mov dword [eax], edi
mov eax, dword [ecx]
test eax, eax
je 0x4e229f
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], edx
mov dword [esi + eax*4], ecx
jmp 0x4e21fb
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x24]
mov eax, dword [edi]
mov dword [esp], eax
call fcn.00654030
mov eax, edi
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
xor edx, edx
mov dword [eax], ebx
mov ecx, ebx
mov dword [eax + 4], edi
mov eax, esi
div edi
lea eax, [edx*4]
mov dword [ebp - 0x28], eax
jmp 0x4e2134
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov edx, dword [esi + 8]
mov dword [edi], edx
mov dword [esi + 8], edi
mov edx, dword [edi]
test edx, edx
je 0x4e2290
mov eax, dword [edx + 8]
xor edx, edx
div dword [esi + 4]
mov eax, dword [ebp - 0x28]
mov dword [ecx + edx*4], edi
add eax, dword [esi]
mov edi, dword [ebp - 0x24]
lea edx, [edi + 8]
mov dword [eax], edx
mov eax, edi
jmp 0x4e2154
mov dword [ebp - 0x28], edx
jmp 0x4e21fb
call fcn.0064b240
lea esi, [esi]