Function at 0x10047a30
Capabilities:
Hash data using djb2

Disassembly:
sub esp, 0x48
cmp dword [0x10668f3c], 0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ebp, edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0
jne 0x10376f52
push dword [ebp + 0xc]
push dword [ebp + 8]
call sym.php5.dll_zend_str_tolower_dup
mov edi, eax
add esp, 8
mov edx, str.self
mov ecx, edi
jmp 0x10047a70
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x10047ea9
test bl, bl
je 0x10047a94
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10047ea9
add ecx, 2
add edx, 2
test al, al
jne 0x10047a70
xor eax, eax
test eax, eax
je 0x10376f66
mov ecx, str.parent
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10047eb3
test dl, dl
je 0x10047ac9
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10047eb3
add eax, 2
add ecx, 2
test dl, dl
jne 0x10047aa5
xor eax, eax
test eax, eax
je 0x10376f66
mov ecx, dword [0x10669054]
test ecx, ecx
jne 0x10047e85
xor ebx, ebx
mov eax, dword [0x10669050]
test eax, eax
jne 0x10047dfb
mov dword [esp + 0x14], edi
test ebx, ebx
jne 0x10047fb0
push 0x138
call sym.php5.dll__emalloc
mov edi, eax
add esp, 4
mov byte [edi], 2
mov ecx, dword [ebp + 0xc]
push 1
inc ecx
push ecx
push dword [ebp + 8]
mov dword [esp + 0x2c], edi
call dword [sym.php5.dll_zend_new_interned_string]
add esp, 0xc
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
push 1
push edi
mov dword [edi + 8], eax
call sym.php5.dll_zend_initialize_class_data
mov eax, dword [0x10668f90]
mov dword [edi + 0x124], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x128], eax
mov eax, dword [esi + 0x18]
or dword [edi + 0x14], eax
mov eax, dword [esp + 0x64]
add esp, 8
test eax, eax
je 0x10047b74
cmp dword [eax], 8
je 0x10047b74
mov eax, dword [eax + 0x18]
cmp eax, 1
jae 0x10376f9d
mov dword [esp + 0x18], 1
mov ecx, dword [0x10668f98]
call fcn.10009fe0
mov edx, dword [esp + 0x14]
mov ebp, eax
lea ecx, [esp + 0x48]
mov byte [ebp + 0x19], 1
push dword [edi + 8]
mov dword [esp + 0x20], ebp
call fcn.100480d0
mov ecx, dword [0x10668f98]
add esp, 4
lea edx, [esp + 0x48]
call fcn.10008bd0
mov dword [ebp + 4], eax
lea ecx, [eax + eax*2]
mov eax, dword [0x10668f98]
mov esi, 0x1505
mov eax, dword [eax + 0x74]
mov ebx, dword [eax + ecx*8 + 4]
lea edx, [eax + ecx*8]
mov dword [esp + 0x24], edx
mov eax, dword [edx]
cmp ebx, 8
jb switch.0x10047c4d
mov ebp, ebx
shr ebp, 3
movsx ecx, byte [eax]
mov edx, esi
shl edx, 5
add edx, esi
add edx, ecx
movsx ecx, byte [eax + 1]
mov esi, edx
shl esi, 5
add esi, edx
add esi, ecx
movsx ecx, byte [eax + 2]
mov edx, esi
shl edx, 5
add edx, esi
add edx, ecx
movsx ecx, byte [eax + 3]
mov esi, edx
shl esi, 5
add esi, edx
add esi, ecx
movsx ecx, byte [eax + 4]
mov edx, esi
shl edx, 5
add edx, esi
add edx, ecx
movsx ecx, byte [eax + 5]
mov esi, edx
shl esi, 5
add esi, edx
add esi, ecx
movsx ecx, byte [eax + 6]
mov edx, esi
shl edx, 5
add edx, esi
add edx, ecx
movsx ecx, byte [eax + 7]
mov esi, edx
shl esi, 5
add esi, edx
add esi, ecx
add eax, 8
sub ebx, 8
dec ebp
jne 0x10047bd5
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
jmp dword [ebx*4 + 0x10048048]
mov ecx, esi
shl esi, 5
add esi, ecx
movsx ecx, byte [eax]
add esi, ecx
inc eax
mov ecx, esi
shl esi, 5
add esi, ecx
movsx ecx, byte [eax]
add esi, ecx
inc eax
mov ecx, esi
shl esi, 5
add esi, ecx
movsx ecx, byte [eax]
add esi, ecx
inc eax
mov ecx, esi
shl esi, 5
add esi, ecx
movsx ecx, byte [eax]
add esi, ecx
inc eax
mov ecx, esi
shl esi, 5
add esi, ecx
movsx ecx, byte [eax]
add esi, ecx
inc eax
mov ecx, esi
shl esi, 5
add esi, ecx
movsx ecx, byte [eax]
add esi, ecx
inc eax
movsx eax, byte [eax]
mov ecx, esi
shl esi, 5
add esi, ecx
add esi, eax
cmp dword [esp + 0x18], 0
mov dword [edx + 0x10], esi
mov byte [ebp + 0x1a], 1
jne 0x10047dd5
mov byte [ebp + 0x18], 0x8b
mov eax, dword [edi + 8]
mov ecx, dword [0x10668f98]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov byte [esp + 0x34], 6
call fcn.10008bd0
mov dword [ebp + 8], eax
lea ecx, [eax + eax*2]
mov eax, dword [0x10668f98]
mov eax, dword [eax + 0x74]
mov esi, dword [eax + ecx*8]
lea edi, [eax + ecx*8]
cmp esi, dword [0x106690c0]
jae 0x10047ebd
cmp esi, dword [0x106690bc]
jb 0x10047ebd
mov edx, dword [esi - 0x24]
push 1
push 0
push 4
mov dword [edi + 0x10], edx
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*2]
mov eax, dword [0x10668f98]
mov eax, dword [eax + 0x74]
push dword [eax + ecx*8 + 0x10]
push dword [esp + 0x60]
push dword [esp + 0x60]
push dword [0x10668fa0]
call sym.php5.dll__zend_hash_quick_add_or_update
mov esi, dword [0x10668f98]
mov eax, dword [esp + 0x40]
mov dword [0x10668f3c], eax
mov ecx, dword [esi + 0x34]
mov eax, ecx
shl eax, 4
mov edx, 0xfffffff0
sub edx, eax
lea eax, [ecx + 1]
mov dword [esi + 0x34], eax
mov dword [ebp + 0xc], edx
mov byte [ebp + 0x1b], 4
mov ecx, dword [0x10669044]
mov dword [0x10669020], 4
mov eax, dword [ebp + 0xc]
add esp, 0x20
mov dword [0x10669028], eax
mov dword [0x10669038], 0
test ecx, ecx
je 0x10047dcd
mov eax, dword [0x10668f3c]
mov dword [eax + 0x130], ecx
mov ecx, dword [0x10669048]
mov eax, dword [0x10668f3c]
mov dword [eax + 0x134], ecx
mov dword [0x10669044], 0
mov dword [0x10669048], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov eax, dword [edi + 0x14]
and eax, 0x120
cmp eax, 0x120
je 0x10376fe8
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 8]
mov dword [ebp + 0x10], eax
mov byte [ebp + 0x18], 0x8c
jmp 0x10047cc4
mov dword [esp + 0x28], 1
movq xmm0, qword [eax]
movq qword [esp + 0x30], xmm0
movq xmm0, qword [eax + 8]
movq qword [esp + 0x38], xmm0
cmp byte [esp + 0x3c], 3
jbe 0x10047e2c
lea eax, [esp + 0x30]
push eax
call sym.php5.dll__zval_copy_ctor_func
add esp, 4
lea edx, [esp + 0x28]
push ebp
mov ecx, edx
call fcn.1000b6f0
movq xmm0, qword [esp + 0x2c]
movq qword [ebp], xmm0
movq xmm0, qword [esp + 0x34]
movq qword [ebp + 8], xmm0
movq xmm0, qword [esp + 0x3c]
movq qword [ebp + 0x10], xmm0
movq xmm0, qword [esp + 0x44]
add esp, 4
movq qword [ebp + 0x18], xmm0
push edi
call sym.php5.dll__efree
add esp, 4
push dword [ebp + 0xc]
push dword [ebp + 8]
call sym.php5.dll_zend_str_tolower_dup
add esp, 8
mov edi, eax
jmp 0x10047af0
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebp + 0xc]
inc eax
push eax
push edi
push ecx
call sym.php5.dll_zend_hash_find
add esp, 0x10
test eax, eax
jne 0x10047ae1
lea ebx, [eax + 1]
jmp 0x10047ae3
sbb eax, eax
or eax, 1
jmp 0x10047a96
sbb eax, eax
or eax, 1
jmp 0x10047acb
mov ebx, dword [edi + 4]
inc ebx
mov edx, 0x1505
cmp ebx, 8
jb switch.0x10047f4a
mov eax, ebx
shr eax, 3
mov dword [esp + 0x24], eax
mov ebp, eax
movsx eax, byte [esi]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [esi + 1]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [esi + 2]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [esi + 3]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [esi + 4]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [esi + 5]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [esi + 6]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [esi + 7]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
add esi, 8
sub ebx, 8
dec ebp
jne 0x10047ed6
mov ebp, dword [esp + 0x1c]
jmp dword [ebx*4 + 0x10048068]
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [esi]
add edx, eax
inc esi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [esi]
add edx, eax
inc esi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [esi]
add edx, eax
inc esi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [esi]
add edx, eax
inc esi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [esi]
add edx, eax
inc esi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [esi]
add edx, eax
inc esi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [esi]
add edx, eax
jmp case.0x10047c4d.8
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
push dword [eax + 4]
push dword [eax]
call sym.php5.dll_zend_str_tolower_dup
mov ecx, dword [esi]
mov edx, dword [ebp + 0xc]
add esp, 8
mov ebx, eax
cmp dword [ecx + 4], edx
jne 0x10376f86
mov ecx, ebx
sub edx, 4
jb 0x10047ff1
lea ebx, [ebx]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x10047ff6
add ecx, 4
add edi, 4
sub edx, 4
jae 0x10047fe0
cmp edx, 0xfffffffc
je 0x10048023
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x1004803f
cmp edx, 0xfffffffd
je 0x10048023
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x1004803f
cmp edx, 0xfffffffe
je 0x10048023
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x1004803f
cmp edx, 0xffffffff
je 0x10048023
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
jne 0x1004803f
xor eax, eax
test eax, eax
jne 0x10376f86
push ebx
call sym.php5.dll__efree
mov esi, dword [esp + 0x20]
add esp, 4
jmp 0x10047afc
sbb eax, eax
or eax, 1
jmp 0x10048025
push str.Class_declarations_may_not_be_nested
push 0x40
call sym.php5.dll_zend_error
add esp, 8
jmp 0x10047dcd
push edi
call sym.php5.dll__efree
add esp, 4
push dword [ebp + 8]
push str.Cannot_use__s_as_class_name_as_it_is_reserved
push 0x40
call sym.php5.dll_zend_error
add esp, 0xc
jmp 0x10047ad3
push dword [ebp + 8]
push str.Cannot_declare_class__s_because_the_name_is_already_in_use
push 0x40
call sym.php5.dll_zend_error
add esp, 0xc
jmp 0x1004802d
dec eax
je 0x10376fd4
dec eax
je 0x10376fc0
sub eax, 5
jne 0x10047b6c
push str.Cannot_use_static_as_class_name_as_it_is_reserved
push 0x40
call sym.php5.dll_zend_error
add esp, 8
jmp 0x10047b6c
push str.Cannot_use_parent_as_class_name_as_it_is_reserved
push 0x40
call sym.php5.dll_zend_error
add esp, 8
jmp 0x10047b6c
push str.Cannot_use_self_as_class_name_as_it_is_reserved
push 0x40
call sym.php5.dll_zend_error
add esp, 8
jmp 0x10047b6c
push dword [edi + 4]
push str.A_trait___s__cannot_extend_a_class._Traits_can_only_be_composed_from_other_traits_with_the_use_keyword._Error
push 0x40
call sym.php5.dll_zend_error
add esp, 0xc
jmp 0x10047de8