CODE:00406D58 sub_406D58 proc near ; CODE XREF: sub_406D94+44p
CODE:00406D58 ; sub_406D94+55p ...
CODE:00406D58
CODE:00406D58 Buffer = _MEMORY_BASIC_INFORMATION ptr -1Ch
CODE:00406D58
CODE:00406D58 push ebx
CODE:00406D59 push esi
CODE:00406D5A add esp, 0FFFFFFE4h
CODE:00406D5D mov esi, edx
CODE:00406D5F mov ebx, eax
CODE:00406D61 mov eax, esp
CODE:00406D63 xor ecx, ecx
CODE:00406D65 mov edx, 1Ch
CODE:00406D6A call sub_402730
CODE:00406D6F push 1Ch ; dwLength
CODE:00406D71 lea eax, [esp+20h+Buffer]
CODE:00406D75 push eax ; lpBuffer
CODE:00406D76 push ebx ; lpAddress
CODE:00406D77 call VirtualQuery
CODE:00406D7C mov eax, [esp+1Ch+Buffer.RegionSize]
CODE:00406D80 mov [esi], eax
CODE:00406D82 cmp [esp+1Ch+Buffer.Protect], 2
CODE:00406D87 setz al
CODE:00406D8A xor al, 1
CODE:00406D8C add esp, 1Ch
CODE:00406D8F pop esi
CODE:00406D90 pop ebx
CODE:00406D91 retn
CODE:00406D91 sub_406D58 endp
CODE:00402730 sub_402730 proc near ; CODE XREF: StartAddress+2E5p
CODE:00402730 ; sub_406D58+12p ...
CODE:00402730 push edi
CODE:00402731 mov edi, eax
CODE:00402733 mov ch, cl
CODE:00402735 mov eax, ecx
CODE:00402737 shl eax, 10h
CODE:0040273A mov ax, cx
CODE:0040273D mov ecx, edx
CODE:0040273F sar ecx, 2
CODE:00402742 js short loc_40274D
CODE:00402744 rep stosd
CODE:00402746 mov ecx, edx
CODE:00402748 and ecx, 3
CODE:0040274B rep stosb
CODE:0040274D
CODE:0040274D loc_40274D: ; CODE XREF: sub_402730+12j
CODE:0040274D pop edi
CODE:0040274E retn
CODE:0040274E sub_402730 endp
我看了很久不知道其作用是什么?有高手能用delphi给我描述下吗?谢谢
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课