comrade's bureau


comments?

Sources


This page contains various source codes I have written over the years. Most of the stuff here is probably outdated/obsolete/deprecated/irrelevant. Though you may find something useful :). Let me know if there any problems by leaving a comment at the bottom of the page.

Most of the source codes here that were written for FASM will probably require a version 1.4x of FASM (which is quite old). They will also require additional include/macro files that do not come with the standard FASM package. You can download these here.


, version 1.1 10.03.2004 cmdasm

dll2inc

Lists the exports of a given DLL and produces a FASM include file. Now has the ability to import in ANSI or UNICODE (/a and /u switches). I used this back in the day FASM was still at v1.4, so this might be irrelevant now. Who knows.

download
, version 1.0 24.01.2004 vbasicscript

Dynamic Page Generator

An old VBScript I used to generate an older version of this site. Not sure why anyone would want to look at this.

download
, version 1.0 03.01.2004 cmdasm

mkpath

Utility for creation of nested path: mkpath.exe c:\dir\subdir - will create c:\dir, and then c:\dir\subdir.

download
17.12.2003 asm

dns-mx

Some assembly code for MX record look-up from a DNS server. Tons of spaghetti code back from the days when I thought asm was really cool. To compile, see the notice above about FASM code.

download
, version 1.0 14.12.2003 guiasm

Linked List

An example of linked lists in assembly. Has a Win32 dialog GUI, made in FASM.

download
, version 1.0 16.10.2003 cmdasm

Service Control Manager

Utility for quickly loading a kernel-mode driver and executing it. How it works: connects to NT SCM, creates a new service, runs it.

download
12.08.2003 winguidelphi

DetectSpy

Detect if spying (for trainers). Checks if any known trainer-spying programs are running, as well as if APIs like ReadProcessMemory/WriteProcess memory have been hooked by someone. The routines can be adapted to your own Delphi trainer.

download
03.06.2003 graphicsdosasm

circle

Draws circles in mode 13h (DOS).

download
31.05.2003 graphicsdosasm

roto256

