Help - Search - Members - Calendar
Full Version: Shrink PE with UPX script
The CD Forum > Bart's PE Builder > General
Rajesh 2010
i have written a batch script to upx pe

Download :- http://www.megaupload.com/?d=4WUNLXFD

run custom_2upx.cmd
and provide pe dir path

i have successfully created a list of files which should not be upxed
dontupx.txt contains a list of files that should not be upxed
u can add ur file names if any
only file name required n not the full path
oscar
Thanks.

Also, this is batch file to upx *.dll files already tested to be safe (saves 65MB on CD)

CODE
@echo off& Color F0&MODE CON: COLS=75 LINES=15
cls
@echo

set tmpfolder=Bartpe

rem upx system32\*.dll
rem < 10 kb
upx %tmpfolder%\I386\SYSTEM32\LZ32.DLL
upx %tmpfolder%\I386\SYSTEM32\WINSOCK.DLL
upx %tmpfolder%\I386\SYSTEM32\RNR20.DLL
upx %tmpfolder%\I386\SYSTEM32\WOWFAX.DLL
upx %tmpfolder%\I386\SYSTEM32\COMCAT.DLL
upx %tmpfolder%\I386\SYSTEM32\RICHED32.DLL
upx %tmpfolder%\I386\SYSTEM32\MSAFD.DLL
upx %tmpfolder%\I386\SYSTEM32\DPNADDR.DLL
upx %tmpfolder%\I386\SYSTEM32\MLL_HP.DLL
upx %tmpfolder%\I386\SYSTEM32\ICMP.DLL
upx %tmpfolder%\I386\SYSTEM32\DPNLOBBY.DLL
upx %tmpfolder%\I386\SYSTEM32\PEGINA.DLL
upx %tmpfolder%\I386\SYSTEM32\KSUSER.DLL
upx %tmpfolder%\I386\SYSTEM32\MTXEX.DLL
upx %tmpfolder%\I386\SYSTEM32\CTWDM32.DLL
upx %tmpfolder%\I386\SYSTEM32\STORAGE.DLL
upx %tmpfolder%\I386\SYSTEM32\MSSIP32.DLL
upx %tmpfolder%\I386\SYSTEM32\MSIMG32.DLL
upx %tmpfolder%\I386\SYSTEM32\ALUT.DLL
upx %tmpfolder%\I386\SYSTEM32\BRSCNRSM.DLL
upx %tmpfolder%\I386\SYSTEM32\SHELL.DLL
upx %tmpfolder%\I386\SYSTEM32\VNETINST.DLL
upx %tmpfolder%\I386\SYSTEM32\SFC.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDDV.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDIT.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDUK.DLL
upx %tmpfolder%\I386\SYSTEM32\CTEMUPIA.DLL
upx %tmpfolder%\I386\SYSTEM32\NVACK.DLL
upx %tmpfolder%\I386\SYSTEM32\TAPIPERF.DLL
upx %tmpfolder%\I386\SYSTEM32\SOFTPUB.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDGAE.DLL
upx %tmpfolder%\I386\SYSTEM32\MLL_QIC.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDRU.DLL
upx %tmpfolder%\I386\SYSTEM32\WMI.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDIT142.DLL
upx %tmpfolder%\I386\SYSTEM32\SECURITY.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDIR.DLL
upx %tmpfolder%\I386\SYSTEM32\PNDX5032.DLL
upx %tmpfolder%\I386\SYSTEM32\PERFNW.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDUS.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDFI.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDMAC.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDNO.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDIC.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDUSL.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDES.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDUSR.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDFR.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDCA.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDSP.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDFC.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDGR.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDNE.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDBE.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDUSX.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDSW.DLL
upx %tmpfolder%\I386\SYSTEM32\NWEVENT.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDBR.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDGR1.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDSF.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDPO.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDDA.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDSG.DLL
upx %tmpfolder%\I386\SYSTEM32\INRES.DLL
upx %tmpfolder%\I386\SYSTEM32\INRESFRN.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDLA.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDPL.DLL
upx %tmpfolder%\I386\SYSTEM32\SENSAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\LAPRXY.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDHU.DLL
upx %tmpfolder%\I386\SYSTEM32\PNDX5016.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDSL.DLL
upx %tmpfolder%\I386\SYSTEM32\KDCOM.DLL
upx %tmpfolder%\I386\SYSTEM32\HCCOIN.DLL
upx %tmpfolder%\I386\SYSTEM32\CTPRES.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDNEC.DLL
upx %tmpfolder%\I386\SYSTEM32\MSCAT32.DLL
upx %tmpfolder%\I386\SYSTEM32\WSHNETBS.DLL
upx %tmpfolder%\I386\SYSTEM32\KBDCZ.DLL
upx %tmpfolder%\I386\SYSTEM32\KD1394.DLL
upx %tmpfolder%\I386\SYSTEM32\MCIOLE32.DLL
upx %tmpfolder%\I386\SYSTEM32\NCXPNT.DLL
upx %tmpfolder%\I386\SYSTEM32\CMPROP.DLL
upx %tmpfolder%\I386\SYSTEM32\XPESHUTDOWN.DLL
upx %tmpfolder%\I386\SYSTEM32\MLL_MTF.DLL
upx %tmpfolder%\I386\SYSTEM32\CTMMEP.DLL
upx %tmpfolder%\I386\SYSTEM32\CMNPROP.DLL
upx %tmpfolder%\I386\SYSTEM32\MCIOLE16.DLL
upx %tmpfolder%\I386\SYSTEM32\RASADHLP.DLL
upx %tmpfolder%\I386\SYSTEM32\NTLSAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\TSBYUV.DLL
upx %tmpfolder%\I386\SYSTEM32\STREAMCI.DLL
upx %tmpfolder%\I386\SYSTEM32\D3D8THK.DLL
upx %tmpfolder%\I386\SYSTEM32\BATT.DLL
upx %tmpfolder%\I386\SYSTEM32\DCIMAN32.DLL
upx %tmpfolder%\I386\SYSTEM32\VER.DLL
upx %tmpfolder%\I386\SYSTEM32\IBMSGNET.DLL
upx %tmpfolder%\I386\SYSTEM32\RSMGRSTR.DLL
upx %tmpfolder%\I386\SYSTEM32\VGA.DLL
rem > 10 kb
upx %tmpfolder%\I386\SYSTEM32\FRAMEBUF.DLL
upx %tmpfolder%\I386\SYSTEM32\RSVPPERF.DLL
upx %tmpfolder%\I386\SYSTEM32\BDCO1INS.DLL
upx %tmpfolder%\I386\SYSTEM32\BRSERIF.DLL
upx %tmpfolder%\I386\SYSTEM32\BDCO1.DLL
upx %tmpfolder%\I386\SYSTEM32\BRCOINST.DLL
upx %tmpfolder%\I386\SYSTEM32\HSF_INST.DLL
upx %tmpfolder%\I386\SYSTEM32\LZEXPAND.DLL
upx %tmpfolder%\I386\SYSTEM32\OPENAL32.DLL
upx %tmpfolder%\I386\SYSTEM32\NPWMSDRM.DLL
upx %tmpfolder%\I386\SYSTEM32\VIRPORT.DLL
upx %tmpfolder%\I386\SYSTEM32\MSRLE32.DLL
upx %tmpfolder%\I386\SYSTEM32\ICAAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\ATRACE.DLL
upx %tmpfolder%\I386\SYSTEM32\HSFINST.DLL
upx %tmpfolder%\I386\SYSTEM32\WSHISN.DLL
upx %tmpfolder%\I386\SYSTEM32\RASCTRS.DLL
upx %tmpfolder%\I386\SYSTEM32\ODBCP32R.DLL
upx %tmpfolder%\I386\SYSTEM32\NETRAP.DLL
upx %tmpfolder%\I386\SYSTEM32\BOOTVID.DLL
upx %tmpfolder%\I386\SYSTEM32\WSHLPX.DLL
upx %tmpfolder%\I386\SYSTEM32\MMDRV.DLL
upx %tmpfolder%\I386\SYSTEM32\CTMRCLAS.DLL
upx %tmpfolder%\I386\SYSTEM32\RASSER.DLL
upx %tmpfolder%\I386\SYSTEM32\BREVIF.DLL
upx %tmpfolder%\I386\SYSTEM32\WIN87EM.DLL
upx %tmpfolder%\I386\SYSTEM32\UMDMXFRM.DLL
upx %tmpfolder%\I386\SYSTEM32\SIGTAB.DLL
upx %tmpfolder%\I386\SYSTEM32\NTVDMD.DLL
upx %tmpfolder%\I386\SYSTEM32\TOMSMOCOMP_FF.DLL
upx %tmpfolder%\I386\SYSTEM32\DIAPI2.DLL
upx %tmpfolder%\I386\SYSTEM32\SENSCFG.DLL
upx %tmpfolder%\I386\SYSTEM32\UNIPLAT.DLL
upx %tmpfolder%\I386\SYSTEM32\WOWFAXUI.DLL
upx %tmpfolder%\I386\SYSTEM32\SISBKUP.DLL
upx %tmpfolder%\I386\SYSTEM32\LMHSVC.DLL
upx %tmpfolder%\I386\SYSTEM32\TOOLHELP.DLL
upx %tmpfolder%\I386\SYSTEM32\DRPROV.DLL
upx %tmpfolder%\I386\SYSTEM32\MSDMO.DLL
upx %tmpfolder%\I386\SYSTEM32\SERIALUI.DLL
upx %tmpfolder%\I386\SYSTEM32\MSIDNTLD.DLL
upx %tmpfolder%\I386\SYSTEM32\SERWVDRV.DLL
upx %tmpfolder%\I386\SYSTEM32\MCASTMIB.DLL
upx %tmpfolder%\I386\SYSTEM32\NVASIO.DLL
upx %tmpfolder%\I386\SYSTEM32\TSD32.DLL
upx %tmpfolder%\I386\SYSTEM32\BRMFBIDI.DLL
upx %tmpfolder%\I386\SYSTEM32\CTSPKHLP.DLL
upx %tmpfolder%\I386\SYSTEM32\JSPROXY.DLL
upx %tmpfolder%\I386\SYSTEM32\CMCFG32.DLL
upx %tmpfolder%\I386\SYSTEM32\ICFGNT5.DLL
upx %tmpfolder%\I386\SYSTEM32\DESKADP.DLL
upx %tmpfolder%\I386\SYSTEM32\ODBC32GT.DLL
upx %tmpfolder%\I386\SYSTEM32\DESKMON.DLL
upx %tmpfolder%\I386\SYSTEM32\FLTLIB.DLL
upx %tmpfolder%\I386\SYSTEM32\CFGMGR32.DLL
upx %tmpfolder%\I386\SYSTEM32\VIAIDECO.DLL
upx %tmpfolder%\I386\SYSTEM32\OLEACCRC.DLL
upx %tmpfolder%\I386\SYSTEM32\WINRNR.DLL
upx %tmpfolder%\I386\SYSTEM32\VSS_PS.DLL
upx %tmpfolder%\I386\SYSTEM32\USBMON.DLL
upx %tmpfolder%\I386\SYSTEM32\ALRSVC.DLL
upx %tmpfolder%\I386\SYSTEM32\MCICDA.DLL
upx %tmpfolder%\I386\SYSTEM32\ETCO32.DLL
upx %tmpfolder%\I386\SYSTEM32\NVCOG.DLL
upx %tmpfolder%\I386\SYSTEM32\MSYUV.DLL
upx %tmpfolder%\I386\SYSTEM32\POWRPROF.DLL
upx %tmpfolder%\I386\SYSTEM32\NDDEAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\UREG.DLL
upx %tmpfolder%\I386\SYSTEM32\VGA64K.DLL
upx %tmpfolder%\I386\SYSTEM32\AVMCAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\CTDCRCHS.DLL
upx %tmpfolder%\I386\SYSTEM32\NVCOE.DLL
upx %tmpfolder%\I386\SYSTEM32\DMINTF.DLL
upx %tmpfolder%\I386\SYSTEM32\CTDCRCHT.DLL
upx %tmpfolder%\I386\SYSTEM32\NVCOAD.DLL
upx %tmpfolder%\I386\SYSTEM32\WTSAPI32.DLL
upx %tmpfolder%\I386\SYSTEM32\AVMC20.DLL
upx %tmpfolder%\I386\SYSTEM32\CTDCRFRN.DLL
upx %tmpfolder%\I386\SYSTEM32\VERSION.DLL
upx %tmpfolder%\I386\SYSTEM32\CTDCRES.DLL
upx %tmpfolder%\I386\SYSTEM32\RSMPS.DLL
upx %tmpfolder%\I386\SYSTEM32\SNMPAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\CTDCRKOR.DLL
upx %tmpfolder%\I386\SYSTEM32\CTDCRITA.DLL
upx %tmpfolder%\I386\SYSTEM32\CTDCRSPN.DLL
upx %tmpfolder%\I386\SYSTEM32\CTDCRGER.DLL
upx %tmpfolder%\I386\SYSTEM32\LINKINFO.DLL
upx %tmpfolder%\I386\SYSTEM32\MIDIMAP.DLL
upx %tmpfolder%\I386\SYSTEM32\NVCOD.DLL
upx %tmpfolder%\I386\SYSTEM32\CTDCRBRZ.DLL
upx %tmpfolder%\I386\SYSTEM32\NVCODINS.DLL
upx %tmpfolder%\I386\SYSTEM32\CTDCRDUT.DLL
upx %tmpfolder%\I386\SYSTEM32\CTDCRJPN.DLL
upx %tmpfolder%\I386\SYSTEM32\TAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\DMOCX.DLL
upx %tmpfolder%\I386\SYSTEM32\AC3API.DLL
upx %tmpfolder%\I386\SYSTEM32\DSWAVE.DLL
upx %tmpfolder%\I386\SYSTEM32\BRBIDIIF.DLL
upx %tmpfolder%\I386\SYSTEM32\RDPSND.DLL
upx %tmpfolder%\I386\SYSTEM32\WSHTCPIP.DLL
upx %tmpfolder%\I386\SYSTEM32\WS2HELP.DLL
upx %tmpfolder%\I386\SYSTEM32\WMPUI.DLL
upx %tmpfolder%\I386\SYSTEM32\NWCFG.DLL
upx %tmpfolder%\I386\SYSTEM32\NICCO32.DLL
upx %tmpfolder%\I386\SYSTEM32\ENCAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\MTXDM.DLL
rem > 20 kb
upx %tmpfolder%\I386\SYSTEM32\BTHCI.DLL
upx %tmpfolder%\I386\SYSTEM32\NVOPENAL.DLL
upx %tmpfolder%\I386\SYSTEM32\HID.DLL
upx %tmpfolder%\I386\SYSTEM32\MSJDBC10.DLL
upx %tmpfolder%\I386\SYSTEM32\DPVACM.DLL
upx %tmpfolder%\I386\SYSTEM32\NICIN32.DLL
upx %tmpfolder%\I386\SYSTEM32\LPK.DLL
upx %tmpfolder%\I386\SYSTEM32\W32TOPL.DLL
upx %tmpfolder%\I386\SYSTEM32\OLESVR32.DLL
upx %tmpfolder%\I386\SYSTEM32\LICMGR10.DLL
upx %tmpfolder%\I386\SYSTEM32\WSOCK32.DLL
upx %tmpfolder%\I386\SYSTEM32\RASMXS.DLL
upx %tmpfolder%\I386\SYSTEM32\MCISEQ.DLL
upx %tmpfolder%\I386\SYSTEM32\PSAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\AACCIN.DLL
upx %tmpfolder%\I386\SYSTEM32\CERCCIN.DLL
upx %tmpfolder%\I386\SYSTEM32\DMSERVER.DLL
upx %tmpfolder%\I386\SYSTEM32\MCIWAVE.DLL
upx %tmpfolder%\I386\SYSTEM32\DPMODEMX.DLL
upx %tmpfolder%\I386\SYSTEM32\RASRAD.DLL
upx %tmpfolder%\I386\SYSTEM32\RSVPMSG.DLL
upx %tmpfolder%\I386\SYSTEM32\DGCLASS.DLL
upx %tmpfolder%\I386\SYSTEM32\INTELNIC.DLL
upx %tmpfolder%\I386\SYSTEM32\OLESVR.DLL
upx %tmpfolder%\I386\SYSTEM32\DAVCLNT.DLL
upx %tmpfolder%\I386\SYSTEM32\ODBCBCP.DLL
upx %tmpfolder%\I386\SYSTEM32\PTIPBM.DLL
upx %tmpfolder%\I386\SYSTEM32\DWLINST.DLL
upx %tmpfolder%\I386\SYSTEM32\SPXCOINS.DLL
upx %tmpfolder%\I386\SYSTEM32\SHFOLDER.DLL
upx %tmpfolder%\I386\SYSTEM32\MTXLEGIH.DLL
upx %tmpfolder%\I386\SYSTEM32\MSLBUI.DLL
upx %tmpfolder%\I386\SYSTEM32\SLAYERXP.DLL
upx %tmpfolder%\I386\SYSTEM32\UTILDLL.DLL
upx %tmpfolder%\I386\SYSTEM32\MSVIDC32.DLL
upx %tmpfolder%\I386\SYSTEM32\COMADDIN.DLL
upx %tmpfolder%\I386\SYSTEM32\NTDSBCLI.DLL
upx %tmpfolder%\I386\SYSTEM32\VDMDBG.DLL
upx %tmpfolder%\I386\SYSTEM32\ODBC16GT.DLL
upx %tmpfolder%\I386\SYSTEM32\EFSADU.DLL
upx %tmpfolder%\I386\SYSTEM32\EAXAC3.DLL
upx %tmpfolder%\I386\SYSTEM32\DDRAWEX.DLL
upx %tmpfolder%\I386\SYSTEM32\WMDMLOG.DLL
upx %tmpfolder%\I386\SYSTEM32\CTL3DV2.DLL
upx %tmpfolder%\I386\SYSTEM32\CTCOINST.DLL
upx %tmpfolder%\I386\SYSTEM32\PROFMAP.DLL
upx %tmpfolder%\I386\SYSTEM32\BATMETER.DLL
upx %tmpfolder%\I386\SYSTEM32\CUSTSAT.DLL
upx %tmpfolder%\I386\SYSTEM32\DMBAND.DLL
upx %tmpfolder%\I386\SYSTEM32\CMIRMDRV.DLL
upx %tmpfolder%\I386\SYSTEM32\SDHCINST.DLL
upx %tmpfolder%\I386\SYSTEM32\BRMFLPT.DLL
upx %tmpfolder%\I386\SYSTEM32\SAFRDM.DLL
upx %tmpfolder%\I386\SYSTEM32\DIVASU.DLL
upx %tmpfolder%\I386\SYSTEM32\COMPOBJ.DLL
upx %tmpfolder%\I386\SYSTEM32\IOLOGMSG.DLL
upx %tmpfolder%\I386\SYSTEM32\TRAFFIC.DLL
upx %tmpfolder%\I386\SYSTEM32\DIAPI232.DLL
upx %tmpfolder%\I386\SYSTEM32\DISRVPP.DLL
upx %tmpfolder%\I386\SYSTEM32\RTIPXMIB.DLL
upx %tmpfolder%\I386\SYSTEM32\DIAPI2NT.DLL
upx %tmpfolder%\I386\SYSTEM32\HSFCISP2.DLL
upx %tmpfolder%\I386\SYSTEM32\WINIPSEC.DLL
upx %tmpfolder%\I386\SYSTEM32\W70N5MSG.DLL
upx %tmpfolder%\I386\SYSTEM32\CSRSRV.DLL
upx %tmpfolder%\I386\SYSTEM32\UDAPROP.DLL
upx %tmpfolder%\I386\SYSTEM32\COMMDLG.DLL
upx %tmpfolder%\I386\SYSTEM32\DPLAY.DLL
upx %tmpfolder%\I386\SYSTEM32\NFRDCI04.DLL
upx %tmpfolder%\I386\SYSTEM32\INETMIB1.DLL
upx %tmpfolder%\I386\SYSTEM32\SSTUB.DLL
upx %tmpfolder%\I386\SYSTEM32\CRYPTDLL.DLL
upx %tmpfolder%\I386\SYSTEM32\NVCONRM.DLL
upx %tmpfolder%\I386\SYSTEM32\NVCOI.DLL
upx %tmpfolder%\I386\SYSTEM32\MSGSVC.DLL
upx %tmpfolder%\I386\SYSTEM32\PSTORSVC.DLL
upx %tmpfolder%\I386\SYSTEM32\OLECNV32.DLL
upx %tmpfolder%\I386\SYSTEM32\COMMONFX.DLL
upx %tmpfolder%\I386\SYSTEM32\MWCI.DLL
upx %tmpfolder%\I386\SYSTEM32\SSDPAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\SNIFFPOL.DLL
upx %tmpfolder%\I386\SYSTEM32\PIAPROXY.DLL
upx %tmpfolder%\I386\SYSTEM32\D3DPMESH.DLL
upx %tmpfolder%\I386\SYSTEM32\PID.DLL
upx %tmpfolder%\I386\SYSTEM32\MCIQTZ32.DLL
upx %tmpfolder%\I386\SYSTEM32\DPNHPAST.DLL
upx %tmpfolder%\I386\SYSTEM32\CORPOL.DLL
upx %tmpfolder%\I386\SYSTEM32\DMLOADER.DLL
upx %tmpfolder%\I386\SYSTEM32\MSSIGN32.DLL
upx %tmpfolder%\I386\SYSTEM32\IMGUTIL.DLL
upx %tmpfolder%\I386\SYSTEM32\NCOBJAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\NTMSEVT.DLL
upx %tmpfolder%\I386\SYSTEM32\E100BMSG.DLL
upx %tmpfolder%\I386\SYSTEM32\NVWDDI.DLL
upx %tmpfolder%\I386\SYSTEM32\HWPNPDLL.DLL
upx %tmpfolder%\I386\SYSTEM32\URL.DLL
upx %tmpfolder%\I386\SYSTEM32\DIVAPROP.DLL
upx %tmpfolder%\I386\SYSTEM32\HHSETUP.DLL
upx %tmpfolder%\I386\SYSTEM32\DFRGSNAP.DLL
upx %tmpfolder%\I386\SYSTEM32\CTDPROXY.DLL
upx %tmpfolder%\I386\SYSTEM32\SENS.DLL
upx %tmpfolder%\I386\SYSTEM32\DISRVSU.DLL
upx %tmpfolder%\I386\SYSTEM32\HSFCI011.DLL
upx %tmpfolder%\I386\SYSTEM32\PNGFILT.DLL
upx %tmpfolder%\I386\SYSTEM32\DDEML.DLL
upx %tmpfolder%\I386\SYSTEM32\OLE2.DLL
upx %tmpfolder%\I386\SYSTEM32\RSHX32.DLL
upx %tmpfolder%\I386\SYSTEM32\CTTHXCAL.DLL`
upx %tmpfolder%\I386\SYSTEM32\PERFCTRS.DLL
upx %tmpfolder%\I386\SYSTEM32\NTMSAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\USRSVPIA.DLL
upx %tmpfolder%\I386\SYSTEM32\BRMFUSB.DLL
upx %tmpfolder%\I386\SYSTEM32\MSPORTS.DLL
upx %tmpfolder%\I386\SYSTEM32\AUDIOSRV.DLL
upx %tmpfolder%\I386\SYSTEM32\DPWSOCK.DLL
upx %tmpfolder%\I386\SYSTEM32\SAFRCDLG.DLL
upx %tmpfolder%\I386\SYSTEM32\NTLANMAN.DLL
upx %tmpfolder%\I386\SYSTEM32\PSTOREC.DLL
upx %tmpfolder%\I386\SYSTEM32\RACPLDLG.DLL
upx %tmpfolder%\I386\SYSTEM32\DIMAP.DLL
upx %tmpfolder%\I386\SYSTEM32\RTUTILS.DLL
upx %tmpfolder%\I386\SYSTEM32\MSISIP.DLL
upx %tmpfolder%\I386\SYSTEM32\CTSCAL.DLL

rem > 50 kb
upx %tmpfolder%\I386\SYSTEM32\3CSVPI.DLL
upx %tmpfolder%\I386\SYSTEM32\MDMXSDK.DLL
upx %tmpfolder%\I386\SYSTEM32\CLUSAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\RESUTILS.DLL
upx %tmpfolder%\I386\SYSTEM32\IASSVCS.DLL
upx %tmpfolder%\I386\SYSTEM32\CABINET.DLL
upx %tmpfolder%\I386\SYSTEM32\CRYPTSVC.DLL
upx %tmpfolder%\I386\SYSTEM32\OCMANAGE.DLL
upx %tmpfolder%\I386\SYSTEM32\3C1807VP.DLL
upx %tmpfolder%\I386\SYSTEM32\DMCOMPOS.DLL
upx %tmpfolder%\I386\SYSTEM32\MSVCRT40.DLL
upx %tmpfolder%\I386\SYSTEM32\USRCNTRA.DLL
upx %tmpfolder%\I386\SYSTEM32\DPNMODEM.DLL
upx %tmpfolder%\I386\SYSTEM32\IESETUP.DLL
upx %tmpfolder%\I386\SYSTEM32\CRYPTNET.DLL
upx %tmpfolder%\I386\SYSTEM32\SAMLIB.DLL
upx %tmpfolder%\I386\SYSTEM32\ASYCFILT.DLL
upx %tmpfolder%\I386\SYSTEM32\ODBCCU32.DLL
upx %tmpfolder%\I386\SYSTEM32\3CLBV.DLL
upx %tmpfolder%\I386\SYSTEM32\3CSDPI.DLL
upx %tmpfolder%\I386\SYSTEM32\3CRTOS.DLL
upx %tmpfolder%\I386\SYSTEM32\ODBCCR32.DLL
upx %tmpfolder%\I386\SYSTEM32\MTXCLU.DLL
upx %tmpfolder%\I386\SYSTEM32\IPXSAP.DLL
upx %tmpfolder%\I386\SYSTEM32\CONSOLE.DLL
upx %tmpfolder%\I386\SYSTEM32\NMORENU.DLL
upx %tmpfolder%\I386\SYSTEM32\NTDSAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\STI.DLL
upx %tmpfolder%\I386\SYSTEM32\OSUNINST.DLL
upx %tmpfolder%\I386\SYSTEM32\SRCLIENT.DLL
upx %tmpfolder%\I386\SYSTEM32\SHGINA.DLL
upx %tmpfolder%\I386\SYSTEM32\OLECLI32.DLL
upx %tmpfolder%\I386\SYSTEM32\DIGEST.DLL
upx %tmpfolder%\I386\SYSTEM32\MMSYSTEM.DLL
upx %tmpfolder%\I386\SYSTEM32\MPRDDM.DLL
upx %tmpfolder%\I386\SYSTEM32\OLETHK32.DLL
upx %tmpfolder%\I386\SYSTEM32\AVICAP.DLL
upx %tmpfolder%\I386\SYSTEM32\RASCHAP.DLL
upx %tmpfolder%\I386\SYSTEM32\MSR2C.DLL
upx %tmpfolder%\I386\SYSTEM32\USRCOINA.DLL
upx %tmpfolder%\I386\SYSTEM32\AMSTREAM.DLL
upx %tmpfolder%\I386\SYSTEM32\MMCBASE.DLL
upx %tmpfolder%\I386\SYSTEM32\SSDPSRV.DLL
upx %tmpfolder%\I386\SYSTEM32\DSDMOPRP.DLL
upx %tmpfolder%\I386\SYSTEM32\MSACM32.DLL
upx %tmpfolder%\I386\SYSTEM32\MSCMS.DLL
upx %tmpfolder%\I386\SYSTEM32\3CCNTRY.DLL
upx %tmpfolder%\I386\SYSTEM32\CSSEQCHK.DLL
upx %tmpfolder%\I386\SYSTEM32\SLCOINST.DLL

upx %tmpfolder%\I386\SYSTEM32\USBUI.DLL
upx %tmpfolder%\I386\SYSTEM32\UNIMDMAT.DLL
upx %tmpfolder%\I386\SYSTEM32\SPOOLSS.DLL
upx %tmpfolder%\I386\SYSTEM32\STORPROP.DLL
upx %tmpfolder%\I386\SYSTEM32\CRYPTDLG.DLL
upx %tmpfolder%\I386\SYSTEM32\ATL.DLL
upx %tmpfolder%\I386\SYSTEM32\GCDEF.DLL
upx %tmpfolder%\I386\SYSTEM32\BROWSER.DLL
upx %tmpfolder%\I386\SYSTEM32\HALSP.DLL
upx %tmpfolder%\I386\SYSTEM32\HLINK.DLL
upx %tmpfolder%\I386\SYSTEM32\USRRTOSA.DLL
upx %tmpfolder%\I386\SYSTEM32\USRDPA.DLL
upx %tmpfolder%\I386\SYSTEM32\BROWSEWM.DLL
upx %tmpfolder%\I386\SYSTEM32\TAPIUI.DLL
upx %tmpfolder%\I386\SYSTEM32\FAULTREP.DLL
upx %tmpfolder%\I386\SYSTEM32\ICCVID.DLL
upx %tmpfolder%\I386\SYSTEM32\VPC-S3.DLL
upx %tmpfolder%\I386\SYSTEM32\NETUI0.DLL
upx %tmpfolder%\I386\SYSTEM32\HALACPI.DLL
upx %tmpfolder%\I386\SYSTEM32\LIBMPLAYER.DLL
upx %tmpfolder%\I386\SYSTEM32\FSUSD.DLL
upx %tmpfolder%\I386\SYSTEM32\CTDCIFCE.DLL
upx %tmpfolder%\I386\SYSTEM32\COMREPL.DLL
upx %tmpfolder%\I386\SYSTEM32\UFAT.DLL
upx %tmpfolder%\I386\SYSTEM32\DMSCRIPT.DLL
upx %tmpfolder%\I386\SYSTEM32\IFSDRIVES.DLL
upx %tmpfolder%\I386\SYSTEM32\OLECLI.DLL
upx %tmpfolder%\I386\SYSTEM32\WS2_32.DLL
upx %tmpfolder%\I386\SYSTEM32\OLEPRO32.DLL
upx %tmpfolder%\I386\SYSTEM32\CABVIEW.DLL
upx %tmpfolder%\I386\SYSTEM32\MCIAVI32.DLL
upx %tmpfolder%\I386\SYSTEM32\AVIFIL32.DLL
upx %tmpfolder%\I386\SYSTEM32\CATSRVPS.DLL
upx %tmpfolder%\I386\SYSTEM32\USRFAXA.DLL
upx %tmpfolder%\I386\SYSTEM32\DRMSTOR.DLL
upx %tmpfolder%\I386\SYSTEM32\MPRAPI.DLL
rem upx %tmpfolder%\I386\SYSTEM32\HHCTRLUI.DLL
upx %tmpfolder%\I386\SYSTEM32\RASAUTO.DLL
rem upx %tmpfolder%\I386\SYSTEM32\MYCOMPUT.DLL
upx %tmpfolder%\I386\SYSTEM32\IO8PORTS.DLL
upx %tmpfolder%\I386\SYSTEM32\MYDOCS.DLL
upx %tmpfolder%\I386\SYSTEM32\NTPRINT.DLL
upx %tmpfolder%\I386\SYSTEM32\WLNOTIFY.DLL
upx %tmpfolder%\I386\SYSTEM32\ODBCINT.DLL
upx %tmpfolder%\I386\SYSTEM32\DEVREG.DLL
upx %tmpfolder%\I386\SYSTEM32\SXPORTS.DLL
upx %tmpfolder%\I386\SYSTEM32\IPHLPAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\INSENG.DLL
upx %tmpfolder%\I386\SYSTEM32\OCCACHE.DLL
upx %tmpfolder%\I386\SYSTEM32\SRVSVC.DLL
upx %tmpfolder%\I386\SYSTEM32\PSBASE.DLL
upx %tmpfolder%\I386\SYSTEM32\LOADPERF.DLL
upx %tmpfolder%\I386\SYSTEM32\SM56DX3.DLL
upx %tmpfolder%\I386\SYSTEM32\WMPSHELL.DLL

rem > 100 kb
upx %tmpfolder%\I386\SYSTEM32\USRV42A.DLL
upx %tmpfolder%\I386\SYSTEM32\MSAATEXT.DLL
upx %tmpfolder%\I386\SYSTEM32\DMSYNTH.DLL
upx %tmpfolder%\I386\SYSTEM32\EQNCLASS.DLL
upx %tmpfolder%\I386\SYSTEM32\NLHTML.DLL
upx %tmpfolder%\I386\SYSTEM32\DMUSIC.DLL
upx %tmpfolder%\I386\SYSTEM32\POLSTORE.DLL
upx %tmpfolder%\I386\SYSTEM32\HAL.DLL
upx %tmpfolder%\I386\SYSTEM32\DMSTYLE.DLL
upx %tmpfolder%\I386\SYSTEM32\MSOERT2.DLL
upx %tmpfolder%\I386\SYSTEM32\3CFAX.DLL
upx %tmpfolder%\I386\SYSTEM32\ODBCCP32.DLL
upx %tmpfolder%\I386\SYSTEM32\SM56DX5.DLL
upx %tmpfolder%\I386\SYSTEM32\SPDPORTS.DLL
upx %tmpfolder%\I386\SYSTEM32\NETAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\AVIFILE.DLL
upx %tmpfolder%\I386\SYSTEM32\CTAUDFX.DLL
upx %tmpfolder%\I386\SYSTEM32\IMM32.DLL
upx %tmpfolder%\I386\SYSTEM32\ULUTIL2.DLL
upx %tmpfolder%\I386\SYSTEM32\UCI32100.DLL
upx %tmpfolder%\I386\SYSTEM32\INETCPLC.DLL
upx %tmpfolder%\I386\SYSTEM32\WMMFILT.DLL
upx %tmpfolder%\I386\SYSTEM32\DGNET.DLL
upx %tmpfolder%\I386\SYSTEM32\DHCPCSVC.DLL
upx %tmpfolder%\I386\SYSTEM32\RASTLS.DLL
upx %tmpfolder%\I386\SYSTEM32\DSUIEXT.DLL
upx %tmpfolder%\I386\SYSTEM32\QLSDM.DLL
upx %tmpfolder%\I386\SYSTEM32\ACLUI.DLL
upx %tmpfolder%\I386\SYSTEM32\WMPASF.DLL
upx %tmpfolder%\I386\SYSTEM32\WMSDMOE.DLL
upx %tmpfolder%\I386\SYSTEM32\MSTLSAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\SBLFX.DLL
upx %tmpfolder%\I386\SYSTEM32\A3D.DLL
upx %tmpfolder%\I386\SYSTEM32\ITR_W32.DLL
upx %tmpfolder%\I386\SYSTEM32\DPVVOX.DLL
upx %tmpfolder%\I386\SYSTEM32\OLEDLG.DLL
upx %tmpfolder%\I386\SYSTEM32\UMPNPMGR.DLL
upx %tmpfolder%\I386\SYSTEM32\MDMINST.DLL
upx %tmpfolder%\I386\SYSTEM32\NTMARTA.DLL
upx %tmpfolder%\I386\SYSTEM32\MSSTDFMT.DLL
upx %tmpfolder%\I386\SYSTEM32\PTIPBMF.DLL
upx %tmpfolder%\I386\SYSTEM32\DVLMODEM.DLL
upx %tmpfolder%\I386\SYSTEM32\DMDSKRES.DLL
upx %tmpfolder%\I386\SYSTEM32\MMUTILSE.DLL
upx %tmpfolder%\I386\SYSTEM32\IR41_QC.DLL
upx %tmpfolder%\I386\SYSTEM32\MSVFW32.DLL
upx %tmpfolder%\I386\SYSTEM32\STOBJECT.DLL
upx %tmpfolder%\I386\SYSTEM32\GLU32.DLL
upx %tmpfolder%\I386\SYSTEM32\INPUT.DLL
upx %tmpfolder%\I386\SYSTEM32\CTSBLFX.DLL
upx %tmpfolder%\I386\SYSTEM32\DFRGUI.DLL
upx %tmpfolder%\I386\SYSTEM32\MSVIDEO.DLL
upx %tmpfolder%\I386\SYSTEM32\APPHELP.DLL
upx %tmpfolder%\I386\SYSTEM32\ACLEDIT.DLL
upx %tmpfolder%\I386\SYSTEM32\SWPRV.DLL
upx %tmpfolder%\I386\SYSTEM32\NETID.DLL
upx %tmpfolder%\I386\SYSTEM32\3CDP1807.DLL
upx %tmpfolder%\I386\SYSTEM32\JAVAEE.DLL
upx %tmpfolder%\I386\SYSTEM32\SFC_OS.DLL
upx %tmpfolder%\I386\SYSTEM32\ADSLDPC.DLL
upx %tmpfolder%\I386\SYSTEM32\ITIRCL.DLL
upx %tmpfolder%\I386\SYSTEM32\NTSHRUI.DLL
upx %tmpfolder%\I386\SYSTEM32\IMAGEHLP.DLL
upx %tmpfolder%\I386\SYSTEM32\IACENC.DLL
upx %tmpfolder%\I386\SYSTEM32\NWPROVAU.DLL
upx %tmpfolder%\I386\SYSTEM32\AVMENUM.DLL
upx %tmpfolder%\I386\SYSTEM32\HOTPLUG.DLL
upx %tmpfolder%\I386\SYSTEM32\XMLPROV.DLL
upx %tmpfolder%\I386\SYSTEM32\MSV1_0.DLL
upx %tmpfolder%\I386\SYSTEM32\SDPBLB.DLL
upx %tmpfolder%\I386\SYSTEM32\HALAACPI.DLL
upx %tmpfolder%\I386\SYSTEM32\WKSSVC.DLL
upx %tmpfolder%\I386\SYSTEM32\UPNP.DLL
upx %tmpfolder%\I386\SYSTEM32\HALMACPI.DLL
upx %tmpfolder%\I386\SYSTEM32\MSLS31.DLL
upx %tmpfolder%\I386\SYSTEM32\ODBCTRAC.DLL
upx %tmpfolder%\I386\SYSTEM32\VORBIS.DLL
upx %tmpfolder%\I386\SYSTEM32\COMSNAP.DLL
upx %tmpfolder%\I386\SYSTEM32\INITPKI.DLL
upx %tmpfolder%\I386\SYSTEM32\DNSAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\CRTDLL.DLL
upx %tmpfolder%\I386\SYSTEM32\CDFVIEW.DLL
upx %tmpfolder%\I386\SYSTEM32\HALAPIC.DLL
upx %tmpfolder%\I386\SYSTEM32\SCRRUN.DLL
upx %tmpfolder%\I386\SYSTEM32\SHMEDIA.DLL
upx %tmpfolder%\I386\SYSTEM32\PTSETUP.DLL
upx %tmpfolder%\I386\SYSTEM32\WMIDX.DLL
upx %tmpfolder%\I386\SYSTEM32\BNTS.DLL
upx %tmpfolder%\I386\SYSTEM32\HALMPS.DLL
upx %tmpfolder%\I386\SYSTEM32\OLE2NLS.DLL
upx %tmpfolder%\I386\SYSTEM32\MODEMUI.DLL
upx %tmpfolder%\I386\SYSTEM32\MSAWT.DLL
upx %tmpfolder%\I386\SYSTEM32\SISWINST.DLL
upx %tmpfolder%\I386\SYSTEM32\XVIDVFW.DLL
upx %tmpfolder%\I386\SYSTEM32\STLNPROP.DLL
upx %tmpfolder%\I386\SYSTEM32\3CMDMMGR.DLL
upx %tmpfolder%\I386\SYSTEM32\DINPUT.DLL
upx %tmpfolder%\I386\SYSTEM32\CEWMDM.DLL
upx %tmpfolder%\I386\SYSTEM32\MSIMTF.DLL
upx %tmpfolder%\I386\SYSTEM32\CTOSUSER.DLL
upx %tmpfolder%\I386\SYSTEM32\SCROBJ.DLL
upx %tmpfolder%\I386\SYSTEM32\OLEACC.DLL
upx %tmpfolder%\I386\SYSTEM32\CREDUI.DLL
upx %tmpfolder%\I386\SYSTEM32\E1000MSG.DLL
upx %tmpfolder%\I386\SYSTEM32\COIN5288.DLL
upx %tmpfolder%\I386\SYSTEM32\WMERROR.DLL
upx %tmpfolder%\I386\SYSTEM32\OLE2DISP.DLL
upx %tmpfolder%\I386\SYSTEM32\NETMSG.DLL
upx %tmpfolder%\I386\SYSTEM32\JIT.DLL
upx %tmpfolder%\I386\SYSTEM32\SFMS32.DLL
upx %tmpfolder%\I386\SYSTEM32\WLDAP32.DLL
upx %tmpfolder%\I386\SYSTEM32\CMUDA.DLL
upx %tmpfolder%\I386\SYSTEM32\RASMANS.DLL
upx %tmpfolder%\I386\SYSTEM32\XENROLL.DLL
upx %tmpfolder%\I386\SYSTEM32\W32TIME.DLL
upx %tmpfolder%\I386\SYSTEM32\CSAMSP.DLL
upx %tmpfolder%\I386\SYSTEM32\FTSRCH.DLL
upx %tmpfolder%\I386\SYSTEM32\WINMM.DLL
upx %tmpfolder%\I386\SYSTEM32\DGRPSETU.DLL
upx %tmpfolder%\I386\SYSTEM32\RMOC3260.DLL
upx %tmpfolder%\I386\SYSTEM32\WINTRUST.DLL
upx %tmpfolder%\I386\SYSTEM32\TYPELIB.DLL
upx %tmpfolder%\I386\SYSTEM32\NTMSDBA.DLL
upx %tmpfolder%\I386\SYSTEM32\SCECLI.DLL
upx %tmpfolder%\I386\SYSTEM32\DMIME.DLL
upx %tmpfolder%\I386\SYSTEM32\DSDMO.DLL
upx %tmpfolder%\I386\SYSTEM32\DINPUT8.DLL
upx %tmpfolder%\I386\SYSTEM32\TAPI32.DLL
upx %tmpfolder%\I386\SYSTEM32\IPSECSVC.DLL
upx %tmpfolder%\I386\SYSTEM32\ELS.DLL
upx %tmpfolder%\I386\SYSTEM32\IR50_QCX.DLL
upx %tmpfolder%\I386\SYSTEM32\UPNPHOST.DLL
upx %tmpfolder%\I386\SYSTEM32\FRAMEDYN.DLL
upx %tmpfolder%\I386\SYSTEM32\JAVACYPT.DLL
upx %tmpfolder%\I386\SYSTEM32\XPSP1RES.DLL
upx %tmpfolder%\I386\SYSTEM32\SLGEN.DLL
upx %tmpfolder%\I386\SYSTEM32\SYNCUI.DLL
upx %tmpfolder%\I386\SYSTEM32\QCAP.DLL
upx %tmpfolder%\I386\SYSTEM32\ACTIVEDS.DLL
upx %tmpfolder%\I386\SYSTEM32\CERTCLI.DLL
upx %tmpfolder%\I386\SYSTEM32\NETMAN.DLL
upx %tmpfolder%\I386\SYSTEM32\GPTEXT.DLL
upx %tmpfolder%\I386\SYSTEM32\IR32_32.DLL
upx %tmpfolder%\I386\SYSTEM32\IR50_QC.DLL
upx %tmpfolder%\I386\SYSTEM32\DMDSKMGR.DLL
upx %tmpfolder%\I386\SYSTEM32\DXTRANS.DLL
upx %tmpfolder%\I386\SYSTEM32\FDCO1.DLL
upx %tmpfolder%\I386\SYSTEM32\FDCO1INS.DLL
upx %tmpfolder%\I386\SYSTEM32\MSWEBDVD.DLL
upx %tmpfolder%\I386\SYSTEM32\RASPPP.DLL
upx %tmpfolder%\I386\SYSTEM32\MOBSYNC.DLL
upx %tmpfolder%\I386\SYSTEM32\WAVEMSP.DLL
upx %tmpfolder%\I386\SYSTEM32\DPVOICE.DLL
upx %tmpfolder%\I386\SYSTEM32\NETEVENT.DLL
upx %tmpfolder%\I386\SYSTEM32\UXTHEME.DLL
upx %tmpfolder%\I386\SYSTEM32\WMPNS.DLL
upx %tmpfolder%\I386\SYSTEM32\NPDRMV2.DLL
upx %tmpfolder%\I386\SYSTEM32\AVTAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\COMPSTUI.DLL
upx %tmpfolder%\I386\SYSTEM32\DPLAYX.DLL
upx %tmpfolder%\I386\SYSTEM32\CATSRV.DLL
upx %tmpfolder%\I386\SYSTEM32\WMASF.DLL
upx %tmpfolder%\I386\SYSTEM32\WMPDXM.DLL
upx %tmpfolder%\I386\SYSTEM32\RASAPI32.DLL
upx %tmpfolder%\I386\SYSTEM32\QASF.DLL
upx %tmpfolder%\I386\SYSTEM32\SISWPARS.DLL
upx %tmpfolder%\I386\SYSTEM32\UPNPUI.DLL
upx %tmpfolder%\I386\SYSTEM32\NMOCOD.DLL
upx %tmpfolder%\I386\SYSTEM32\MPG4DMOD.DLL
upx %tmpfolder%\I386\SYSTEM32\NVNT4CPL.DLL
upx %tmpfolder%\I386\SYSTEM32\ES.DLL
upx %tmpfolder%\I386\SYSTEM32\MSWSOCK.DLL
upx %tmpfolder%\I386\SYSTEM32\NETUI1.DLL
upx %tmpfolder%\I386\SYSTEM32\TAPISRV.DLL
upx %tmpfolder%\I386\SYSTEM32\STRMDLL.DLL
upx %tmpfolder%\I386\SYSTEM32\MSIEFTP.DLL
upx %tmpfolder%\I386\SYSTEM32\NEWDEV.DLL
upx %tmpfolder%\I386\SYSTEM32\IEPEERS.DLL
upx %tmpfolder%\I386\SYSTEM32\CTMASETP.DLL
upx %tmpfolder%\I386\SYSTEM32\ODBC32.DLL
upx %tmpfolder%\I386\SYSTEM32\COMPATUI.DLL
rem > 250 kb
upx %tmpfolder%\I386\SYSTEM32\MSNETOBJ.DLL
upx %tmpfolder%\I386\SYSTEM32\OAKLEY.DLL
upx %tmpfolder%\I386\SYSTEM32\SBE.DLL
upx %tmpfolder%\I386\SYSTEM32\DMDLGS.DLL
upx %tmpfolder%\I386\SYSTEM32\INETCFG.DLL
upx %tmpfolder%\I386\SYSTEM32\PNCRT.DLL
upx %tmpfolder%\I386\SYSTEM32\ODBCJT32.DLL
upx %tmpfolder%\I386\SYSTEM32\QDV.DLL
upx %tmpfolder%\I386\SYSTEM32\TSHOOT.DLL
upx %tmpfolder%\I386\SYSTEM32\OBJSEL.DLL
upx %tmpfolder%\I386\SYSTEM32\BLACKBOX.DLL
upx %tmpfolder%\I386\SYSTEM32\SLEXTSPK.DLL
upx %tmpfolder%\I386\SYSTEM32\VMHELPER.DLL
upx %tmpfolder%\I386\SYSTEM32\IDECOINS.DLL
upx %tmpfolder%\I386\SYSTEM32\IDECOI.DLL
upx %tmpfolder%\I386\SYSTEM32\KERBEROS.DLL
upx %tmpfolder%\I386\SYSTEM32\MSCTF.DLL
upx %tmpfolder%\I386\SYSTEM32\ATIIIEXX.DLL
upx %tmpfolder%\I386\SYSTEM32\TERMSRV.DLL
upx %tmpfolder%\I386\SYSTEM32\DRMCLIEN.DLL
upx %tmpfolder%\I386\SYSTEM32\DUSER.DLL
upx %tmpfolder%\I386\SYSTEM32\SLBCSP.DLL
upx %tmpfolder%\I386\SYSTEM32\NETUI2.DLL
upx %tmpfolder%\I386\SYSTEM32\MP43DMOD.DLL
upx %tmpfolder%\I386\SYSTEM32\SCESRV.DLL
upx %tmpfolder%\I386\SYSTEM32\DX3J.DLL
upx %tmpfolder%\I386\SYSTEM32\UNTFS.DLL
upx %tmpfolder%\I386\SYSTEM32\IEDKCS32.DLL
upx %tmpfolder%\I386\SYSTEM32\USRDTEA.DLL
upx %tmpfolder%\I386\SYSTEM32\CSCUI.DLL
upx %tmpfolder%\I386\SYSTEM32\CTDC0000.DLL
upx %tmpfolder%\I386\SYSTEM32\HNETWIZ.DLL
upx %tmpfolder%\I386\SYSTEM32\DMCONFIG.DLL
upx %tmpfolder%\I386\SYSTEM32\IPNATHLP.DLL
upx %tmpfolder%\I386\SYSTEM32\NETAPI32.DLL
upx %tmpfolder%\I386\SYSTEM32\IR41_QCX.DLL
upx %tmpfolder%\I386\SYSTEM32\3CDTE.DLL
upx %tmpfolder%\I386\SYSTEM32\LOCALSPL.DLL
upx %tmpfolder%\I386\SYSTEM32\HNETCFG.DLL
upx %tmpfolder%\I386\SYSTEM32\MSVCR70.DLL
upx %tmpfolder%\I386\SYSTEM32\CONFMSP.DLL
upx %tmpfolder%\I386\SYSTEM32\IPSECSNP.DLL
upx %tmpfolder%\I386\SYSTEM32\WMADMOD.DLL
upx %tmpfolder%\I386\SYSTEM32\D3DRM.DLL
upx %tmpfolder%\I386\SYSTEM32\MSSCP.DLL
upx %tmpfolder%\I386\SYSTEM32\DXTMSFT.DLL
upx %tmpfolder%\I386\SYSTEM32\TERMMGR.DLL
upx %tmpfolder%\I386\SYSTEM32\PSISDECD.DLL
upx %tmpfolder%\I386\SYSTEM32\NPDSPLAY.DLL
upx %tmpfolder%\I386\SYSTEM32\DSOUND.DLL
upx %tmpfolder%\I386\SYSTEM32\DPNET.DLL
upx %tmpfolder%\I386\SYSTEM32\FONTEXT.DLL
upx %tmpfolder%\I386\SYSTEM32\MP4SDMOD.DLL
upx %tmpfolder%\I386\SYSTEM32\QDVD.DLL
upx %tmpfolder%\I386\SYSTEM32\THEMEUI.DLL
upx %tmpfolder%\I386\SYSTEM32\DIACTFRM.DLL
upx %tmpfolder%\I386\SYSTEM32\USP10.DLL
upx %tmpfolder%\I386\SYSTEM32\NETLOGON.DLL
upx %tmpfolder%\I386\SYSTEM32\MSVCP60.DLL
upx %tmpfolder%\I386\SYSTEM32\SAMSRV.DLL
upx %tmpfolder%\I386\SYSTEM32\VBSCRIPT.DLL
upx %tmpfolder%\I386\SYSTEM32\VSSAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\RICHED20.DLL
upx %tmpfolder%\I386\SYSTEM32\NTMSSVC.DLL
upx %tmpfolder%\I386\SYSTEM32\D3DIM.DLL
upx %tmpfolder%\I386\SYSTEM32\XPOB2RES.DLL
upx %tmpfolder%\I386\SYSTEM32\AMDIDECO.DLL
upx %tmpfolder%\I386\SYSTEM32\MSHTMLED.DLL
upx %tmpfolder%\I386\SYSTEM32\CERTMGR.DLL
upx %tmpfolder%\I386\SYSTEM32\NMW3VWN.DLL
upx %tmpfolder%\I386\SYSTEM32\A3DAPI.DLL

rem > 500 KB -no ok-
upx %tmpfolder%\I386\SYSTEM32\NETCFGX.DLL
upx %tmpfolder%\I386\SYSTEM32\CATSRVUT.DLL
upx %tmpfolder%\I386\SYSTEM32\WININET.DLL
upx %tmpfolder%\I386\SYSTEM32\RASDLG.DLL
upx %tmpfolder%\I386\SYSTEM32\SPXPORTS.DLL
upx %tmpfolder%\I386\SYSTEM32\WMADMOE.DLL
upx %tmpfolder%\I386\SYSTEM32\XVIDCORE.DLL
upx %tmpfolder%\I386\SYSTEM32\MSVBVM50.DLL
upx %tmpfolder%\I386\SYSTEM32\AUDIO3D.DLL
upx %tmpfolder%\I386\SYSTEM32\SXS.DLL
upx %tmpfolder%\I386\SYSTEM32\MSVBVM60.DLL
upx %tmpfolder%\I386\SYSTEM32\USERENV.DLL
upx %tmpfolder%\I386\SYSTEM32\QEDWIPES.DLL
upx %tmpfolder%\I386\SYSTEM32\LIBAVCODEC.DLL
upx %tmpfolder%\I386\SYSTEM32\WMSDMOD.DLL
upx %tmpfolder%\I386\SYSTEM32\CRLDS3D.DLL
upx %tmpfolder%\I386\SYSTEM32\DX8VB.DLL
upx %tmpfolder%\I386\SYSTEM32\COMRES.DLL
upx %tmpfolder%\I386\SYSTEM32\WMVDMOD.DLL
upx %tmpfolder%\I386\SYSTEM32\MSI.DLL
upx %tmpfolder%\I386\SYSTEM32\DBGENG.DLL
upx %tmpfolder%\I386\SYSTEM32\TAPI3.DLL
upx %tmpfolder%\I386\SYSTEM32\ATI3D1AG.DLL
upx %tmpfolder%\I386\SYSTEM32\NETPLWIZ.DLL
upx %tmpfolder%\I386\SYSTEM32\VORBISENC.DLL
upx %tmpfolder%\I386\SYSTEM32\WMSPDMOE.DLL
upx %tmpfolder%\I386\SYSTEM32\CMIDS3D.DLL
upx %tmpfolder%\I386\SYSTEM32\SETUPAPI.DLL
upx %tmpfolder%\I386\SYSTEM32\SYSSETUP.DLL
upx %tmpfolder%\I386\SYSTEM32\W20MLRES.DLL
upx %tmpfolder%\I386\SYSTEM32\WMVDMOE2.DLL
upx %tmpfolder%\I386\SYSTEM32\BROWSEUI.DLL

rem > 1 MB
upx %tmpfolder%\I386\SYSTEM32\WMNETMGR.DLL
upx %tmpfolder%\I386\SYSTEM32\WMSDMOE2.DLL
upx %tmpfolder%\I386\SYSTEM32\COMSVCS.DLL
upx %tmpfolder%\I386\SYSTEM32\MSHTML.DLL
upx %tmpfolder%\I386\SYSTEM32\QUERY.DLL
upx %tmpfolder%\I386\SYSTEM32\SHDOCVW.DLL
upx %tmpfolder%\I386\SYSTEM32\DISKCOPY:DLL
upx %tmpfolder%\I386\SYSTEM32\NVOGLNT.DLL
upx %tmpfolder%\I386\SYSTEM32\NVWDMCPL.DLL
upx %tmpfolder%\I386\SYSTEM32\W29MLRES.DLL

rem upx %tmpfolder%\I386\SYSTEM32\NETSHELL.DLL
upx %tmpfolder%\I386\SYSTEM32\WMVCORE.DLL
upx %tmpfolder%\I386\SYSTEM32\atioglxx.dll
upx %tmpfolder%\I386\SYSTEM32\ATI3DUAG.DLL
upx %tmpfolder%\I386\SYSTEM32\W39MLRES.DLL
upx %tmpfolder%\I386\SYSTEM32\WMPLOC.DLL
upx %tmpfolder%\I386\SYSTEM32\NVCPL.DLL
upx %tmpfolder%\I386\SYSTEM32\NV4_DISP.DLL
upx %tmpfolder%\I386\SYSTEM32\WMP.DLL
rem %tmpfolder%\I386\SYSTEM32\SHELL32.DLL
Rajesh 2010
@oscar
great work
but i have made a list of files which should never be upxed

so the list u provided will automatically get upxed by my script

i would like u to download n test the script i have given

would like to see comments like was it useful
or create problems
or were the results better than the result u get from ur upx script or not

best regards
oscar
I have just downloaded the script and I will test it, but what I remember is that the list of files that cannot be upxed is larger
than yours. and it is not easy to know which file is safe to upx.
If I were you, instead of dontupx.txt I would use a doupx..txt based on my list because it was tested for years now.

Best regards



Ed_P
QUOTE (oscar @ Sep 29 2010, 02:29 PM) *
If I were you, instead of dontupx.txt I would use a doupx..txt based on my list because it was tested for years now.

Or add an option to allow the end user to choose which type of list they want to use. thumbsup.gif
Rajesh 2010
actually i have made that list with lots of trial n error
n i m sure that this is only list of files which should not be upxed


this is my list

kernel32.dll
ntdll.dll
user32.dll
WINSRV.DLL
GDI32.DLL
BASESRV.DLL
CSRSRV.DLL
;
;
;Keyboard dll
KBDUS.DLL
;
;
SMSS.EXE
csrss.exe
7za.exe
;
;
ramdisk.sys
ramdriv.sys
RRamdisk.sys
firadisk.sys
;
;
;list of files from "programs" folder not to be compressed
;
ghost32.exe



//this is the main list

kernel32.dll
ntdll.dll
user32.dll
WINSRV.DLL
GDI32.DLL
BASESRV.DLL
CSRSRV.DLL
;
;
;Keyboard dll
KBDUS.DLL
;
;
SMSS.EXE
csrss.exe


try upxing any one from the main list u'll get BSOD
fuwi
@oscar

The following files in your batch cannot be upxed with the latest upx version 3.07w, so it saves only ~25MB for me...
QUOTE
LZ32.DLL
WINSOCK.DLL
RNR20.DLL
WOWFAX.DLL
RICHED32.DLL
ICMP.DLL
STORAGE.DLL
MSSIP32.DLL
MSIMG32.DLL
SHELL.DLL
KBDDV.DLL
KBDIT.DLL
KBDUK.DLL
KBDGAE.DLL
KBDRU.DLL
WMI.DLL
KBDIT142.DLL
SECURITY.DLL
KBDIR.DLL
KBDUS.DLL
KBDFI.DLL
KBDMAC.DLL
KBDNO.DLL
KBDIC.DLL
KBDUSL.DLL
KBDES.DLL
KBDUSR.DLL
KBDFR.DLL
KBDCA.DLL
KBDSP.DLL
KBDFC.DLL
KBDGR.DLL
KBDNE.DLL
KBDBE.DLL
KBDUSX.DLL
KBDSW.DLL
KBDBR.DLL
KBDGR1.DLL
KBDSF.DLL
KBDPO.DLL
KBDDA.DLL
KBDSG.DLL
KBDLA.DLL
KBDPL.DLL
KBDHU.DLL
KBDSL.DLL
KDCOM.DLL
KBDNEC.DLL
KBDCZ.DLL
KD1394.DLL
VER.DLL
VGA.DLL
FRAMEBUF.DLL
LZEXPAND.DLL
VIRPORT.DLL
BOOTVID.DLL
WIN87EM.DLL
DIAPI2.DLL
TOOLHELP.DLL
CFGMGR32.DLL
VGA64K.DLL
AVMCAPI.DLL
AVMC20.DLL
DGCLASS.DLL
OLESVR.DLL
ODBC16GT.DLL
CTL3DV2.DLL
SDHCINST.DLL
COMPOBJ.DLL
DISRVPP.DLL
CSRSRV.DLL
COMMDLG.DLL
DDEML.DLL
OLE2.DLL
MSVCRT40.DLL
MMSYSTEM.DLL
AVICAP.DLL
HALSP.DLL
HALACPI.DLL
OLECLI.DLL
HAL.DLL
NETAPI.DLL
AVIFILE.DLL
MSVIDEO.DLL
HALAACPI.DLL
HALMACPI.DLL
HALAPIC.DLL
HALMPS.DLL
OLE2NLS.DLL
OLE2DISP.DLL
TYPELIB.DLL


BTW: a good candidate for upxing is i386\EPLORER.EXE (saves ~630KB)

fuwi
Rajesh 2010
QUOTE (fuwi @ Oct 1 2010, 07:12 AM) *
@oscar

The following files in your batch cannot be upxed with the latest upx version 3.07w, so it saves only ~25MB for me...


that means u use a low version of upx which upx all those files because my script does not skip them

u can just put ur version of upx instead of mine then run the batch script

if u r using some other upx options u can just edit the batch file

would u share ur upx version which upx those list of files n also could u share ur upx options

i would like to use them

best regards
oscar
I have writen a more simple batch file to upx *.dll but it does not work because upx -d is buggy thumbdown.gif , the decompressed file is different from the original.
Tested with the last upx and other version 2 years old.
Works with upx 1.x because this very old upx skips many *.dll files unless you use the --force option


CODE

@echo off& Color F0&MODE CON: COLS=75 LINES=15
cls
@echo

set tmpfolder=Bartpe

rem upx system32\*.dll
upx %tmpfolder%\I386\SYSTEM32\*.DLL

rem unxpe a few files which do not work if compressed
rem but it does not work because upx -d is buggy, the decompressed file is different from the original
upx -d %tmpfolder%\I386\SYSTEM32\kernel32.dll
upx -d %tmpfolder%\I386\SYSTEM32\ntdll.dll
upx -d %tmpfolder%\I386\SYSTEM32\user32.dll
upx -d %tmpfolder%\I386\SYSTEM32\WINSRV.DLL
upx -d %tmpfolder%\I386\SYSTEM32\GDI32.DLL
upx -d %tmpfolder%\I386\SYSTEM32\BASESRV.DLL
upx -d %tmpfolder%\I386\SYSTEM32\CSRSRV.DLL
upx -d %tmpfolder%\I386\SYSTEM32\KBD*.DLL





@Rajesh2010

I need to add this files to the donotupx.txt list, but it is not enough, I cannot boot successfully yet if *.sys files are upxed.

viaide.sys
mraid35x.sys
adpu160m.sys
Rajesh 2010
very nice ,interesting script

i dont skip all kbd*.dll i only skip kbdus.dll
u can put the keybord language dll u r using in the list

u can put these file in dontupx.txt directly
the ; in that txt is just for putting comments n seperation

just copy these name as it is in the txt files one below the other anywhere u want
the txt file does not have any special sections

QUOTE
viaide.sys
mraid35x.sys
adpu160m.sys


the batch file just reads the file line by line skipping the line with a semi-colon

the upx version i m using has never touched a single sys file
if u dont want any sys files to be upxed instead of adding files to dontupx.txt u can just edit the upx.cmd file

original statement
for /r "%~1" %%f in (*.dll,*.exe,*.sys) do (

new statement (just delete *.sys)

for /r "%~1" %%f in (*.dll,*.exe) do (

best regards
Rajesh 2010
hey i see the latest upx have lzma commpression option

use latest upx
open upx.cmd
delete all its contents

and then paste the following code
its the same little diff ;now u can set compression options in 4th line
set compress_options=

CODE
@echo off
setlocal enabledelayedexpansion
set _ex=0
set compress_options=--best -f --lzma
for /r "%~1" %%f in (*.dll,*.exe) do (
set _ex=0
call :_chk  "%%~nxf"
if !_ex! == 0 (
      attrib "%%f" -r
      if /i "%%~nxf" == "shell32.dll" (
        upx.exe "%%f" %compress_options% --compress-icons=0
      ) else (
         upx.exe "%%f" %compress_options%
      )
)
)
goto :eof


:_chk
for /f "eol=;" %%i in (dontupx.txt) do (
   if /i "%%i" == "%~1" (
      set _ex=1
      goto :eof
   )
)
goto :eof
Rajesh 2010
hey oscar ,i hav been waiting for ur reply

no one seems interested
its like a dead thread now
oscar
Hi,
Now,I am not upxing any more because I am loading pebuilder.iso in ram (with firadisk and grub4dos) and the memory managment is better if files are not upxed.
Also pebuilder.iso may be compressed to pebuilder.gz if pebuilder.iso is to big.


Best Regards
Rajesh 2010
QUOTE (oscar @ Oct 7 2010, 09:42 AM) *
Hi,
Now,I am not upxing any more because I am loading pebuilder.iso in ram (with firadisk and grub4dos) and the memory managment is better if files are not upxed.
Also pebuilder.iso may be compressed to pebuilder.gz if pebuilder.iso is to big.


Best Regards


even i use firadisk + grub4dos
the only diff is that i use bartpe's hd image which is read/write ntfs compressd disk, so provides ntfs compression
no extra ram drive req the disk itself is used as ram drive bec its +rw

with pe.iso in ram requires more space + another ram drive
oscar
What is a Bartpe“s hd image? How?

I use FWBF (to make any CD (X:) virtually writable and tempdrive the same time, no need for a B: ramdrive) +firadisk or winvblock+grub4dos.
In this environment I have noticed that upxing does not save memory and Bartpe is unstable.
Rajesh 2010
u must build bart with the plugins u want + firadisk plugin
u must put these lines in ur firdisk plugin inf
CODE
[SetupReg.AddReg]
0x2, "ControlSet001\Control\Session Manager\Environment", "temp", "%SystemDrive%\temp\"
0x2, "ControlSet001\Control\Session Manager\Environment", "tmp", "%SystemDrive%\temp\"
; Add ramdrv environment variable...
0x2, "ControlSet001\Control\Session Manager\Environment", "ramdrv", "%SystemDrive%"

just build dont create iso


bart hd image means first
u have to create a ramdrive as fixed disk (i use rramdisk to create one) theres option to create fixed disk in rramdisk
then format that drive as compressed ntfs drive
next u must copy bartpe in ramdrive
in this u have to rename the i386 folder to minint
then copy ntdect.com to root of ramdrive
then copy setupldr.bin to root as ntldr
u must change ntldr's property to non compressed otherwise it 'll not boot

u have to first decide how much ur ram drive size must be

this how u can decide the ramdisk size
i normally build bartpe on compressed drive
so when u see bartpe folder size in prooperties u 'll see two sizes

"size" and "size on disk"

for eg
my values a like this
size 37.8
size on disk 28.5

so i set ramdisk size to 35mb which gives me 4mb of free space
u can have more ramdisk size to have more free disk space

[note] u must use robocopy.exe to copy bartpe to ramdisk ,otherewise it 'll not get copied by regular copy paste

u must defrac this drive with contig.exe

thats it next u save the drive as image say pe.img by using rramdisk or any other tool
thats it u have ur pe's hd image ready

this is gub menu

title barpte
find --set-root /usbboot
map --mem /pe.img (hd0)
map --hook
chainloader (hd0)+1
rootnoverify (hd0)
map --harddrives=1


i have created a script to automate this whole process
i will share it if u wanna try
Rajesh 2010
QUOTE (oscar @ Oct 7 2010, 04:00 PM) *
I use FWBF (to make any CD (X:) virtually writable
In this environment I have noticed that upxing does not save memory and Bartpe is unstable.


FWBF is also new to me .never heard of it.
i think u wanna say FBWF
correct me if i m wrong
i hav never used it


i use upxing only when i want to make a small shrinked pe.
mine is stable ,never had problems;well uses more memory bec we compress dlls
but thats ok for a small pe

i would like to know more abt FWBF
till then i'll do some more reasearch on it
oscar
QUOTE (Rajesh 2010 @ Oct 8 2010, 05:50 AM) *
i have created a script to automate this whole process
i will share it if u wanna try



Of course I want to try, you should probably better open a new thread and put your script there.

I have reuploaded the old FBWF (file base write filter) plugin
http://www.911cd.net/forums//index.php?sho...mp;#entry165008
Rajesh 2010
QUOTE (oscar @ Oct 8 2010, 10:07 AM) *
Of course I want to try, you should probably better open a new thread and put your script there.

I have reuploaded the old FBWF (file base write filter) plugin
http://www.911cd.net/forums//index.php?sho...mp;#entry165008


thanks
will see ur thread

new thread started

http://www.911cd.net/forums//index.php?showtopic=24100

best regards
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.