Function at 0x42d2c6
Capabilities:
Accept command line arguments
Connect pipe
Create directory
Get hostname
Identify system language via api
Manipulate console buffer
Query environment variable
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc84
mov eax, dword [0x434004]
xor eax, esp
mov dword [esp + 0xc80], eax
push ebx
push esi
xor esi, esi
push edi
xor eax, eax
cmp eax, 0x112
jne 0x42d300
mov ecx, dword [0x4352fc]
add ecx, 0x9e49
mov dword [0x437b1c], ecx
cmp dword [0x437b1c], 0xe89
jne 0x42d31d
or dword [0x43631c], 0xffffffff
mov dword [0x436318], 0xec58acac
inc eax
cmp eax, 0x1238006
jl 0x42d2e7
xor edi, edi
cmp edi, 0x55ded1
jne 0x42d339
mov eax, dword [0x4352f0]
mov dword [0x437c4c], eax
cmp dword [0x437b1c], 0x3c
jne 0x42d348
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
inc edi
cmp edi, 0x5ea53c
jl 0x42d327
cmp dword [0x437b1c], 0x7c
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
jne 0x42d456
push esi
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
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_SetHandleCount]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0x2e
lea eax, [esp + 0x5c]
push esi
push eax
mov dword [esp + 0x60], esi
call fcn.00404970
add esp, 0xc
push esi
lea eax, [esp + 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigW]
lea eax, [esp + 0x488]
push eax
call ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor eax, eax
mov word [esp + 0xc], ax
lea edi, [esp + 0xe]
stosw word es:[edi], ax
mov word [esp + 0x10], ax
lea edi, [esp + 0x12]
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push dword [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
push esi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [esp + 0x8c]
push eax
push esi
call edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp dword [0x437b1c], 0x2d
jne 0x42d433
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
cmp dword [0x437b1c], 0x54
jne 0x42d448
push esi
push esi
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call fcn.004010dd
pop ecx
push esi
call fcn.004010f3
pop ecx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimes]
cmp edi, 0x24c06
jg 0x42d486
inc edi
cmp edi, 0xeff11
jl 0x42d458
jmp 0x42d49a
cmp dword [0x437b1c], 0xa
jne 0x42d49a
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
cmp dword [0x437b1c], 0x2a
jne 0x42d4fc
push esi
mov dword [0x437b10], esi
mov dword [0x437b14], esi
call ebx
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_FlushConsoleInputBuffer]
push esi
call fcn.00401049
pop ecx
push esi
call fcn.00401049
pop ecx
push esi
call fcn.0040100f
pop ecx
push esi
push esi
push esi
push esi
call fcn.00401463
push esi
call fcn.00401221
add esp, 0x14
push dword [0x437b1c]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [0x437b1c]
xor edi, edi
mov dword [0x437968], eax
cmp ecx, esi
jbe 0x42d541
mov edx, dword [0x437c4c]
mov dl, byte [edx + edi + 0x9e49]
mov byte [eax + edi], dl
cmp ecx, 0x5ab
jne 0x42d53c
mov dword [0x43796c], 0x19b0
inc edi
cmp edi, ecx
jb 0x42d51a
call fcn.0042d108
call fcn.0042d0ea
call fcn.0042d240
xor edi, edi
cmp dword [0x437b1c], 0x41
jne 0x42d571
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp edi, 0xd606b
jne 0x42d57e
call fcn.0042d0df
cmp dword [0x437b1c], 0xc
jne 0x42d592
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
inc edi
cmp edi, 0x24e87d
jl 0x42d552
mov dword [0x437b0c], 0x8e46a6f0
cmp esi, 0x408e
jle 0x42d5b7
cmp dword [esp + 0x34], 0xf5bed7
jne 0x42d5c0
inc esi
cmp esi, 0x687ed2
jl 0x42d5a5
mov ecx, dword [esp + 0xc8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret