Function at 0x1004ad00
Capabilities:
Hash data using djb2
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ebx
inc ecx
push esi
mov esi, 0x1505
push edi
mov dword [esp + 0x20], ecx
mov ebx, ecx
mov edi, edx
mov dword [esp + 0x10], esi
cmp ecx, 8
jb switch.0x1004adb4
mov eax, ecx
shr eax, 3
mov dword [esp + 0x1c], eax
movsx eax, byte [edi]
mov ecx, esi
shl ecx, 5
add ecx, esi
add ecx, eax
movsx eax, byte [edi + 1]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [edi + 2]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [edi + 3]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [edi + 4]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [edi + 5]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [edi + 6]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [edi + 7]
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, eax
add edi, 8
sub ebx, 8
dec dword [esp + 0x1c]
jne 0x1004ad36
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], esi
jmp dword [ebx*4 + 0x1004b308]
mov eax, esi
shl esi, 5
add esi, eax
movsx eax, byte [edi]
add esi, eax
inc edi
mov eax, esi
shl esi, 5
add esi, eax
movsx eax, byte [edi]
add esi, eax
inc edi
mov eax, esi
shl esi, 5
add esi, eax
movsx eax, byte [edi]
add esi, eax
inc edi
mov eax, esi
shl esi, 5
add esi, eax
movsx eax, byte [edi]
add esi, eax
inc edi
mov eax, esi
shl esi, 5
add esi, eax
movsx eax, byte [edi]
add esi, eax
inc edi
mov eax, esi
shl esi, 5
add esi, eax
movsx eax, byte [edi]
add esi, eax
inc edi
mov eax, esi
shl esi, 5
add esi, eax
movsx eax, byte [edi]
add esi, eax
mov dword [esp + 0x10], esi
mov ebx, dword [ebp + 0x18]
test ebx, 0x700
je 0x1004b156
mov edi, dword [ebp + 8]
lea eax, [edi + 0x40]
mov dword [esp + 0x24], eax
test bl, 1
jne 0x1004b0e7
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x1c]
and ecx, esi
mov ecx, dword [eax + ecx*4]
test ecx, ecx
jne 0x1004b0a0
mov eax, dword [edi + 0x9c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], eax
inc eax
mov dword [edi + 0x9c], eax
shl eax, 2
cmp byte [edi], 1
push eax
je 0x1004b1ab
mov ecx, dword [0x10660270]
mov edx, dword [edi + 0x68]
cmp dword [ecx], 0
je 0x103717a5
call fcn.1000d2d0
add esp, 4
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x68]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], edx
test byte [edi], 1
jne 0x1004b17c
mov eax, ebx
and eax, 0x700
cmp eax, 0x100
je 0x1004b076
cmp eax, 0x200
jne 0x1004b0c4
movsx eax, byte [edi]
and eax, 1
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 1
push 0x10546c1c
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
call sym.php5.dll_zend_mangle_property_name
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
add esp, 0x1c
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], eax
inc eax
push 0
push eax
push edi
mov dword [esp + 0x24], eax
call dword [sym.php5.dll_zend_new_interned_string]
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x1004af3a
mov ecx, dword [ebp + 8]
cmp byte [ecx], 2
jne 0x1004b19c
mov ecx, dword [0x10660270]
cmp dword [ecx], 0
je 0x103717da
mov edx, edi
call fcn.10039af0
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
test ebx, 0x100
jne 0x1004b09b
mov ebx, dword [esp + 0x18]
mov edx, 0x1505
cmp ebx, 8
jb switch.0x1004afd4
mov esi, ebx
shr esi, 3
lea ecx, [ecx]
movsx eax, byte [edi]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [edi + 1]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [edi + 2]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [edi + 3]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [edi + 4]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [edi + 5]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
movsx eax, byte [edi + 6]
mov ecx, edx
shl ecx, 5
add ecx, edx
add ecx, eax
movsx eax, byte [edi + 7]
mov edx, ecx
shl edx, 5
add edx, ecx
add edx, eax
add edi, 8
sub ebx, 8
dec esi
jne 0x1004af60
mov esi, dword [esp + 0x10]
jmp dword [ebx*4 + 0x1004b328]
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [edi]
add edx, eax
inc edi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [edi]
add edx, eax
inc edi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [edi]
add edx, eax
inc edi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [edi]
add edx, eax
inc edi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [edi]
add edx, eax
inc edi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [edi]
add edx, eax
inc edi
mov eax, edx
shl edx, 5
add edx, eax
movsx eax, byte [edi]
add edx, eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x20]
push 1
push 0
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
push 0x20
mov dword [esp + 0x50], eax
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x34]
mov dword [esp + 0x4c], edx
push dword [ebp + 0xc]
push dword [esp + 0x40]
call sym.php5.dll__zend_hash_quick_add_or_update
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x106690c0]
jae 0x1004b161
cmp eax, dword [0x106690bc]
jb 0x1004b161
mov edi, eax
mov eax, dword [ebp + 0x10]
jmp 0x1004aeee
mov edx, esi
jmp case.0x1004afd4.0
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x14], eax
cmp eax, edx
je 0x1004b29a
cmp dword [ecx], esi
je 0x1004b1d6
mov ecx, dword [ecx + 0x18]
test ecx, ecx
je 0x1004ae4e
jmp 0x1004b0a0
cmp eax, 0x400
jne 0x103717c7
movsx eax, byte [edi]
and eax, 1
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + 8]
push dword [edi + 4]
jmp 0x1004aed4
lea edx, [esp + 0x1c]
push edx
mov edx, dword [ebp + 0xc]
push esi
push ecx
push edx
push eax
call sym.php5.dll_zend_hash_quick_find
add esp, 0x14
test eax, eax
je 0x103716a3
mov eax, dword [edi + 0xa0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], eax
inc eax
mov dword [edi + 0xa0], eax
shl eax, 2
cmp byte [edi], 1
je 0x10371736
push 0
push eax
push dword [edi + 0x6c]
call sym.php5.dll__erealloc
add esp, 0xc
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x6c]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x14]
mov dword [eax + ecx*4], edx
cmp byte [edi], 2
jne 0x1004ae9a
mov eax, dword [edi + 0x6c]
mov dword [edi + 0x70], eax
jmp 0x1004ae9a
or ebx, 0x100
jmp 0x1004ae28
test byte [edi], 1
push dword [ebp + 0x10]
push eax
jne 0x1004b1c4
call sym.php5.dll__estrndup
mov edi, eax
mov eax, dword [ebp + 0x10]
add esp, 8
jmp 0x1004aeee
mov al, byte [edx + 0xc]
cmp al, 4
jb 0x1004aea3
cmp al, 5
jbe 0x103717b3
cmp al, 7
jne 0x1004aea3
jmp 0x103717b3
push edi
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
jmp 0x1004af32
push dword [edi + 0x68]
call dword [sym.imp.MSVCR110.dll_realloc]
add esp, 8
test eax, eax
jne 0x1004ae8a
jmp 0x1037174b
call sym.php5.dll_zend_strndup
mov edi, eax
mov eax, dword [ebp + 0x10]
add esp, 8
jmp 0x1004aeee
mov eax, dword [esp + 0x20]
cmp dword [ecx + 4], eax
jne 0x1004b0b7
mov esi, dword [esp + 0x10]
sub eax, 4
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
jb 0x1004b221
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x1004b226
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 4
mov esi, dword [esp + 0x10]
add eax, 4
sub dword [esp + 0x1c], 4
mov dword [esp + 0x14], eax
jae 0x1004b1f8
mov eax, dword [esp + 0x1c]
cmp eax, 0xfffffffc
je 0x1004b290
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov al, byte [eax]
cmp al, byte [esi]
mov esi, dword [esp + 0x10]
jne 0x1004b2f4
cmp dword [esp + 0x1c], 0xfffffffd
je 0x1004b290
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov al, byte [eax + 1]
cmp al, byte [esi + 1]
mov esi, dword [esp + 0x10]
jne 0x1004b2f4
cmp dword [esp + 0x1c], 0xfffffffe
je 0x1004b290
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov al, byte [eax + 2]
cmp al, byte [edi + 2]
mov edi, dword [ebp + 8]
jne 0x1004b2f4
cmp dword [esp + 0x1c], 0xffffffff
je 0x1004b290
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov al, byte [eax + 3]
cmp al, byte [esi + 3]
mov esi, dword [esp + 0x10]
jne 0x1004b2f4
xor eax, eax
test eax, eax
jne 0x1004b0b7
mov ecx, dword [ecx + 8]
test byte [ecx], 1
jne 0x1004ae4e
mov ecx, dword [ecx + 0x10]
mov eax, dword [edi + 0x68]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x38], ecx
dec dword [eax + 8]
mov dword [esp + 0x1c], eax
je 0x1037176b
cmp dword [eax + 8], 1
jne 0x1004b2ce
mov byte [eax + 0xd], 0
mov cl, byte [eax + 0xc]
cmp cl, 4
je 0x1004b2fb
cmp cl, 5
je 0x1004b2fb
push 2
push esi
push dword [esp + 0x28]
lea eax, [edi + 0x40]
push edx
push eax
call sym.php5.dll_zend_hash_del_key_or_index
add esp, 0x14
jmp 0x1004ae8d
sbb eax, eax
or eax, 1
jmp 0x1004b292
push eax
call sym.php5.dll_gc_zval_possible_root
jmp 0x1037179a
mov ecx, dword [esp + 0x1c]
test byte [ecx], 1
je 0x1004b103
mov ecx, dword [ecx + 0x10]
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x38], ecx
dec dword [eax + 8]
mov dword [esp + 0x1c], eax
jne 0x103716fb
test dword [eax + 0x10], 0xfffffffc
je 0x103716e0
push eax
call sym.php5.dll_gc_remove_zval_from_buffer
mov eax, dword [esp + 0x20]
add esp, 4
cmp byte [eax + 0xc], 3
jbe 0x103716f3
push eax
call sym.php5.dll__zval_dtor_func
mov eax, dword [esp + 0x20]
add esp, 4
push eax
call sym.php5.dll__efree
jmp 0x10371718
cmp dword [eax + 8], 1
jne 0x10371705
mov byte [eax + 0xd], 0
mov cl, byte [eax + 0xc]
cmp cl, 4
je 0x10371712
cmp cl, 5
jne 0x1037171b
push eax
call sym.php5.dll_gc_zval_possible_root
add esp, 4
push 2
push esi
push dword [esp + 0x28]
lea eax, [edi + 0x40]
push dword [ebp + 0xc]
push eax
call sym.php5.dll_zend_hash_del_key_or_index
add esp, 0x14
jmp 0x1004b135
push eax
push dword [edi + 0x6c]
call dword [sym.imp.MSVCR110.dll_realloc]
add esp, 8
test eax, eax
jne 0x1004b132
push str.Out_of_memory_n
call dword [sym.imp.MSVCR110.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR110.dll_fprintf]
add esp, 8
push 1
call dword [sym.imp.MSVCR110.dll_exit]
test dword [eax + 0x10], 0xfffffffc
je 0x10371781
push eax
call sym.php5.dll_gc_remove_zval_from_buffer
mov eax, dword [esp + 0x20]
add esp, 4
cmp byte [eax + 0xc], 3
jbe 0x10371794
push eax
call sym.php5.dll__zval_dtor_func
mov eax, dword [esp + 0x20]
add esp, 4
push eax
call sym.php5.dll__efree
mov edx, dword [ebp + 0xc]
add esp, 4
jmp 0x1004b2db
mov eax, dword [ecx + 0xc]
push edx
call eax
add esp, 8
jmp 0x1004ae8a
push str.Internal_zvals_cant_be_arrays__objects_or_resources
push 0x10
call sym.php5.dll_zend_error
add esp, 8
jmp 0x1004aea3
mov edi, dword [esp + 0x30]
mov dword [ebp + 0x10], edi
mov edi, dword [esp + 0x2c]
mov eax, dword [ebp + 0x10]
jmp 0x1004aef6
mov eax, dword [ecx + 8]
push edi
call eax
jmp 0x1004b1a3