Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0c
lea eax, [ebp - 0xaf4]
push eax
call fcn.00402240
add esp, 4
push str.07_07_05
lea ecx, [ebp - 0xaf4]
push ecx
call fcn.00408630
add esp, 8
test eax, eax
je 0x40104e
push 0
push 0x40b15c
push 0x40b164
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00401a20
add esp, 4
push str..exe
mov edx, dword [0x40dd68]
mov eax, dword [edx]
push eax
call fcn.004021c0
add esp, 4
mov ecx, dword [0x40dd68]
mov edx, dword [ecx]
lea eax, [edx + eax - 4]
push eax
call fcn.00408630
add esp, 8
test eax, eax
je 0x40109c
mov ecx, dword [0x40dd68]
mov edx, dword [ecx]
push edx
push str._s.exe
lea eax, [ebp - 0x9a0]
push eax
call fcn.00402150
add esp, 0xc
jmp 0x4010b4
mov ecx, dword [0x40dd68]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0x9a0]
push eax
call fcn.00401f80
add esp, 8
push 0x40b240
lea ecx, [ebp - 0x9a0]
push ecx
call fcn.00402130
add esp, 8
mov dword [ebp - 0x9a4], eax
cmp dword [ebp - 0x9a4], 0
jne 0x4010f5
push 0
push 0x40dd40
push str.Cannot_open_EXE_file
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00401a20
add esp, 4
push str.TEMP
call fcn.00402070
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401128
push 0x40b264
call fcn.00402070
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401128
mov dword [ebp - 4], 0x40b268
push 0x104
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [ebp - 0x89c], eax
cmp dword [ebp - 0x89c], 0
jle 0x401156
lea ecx, [ebp - 0x214]
mov dword [ebp - 4], ecx
lea edx, [ebp - 0xb00]
push edx
call fcn.00402240
add esp, 4
push str.07_07_05
lea eax, [ebp - 0xb00]
push eax
call fcn.00408630
add esp, 8
test eax, eax
je 0x40119b
push 0
push 0x40b26c
push 0x40b274
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00401a20
add esp, 4
movsx ecx, byte [0x40b046]
test ecx, ecx
je 0x401219
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x314]
push eax
call fcn.00401f80
add esp, 8
lea ecx, [ebp - 0x314]
push ecx
call fcn.004021c0
add esp, 4
movsx edx, byte [ebp + eax - 0x315]
cmp edx, 0x5c
je 0x4011e9
push 0x40b340
lea eax, [ebp - 0x314]
push eax
call fcn.00401f90
add esp, 8
push 0x40b046
lea ecx, [ebp - 0x314]
push ecx
call fcn.00401f90
add esp, 8
lea edx, [ebp - 0x314]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0xae8]
push ecx
call fcn.00401f80
add esp, 8
movsx edx, byte [0x40b094]
test edx, edx
je 0x401256
push 0x40b094
lea eax, [ebp - 0x314]
push eax
call fcn.00401f80
add esp, 8
lea ecx, [ebp - 0x314]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0xae8]
push eax
call fcn.00401f80
add esp, 8
jmp 0x40127d
push 0x40b344
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401ce0
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0xae8]
push eax
call fcn.00401f80
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401cb0
add esp, 4
lea edx, [ebp - 0xae8]
push edx
call fcn.004021c0
add esp, 4
movsx eax, byte [ebp + eax - 0xae9]
cmp eax, 0x5c
je 0x4012b9
push 0x40b348
lea ecx, [ebp - 0xae8]
push ecx
call fcn.00401f90
add esp, 8
lea edx, [ebp - 0xb0c]
push edx
call fcn.00402240
add esp, 4
push str.07_07_05
lea eax, [ebp - 0xb0c]
push eax
call fcn.00408630
add esp, 8
test eax, eax
je 0x4012fe
push 0
push str.CMD2EXE
push str.Sorry__Unable_to_run_the_program_you_generated_with_CMD2EXE_Trial_Edition__today.__You_must_recompile_each_day_as_you_test_this_version_of_CMD2EXE._n_nThe_registered_version_does_not_have_this_limitation.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00401a20
add esp, 4
push 0
push 0x40b033
call fcn.00401ca0
add esp, 4
push eax
mov ecx, dword [ebp - 0x9a4]
push ecx
call fcn.00401b60
add esp, 0xc
mov dword [ebp - 0x8a0], 0
jmp 0x401338
mov edx, dword [ebp - 0x8a0]
add edx, 1
mov dword [ebp - 0x8a0], edx
mov dword [ebp - 0x89c], 0
mov eax, dword [ebp - 0x9a4]
push eax
call fcn.00401b30
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x401391
cmp dword [ebp - 8], 0xffffffff
jne 0x401362
jmp 0x401391
mov ecx, dword [ebp - 0x89c]
mov dl, byte [ebp - 8]
mov byte [ebp + ecx - 0x9e8], dl
mov eax, dword [ebp - 0x89c]
add eax, 1
mov dword [ebp - 0x89c], eax
mov ecx, dword [ebp - 0x89c]
mov byte [ebp + ecx - 0x9e8], 0
jmp 0x401342
cmp dword [ebp - 8], 0xffffffff
jne 0x40139c
jmp 0x40150d
lea edx, [ebp - 0x9e8]
push edx
lea eax, [ebp - 0xae8]
push eax
push 0x40b420
lea ecx, [ebp - 0x414]
push ecx
call fcn.00402150
add esp, 0x10
cmp dword [ebp - 0x8a0], 0
jne 0x401485
cmp dword [0x40dd64], 1
jle 0x401463
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea edx, [ebp - 0xc0c]
push edx
call fcn.00401f80
add esp, 8
push str.__t_r_n
lea eax, [ebp - 0xc0c]
push eax
call fcn.00401910
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004021c0
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [edx + eax + 1]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x40143b
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0x20
jne 0x40143b
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x40141b
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x9e8]
push ecx
lea edx, [ebp - 0xae8]
push edx
push str._s_s__s
lea eax, [ebp - 0x594]
push eax
call fcn.00402150
add esp, 0x14
jmp 0x401485
lea ecx, [ebp - 0x9e8]
push ecx
lea edx, [ebp - 0xae8]
push edx
push str._s_s
lea eax, [ebp - 0x594]
push eax
call fcn.00402150
add esp, 0x10
mov ecx, dword [ebp - 0x9a4]
push ecx
push 4
push 1
lea edx, [ebp - 0x9a8]
push edx
call fcn.004017d0
add esp, 0x10
push 0x40b440
lea eax, [ebp - 0x414]
push eax
call fcn.00402130
add esp, 8
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x9a8]
mov edx, dword [ebp - 0x9a8]
sub edx, 1
mov dword [ebp - 0x9a8], edx
test ecx, ecx
je 0x4014f9
mov eax, dword [ebp - 0x9a4]
push eax
call fcn.00401b30
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x110]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004017a0
add esp, 8
jmp 0x4014b9
mov eax, dword [ebp - 0x110]
push eax
call fcn.00401720
add esp, 4
jmp 0x401329
mov ecx, dword [ebp - 0x9a4]
push ecx
call fcn.00401720
add esp, 4
push str.c2e_edir
lea edx, [ebp - 0x898]
push edx
call fcn.00401f80
add esp, 8
push 0x104
lea eax, [ebp - 0x698]
push eax
call fcn.004084a0
add esp, 8
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x698]
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [ebp - 0x89c], eax
cmp dword [ebp - 0x89c], 0
jle 0x401582
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x898]
push ecx
call fcn.00401f90
add esp, 8
lea edx, [ebp - 0x898]
push edx
call fcn.004083c0
add esp, 4
lea eax, [ebp - 0xae8]
push eax
push str.c2e_bdir_s
lea ecx, [ebp - 0x798]
push ecx
call fcn.00402150
add esp, 0xc
lea edx, [ebp - 0x798]
push edx
call fcn.004021c0
add esp, 4
movsx eax, byte [ebp + eax - 0x799]
cmp eax, 0x5c
jne 0x4015df
lea ecx, [ebp - 0x798]
push ecx
call fcn.004021c0
add esp, 4
mov byte [ebp + eax - 0x799], 0
lea edx, [ebp - 0x798]
push edx
call fcn.004083c0
add esp, 4
lea eax, [ebp - 0x594]
push eax
call fcn.00401670
add esp, 4
lea ecx, [ebp - 0xae8]
push ecx
push str._for___x_in___s.__do__del___x
lea edx, [ebp - 0x594]
push edx
call fcn.00402150
add esp, 0xc
lea eax, [ebp - 0x594]
push eax
call fcn.00401670
add esp, 4
lea ecx, [ebp - 0xae8]
push ecx
call fcn.004021c0
add esp, 4
mov byte [ebp + eax - 0xae9], 0
lea edx, [ebp - 0xae8]
push edx
push str._rd__s
lea eax, [ebp - 0x594]
push eax
call fcn.00402150
add esp, 0xc
lea ecx, [ebp - 0x594]
push ecx
call fcn.00401670
add esp, 4
mov esp, ebp
pop ebp
ret