•Arrays!main:
•push ebp
•mov ebp,esp
•sub esp,0x260 ; reserving arrayNI, array space
•push ebx
•push esi
•push edi
•lea
edi,[ebp-0x260] ;
filling local variables space
•mov ecx,0x98 ; with ‘cc’
pattern
•mov eax,0xcccccccc
•rep stosd
•mov dword ptr [ebp-0x19c],0x0 ; zeroing 1 array integer
(pipelining)
•mov ecx,0x31 ; zeroing 49 array integers
•xor eax,eax
•lea edi,[ebp-0x198]
•rep stosd
•nop
•mov dword ptr [Arrays!g_array (00428500)],0x1 ; g_array[0] = 1;
•mov dword ptr [Arrays!g_array+0x28
(00428528)],0x1 ;
&g_array[10] = 1;
•mov eax,[Arrays!g_array+0x28 (00428528)]
•add eax,[Arrays!g_array (00428500)]
•mov [Arrays!g_array+0x28 (00428528)],eax
•mov eax,[Arrays!g_array (00428500)]
•add eax,0x1
•mov [Arrays!g_array (00428500)],eax
•mov eax,[Arrays!g_array+0x28 (00428528)]
•imul eax,[Arrays!g_array (00428500)]
•mov [Arrays!g_array+0x28 (00428528)],eax
•nop
•