Function at 0x1000eb10
Capabilities:
Hash data using djb2

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, ecx
push 0
xor edx, edx
mov dword [esp + 0x18], eax
call fcn.100110c0
mov eax, dword [0x10668f04]
add esp, 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x1c
mov dword [esp + 0x30], 0
mov byte [esp + 0x34], 0
cmp dword [sym.php5.dll_compiler_globals], eax
jge 0x10377bbb
push 0x1c
call sym.php5.dll__emalloc
mov ecx, dword [sym.php5.dll_compiler_globals]
mov edx, dword [0x10668f08]
add esp, 4
mov dword [edx + ecx*4], eax
mov ecx, dword [sym.php5.dll_compiler_globals]
push 0x1c
lea eax, [esp + 0x24]
push eax
mov eax, dword [0x10668f08]
push dword [eax + ecx*4]
call sub.MSVCR110.dll_memcpy
add esp, 0xc
inc dword [sym.php5.dll_compiler_globals]
mov edi, dword [0x10668f98]
mov eax, dword [edi + 0x28]
dec eax
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0x24]
cmp byte [eax + ecx*4 + 0x1a], 1
lea ebx, [eax + ecx*4]
mov dword [esp + 0x1c], ebx
jne 0x1000ebe2
mov eax, dword [ebx + 8]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x74]
cmp byte [eax + ecx*8 + 0xc], 6
jne 0x1000ebe2
cmp dword [eax + ecx*8 + 4], 7
je 0x1000eef3
cmp byte [ebx + 0x18], 0x52
jne 0x10377c9e
cmp byte [ebx + 0x1a], 1
jne 0x1000ee42
mov eax, dword [ebx + 8]
lea ecx, [eax + eax*2]
mov eax, dword [edi + 0x74]
movq xmm0, qword [eax + ecx*8]
movq qword [esp + 0x40], xmm0
movq xmm0, qword [eax + ecx*8 + 8]
movq qword [esp + 0x48], xmm0
cmp byte [esp + 0x4c], 6
movq qword [esp + 0x20], xmm0
jne 0x10377c03
mov esi, dword [esp + 0x40]
cmp esi, dword [0x106690c0]
jae 0x1000ef6e
cmp esi, dword [0x106690bc]
jb 0x1000ef6e
mov ecx, dword [ebx + 8]
lea edx, [ecx + ecx*2]
mov ecx, dword [edi + 0x74]
lea edx, [ecx + edx*8]
mov ecx, dword [edx + 0x14]
cmp ecx, 0xffffffff
je 0x1000ec7d
mov eax, dword [edi + 0x80]
sub eax, 2
cmp ecx, eax
jne 0x1000ec7d
mov dword [edx + 0x14], 0xffffffff
mov eax, dword [0x10668f98]
add dword [eax + 0x80], 0xfffffffe
mov edi, dword [0x10668f98]
mov ebp, dword [edi + 0x78]
test ebp, ebp
jle 0x1000ec9c
mov ecx, dword [edi + 0x74]
lea eax, [ebp - 1]
lea edx, [esp + 0x40]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
cmp eax, edx
je 0x10377c1d
lea eax, [ebp + 1]
mov dword [edi + 0x78], eax
mov ecx, dword [0x10669094]
cmp ebp, ecx
jge 0x1000ef14
mov al, byte [esp + 0x4c]
cmp al, 6
jne 0x10377c37
mov eax, dword [esp + 0x44]
push 1
inc eax
push eax
push esi
call dword [sym.php5.dll_zend_new_interned_string]
mov esi, eax
add esp, 0xc
mov dword [esp + 0x40], esi
mov eax, dword [edi + 0x74]
movq xmm0, qword [esp + 0x40]
lea ecx, [ebp*2]
add ecx, ebp
movq qword [eax + ecx*8], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [eax + ecx*8 + 8], xmm0
mov eax, dword [edi + 0x74]
mov dword [eax + ecx*8 + 8], 2
mov eax, dword [edi + 0x74]
mov byte [eax + ecx*8 + 0xd], 1
mov eax, dword [edi + 0x74]
mov dword [eax + ecx*8 + 0x10], 0
mov eax, dword [edi + 0x74]
mov dword [eax + ecx*8 + 0x14], 0xffffffff
mov edi, dword [esp + 0x44]
lea eax, [edi + 1]
push eax
mov dword [esp + 0x14], eax
call sym.php5.dll__emalloc
lea edx, [edi + esi]
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, eax
cmp esi, edx
jae 0x1000ed52
movzx eax, byte [esi]
inc esi
mov al, byte [eax + 0x10545478]
mov byte [ecx], al
inc ecx
cmp esi, edx
jb 0x1000ed41
mov byte [ecx], 0
mov esi, dword [0x10668f98]
mov dword [esp + 0x24], edi
mov edi, dword [esi + 0x78]
mov byte [esp + 0x2c], 6
lea eax, [edi + 1]
mov dword [esi + 0x78], eax
mov ecx, dword [0x10669094]
cmp edi, ecx
jge 0x1000ef41
push 1
push dword [esp + 0x14]
push dword [esp + 0x20]
call dword [sym.php5.dll_zend_new_interned_string]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x74]
movq xmm0, qword [esp + 0x2c]
lea ecx, [edi + edi*2]
shl ecx, 3
add esp, 0xc
movq qword [eax + ecx], xmm0
movq xmm0, qword [esp + 0x28]
movq qword [eax + ecx + 8], xmm0
mov eax, dword [esi + 0x74]
mov dword [eax + ecx + 8], 2
mov eax, dword [esi + 0x74]
mov byte [eax + ecx + 0xd], 1
mov eax, dword [esi + 0x74]
mov dword [ecx + eax + 0x10], 0
mov eax, dword [esi + 0x74]
mov dword [ecx + eax + 0x14], 0xffffffff
mov eax, dword [0x10668f98]
mov edi, dword [eax + 0x74]
add edi, ecx
mov dword [esp + 0x20], edi
mov esi, dword [edi]
cmp esi, dword [0x106690c0]
jae 0x1000ef8c
cmp esi, dword [0x106690bc]
jb 0x1000ef8c
mov edx, dword [esi - 0x24]
mov dword [edi + 0x10], edx
mov dword [ebx + 8], ebp
mov eax, dword [0x10668f98]
lea edx, [ebp*2]
mov ecx, dword [eax + 0x74]
mov eax, dword [eax + 0x80]
add edx, ebp
mov dword [ecx + edx*8 + 0x14], eax
mov eax, dword [0x10668f98]
add dword [eax + 0x80], 2
mov eax, dword [0x10668f98]
test byte [eax + 0xc], 0x10
jne 0x10377c44
mov ecx, dword [esp + 0x14]
mov byte [ebx + 0x18], 0x70
mov byte [ebx + 0x1b], 8
mov eax, dword [0x106690a0]
mov dword [ebx + 0xc], eax
mov dword [ecx + 8], 0x3b
mov eax, dword [0x10668f88]
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
movq qword [esp + 0x24], xmm0
cmp dword [0x10668f84], eax
jge 0x10377d78
push 0xc
call sym.php5.dll__emalloc
mov ecx, dword [0x10668f84]
mov edx, dword [0x10668f8c]
movq xmm0, qword [esp + 0x24]
mov dword [edx + ecx*4], eax
mov ecx, dword [0x10668f84]
mov eax, dword [0x10668f8c]
add esp, 4
mov ecx, dword [eax + ecx*4]
mov eax, dword [esp + 0x28]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
inc dword [0x10668f84]
mov eax, dword [0x106690a0]
mov ecx, dword [0x10668f98]
inc eax
mov dword [0x106690a0], eax
cmp eax, dword [ecx + 0x38]
ja 0x1000eee8
test byte [0x1066904c], 1
jne 0x10377da6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov dword [ecx + 0x38], eax
mov ecx, dword [0x10668f98]
jmp 0x1000eed3
push 7
push str.__clone
push 7
push dword [eax + ecx*8]
call sym.php5.dll_zend_binary_strcasecmp
add esp, 0x10
test eax, eax
jne 0x1000ebe2
jmp 0x10377be9
mov eax, ebp
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 [edi + 0x74]
call sym.php5.dll__erealloc
add esp, 0xc
mov dword [edi + 0x74], eax
jmp 0x1000ecb0
mov eax, edi
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 [esi + 0x74]
call sym.php5.dll__erealloc
add esp, 0xc
mov dword [esi + 0x74], eax
jmp 0x1000ed7b
push dword [esp + 0x44]
push esi
call sym.php5.dll__estrndup
mov edi, dword [0x10668f98]
mov esi, eax
add esp, 8
mov dword [esp + 0x40], esi
jmp 0x1000ec43
mov eax, dword [edi + 4]
inc eax
mov edx, 0x1505
cmp eax, 8
jb switch.0x1000f025
mov ebx, eax
shr eax, 3
mov edi, 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 edi
jne 0x1000efa5
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
jmp dword [eax*4 + 0x1000f08c]
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 0x1000ee06
add eax, 0x40
mov dword [0x10668f04], eax
push 0
shl eax, 2
push eax
push dword [0x10668f08]
call sym.php5.dll__erealloc
add esp, 0xc
mov dword [0x10668f08], eax
test eax, eax
je 0x1000eba3
jmp 0x1000eb67
push str.Cannot_call___clone___method_on_objects___use_clone__obj_instead
push 0x40
call sym.php5.dll_zend_error
mov edi, dword [0x10668f98]
add esp, 8
jmp 0x1000ebe2
push str.Method_name_must_be_a_string
push 0x40
call sym.php5.dll_zend_error
mov edi, dword [0x10668f98]
add esp, 8
jmp 0x1000ec27
lea eax, [ebp*2]
add eax, ebp
cmp dword [ecx + eax*8 - 4], 0xffffffff
jne 0x1000ec9c
dec ebp
jmp 0x1000ed20
cmp al, 8
jne 0x1000ecd4
jmp 0x1000ecbc
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x1000ee42
mov eax, dword [eax + 0x80]
push 0
shl eax, 2
push eax
push ecx
call sym.php5.dll__erealloc
mov ecx, dword [0x10668f98]
add esp, 0xc
mov dword [ecx + 0x7c], eax
mov eax, dword [0x10668f98]
mov ecx, dword [eax + 0x80]
mov eax, dword [eax + 0x7c]
mov dword [eax + ecx*4 - 4], 0
mov eax, dword [0x10668f98]
mov ecx, dword [eax + 0x80]
mov eax, dword [eax + 0x7c]
mov dword [eax + ecx*4 - 8], 0
jmp 0x1000ee42
mov ecx, edi
call fcn.10009fe0
mov esi, eax
mov byte [esi + 0x18], 0x3b
mov ecx, dword [0x106690a0]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x14]
mov byte [esi + 0x19], 8
cmp dword [ecx], 1
jne 0x10377d4d
mov byte [esi + 0x1a], 1
lea edx, [ecx + 8]
mov ecx, dword [0x10668f98]
call fcn.10006ae0
mov dword [esi + 8], eax
lea edx, [eax + eax*2]
mov eax, dword [0x10668f98]
mov ecx, dword [eax + 0x74]
mov eax, dword [eax + 0x80]
mov dword [ecx + edx*8 + 0x14], eax
mov eax, dword [0x10668f98]
inc dword [eax + 0x80]
mov eax, dword [0x10668f98]
test byte [eax + 0xc], 0x10
je 0x1000ee5d
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x1000ee5d
mov eax, dword [eax + 0x80]
push 0
shl eax, 2
push eax
push ecx
call sym.php5.dll__erealloc
mov ecx, dword [0x10668f98]
add esp, 0xc
mov dword [ecx + 0x7c], eax
mov eax, dword [0x10668f98]
mov ecx, dword [eax + 0x80]
mov eax, dword [eax + 0x7c]
mov dword [eax + ecx*4 - 4], 0
jmp 0x1000ee5d
mov al, byte [ecx]
mov byte [esi + 0x1a], al
cmp dword [ecx], 1
jne 0x10377d6d
lea edx, [ecx + 8]
mov ecx, dword [0x10668f98]
call fcn.10008bd0
mov dword [esi + 8], eax
jmp 0x1000ee5d
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
jmp 0x1000ee5d
add eax, 0x40
mov dword [0x10668f88], eax
push 0
shl eax, 2
push eax
push dword [0x10668f8c]
call sym.php5.dll__erealloc
add esp, 0xc
mov dword [0x10668f8c], eax
test eax, eax
je 0x1000eebd
jmp 0x1000ee7f
call fcn.10009fe0
mov word [eax + 0x18], 0x866
mov byte [eax + 0x1a], 8
jmp 0x1000eee0