Function at 0x100052f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test byte [esi + 0x14], 0x80
mov edi, dword [ebp + 0xc]
jne 0x10379f2d
test byte [edi + 0x14], 0x40
jne 0x10379f51
cmp dword [esi + 0x104], 0
mov dword [esi + 0xc], edi
jne 0x1000532c
mov eax, dword [edi + 0x104]
mov dword [esi + 0x104], eax
cmp dword [esi + 0x108], 0
jne 0x10005341
mov eax, dword [edi + 0x108]
mov dword [esi + 0x108], eax
push edi
push esi
call sym.php5.dll_zend_do_inherit_interfaces
mov eax, dword [edi + 0x9c]
pop ecx
pop ecx
test eax, eax
je 0x100053c0
mov ebx, dword [esi + 0x9c]
add ebx, eax
mov eax, ebx
shl eax, 2
cmp byte [esi], 1
je 0x100055ac
push 0
push eax
push dword [esi + 0x68]
call sym.php5.dll__erealloc
add esp, 0xc
cmp dword [esi + 0x9c], 0
mov dword [esi + 0x68], eax
jne 0x100054ac
xor edx, edx
cmp dword [edi + 0x9c], edx
jle 0x100053b4
mov eax, dword [edi + 0x68]
mov ecx, dword [esi + 0x68]
mov eax, dword [eax + edx*4]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 0x68]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x100053ab
inc dword [eax + 8]
inc edx
cmp edx, dword [edi + 0x9c]
jl 0x10005392
mov eax, dword [edi + 0x9c]
add dword [esi + 0x9c], eax
mov al, byte [esi]
cmp byte [edi], al
jne 0x10005561
mov ecx, dword [edi + 0xa0]
test ecx, ecx
jne 0x100054c6
lea edx, [esi + 0x40]
mov eax, dword [edx + 0x14]
mov dword [edx + 0x10], eax
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10005411
mov ecx, dword [ecx + 8]
cmp dword [ecx + 0x1c], esi
jne 0x10005402
test byte [ecx], 1
jne 0x100054bb
mov eax, dword [edi + 0x9c]
add dword [ecx + 0x10], eax
mov eax, dword [esi + 0x50]
test eax, eax
je 0x100053e1
mov eax, dword [eax + 0x10]
mov dword [esi + 0x50], eax
jmp 0x100053e1
test byte [esi], 1
push esi
push 0x10005fb0
mov ecx, fcn.10067140
mov eax, fcn.10006190
cmovne eax, ecx
push 0x20
push eax
lea eax, [edi + 0x40]
push eax
push edx
call sym.php5.dll_zend_hash_merge_ex
push 0
push 4
push 0
push sym.php5.dll_zval_add_ref
lea eax, [edi + 0x74]
push eax
lea eax, [esi + 0x74]
push eax
call sym.php5.dll__zend_hash_merge
push esi
push 0x10005ed0
push 0x94
push 0x10005f50
lea eax, [edi + 0x18]
push eax
lea eax, [esi + 0x18]
push eax
call sym.php5.dll_zend_hash_merge_ex
add esp, 0x48
mov ecx, esi
call fcn.10004120
mov eax, dword [esi + 0x14]
test al, 0x10
jne 0x1000557b
test eax, 0x480000
jne 0x1000548c
mov ecx, esi
call fcn.10004030
mov eax, dword [edi + 0x14]
and eax, 0x800000
or dword [esi + 0x14], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x68]
dec ebx
mov eax, ebx
sub eax, edx
mov eax, dword [ecx + eax*4]
mov dword [ecx + ebx*4], eax
mov edx, dword [edi + 0x9c]
cmp ebx, edx
jg 0x1000549e
jmp 0x10005388
mov eax, dword [edi + 0xa0]
jmp 0x100053ff
mov ebx, dword [esi + 0xa0]
add ebx, ecx
cmp al, 1
mov eax, ebx
je 0x1037a077
push 0
shl eax, 2
push eax
push dword [esi + 0x6c]
call sym.php5.dll__erealloc
add esp, 0xc
cmp dword [esi + 0xa0], 0
mov dword [esi + 0x6c], eax
jne 0x1000559d
xor ebx, ebx
cmp dword [edi + 0xa0], ebx
jle 0x10005541
mov eax, dword [edi + 0x6c]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0xd], 0
jne 0x10005523
cmp dword [eax + 8], 1
ja 0x1037a093
mov eax, dword [edi + 0x6c]
mov eax, dword [eax + ebx*4]
mov byte [eax + 0xd], 1
mov eax, dword [edi + 0x6c]
mov ecx, dword [esi + 0x6c]
mov eax, dword [eax + ebx*4]
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 0x6c]
mov eax, dword [eax + ebx*4]
inc dword [eax + 8]
inc ebx
cmp ebx, dword [edi + 0xa0]
jl 0x10005503
mov eax, dword [edi + 0xa0]
add dword [esi + 0xa0], eax
cmp byte [esi], 2
jne 0x100053d8
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x70], eax
jmp 0x100053d8
push edi
call sym.php5.dll_zend_update_class_constants
mov eax, dword [edi + 0xa0]
pop ecx
test eax, eax
je 0x100053d8
jmp 0x10379f8a
cmp byte [esi], 1
jne 0x1000547e
or eax, 0x20
mov dword [esi + 0x14], eax
jmp 0x1000548c
mov ecx, dword [esi + 0x6c]
dec ebx
mov eax, ebx
sub eax, edx
mov eax, dword [ecx + eax*4]
mov dword [ecx + ebx*4], eax
mov edx, dword [edi + 0xa0]
cmp ebx, edx
jg 0x1000558f
jmp 0x100054f9
push eax
push dword [esi + 0x68]
call dword [sym.imp.MSVCR110.dll_realloc]
pop ecx
pop ecx
test eax, eax
jne 0x10005378
jmp 0x10379f6b
test byte [edi + 0x14], 0x80
jne 0x1000530a
push dword [edi + 4]
push dword [esi + 4]
push str.Interface__s_may_not_inherit_from_class___s_
push 0x40
call sym.php5.dll_zend_error
add esp, 0x10
jmp 0x1000530a
push dword [edi + 4]
push dword [esi + 4]
push str.Class__s_may_not_inherit_from_final_class___s_
push 0x40
call sym.php5.dll_zend_error
add esp, 0x10
jmp 0x10005314
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]
pop ecx
pop ecx
push 1
call dword [sym.imp.MSVCR110.dll_exit]
mov ebx, dword [esi + 0xa0]
add ebx, eax
mov eax, ebx
push 0
shl eax, 2
push eax
push dword [esi + 0x6c]
call sym.php5.dll__erealloc
add esp, 0xc
cmp dword [esi + 0xa0], 0
mov dword [esi + 0x6c], eax
jne 0x10379fc1
jmp 0x10379fcb
mov ecx, dword [esi + 0x6c]
dec ebx
mov eax, ebx
sub eax, edx
mov eax, dword [ecx + eax*4]
mov dword [ecx + ebx*4], eax
mov edx, dword [edi + 0xa0]
cmp ebx, edx
jg 0x10379fb3
xor ebx, ebx
cmp dword [edi + 0xa0], ebx
jle 0x1037a066
mov eax, dword [edi + 0x70]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0xd], 0
jne 0x1037a044
cmp dword [eax + 8], 1
jbe 0x1037a03a
dec dword [eax + 8]
push 0x18
call sym.php5.dll__emalloc
and dword [eax + 0x10], 0
pop ecx
mov ecx, dword [edi + 0x70]
mov dword [esp + 0xc], eax
mov edx, dword [ecx + ebx*4]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov edx, eax
mov dword [edx + 4], ecx
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx + ebx*4]
mov al, byte [eax + 0xc]
mov byte [edx + 0xc], al
mov dword [edx + 8], 1
mov byte [edx + 0xd], 0
mov eax, dword [edi + 0x70]
mov dword [eax + ebx*4], edx
cmp byte [edx + 0xc], 3
jbe 0x1037a03a
push edx
call sym.php5.dll__zval_copy_ctor_func
pop ecx
mov eax, dword [edi + 0x70]
mov eax, dword [eax + ebx*4]
mov byte [eax + 0xd], 1
mov eax, dword [edi + 0x70]
mov ecx, dword [esi + 0x6c]
mov eax, dword [eax + ebx*4]
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 0x6c]
mov eax, dword [eax + ebx*4]
inc dword [eax + 8]
inc ebx
cmp ebx, dword [edi + 0xa0]
jl 0x10379fd9
mov eax, dword [edi + 0xa0]
add dword [esi + 0xa0], eax
jmp 0x10005556
shl eax, 2
push eax
push dword [esi + 0x6c]
call dword [sym.imp.MSVCR110.dll_realloc]
pop ecx
pop ecx
test eax, eax
jne 0x100054e9
jmp 0x10379f6b
dec dword [eax + 8]
push 0x18
call sym.php5.dll__emalloc
and dword [eax + 0x10], 0
pop ecx
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0xc], eax
mov edx, dword [ecx + ebx*4]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov edx, eax
mov dword [edx + 4], ecx
mov ecx, dword [edi + 0x6c]
mov eax, dword [ecx + ebx*4]
mov al, byte [eax + 0xc]
mov byte [edx + 0xc], al
mov dword [edx + 8], 1
mov byte [edx + 0xd], 0
mov eax, dword [edi + 0x6c]
mov dword [eax + ebx*4], edx
cmp byte [edx + 0xc], 3
jbe 0x10005519
push edx
call sym.php5.dll__zval_copy_ctor_func
pop ecx
jmp 0x10005519