|
本帖最后由 SummerGull 于 2020-11-23 23:20 编辑
- 00451287 |. /0F87 D9000000 ja WindowsP.00451366
- 0045128D |. |0FB680 9C1345>movzx eax,byte ptr ds:[eax+0x45139C]
- 00451294 |.-|FF2485 881345>jmp dword ptr ds:[eax*4+0x451388]
- 0045129B |> |6A 02 push 0x2 ; /ControlID = 0x2; Case 1 of switch 00451283
- 0045129D |. |57 push edi ; |hWnd = 0024078A ('WindowsProject2',class='WINDOWSPROJECT2')
- 0045129E |. |FF15 74304500 call dword ptr ds:[<&USER32.GetDlgItem>] ; \GetDlgItem
- 004512A4 |. |8BF0 mov esi,eax
- 004512A6 |. |68 78314500 push WindowsP.00453178 ; /呀呀呀
- 004512AB |. |56 push esi ; |hWnd = 000A06A0 ('呀呀呀',class='Button',parent=0024078A)
- 004512AC |. |FF15 44304500 call dword ptr ds:[<&USER32.SetWindowTex>; \SetWindowTextW
- 004512B2 |. |56 push esi ; /hWnd = 000A06A0 ('呀呀呀',class='Button',parent=0024078A)
- 004512B3 |. |FF15 60304500 call dword ptr ds:[<&USER32.IsWindowEnab>; \IsWindowEnabled
- 004512B9 |. |F7D8 neg eax
- 004512BB |1BC0 sbb eax,eax
- 004512BD |. |40 inc eax
- 004512BE |. |50 push eax ; /Enable = TRUE
- 004512BF |. |56 push esi ; |hWnd = 000A06A0 ('呀呀呀',class='Button',parent=0024078A)
- 004512C0 |FF15 90304500 call dword ptr ds:[<&USER32.EnableWindow>; user32.EnableWindow
复制代码
在这里的 004512BB |1BC0 sbb eax,eax
有什么作用么? 带CF进位sbb减法 好像有没有都一个样子
我主要是想反汇编看看 Win32代码。 |
上一篇: 怎么编写下一篇: 程序编译不成功(小白):问题在哪里呢?
|