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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x185c
call fcn.00408f60
mov eax, dword [0x46e008]
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_FillConsoleOutputCharacterA]
push edi
xor edi, edi
jmp 0x46a3e0
cmp dword [0x565e0c], 0x7d
jne 0x46a414
push 0
lea eax, [ebp - 0x1004]
push eax
lea ecx, [ebp - 0x1844]
push ecx
lea edx, [ebp - 0x1840]
push edx
lea eax, [ebp - 0x1850]
push eax
push 0
lea ecx, [ebp - 0x804]
push ecx
push 0
call ebx
cmp edi, 0x504
jne 0x46a42e
mov edx, dword [0x46f7c0]
add edx, 0x9e49
mov dword [0x565e0c], edx
cmp dword [0x565e0c], 0xeb1
jne 0x46a473
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 0x1854]
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 [0x4703c0], 0xec58ac98
mov dword [0x4703c4], 0xffffffff
inc edi
cmp edi, 0x114499c
jl 0x46a3e0
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
xor esi, esi
cmp esi, 0x560519
jne 0x46a49c
mov ecx, dword [0x46eff8]
mov dword [0x565f3c], ecx
cmp dword [0x565e0c], 0x168
jne 0x46a4aa
call edi
inc esi
cmp esi, 0x4cab73ac
jl 0x46a488
cmp dword [0x565e0c], 0x7c
jne 0x46a5fe
push 0
lea edx, [ebp - 0x1854]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
call dword [sym.imp.USER32.dll_GetActiveWindow]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push edi
call dword [sym.imp.KERNEL32.dll_FindAtomW]
lea eax, [ebp - 0x1850]
push eax
lea ecx, [ebp - 0x1004]
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_SetConsoleMode]
lea edx, [ebp - 0x184c]
push edx
lea eax, [ebp - 0x404]
push eax
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push 0x2e
lea ecx, [ebp - 0x1834]
push edi
push ecx
mov dword [ebp - 0x1838], edi
call fcn.00405e70
add esp, 0xc
push edi
lea edx, [ebp - 0x1838]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigW]
push edi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
push edi
lea eax, [ebp - 0x1844]
push eax
mov dword [ebp - 0x1844], edi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
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 - 0x1848]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
lea eax, [ebp - 0x1804]
push eax
push edi
call esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
cmp dword [0x565e0c], 0x2d
jne 0x46a5e1
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [0x565e0c], 0x54
jne 0x46a5ef
push edi
push edi
push edi
call esi
push edi
call fcn.004011f6
push edi
call fcn.0040120c
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_SetCommMask]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea esp, [esp]
push 0
push 0
call edi
call ebx
cmp esi, 0x2563b
jge 0x46a630
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
push 0
push 0
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
cmp esi, 0x24b8f
jg 0x46a654
inc esi
cmp esi, 0xeda5e
jl 0x46a610
jmp 0x46a672
cmp dword [0x565e0c], 0xa
jne 0x46a672
push 0
lea edx, [ebp - 0xc04]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
cmp dword [0x565e0c], 0x2a
jne 0x46a721
xor esi, esi
push esi
mov dword [0x565e00], esi
mov dword [0x565e04], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
lea eax, [ebp - 0x1848]
push eax
lea ecx, [ebp - 0x1804]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
lea edx, [ebp - 0x184c]
push edx
push str.corujedinidibaselezu
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
push esi
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
push esi
push esi
call fcn.0040109d
push esi
push esi
call fcn.004016d5
push esi
call fcn.0040112c
push esi
push esi
call fcn.0040109d
call fcn.0040667e
push esi
call fcn.0040100f
push esi
call fcn.00401217
push esi
push esi
push esi
push esi
call fcn.00401685
push esi
call fcn.00401442
add esp, 0x38
push esi
call fcn.00401b90
call fcn.00469f80
mov ecx, dword [0x565e0c]
xor eax, eax
test ecx, ecx
jbe 0x46a76d
mov edi, dword [0x565f3c]
mov esi, dword [0x565c54]
mov edx, 0x17bc
jmp 0x46a750
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x46a768
mov dword [0x565c58], edx
inc eax
cmp eax, ecx
jb 0x46a750
call fcn.0046a100
call fcn.00469fb0
call fcn.0046a330
mov edi, dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
xor esi, esi
lea ebx, [ebx]
cmp dword [0x565e0c], 0x41
jne 0x46a7b1
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, 0xd606b
jne 0x46a7be
call fcn.00469fa0
cmp dword [0x565e0c], 0xc
jne 0x46a7d6
push 0
lea eax, [ebp - 0x1848]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
inc esi
cmp esi, 0x24e87d
jl 0x46a790
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
nop
cmp dword [0x565e0c], 0x7c4
mov dword [0x565c5c], edi
jne 0x46a809
push str.nudixomapefijiwesiyaxuzujawede
call esi
sub ebx, 1
jne 0x46a7f0
mov ecx, dword [ebp - 0x1828]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x46a82f
cmp ecx, 0xf5bed7
jne 0x46a837
inc eax
cmp eax, 0x687ed2
jl 0x46a820
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret