I'm not joking...

Sorry I don't know how to explain.

If you have Hex Workshop

1. Go to File > Imports.
2. When prompted to choose a file, pick MBox.hex
3. After loading, save it as .exe and there you have it.

Our first Win32HEX program.
Posted on 2002-04-05 15:03:17 by stryker
i'm not sure yet whether i should laugh or cry... ;)

those friday evenings can get pretty boring, eh?
Posted on 2002-04-05 15:30:29 by Tola
Yeah I know it's friday and it's kinda boring so...

Cry! Cry! Cry! :grin: lol
Posted on 2002-04-05 15:32:39 by stryker




Posted on 2002-04-05 16:28:05 by Tola
Good stuff Josh,

Here is a version that can be built with qeditor.

Regards,

hutch@movsd.com



; -- -------------------------------------------------
; To build this HEX file, open it in qeditor.exe and
; save it using the "Save hex as Binary" option from
; the file menu. Tested on win95b only. This EXE file
; may not run on NT/2K/XP.
; ---------------------------------------------------

; ----------
; MZ header
; ----------
00000000: 4D 5A 90 00 03 00 00 00 - 04 00 00 00 FF FF 00 00
00000010: B8 00 00 00 00 00 00 00 - 40 00 00 00 00 00 00 00
00000020: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000030: 01 00 00 00 00 00 00 00 - 00 00 00 00 98 00 00 00
00000040: 0E 1F BA 0E 00 B4 09 CD - 21 B8 01 4C CD 21 77 69
00000050: 6E 33 32 68 65 78 20 72 - 65 77 6C 7A 0D 0A 24 00
00000060: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000070: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000080: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000090: 00 00 00 00 00 00 00 00

; ----------
; PE header
; ----------
00000098: 50 45 00 00 4C 01 01 00
000000A0: 30 28 AE 3C 00 00 00 00 - 00 00 00 00 E0 00 0F 01
000000B0: 0B 01 05 0C 00 02 00 00 - 00 00 00 00 00 00 00 00
000000C0: 10 10 00 00 00 10 00 00 - 00 20 00 00 00 00 40 00
000000D0: 00 10 00 00 00 02 00 00 - 04 00 00 00 00 00 00 00
000000E0: 04 00 00 00 00 00 00 00 - 00 20 00 00 00 02 00 00
000000F0: 00 00 00 00 02 00 00 00 - 00 00 10 00 00 10 00 00
00000100: 00 00 10 00 00 10 00 00 - 00 00 00 00 10 00 00 00
00000110: 00 00 00 00 00 00 00 00 - 50 10 00 00 3C 00 00 00
00000120: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000130: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000140: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000150: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000160: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000170: 00 10 00 00 10 00 00 00 - 00 00 00 00 00 00 00 00
00000180: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000190: 2E 74 65 78 74 00 00 00 - D2 00 00 00 00 10 00 00
000001A0: 00 02 00 00 00 02 00 00 - 00 00 00 00 00 00 00 00
000001B0: 00 00 00 00 20 00 00 60 - 00 00 00 00 00 00 00 00
000001C0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000001D0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000001E0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000001F0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000200: B6 10 00 00 00 00 00 00 - 9C 10 00 00 00 00 00 00
00000210: EB 18 57 69 6E 33 32 48 - 65 78 00 20 46 6F 72 20
00000220: 52 45 41 4C 20 4D 65 6E - 20 00 6A 00 68 12 10 40
00000230: 00 68 1B 10 40 00 6A 00 - E8 07 00 00 00 6A 00 E8
00000240: 06 00 00 00 FF 25 08 10 - 40 00 FF 25 00 10 40 00
00000250: 94 10 00 00 00 00 00 00 - 00 00 00 00 AA 10 00 00
00000260: 08 10 00 00 8C 10 00 00 - 00 00 00 00 00 00 00 00
00000270: C4 10 00 00 00 10 00 00 - 00 00 00 00 00 00 00 00
00000280: 00 00 00 00 00 00 00 00 - 00 00 00 00 B6 10 00 00
00000290: 00 00 00 00 9C 10 00 00 - 00 00 00 00

; -------------------
; imported functions
; -------------------
0000029C: BB 01 4D 65
000002A0: 73 73 61 67 65 42 6F 78 - 41 00 55 53 45 52 33 32
000002B0: 2E 64 6C 6C 00 00 75 00 - 45 78 69 74 50 72 6F 63
000002C0: 65 73 73 00 4B 45 52 4E - 45 4C 33 32 2E 64 6C 6C
Posted on 2002-04-05 17:34:00 by hutch--
Here's the 2k version. :alright: I'm having fun with this one. :grin:
[size=9]

