Please Help!
include '%fasm%/win32ax.inc'
section '.code' executable
start:
mov ecx,i
lea edi,[offset+i]
mov al,'\'
std
repne scasb
cld
mov dword [edi+1],NULL
exit:
invoke MessageBox,NULL,offset,'',MB_OK
invoke ExitProcess,NULL
.end start
section '.data' readable writeable
offset db 'H:\10\FL\Artwork\Wallpapers\Browser.html'
i = $-offset
invoke RegOpenKeyEx,HKEY_CURRENT_USER,'Software\Image-Line\FL Studio 10\General',NULL,KEY_READ,root
invoke RegQueryValueEx,[root],'BackHTMLFileName',NULL,NULL,offset,lpcbData
invoke RegCloseKey,[root]
mov ecx,lpcbData
...
section '.data' readable writeable
root dd NULL
offset rd MAX_PATH
lpcbData dd MAX_PATH
I cannot make my code, I got error any-anyway ((