F
fd151711
Unregistered / Unconfirmed
GUEST, unregistred user!
0049FF40 >/> /55 push ebp
0049FF41 |. 8BEC mov ebp, esp
0049FF43 |. B8 44100000 mov eax, 1044
0049FF48 |. E8 63290C00 call _chkstk
0049FF4D |. 53 push ebx
0049FF4E |. 56 push esi
0049FF4F |. 57 push edi
0049FF50 |. 8B45 08 mov eax, [ebp+8]
0049FF53 |. 8945 FC mov [ebp-4], eax
0049FF56 |. 8B4D FC mov ecx, [ebp-4]
0049FF59 |. 8A55 0C mov dl, [ebp+C]
0049FF5C |. 8851 03 mov [ecx+3], dl
0049FF5F |. C685 FCEFFFFF>mov byte ptr [ebp-1004], 0
0049FF66 |. B9 FF030000 mov ecx, 3FF
0049FF6B |. 33C0 xor eax, eax
0049FF6D |. 8DBD FDEFFFFF lea edi, [ebp-1003]
0049FF73 |. F3:AB rep stos dword ptr es:[edi]
0049FF75 |. 66:AB stos word ptr es:[edi]
0049FF77 |. AA stos byte ptr es:[edi]
0049FF78 |. 68 00010000 push 100 ; /n = 100 (256.)
0049FF7D |. 6A 00 push 0 ; |c = 00
0049FF7F |. 8B45 FC mov eax, [ebp-4] ; |
0049FF82 |. 83C0 0D add eax, 0D ; |
0049FF85 |. 50 push eax ; |s
0049FF86 |. E8 E5220C00 call memset ; /memset
0049FF8B |. 83C4 0C add esp, 0C
0049FF8E |. 68 00100000 push 1000
0049FF93 |. 8D8D FCEFFFFF lea ecx, [ebp-1004]
0049FF99 |. 51 push ecx
0049FF9A |. 8B55 10 mov edx, [ebp+10]
0049FF9D |. 52 push edx ; /s
0049FF9E |. E8 BD2A0C00 call strlen ; /strlen
0049FFA3 |. 83C4 04 add esp, 4
0049FFA6 |. 50 push eax ; |StringSize
0049FFA7 |. 8B45 10 mov eax, [ebp+10] ; |
0049FFAA |. 50 push eax ; |StringToMap
0049FFAB |. 6A 00 push 0 ; |Options = 0
0049FFAD 68 EA040000 push 4EA
0049FFB2 |. FF15 0C7FD906 call [<&KERNEL32.MultiByteToWideChar>>; /MultiByteToWideChar
0049FFB8 |. 68 00010000 push 100 ; /n = 100 (256.)
0049FFBD |. 8D8D FCEFFFFF lea ecx, [ebp-1004] ; |
0049FFC3 |. 51 push ecx ; |src
0049FFC4 |. 8B55 FC mov edx, [ebp-4] ; |
0049FFC7 |. 83C2 0D add edx, 0D ; |
0049FFCA |. 52 push edx ; |dest
0049FFCB |. E8 601F0C00 call memcpy ; /memcpy
0049FFD0 |. 83C4 0C add esp, 0C
0049FFD3 |. 8B45 FC mov eax, [ebp-4]
0049FFD6 |. C680 0B010000>mov byte ptr [eax+10B], 0
0049FFDD |. 8B4D FC mov ecx, [ebp-4]
0049FFE0 |. C681 0C010000>mov byte ptr [ecx+10C], 0
0049FFE7 |. 8B55 FC mov edx, [ebp-4]
0049FFEA |. 83C2 0D add edx, 0D
0049FFED |. 52 push edx ; /s
0049FFEE |. E8 E82A0C00 call wcslen ; /wcslen
0049FFF3 |. 83C4 04 add esp, 4
0049FFF6 |. 8D4400 12 lea eax, [eax+eax+12]
0049FFFA |. 50 push eax
0049FFFB |. 6A 0D push 0D
0049FFFD |. 8B4D FC mov ecx, [ebp-4]
004A0000 |. 51 push ecx
004A0001 |. E8 7A26F6FF call 00402680
004A0006 |. 83C4 0C add esp, 0C
004A0009 |. 5F pop edi
004A000A |. 5E pop esi
004A000B |. 5B pop ebx
004A000C |. 8BE5 mov esp, ebp
004A000E |. 5D pop ebp
004A000F /. C3 retn
请问我想去掉其中的转换MultiByteToWideChar,应该怎么处理呢?
0049FF41 |. 8BEC mov ebp, esp
0049FF43 |. B8 44100000 mov eax, 1044
0049FF48 |. E8 63290C00 call _chkstk
0049FF4D |. 53 push ebx
0049FF4E |. 56 push esi
0049FF4F |. 57 push edi
0049FF50 |. 8B45 08 mov eax, [ebp+8]
0049FF53 |. 8945 FC mov [ebp-4], eax
0049FF56 |. 8B4D FC mov ecx, [ebp-4]
0049FF59 |. 8A55 0C mov dl, [ebp+C]
0049FF5C |. 8851 03 mov [ecx+3], dl
0049FF5F |. C685 FCEFFFFF>mov byte ptr [ebp-1004], 0
0049FF66 |. B9 FF030000 mov ecx, 3FF
0049FF6B |. 33C0 xor eax, eax
0049FF6D |. 8DBD FDEFFFFF lea edi, [ebp-1003]
0049FF73 |. F3:AB rep stos dword ptr es:[edi]
0049FF75 |. 66:AB stos word ptr es:[edi]
0049FF77 |. AA stos byte ptr es:[edi]
0049FF78 |. 68 00010000 push 100 ; /n = 100 (256.)
0049FF7D |. 6A 00 push 0 ; |c = 00
0049FF7F |. 8B45 FC mov eax, [ebp-4] ; |
0049FF82 |. 83C0 0D add eax, 0D ; |
0049FF85 |. 50 push eax ; |s
0049FF86 |. E8 E5220C00 call memset ; /memset
0049FF8B |. 83C4 0C add esp, 0C
0049FF8E |. 68 00100000 push 1000
0049FF93 |. 8D8D FCEFFFFF lea ecx, [ebp-1004]
0049FF99 |. 51 push ecx
0049FF9A |. 8B55 10 mov edx, [ebp+10]
0049FF9D |. 52 push edx ; /s
0049FF9E |. E8 BD2A0C00 call strlen ; /strlen
0049FFA3 |. 83C4 04 add esp, 4
0049FFA6 |. 50 push eax ; |StringSize
0049FFA7 |. 8B45 10 mov eax, [ebp+10] ; |
0049FFAA |. 50 push eax ; |StringToMap
0049FFAB |. 6A 00 push 0 ; |Options = 0
0049FFAD 68 EA040000 push 4EA
0049FFB2 |. FF15 0C7FD906 call [<&KERNEL32.MultiByteToWideChar>>; /MultiByteToWideChar
0049FFB8 |. 68 00010000 push 100 ; /n = 100 (256.)
0049FFBD |. 8D8D FCEFFFFF lea ecx, [ebp-1004] ; |
0049FFC3 |. 51 push ecx ; |src
0049FFC4 |. 8B55 FC mov edx, [ebp-4] ; |
0049FFC7 |. 83C2 0D add edx, 0D ; |
0049FFCA |. 52 push edx ; |dest
0049FFCB |. E8 601F0C00 call memcpy ; /memcpy
0049FFD0 |. 83C4 0C add esp, 0C
0049FFD3 |. 8B45 FC mov eax, [ebp-4]
0049FFD6 |. C680 0B010000>mov byte ptr [eax+10B], 0
0049FFDD |. 8B4D FC mov ecx, [ebp-4]
0049FFE0 |. C681 0C010000>mov byte ptr [ecx+10C], 0
0049FFE7 |. 8B55 FC mov edx, [ebp-4]
0049FFEA |. 83C2 0D add edx, 0D
0049FFED |. 52 push edx ; /s
0049FFEE |. E8 E82A0C00 call wcslen ; /wcslen
0049FFF3 |. 83C4 04 add esp, 4
0049FFF6 |. 8D4400 12 lea eax, [eax+eax+12]
0049FFFA |. 50 push eax
0049FFFB |. 6A 0D push 0D
0049FFFD |. 8B4D FC mov ecx, [ebp-4]
004A0000 |. 51 push ecx
004A0001 |. E8 7A26F6FF call 00402680
004A0006 |. 83C4 0C add esp, 0C
004A0009 |. 5F pop edi
004A000A |. 5E pop esi
004A000B |. 5B pop ebx
004A000C |. 8BE5 mov esp, ebp
004A000E |. 5D pop ebp
004A000F /. C3 retn
请问我想去掉其中的转换MultiByteToWideChar,应该怎么处理呢?