00000000: 4D 5A 90 00 03 00 00 00 - 04 00 00 00 FF FF 00 00
00000010: B8 00 00 00 00 00 00 00 - 40 00 00 00 00 00 00 00
00000020: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000030: 00 00 00 00 00 00 00 00 - 00 00 00 00 B0 00 00 00
00000040: 0E 1F BA 0E 00 B4 09 CD - 21 B8 01 4C CD 21 54 68
00000050: 69 73 20 70 72 6F 67 72 - 61 6D 20 63 61 6E 6E 6F
00000060: 74 20 62 65 20 72 75 6E - 20 69 6E 20 44 4F 53 20
00000070: 6D 6F 64 65 2E 0D 0D 0A - 24 00 00 00 00 00 00 00
00000080: 5D 17 1D DB 19 76 73 88 - 19 76 73 88 19 76 73 88
00000090: 19 76 73 88 1E 76 73 88 - E5 56 61 88 18 76 73 88
000000A0: 52 69 63 68 19 76 73 88 - 00 00 00 00 00 00 00 00
000000B0: 50 45 00 00 4C 01 02 00 - 87 8B A7 3C 00 00 00 00
000000C0: 00 00 00 00 E0 00 0F 01 - 0B 01 05 0C 00 02 00 00
000000D0: 00 02 00 00 00 00 00 00 - 00 10 00 00 00 10 00 00
000000E0: 00 20 00 00 00 00 40 00 - 00 10 00 00 00 02 00 00
000000F0: 04 00 00 00 00 00 00 00 - 04 00 00 00 00 00 00 00
00000100: 00 30 00 00 00 02 00 00 - 00 00 00 00 02 00 00 00
00000110: 00 00 10 00 00 10 00 00 - 00 00 10 00 00 10 00 00
00000120: 00 00 00 00 10 00 00 00 - 00 00 00 00 00 00 00 00
00000130: 10 20 00 00 3C 00 00 00 - 00 00 00 00 00 00 00 00
00000140: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000150: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000160: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000170: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000180: 00 00 00 00 00 00 00 00 - 00 20 00 00 10 00 00 00
00000190: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000001A0: 00 00 00 00 00 00 00 00 - 2E 74 65 78 74 00 00 00
000001B0: 20 00 00 00 00 10 00 00 - 00 02 00 00 00 02 00 00
000001C0: 00 00 00 00 00 00 00 00 - 00 00 00 00 20 00 00 60
000001D0: 2E 72 64 61 74 61 00 00 - 92 00 00 00 00 20 00 00
000001E0: 00 02 00 00 00 04 00 00 - 00 00 00 00 00 00 00 00
000001F0: 00 00 00 00 40 00 00 40 - 00 00 00 00 00 00 00 00
00000200: 6A 00 6A 00 6A 00 6A 00 - E8 0D 00 00 00 6A 00 E8
00000210: 00 00 00 00 FF 25 00 20 - 40 00 FF 25 08 20 40 00
00000220: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000230: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000240: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000250: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000260: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000270: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000280: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000290: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000002A0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000002B0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000002C0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000002D0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000002E0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000002F0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000300: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000310: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000320: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000330: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000340: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000350: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000360: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000370: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000380: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000390: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000003A0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000003B0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000003C0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000003D0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000003E0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000003F0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000400: 5C 20 00 00 00 00 00 00 - 78 20 00 00 00 00 00 00
00000410: 4C 20 00 00 00 00 00 00 - 00 00 00 00 6A 20 00 00
00000420: 00 20 00 00 54 20 00 00 - 00 00 00 00 00 00 00 00
00000430: 86 20 00 00 08 20 00 00 - 00 00 00 00 00 00 00 00
00000440: 00 00 00 00 00 00 00 00 - 00 00 00 00 5C 20 00 00
00000450: 00 00 00 00 78 20 00 00 - 00 00 00 00 75 00 45 78
00000460: 69 74 50 72 6F 63 65 73 - 73 00 4B 45 52 4E 45 4C
00000470: 33 32 2E 64 6C 6C 00 00 - BB 01 4D 65 73 73 61 67
00000480: 65 42 6F 78 41 00 55 53 - 45 52 33 32 2E 64 6C 6C
00000490: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000004A0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000004B0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000004C0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000004D0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000004E0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000004F0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000500: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000510: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000520: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000530: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000540: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000550: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000560: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000570: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000580: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
00000590: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000005A0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000005B0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000005C0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000005D0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000005E0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
000005F0: 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00
[/size]
<edit>
I think I'm going to take a rest for awhile, it seems that my head is about to blow. :)
Posted on 2002-04-05 18:14:43 by stryker
Ok, let's optimize it now. :grin:
Posted on 2002-04-05 18:32:26 by Maverick
Nah! I think I'm going to focus my time on developing other apps(in ASM)...Anyway If I'm bored I'll Win32HEX programs. :alright:

I was feeling a bit woozy a few hours ago...
Posted on 2002-04-06 00:05:34 by stryker