For those who want to tweak it with poasm:.code
FindPicUrl PROC
mov qword ptr [r8], 0
mov qword ptr [rdx], 0
jmp ?_002
?_001: add rcx, 1
?_002: cmp byte ptr [rcx], 0
jz ?_009
?_003: cmp byte ptr [rcx], 60 ; <
jnz ?_001
cmp byte ptr [rcx], 0
jz ?_009
cmp byte ptr [rcx+1H], 0
jz ?_009
cmp byte ptr [rcx+2H], 0
jz ?_009
cmp byte ptr [rcx+3H], 0
jz ?_009
cmp dword ptr [rcx], 676D693Ch ;"<img"
jnz ?_008
add rcx, 4
jmp ?_005
?_004: add rcx, 1
?_005: cmp byte ptr [rcx], 0
jz ?_007
cmp byte ptr [rcx], 32 ; ' '
jz ?_004
?_006: cmp byte ptr [rcx], 0
jz ?_007
cmp dword ptr [rcx], 3D637273h ;"src="
jz ?_014
add rcx, 1
jmp ?_006
?_007: cmp dword ptr [rcx], 3D637273h ;"src="
jz ?_014
?_008: cmp byte ptr [rcx], 0
jz ?_009
add rcx, 1
cmp byte ptr [rcx], 0
jnz ?_003
?_009: test rcx, rcx
jz ?_013
lea rax, qword ptr [rcx+5H]
jmp ?_011
?_010: add rax, 1
?_011: cmp byte ptr [rax], 0
jz ?_012
cmp byte ptr [rax], 34 ; "
jz ?_012
cmp byte ptr [rax], 63 ; ?
jnz ?_010
?_012: mov qword ptr [r8], rax
?_013: mov rax, qword ptr [rdx]
ret
?_014: lea rax, qword ptr [rcx+4H]
mov qword ptr [rdx], rax
jmp ?_009
ret
FindPicUrl ENDP
END
source code generated with objconv.exe and edited for poasm.