rotozoomer in 256 bytes (asmcompo #7). In DOS.

download
, version 1.0 17.05.2003 asm

Library Name

Retrieves library name from module handle. Really, I forgot what this does. I think somebody asked me to make this.

download
, version 1.0 02.05.2003 guiasm

Knob

Example of radial knob in win32 assembly. I remember someone on the Win32asm community boards wanted an example of doing arctangent, so I wrote this.

download
27.01.2003 winguiasm

Dialog Colour

Displays how to colour dialogs in Win32 environment.

download, readme, screenshot
27.01.2003 winguiasm

Raw Bitmap

Displays monochrome bitmap (32x32) on dialog.

download, readme, screenshot
14.01.2003 winguiasm

SelfSave

SelfSave is application that attaches code to foreign process and writes new data onto its own executable using this attached code. How it works: opens the explorer.exe process, creates a remote thread in there; the remote thread waits until selfsave.exe quits, at which point it opens selfsafe.exe file for writing, and updates a string inside it.

download, readme, screenshot
12.01.2003 winguiasm

GVIHook

This utility hooks GetVolumeInformation() API in foreign process and prompts user for new volume name when this API is called. This is a really quirky way of hooking APIs, but it works. These were my first attempts at API hooking.

download, readme, screenshot
31.12.2002 wincmdasm

Machine Reader

Machine Reader is tool that iterates through given file-mask and reads PE machine word from file header.

download, readme
15.12.2002 winvbasic

ImgInfo

COM library for retrieving dimensions of image.

download
09.12.2002 graphicsdoscmdasm

mBMPView

Limited 95-byte BMP viewer for DOS.

download, readme
08.12.2002 winguigraphicsasm

TopText

Demonstrates displaying of transparent text on top of screen. Uses GDI paths and regions to trace out the path drawn by rasterizing a string with some font, converts that path to a region, and sets the region to the window, creating a transparent window.

download, readme
06.12.2002 winguiasm

Threads

Example of how to use threads using Win32 API. It has 3 threads running in parallel, all updates a variable. Uses no locks on the variable because I didn't know really know thread programming in 2002. Plus I had a single processor machine back then, so I never really cared.

download, readme, screenshot
, version 1.01 01.12.2002 wincmdasm

Format File

Template file formatting utility. Marginally useful for batch files to insert variables into a template file. Not very flexible.

download, readme, screenshot
28.11.2002 winasm

Linker Version

This utility retrieves linker version from PE file. I think someone on the forums asked me to make this.

download, readme
24.11.2002 winpatchguiasm

Trillian MSN Static IP Patcher

Patch for Trillian's msn.dll to enable users behind firewalls transfer files through MSN. Probably outdated a thousand times over, considering this was made in 2002.

download, readme
23.11.2002 wincmdasm

strdel

Assembly routine for removal of bytes inside string.

download, readme
, version 1.01 14.10.2002 winguigraphicsasm

4kb Keygen Template

4kb keygen template for AntiCrack Contests (http://contests.anticrack.de). I got like 4th place or something, I don't remember.

download, readme, screenshot
22.08.2002 scriptmirc

HTTP Downloader mIRC Script

Provides interface to download files inside mIRC.

download, readme
18.08.2002 scriptasp

Guestbook ASP Script

Simple text-file-based guestbook for Active Server Pages.

download
11.08.2002 wingraphicsasm

Tross Intro

Intro for Tross/CRO (http://www.scener.tk/). Contains some mediocre effects: a sine-waved image, 3D bobs with morphing.

download, screenshot
08.08.2002 cmdasm

rc4

RC4 encryptor/decryptor.

download
18.07.2002 wincmdasm

Lempel-Ziv 77 Implementation

x86 assembly implementation of Lempel-Ziv 77 compression algorithm. Contains assembly routines, plus a command-line interface. The code is pretty well tested, and I actually successfully used in some other projects I had. With the regards to compression ratio, its pretty bad.

download, readme
, version 1.11 15.07.2002 winguiasm

Image Viewer

JPEG/GIF/BMP image viewer, using OLE interface. How it works: we have a simple Win32 window, and we use OleLoadPicture to load a picture. This is useful because you can load JPEG/GIF for your intro/cracktro/keygen/whatever with very little code (the alternatives are ijg/inteljpeg which weigh a lot of kilobytes).

download, readme, screenshot
13.07.2002 wincmdasm

Match Routine

x86 assembly implementation of wildcard string matching routine. Supports * and ? characters. This is really bad spaghetti code which I don't understand anymore. Might have bugs, but I do use it extensively in lots of projects and haven't found a problem so far.

download, readme
29.06.2002 winguiasm

Auto-Complete Combo Box

Demonstration of an auto-complete combo box with Win32 API and asm.

download, readme
, version 1.01 25.05.2002 winpatchasm

WinMX Loader

Memory loader (in-memory patcher) for WinMX v2.6 to delete files for real, instead of moving them to Recycle Bin. Probably outdated since WinMX no longer exists.

download, readme
17.03.2002 scriptmirc

Google mIRC Script

Provides interface to retrieve best Google search result in mIRC. Might not work anymore, considering it was made in 2002.

download, readme
, version 2.1 10.03.2002 winasm

No Imports

Demonstrates non-import-table API resolving. Still very useful snippet of code for injected code/shell code to get a pointer to LoadLibrary/GetProcAddress.

download, readme
, version 1.1 28.02.2002 wingraphicsasm

Flares 4kb Intro

4kb intro for asmcompo #6. I got 2nd place with this, losing out to matja whose entry was in C!

download, readme, screenshot
04.12.2001 graphicsdosasm

1kb Intro

1kb intro for asmcompo #5. Its for DOS, just draws sine-waved palette circles.

download
22.10.2001 winguiasm

Own API Hooker

Hooks MessageBoxIndirectA() inside own process.

WARNING: I've reviewed this recently and this is crap. Don't use this technique. -comrade, 2010-07-06

download, readme
16.08.2001 wincmdasm

HTTP Scanner

Scans for 401 (password protected) in Class-C IP range.

download, readme
11.08.2001 winguigraphicscasm

Scroller

Several simple and sine-wave side-scrollers in C and win32 assembly.

download, readme
, version 1.1 06.07.2001 graphicsdosasm

Tiny Snow

95-byte DOS snow.

download, readme
, version 1.01 28.05.2001 winguiasm

Anaglyph

Image channel combination utility.

download, readme
27.05.2001 winguiasm

Structured Exception Handling

x86 assembly implementation of error handling.

WARNING: Not very good code, I still didn't fully understand Win32's SEH when I wrote this.

download, readme
June 25, 2002 wincmdasm

Text File Format Converter

Utility to convert to/from UNIX/DOS text-file formats.

download, readme, screenshot

Comments

reply (2008-06-23 17:25:40) heh wrote:
You asked for comments... seems like you've gotten few :P
reply (2008-07-30 03:00:59) ajkiller wrote:
Better
reply (2008-08-07 17:11:21) (anonymous) wrote:
what happened to desktop icon saver ?
Its by far single most useful app.
cheers,

RM
reply (2008-08-31 04:46:06) comrade replied:
Its incompatible with Vista and non-English icon names. I will post it as soon as I update and give it an interface. (Just a menu item when you right-click the desktop).
reply (2011-04-30 16:51:45) That's a mold-bearker. G replied:
That's a mold-bearker. Great thinking!
reply (2011-05-02 14:55:41) IJWTS wow! Why can't I t replied:
IJWTS wow! Why can't I think of tnhgis like that?
reply (2008-10-05 03:54:38) el8 wrote:
elite
reply (2008-11-09 21:46:06) (anonymous) wrote:
Lots of helpful stuff here!
reply (2011-05-01 10:35:20) That's the best awnser o replied:
That's the best awnser of all time! JMHO
reply (2011-05-02 16:34:06) That's a mold-breaker. G replied:
That's a mold-breaker. Great tihnking!
reply (2008-11-13 15:22:17) wht wrote:
Many thanks for the sources! I was looking for a wildcard matching routine, and yours was very helpful! Thank you very much again for your generosity!
reply (2009-02-23 18:07:42) Bong wrote:
What's your favorite medication?
reply (2009-02-23 18:09:29) BONG wrote:
***************************************
* *
* *
* C O O L :-) *
* *
* *
***************************************
reply (2009-03-02 07:46:07) BehrangNirvana wrote:
Nice Site Man!
reply (2009-11-10 05:00:08) (anonymous) wrote:
your code is very good
reply (2010-10-24 20:42:17) jonn1 wrote:
comment4,
reply (2010-12-16 08:07:54) autocomplete wrote:
reply (2010-12-16 08:08:58) autocomplete wrote:
plese write autocomplete code masm
reply (2011-08-31 02:59:40) christian louboutin uk wrote:
Beijing BEIJING, Aug. 15 (Xinhua reporter ZHANG Dong-dong) Today, China's christian louboutin uk rich and powerful is rapidly emerging. Overseas Chinese University and the Social Sciences Academic Press release of 15 overseas Chinese christian louboutin sale Blue Book shows the top 40 billionaires in China is close to the average wealth of $ 3.42 billion, higher than the global average wealth of 241 richest Chinese in $ 2.014 billion christian louboutin shoes higher than 69.8%. Titled "Overseas Chinese Study 2011," the Blue Book that the vast christian louboutin sale majority of the world's wealth is still concentrated in the Chinese businessmen in Southeast Asia and Hong Kong and Taiwan, but mainland China's rise and the rich countries the christian louboutin pumps sale rise of Chinese high-tech companies, Chinese entrepreneurs are changing the world the geographical christian louboutin shoes uk distribution of wealth and industry structure. Blue Book, said reference data, in Forbes (Forbes) 2010 annual national or regional top 40 richest people in mainland christian louboutin sandals sale China and Hong Kong and Taiwan and, Malaysia, Thailand, the Philippines, Indonesia and other ASEAN five countries christian louboutin shoe selected for a total of 241 Chinese These wealthy Chinese total $ 485.55 billion of wealth, the average wealth of $ 2,015,000,000. christian louboutin shoes uk Among them, the ASEAN five countries selected 124 richest Chinese combined wealth $ 152.02 billion, the average wealth of $ 1.23 billion; 37 selected Hong Kong Chinese tycoons christian louboutin pumps sale wealth of $ 126.5 billion total, the average wealth of $ 3.42 billion; Taiwan christian louboutin sandals sale selected 40 total wealth of $ 70,260,000,000 rich average wealth of $ 1.76 billion; mainland China selected 40 total $ 136.66 billion richest wealth, the average wealth of $ 3.42 billion, close christian louboutin shoes to the average wealth of the rich in Hong Kong.LYM0816
reply (2011-09-10 03:52:05) b0SamueL0b wrote:
+z$8frZdyL%68pSU/:>w
reply (2011-09-10 03:52:07) b0SamueL0b wrote:
+z$8frZdyL%68pSU/:>w
reply (2011-09-10 03:52:10) b0SamueL0b wrote:
+z$8frZdyL%68pSU/:>w
reply (2012-01-22 15:15:06) Life is short, and this replied:
Life is short, and this article saved vaulbale time on this Earth.
reply (2011-09-10 03:52:13) b0SamueL0b wrote:
+z$8frZdyL%68pSU/:>w
reply (2011-09-10 03:52:16) b0SamueL0b wrote:
+z$8frZdyL%68pSU/:>w
reply (2011-10-25 13:29:33) christian louboutin Aust wrote:
She thought they were christian louboutin Australia great although she did say christian louboutin greece some of the shoes Jimmy choo australia were very high,she jimmy choo australia laughs. A self-confessed ugg boots uk shoe junkie, Chloe has an christian louboutin ireland enviable closet which christian louboutin pumps ireland houses 70 pairs of Christian Louboutins. They are my weakness classic tall uggs and the inspiration for jimmy choo shoes my line. I met Louboutin at a ball once jimmy choo shoes and Dad told him, This is my christian louboutin pumps daughter. She must be one of your louboutin sale best customers! I designed my collection myself. The shoes are made in Brazil and they all have a green sole.
http://www.christianlouboutinaustralian.net/
http://www.christianlouboutingreeces.net/
http://www.jimmychooaustralian.net/
http://www.jimmychooshoesaustralia.net/
http://www.uggbootinuk.co.uk/
http://www.christianlouboutinirelandpumps.com/CJ1025
reply (2012-01-22 16:22:03) Hey, klielr job on that replied:
Hey, klielr job on that one you guys!
reply (2012-01-25 03:40:25) Alakazaam-information fo replied:
Alakazaam-information found, problem solved, takhns!
reply (2011-11-28 17:17:39) John Turcott wrote:
Are you currently programming for anyone? I ask because I own a number of web sites (CheapPrices.com, LCDSearch.com, PDQSpider.com, USANewsToday.com, USASportsToday.com) and I'm looking for a few new people with programming skills, and a few good ideas.

Please contact me if you or any of your readers have any interest.

If this is not an acceptable post, please feel free to delete it. I've never been good at fitting in, so I apologize if this is not acceptable.

Thank you, John Turcott
The best email address to reach me is Sales at LCDSearch.com (obviously replace the ' at ' with @. Just trying to avoid scrappers, spiders etc.

Post a comment


Allowed HTML tags: <b> for bold, <i> for italics, <u> for underline, <pre> for code.

Leave this box blank: