Function at 0x42b200
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 [0x432004]
xor eax, esp
mov dword [esp + 0xc80], eax
push ebx
push esi
xor esi, esi
push edi
xor eax, eax
cmp eax, 0x112
jne 0x42b23a
mov ecx, dword [0x4332fc]
add ecx, 0x9e49
mov dword [0x435b1c], ecx
cmp dword [0x435b1c], 0xe89
jne 0x42b257
or dword [0x43431c], 0xffffffff
mov dword [0x434318], 0xec58acac
inc eax
cmp eax, 0x1238006
jl 0x42b221
xor edi, edi
cmp edi, 0x55ded1
jne 0x42b273
mov eax, dword [0x4332f0]
mov dword [0x435c4c], eax
cmp dword [0x435b1c], 0x3c
jne 0x42b282
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
inc edi
cmp edi, 0x5ea53c
jl 0x42b261
cmp dword [0x435b1c], 0x7c
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
jne 0x42b390
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 [0x435b1c], 0x2d
jne 0x42b36d
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
cmp dword [0x435b1c], 0x54
jne 0x42b382
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 0x42b3c0
inc edi
cmp edi, 0xeff11
jl 0x42b392
jmp 0x42b3d4
cmp dword [0x435b1c], 0xa
jne 0x42b3d4
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
cmp dword [0x435b1c], 0x2a
jne 0x42b436
push esi
mov dword [0x435b10], esi
mov dword [0x435b14], 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 [0x435b1c]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [0x435b1c]
xor edi, edi
mov dword [0x435968], eax
cmp ecx, esi
jbe 0x42b47b
mov edx, dword [0x435c4c]
mov dl, byte [edx + edi + 0x9e49]
mov byte [eax + edi], dl
cmp ecx, 0x5ab
jne 0x42b476
mov dword [0x43596c], 0x19b0
inc edi
cmp edi, ecx
jb 0x42b454
call fcn.0042b042
call fcn.0042b024
call fcn.0042b17a
xor edi, edi
cmp dword [0x435b1c], 0x41
jne 0x42b4ab
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 0x42b4b8
call fcn.0042b019
cmp dword [0x435b1c], 0xc
jne 0x42b4cc
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
inc edi
cmp edi, 0x24e87d
jl 0x42b48c
mov dword [0x435b0c], 0x8e46a6f0
cmp esi, 0x408e
jle 0x42b4f1
cmp dword [esp + 0x34], 0xf5bed7
jne 0x42b4fa
inc esi
cmp esi, 0x687ed2
jl 0x42b4df
mov ecx, dword [esp + 0xc8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret