MAV писал(а):
но вот быстродействиерешаемо
------------ Дoбавленo в 11.12:
EcsTasY,
004060D4 /$ 53 push ebx
004060D5 |. 56 push esi
004060D6 |. 89C3 mov ebx, eax
004060D8 |. 51 push ecx
004060D9 |. 89D0 mov eax, edx ; ntdll.KiFastSystemCallRet
004060DB |. E8 5CD3FFFF call Project4.0040343C
004060E0 |. 50 push eax
004060E1 |. E8 76F4FFFF call Project4.0040555C
004060E6 |. 52 push edx ; ntdll.KiFastSystemCallRet
004060E7 |. 6A 09 push 9 ; /Arg2 = 00000009
004060E9 |. 53 push ebx ; |Arg1 = 7FFD8000
004060EA |. E8 79FEFFFF call Project4.00405F68 ; Project4.00405F68
004060EF |. 96 xchg eax, esi
004060F0 |. 85F6 test esi, esi
004060F2 |. 75 0E jnz short Project4.00406102
004060F4 |. 56 push esi ; /hDC = FFFFFFFF
004060F5 |. E8 72EEFFFF call <jmp.&gdi32.CreateCompatibleDC> ; CreateCompatibleDC
004060FA |. 89DA mov edx, ebx
004060FC |. 92 xchg eax, edx ; ntdll.KiFastSystemCallRet
004060FD |. E8 D6FEFFFF call Project4.00405FD8
00406102 |> 807B 49 01 cmp byte ptr ds:[ebx+49], 1
00406106 |. 74 02 je short Project4.0040610A
00406108 |. 31F6 xor esi, esi
0040610A |> 6A 09 push 9 ; |/Arg2 = 00000009
0040610C |. 53 push ebx ; ||Arg1 = 7FFD8000
0040610D |. E8 56FEFFFF call Project4.00405F68 ; |Project4.00405F68
00406112 |. 50 push eax ; |hDC = NULL
00406113 |. E8 CCEEFFFF call <jmp.&gdi32.GetTextExtentPoint32A> ; GetTextExtentPoint32A
00406118 |. 85F6 test esi, esi
0040611A |. 75 08 jnz short Project4.00406124
0040611C |. 31D2 xor edx, edx ; ntdll.KiFastSystemCallRet
0040611E |. 93 xchg eax, ebx
0040611F |. E8 B4FEFFFF call Project4.00405FD8
00406124 |> 5E pop esi ; kernel32.7C817067
00406125 |. 5B pop ebx ; kernel32.7C817067
00406126 . C3 ret
смени ось, поставь sp3