Function at 0x543290
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 0x5432c7
mov ecx, esi
add edx, 1
shl ecx, 5
add eax, ecx
add esi, eax
movsx eax, byte [edx - 1]
test al, al
jne 0x5432b3
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 0x54330e
mov ebx, dword [eax]
mov ecx, dword [ebx + 0xc]
cmp esi, ecx
je 0x543397
mov ebx, dword [ebx]
test ebx, ebx
je 0x54330e
mov ecx, dword [ebx + 0xc]
xor edx, edx
mov eax, ecx
div dword [ebp - 0x1c]
cmp edi, edx
je 0x5432f2
mov dword [esp], 0x10
call fcn.006540e0
test eax, eax
mov edi, eax
mov dword [ebp - 0x20], eax
je 0x54333f
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 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 0x5433be
mov ecx, dword [edi]
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
add eax, ecx
mov edx, dword [eax]
mov dword [edi + 0xc], esi
test edx, edx
je 0x543499
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 eax, dword [ebp - 0x20]
add eax, 8
jmp 0x5433b4
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 0x5432fa
lea eax, [ebx + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
cmp dword [ebp - 0x1c], 0x3fffffff
ja 0x5434d3
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 edi, dword [eax + 8]
add eax, 8
mov dword [eax], 0
mov dword [ebp - 0x30], eax
test edi, edi
je 0x543468
mov dword [ebp - 0x34], esi
mov ebx, dword [ebp - 0x2c]
jmp 0x54342e
mov edx, dword [esi]
mov dword [edi], edx
mov eax, dword [eax]
mov dword [eax], edi
test ecx, ecx
je 0x543465
mov edi, ecx
mov eax, dword [edi + 0xc]
xor edx, edx
mov ecx, dword [edi]
div dword [ebp - 0x1c]
lea eax, [ebx + edx*4]
mov esi, dword [eax]
test esi, esi
jne 0x543420
mov esi, dword [ebp - 0x24]
mov esi, dword [esi + 8]
mov dword [edi], esi
mov esi, dword [ebp - 0x24]
mov dword [esi + 8], edi
mov esi, dword [ebp - 0x30]
mov dword [eax], esi
mov eax, dword [edi]
test eax, eax
je 0x5434cb
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], edx
mov dword [ebx + eax*4], edi
jmp 0x543428
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 0x54336b
mov ebx, edi
mov edi, dword [ebp - 0x24]
mov edx, dword [edi + 8]
mov dword [ebx], edx
mov dword [edi + 8], ebx
mov edx, dword [ebx]
test edx, edx
je 0x5434bf
mov eax, dword [edx + 0xc]
xor edx, edx
div dword [edi + 4]
mov eax, dword [ebp - 0x28]
mov dword [ecx + edx*4], ebx
add eax, dword [edi]
mov edi, dword [ebp - 0x24]
lea edx, [edi + 8]
mov dword [eax], edx
mov eax, edi
jmp 0x54338b
mov dword [ebp - 0x28], edx
jmp 0x543428
call fcn.0064b240
nop
lea esi, [esi]