Function at 0x499590
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.00405a40
mov eax, dword [0x49d004]
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 0x4995c0
cmp dword [0x27ea014], 0x7d
jne 0x4995f4
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 0x49960e
mov edx, dword [0x49e584]
add edx, 0x9e49
mov dword [0x27ea014], edx
cmp dword [0x27ea014], 0xeb1
jne 0x499643
xor eax, eax
lea edx, [ebp - 0x1850]
push edx
push eax
push eax
push eax
push eax
mov dword [ebp - 0x183c], eax
call esi
mov dword [0x49f3a0], 0xec58ac98
mov dword [0x49f3a4], 0xffffffff
inc edi
cmp edi, 0x1238bdc
jl 0x4995c0
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor esi, esi
cmp esi, 0x5605e1
jne 0x49966c
mov ecx, dword [0x49e578]
mov dword [0x27ea018], ecx
cmp dword [0x27ea014], 0x168
jne 0x49967a
call edi
inc esi
cmp esi, 0x602bdc
jl 0x499658
cmp dword [0x27ea014], 0x7c
jne 0x4997d0
lea edx, [ebp - 0x1850]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea eax, [ebp - 0x184c]
push eax
lea ecx, [ebp - 0x804]
push ecx
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea edx, [ebp - 0x1854]
push edx
lea eax, [ebp - 0x1404]
push eax
push esi
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 esi
push ecx
mov dword [ebp - 0x1838], esi
call fcn.00404930
add esp, 0xc
push esi
lea edx, [ebp - 0x1838]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
lea eax, [ebp - 0x1848]
push eax
mov dword [ebp - 0x1848], esi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
lea edx, [ebp - 0x185c]
push edx
xor eax, eax
push eax
xor ecx, ecx
push ecx
lea edx, [ebp - 0x1844]
push edx
push esi
mov dword [ebp - 0x1840], ecx
mov dword [ebp - 0x183c], eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
push esi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
push esi
lea eax, [ebp - 0xc04]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp dword [0x27ea014], 0x2d
jne 0x4997a4
lea ecx, [ebp - 0x1874]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x27ea014], 0x54
jne 0x4997c1
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.aosjdfniads.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
call fcn.004010e3
push esi
call fcn.004010f9
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
mov edi, edi
call edi
call ebx
cmp esi, 0x2563b
jge 0x4997fc
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
push 0
push 0
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
cmp esi, 0x24b8f
jg 0x499820
inc esi
cmp esi, 0xeda59
jl 0x4997e0
jmp 0x499841
cmp dword [0x27ea014], 0xa
jne 0x499841
push 0
lea eax, [ebp - 0x1004]
push eax
push 0
push str.wuyehanafeposuwufegu
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
cmp dword [0x27ea014], 0x2a
jne 0x4998f5
xor esi, esi
push esi
mov dword [0x27e9ee0], esi
mov dword [0x27e9ee4], 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.0040100f
push esi
call fcn.0040104f
push esi
push esi
call fcn.0040100f
call fcn.00405c62
push esi
push esi
call fcn.0040100f
push esi
call fcn.004014b9
push esi
push esi
push esi
push esi
call fcn.00401469
push esi
call fcn.00401227
add esp, 0x34
call fcn.004991d0
mov ecx, dword [0x27ea014]
xor eax, eax
test ecx, ecx
je 0x49993d
mov edi, dword [0x27ea018]
mov esi, dword [0x27e9d34]
mov edx, 0x17bc
jmp 0x499920
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x499938
mov dword [0x27e9d38], edx
inc eax
cmp eax, ecx
jb 0x499920
call fcn.00499300
call fcn.00499200
call fcn.00499520
mov edi, dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
xor esi, esi
lea ebx, [ebx]
cmp dword [0x27ea014], 0x41
jne 0x499981
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 0x49998e
call fcn.004991f0
cmp dword [0x27ea014], 0xc
jne 0x4999a6
push 0
lea ecx, [ebp - 0x1844]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
inc esi
cmp esi, 0x24e87d
jl 0x499960
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
nop
cmp dword [0x27ea014], 0x7c4
mov dword [0x27e9d3c], edi
jne 0x4999db
push 0
push str.faseha
call esi
dec ebx
jne 0x4999c0
mov ecx, dword [ebp - 0x187c]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x4999ff
cmp ecx, 0xf5bed7
jne 0x499a07
inc eax
cmp eax, 0x687ed2
jl 0x4999f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret