Function at 0x100260f0
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
cmp dword [esi + 4], 0
je 0x100262a8
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov eax, ecx
and eax, dword [esi + 4]
lea ebp, [eax*4]
mov eax, dword [esi + 0x1c]
mov edi, dword [eax + ebp]
test edi, edi
jne 0x10026240
cmp ebx, dword [0x106690c0]
jae 0x10026205
cmp ebx, dword [0x106690bc]
jb 0x10026205
cmp byte [esi + 0x24], 0
push 0x24
jne 0x10026320
call sym.php5.dll__emalloc
add esp, 4
mov edi, eax
mov dword [edi + 0x20], ebx
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
cmp ebx, 4
jne 0x10026268
mov eax, dword [esp + 0x2c]
lea ecx, [edi + 0xc]
mov eax, dword [eax]
mov dword [ecx], eax
mov dword [edi + 8], ecx
mov eax, dword [esp + 0x28]
mov dword [edi], eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + ebp]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
test eax, eax
jne 0x10026260
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x100261a5
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov eax, dword [sym.php5.dll_zend_block_interruptions]
test eax, eax
jne 0x100265c3
mov eax, dword [esi + 0x1c]
mov dword [eax + ebp], edi
mov eax, dword [esi + 0x18]
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], 0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100262a0
mov dword [eax + 0x10], edi
cmp dword [esi + 0x10], 0
mov dword [esi + 0x18], edi
je 0x10026298
mov eax, dword [sym.php5.dll_zend_unblock_interruptions]
test eax, eax
jne 0x100265ca
mov eax, dword [esi]
inc dword [esi + 8]
cmp dword [esi + 8], eax
ja 0x1002634e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x24]
add eax, 0x24
cmp byte [esi + 0x24], 0
push eax
jne 0x100264d3
call sym.php5.dll__emalloc
add esp, 4
mov edi, eax
push dword [esp + 0x24]
lea eax, [edi + 0x24]
push ebx
push eax
mov dword [edi + 0x20], eax
call sub.MSVCR110.dll_memcpy
add esp, 0xc
jmp 0x10026158
mov edx, dword [edi + 0x20]
cmp edx, ebx
je 0x100264c1
cmp dword [edi], ecx
je 0x1002640b
mov edi, dword [edi + 0x18]
test edi, edi
je 0x10026127
jmp 0x10026240
mov dword [eax + 0x1c], edi
jmp 0x10026198
cmp byte [esi + 0x24], 0
push ebx
jne 0x10026338
call sym.php5.dll__emalloc
add esp, 4
push ebx
push dword [esp + 0x30]
mov dword [edi + 8], eax
push eax
call sub.MSVCR110.dll_memcpy
add esp, 0xc
mov dword [edi + 0xc], 0
jmp 0x1002617a
mov dword [esi + 0x10], edi
jmp 0x100261e0
mov dword [esi + 0x14], edi
jmp 0x100261d3
cmp byte [esi + 0x24], 0
jne 0x10026506
mov eax, dword [sym.php5.dll_zend_block_interruptions]
mov ebx, dword [esi]
test eax, eax
jne 0x10026599
xor eax, eax
mov ecx, ebx
shld eax, ecx, 2
shl ecx, 2
test eax, eax
jne 0x10397c2a
cmp ecx, 0xffffffff
ja 0x10397c2a
push ecx
call sym.php5.dll__emalloc
mov edi, eax
add esp, 4
test edi, edi
je 0x10397c45
lea eax, [ebx*4]
push eax
push 0
push edi
call sub.MSVCR110.dll_memset
mov eax, dword [sym.php5.dll_zend_unblock_interruptions]
add esp, 0xc
test eax, eax
jne 0x100265a0
mov ebx, edi
mov eax, dword [esi]
dec eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 4], eax
jmp 0x10026105
call dword [sym.imp.MSVCR110.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x10026155
jmp 0x10397c94
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
test eax, eax
jne 0x1002627b
jmp 0x10397c94
test eax, 0x7fffffff
jbe 0x100261fb
shl eax, 3
cmp byte [esi + 0x24], 0
push eax
jne 0x100264eb
mov ecx, dword [0x10660270]
mov edx, dword [esi + 0x1c]
cmp dword [ecx], 0
je 0x10397cfe
call fcn.1000d2d0
add esp, 4
mov edi, eax
mov eax, dword [sym.php5.dll_zend_block_interruptions]
test eax, eax
jne 0x100265d1
shl dword [esi], 1
cmp dword [esi + 8], 0
mov ecx, dword [esi]
mov dword [esi + 0x1c], edi
lea eax, [ecx - 1]
mov dword [esi + 4], eax
je 0x100263ed
lea eax, [ecx*4]
push eax
push 0
push edi
call sub.MSVCR110.dll_memset
mov ecx, dword [esi + 0x14]
add esp, 0xc
test ecx, ecx
je 0x100263ed
lea ecx, [ecx]
mov eax, dword [ecx]
and eax, dword [esi + 4]
lea edx, [eax*4]
mov eax, dword [esi + 0x1c]
mov eax, dword [edx + eax]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], 0
test eax, eax
jne 0x10026406
mov eax, dword [esi + 0x1c]
mov dword [edx + eax], ecx
mov ecx, dword [ecx + 0x10]
test ecx, ecx
jne 0x100263c0
mov eax, dword [sym.php5.dll_zend_unblock_interruptions]
test eax, eax
je 0x100261fb
call eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov dword [eax + 0x1c], ecx
jmp 0x100263e0
mov eax, dword [esp + 0x24]
cmp dword [edi + 4], eax
jne 0x10026253
mov esi, dword [esp + 0x1c]
sub eax, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
jb 0x10026453
lea esp, [esp]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx]
cmp eax, dword [ecx]
mov ecx, dword [esp + 0x28]
jne 0x10026458
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], 4
add edx, 4
sub eax, 4
mov dword [esp + 0x14], eax
jae 0x10026430
cmp eax, 0xfffffffc
je 0x100264b7
mov esi, dword [esp + 0x10]
mov al, byte [edx]
cmp al, byte [esi]
mov esi, dword [esp + 0x1c]
jne 0x100265b2
cmp dword [esp + 0x14], 0xfffffffd
je 0x100264b7
mov ebx, dword [esp + 0x10]
mov al, byte [edx + 1]
cmp al, byte [ebx + 1]
mov ebx, dword [esp + 0x20]
jne 0x100265b2
cmp dword [esp + 0x14], 0xfffffffe
je 0x100264b7
mov ecx, dword [esp + 0x10]
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
mov ecx, dword [esp + 0x28]
jne 0x100265b2
cmp dword [esp + 0x14], 0xffffffff
je 0x100264b7
mov al, byte [edx + 3]
mov edx, dword [esp + 0x10]
cmp al, byte [edx + 3]
jne 0x100265b2
xor eax, eax
test eax, eax
jne 0x10026253
test byte [esp + 0x38], 2
je 0x10026535
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret
call dword [sym.imp.MSVCR110.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x10026221
jmp 0x10397c94
push dword [esi + 0x1c]
call dword [sym.imp.MSVCR110.dll_realloc]
mov edi, eax
add esp, 8
test edi, edi
jne 0x10026383
jmp 0x10397c94
mov edi, dword [esi]
push 0
push 4
push edi
call sym.php5.dll__safe_malloc
lea ecx, [edi*4]
push ecx
mov ebx, eax
push 0
push ebx
call sub.MSVCR110.dll_memset
mov eax, dword [esi]
add esp, 0x18
dec eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 4], eax
jmp 0x10026105
mov eax, dword [sym.php5.dll_zend_block_interruptions]
test eax, eax
jne 0x100265bc
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1002654d
push dword [edi + 8]
call eax
add esp, 4
mov ebx, dword [esp + 0x30]
mov eax, dword [edi + 8]
cmp ebx, 4
jne 0x10397c79
lea ebx, [edi + 0xc]
cmp eax, ebx
jne 0x10397c57
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [ebx], eax
mov dword [edi + 8], ebx
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x10026580
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov eax, dword [sym.php5.dll_zend_unblock_interruptions]
test eax, eax
je 0x100261fb
call eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
call eax
jmp 0x100262c1
call eax
mov eax, dword [esi]
mov ebx, edi
dec eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 4], eax
jmp 0x10026105
sbb eax, eax
or eax, 1
jmp 0x100264b9
call eax
jmp 0x1002653e
call eax
jmp 0x100261b2
call eax
jmp 0x100261ed
call eax
jmp 0x10026390
push 0
push 4
push ebx
push str.Possible_integer_overflow_in_memory_allocation___zu___zu___zu_
push 1
call sym.php5.dll_zend_error
add esp, 0x14
xor ecx, ecx
jmp 0x100262dd
mov eax, dword [sym.php5.dll_zend_unblock_interruptions]
test eax, eax
je 0x10397c50
call eax
xor ebx, ebx
jmp 0x10026312
cmp byte [esi + 0x24], 0
push eax
je 0x10397c6c
call dword [sym.imp.MSVCR110.dll_free]
add esp, 4
jmp 0x10026568
call sym.php5.dll__efree
add esp, 4
jmp 0x10026568
lea ebp, [edi + 0xc]
cmp eax, ebp
jne 0x10397cc5
cmp byte [esi + 0x24], 0
push ebx
je 0x10397cb4
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
test eax, eax
jne 0x10397cbc
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]
call sym.php5.dll__emalloc
add esp, 4
mov dword [ebp], 0
jmp 0x10397ce8
cmp byte [esi + 0x24], 0
je 0x10397cdc
push ebx
push eax
call dword [sym.imp.MSVCR110.dll_realloc]
add esp, 8
test eax, eax
jne 0x10397ce8
jmp 0x10397c94
push 0
push ebx
push eax
call sym.php5.dll__erealloc
add esp, 0xc
push ebx
push dword [esp + 0x30]
mov dword [edi + 8], eax
push eax
call sub.MSVCR110.dll_memcpy
add esp, 0xc
jmp 0x10026573
mov eax, dword [ecx + 0xc]
push edx
call eax
add esp, 8
jmp 0x10026381