所以我有这个主要功能,它会产生很多奇怪的指令。我正在使用Visual Studio 2019,并且我处于调试模式,因此优化被禁用。这些指示在做什么?
int main()
{
00D340E0 push ebp
00D340E1 mov ebp,esp
00D340E3 sub esp,104h
00D340E9 push ebx
00D340EA push esi
00D340EB push edi
00D340EC lea edi,[ebp-104h]
00D340F2 mov ecx,41h
00D340F7 mov eax,0CCCCCCCCh
00D340FC rep stos dword ptr es:[edi]
00D340FE mov eax,dword ptr [__security_cookie (0D3A024h)]
00D34103 xor eax,ebp
00D34105 mov dword ptr [ebp-4],eax
00D34108 mov ecx,offset _842A6236_main@cpp (0D3C012h)
00D3410D call @__CheckForDebuggerJustMyCode@4 (0D31208h)
(the rest of the file...)