OllyDBG script
The specific OllyDBG script reference links are as follows:
Https://www.52pojie.cn/forum.php?mod=viewthread&tid=421750
The script to set function breakpoints through specific code snippets such as sub esp and xx is as follows:
Var xmov xmel 10001003mov eip,xstart:findop eip,#83ec??#cmp $RESULT, 0 je endbp $RESULTmov eip,$RESULTadd eip,3jmp startend:log "finish" mov eip,775a000d
Select OD's script from the menu below to run it:
The execution result is similar to the following: