external(VOID, "GetOpenFileName", "GetOpenFileNameA", "COMDLG32.DLL"
;
char b[512];
b[0]=formatic(0);
char a[77];
for (int n=0; n<77; n++)a[n]=0;
writeaddress(76, address(#a[0]));
writeaddress(0, address(#a[4]));
writeaddress(0, address(#a[8]));
writeaddress(0, address(#a[12]));
writeaddress(0, address(#a[16]));
writeaddress(1634928, address(#a[20]));
writeaddress(1000, address(#a[24]));
writeaddress(address(#b[0]), address(#a[28]));
writeaddress(512, address(#a[32]));
writeaddress(0, address(#a[36]));
writeaddress(6148, address(#a[40]));
GetOpenFileName(address(#a[0]));
messagebox(format(#b[0]));