0x53, //1 save ebx on stack 0x57, //1 save edi on stack 0x56, //1 save esi on stack 0xBF, 0x40, 0x00, 0x014, 0x07, //5 index counter_position to write beginns start address +0x04 0x83, 0x3f, 0x08, //3 compare for jump (counterlimit 7) 0x72, 0x06, //2 jump short over reset 0xC7, 0x07, 0x00, 0x00, 0x00, 0x00, //6 rest counter 0xBE, 0x44, 0x00, 0x14, 0x07, //5 load array base_position to write beginns start address +0x14 0x8B, 0xDF, //2 save index counter address 0x8B, 0x3F, //2 load counter value 0x89, 0x04, 0xBE, //3 copy eax to the array at index.