Function at 0x100519a0
Capabilities:
Hash data using djb2

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [0x10668f98]
push ebp
push esi
mov esi, dword [ebx + 0x28]
mov ebp, edx
lea eax, [esi + 1]
mov dword [ebx + 0x28], eax
mov edx, dword [0x1066908c]
mov dword [esp + 0x18], ecx
cmp esi, edx
jae 0x10051e7f
push edi
lea edi, [esi*8]
sub edi, esi
mov esi, dword [ebx + 0x24]
xorps xmm0, xmm0
movq qword [esi + edi*4], xmm0
movq qword [esi + edi*4 + 8], xmm0
movq qword [esi + edi*4 + 0x10], xmm0
mov dword [esi + edi*4 + 0x18], 0
mov eax, dword [0x10668f94]
mov dword [esi + edi*4 + 0x14], eax
mov byte [esi + edi*4 + 0x1b], 8
mov byte [esi + edi*4 + 0x18], 0x47
mov ebx, dword [0x10668f98]
mov edx, 0xfffffff0
mov ecx, dword [ebx + 0x34]
mov eax, ecx
shl eax, 4
sub edx, eax
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x34], eax
mov dword [esi + edi*4 + 0xc], edx
mov byte [esi + edi*4 + 0x1b], 2
mov dword [ecx], 2
mov eax, dword [esi + edi*4 + 0xc]
mov dword [esp + 0x20], edi
mov dword [ecx + 8], eax
mov dword [ecx + 0x18], 0
test ebp, ebp
je 0x10051c24
mov al, byte [ebp]
mov byte [esi + edi*4 + 0x19], al
cmp dword [ebp], 1
je 0x10051b7b
mov eax, dword [ebp + 8]
mov dword [esi + edi*4 + 4], eax
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x10051c0e
mov al, byte [ebx]
mov byte [esi + edi*4 + 0x1a], al
cmp dword [ebx], 1
jne 0x10051d62
mov ebp, dword [0x10668f98]
mov edx, dword [ebp + 0x78]
mov dword [esp + 0x18], edx
lea eax, [edx + 1]
mov dword [ebp + 0x78], eax
mov ecx, dword [0x10669094]
cmp edx, ecx
jge 0x10051d24
mov al, byte [ebx + 0x14]
cmp al, 6
jne 0x10051d55
mov eax, dword [ebx + 0xc]
push 1
inc eax
push eax
push dword [ebx + 8]
call dword [sym.php5.dll_zend_new_interned_string]
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [ebx + 8], eax
mov eax, dword [ebp + 0x74]
movq xmm0, qword [ebx + 8]
lea ecx, [edx + edx*2]
movq qword [eax + ecx*8], xmm0
movq xmm0, qword [ebx + 0x10]
movq qword [eax + ecx*8 + 8], xmm0
mov eax, dword [ebp + 0x74]
mov dword [eax + ecx*8 + 8], 2
mov eax, dword [ebp + 0x74]
mov byte [eax + ecx*8 + 0xd], 1
mov eax, dword [ebp + 0x74]
mov dword [eax + ecx*8 + 0x10], 0
mov eax, dword [ebp + 0x74]
mov dword [eax + ecx*8 + 0x14], 0xffffffff
mov dword [esi + edi*4 + 8], edx
cmp byte [esi + edi*4 + 0x1a], 1
jne 0x10051b6a
mov eax, dword [esi + edi*4 + 8]
lea ecx, [eax + eax*2]
mov eax, dword [0x10668f98]
mov eax, dword [eax + 0x74]
cmp byte [eax + ecx*8 + 0xc], 6
lea ebx, [eax + ecx*8]
mov dword [esp + 0x1c], ebx
jne 0x10051b6a
mov ebp, dword [ebx]
mov edx, ebp
cmp byte [edx], 0x2d
je 0x10051eb1
mov cl, byte [edx]
cmp cl, 0x39
jle 0x10051c3c
mov ebp, dword [ebx]
cmp ebp, dword [0x106690c0]
jae 0x10051d6e
cmp ebp, dword [0x106690bc]
jb 0x10051d6e
mov edx, dword [ebp - 0x24]
mov dword [ebx + 0x10], edx
movzx eax, byte [esp + 0x2c]
mov dword [esi + edi*4 + 0x10], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ebx, dword [0x10668f98]
mov edx, dword [ebx + 0x78]
mov dword [esp + 0x18], edx
lea eax, [edx + 1]
mov dword [ebx + 0x78], eax
mov ecx, dword [0x10669094]
cmp edx, ecx
jge 0x10051cf3
mov al, byte [ebp + 0x14]
cmp al, 6
jne 0x10051ce6
mov eax, dword [ebp + 0xc]
push 1
inc eax
push eax
push dword [ebp + 8]
call dword [sym.php5.dll_zend_new_interned_string]
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x74]
movq xmm0, qword [ebp + 8]
lea ecx, [edx + edx*2]
movq qword [eax + ecx*8], xmm0
movq xmm0, qword [ebp + 0x10]
movq qword [eax + ecx*8 + 8], xmm0
mov eax, dword [ebx + 0x74]
mov dword [eax + ecx*8 + 8], 2
mov eax, dword [ebx + 0x74]
mov byte [eax + ecx*8 + 0xd], 1
mov eax, dword [ebx + 0x74]
mov dword [eax + ecx*8 + 0x10], 0
mov eax, dword [ebx + 0x74]
mov dword [eax + ecx*8 + 0x14], 0xffffffff
mov dword [esi + edi*4 + 4], edx
jmp 0x10051a65
movzx eax, byte [esp + 0x2c]
mov byte [esi + edi*4 + 0x1a], 8
mov dword [esi + edi*4 + 0x10], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
movzx eax, byte [esp + 0x2c]
mov word [esi + edi*4 + 0x19], 0x808
mov dword [esi + edi*4 + 0x10], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp cl, 0x30
jl 0x10051b4a
mov eax, dword [ebx + 4]
add eax, ebp
mov dword [esp + 0x14], eax
cmp byte [eax], 0
jne 0x10051b4a
cmp cl, 0x30
jne 0x10051c6d
mov eax, dword [ebx + 4]
inc eax
cmp eax, 2
jg 0x10051b4a
mov eax, dword [esp + 0x14]
sub eax, edx
cmp eax, 0xa
jg 0x10051b4a
je 0x1037a108
mov eax, dword [esp + 0x14]
movsx ecx, cl
sub ecx, 0x30
inc edx
mov dword [esp + 0x18], ecx
cmp edx, eax
jne 0x10051eb7
cmp byte [ebp], 0x2d
je 0x10051eee
cmp ecx, 0x7fffffff
ja 0x10051b4a
cmp byte [ebx + 0xc], 3
jbe 0x10051cba
push ebx
call sym.php5.dll__zval_dtor_func
add esp, 4
mov eax, dword [esi + edi*4 + 8]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*2]
mov eax, dword [0x10668f98]
mov eax, dword [eax + 0x74]
mov dword [eax + ecx*8], edx
mov byte [eax + ecx*8 + 0xc], 1
movzx eax, byte [esp + 0x2c]
mov dword [esi + edi*4 + 0x10], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp al, 8
jne 0x10051bc1
jmp 0x10051ba7
mov eax, edx
sub eax, ecx
and eax, 0xfffffff0
add eax, 0x10
add eax, ecx
mov dword [0x10669094], eax
lea eax, [eax + eax*2]
push 0
shl eax, 3
push eax
push dword [ebx + 0x74]
call sym.php5.dll__erealloc
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [ebx + 0x74], eax
jmp 0x10051b9c
mov eax, edx
sub eax, ecx
and eax, 0xfffffff0
add eax, 0x10
add eax, ecx
mov dword [0x10669094], eax
lea eax, [eax + eax*2]
push 0
shl eax, 3
push eax
push dword [ebp + 0x74]
call sym.php5.dll__erealloc
mov edx, dword [esp + 0x24]
add esp, 0xc
mov dword [ebp + 0x74], eax
jmp 0x10051aa1
cmp al, 8
jne 0x10051ac6
jmp 0x10051aac
mov eax, dword [ebx + 8]
mov dword [esi + edi*4 + 8], eax
jmp 0x10051b0e
mov eax, dword [ebx + 4]
inc eax
mov dword [esp + 0x18], eax
mov edx, 0x1505
cmp eax, 8
jb switch.0x10051e11
mov ebx, eax
mov edi, ebx
shr edi, 3
jmp 0x10051d90
movsx eax, byte [ebp]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [ebp + 1]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [ebp + 2]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [ebp + 3]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [ebp + 4]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [ebp + 5]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [ebp + 6]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [ebp + 7]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
add ebp, 8
sub ebx, 8
dec edi
jne 0x10051d90
mov edi, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
jmp dword [eax*4 + 0x10051f14]
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [ebp]
add edx, eax
inc ebp
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [ebp]
add edx, eax
inc ebp
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [ebp]
add edx, eax
inc ebp
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [ebp]
add edx, eax
inc ebp
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [ebp]
add edx, eax
inc ebp
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [ebp]
add edx, eax
movzx eax, byte [esp + 0x2c]
mov dword [ebx + 0x10], edx
mov dword [esi + edi*4 + 0x10], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
test byte [ebx + 0xc], 0x10
jne 0x1037a0eb
shl edx, 2
mov ecx, ebx
mov dword [0x1066908c], edx
call fcn.10052680
jmp 0x100519c9
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [ebp]
add edx, eax
inc ebp
jmp case.0x10051e11.5
inc edx
jmp 0x10051b3f
mov bl, byte [edx]
mov byte [esp + 0x13], bl
cmp bl, 0x30
mov ebx, dword [esp + 0x1c]
jl 0x10051f07
cmp byte [esp + 0x13], 0x39
jg 0x10051f07
movsx eax, byte [esp + 0x13]
lea ecx, [ecx + ecx*4]
inc edx
lea ecx, [ecx - 0x18]
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
cmp edx, eax
je 0x10051c95
jmp 0x10051eb7
lea eax, [ecx - 1]
cmp eax, 0x7fffffff
ja 0x10051b4a
neg ecx
mov dword [esp + 0x18], ecx
jmp 0x10051cab
cmp edx, eax
jne 0x10051b4a
jmp 0x10051c95
push str.Ran_out_of_opcode_space__nYou_should_probably_consider_writing_this_huge_script_into_a_file__n
call dword [sym.php5.dll_zend_printf]
add esp, 4
push 0x1b5
push str.Zendzend_opcode.c
call sym.php5.dll__zend_bailout
cmp cl, 0x32
jg 0x10051b4a
jmp 0x10051c7e