2010년 1월 9일 토요일

cmdparam

--- c:\documents and settings\pc\바탕 화면\apiprj\09jang\cmdparam\cmdparam.cpp -----------------------------------------------------------
1: #include
2:
3: int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance
4: ,LPSTR lpszCmdParam,int nCmdShow)
5: {
00401010 push ebp
00401011 mov ebp,esp
00401013 sub esp,40h
00401016 push ebx
00401017 push esi
00401018 push edi
00401019 lea edi,[ebp-40h]
0040101C mov ecx,10h
00401021 mov eax,0CCCCCCCCh
00401026 rep stos dword ptr [edi]
6: MessageBox(NULL, lpszCmdParam, "CmdParam", MB_OK);
00401028 mov esi,esp
0040102A push 0
0040102C push offset string "CmdParam" (0042001c)
00401031 mov eax,dword ptr [ebp+10h]
00401034 push eax
00401035 push 0
00401037 call dword ptr [__imp__MessageBoxA@16 (00425294)]
0040103D cmp esi,esp
0040103F call __chkesp (00401080)
7: return 0;
00401044 xor eax,eax
8: }
00401046 pop edi
00401047 pop esi
00401048 pop ebx
00401049 add esp,40h
0040104C cmp ebp,esp
0040104E call __chkesp (00401080)
00401053 mov esp,ebp
00401055 pop ebp
00401056 ret 10h
--- No source file -------------------------------------------------------------------------------------

댓글 없음:

댓글 쓰기