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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x185c
call fcn.00408ce0
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 0x46a6a0
cmp dword [0x565de4], 0x7d
jne 0x46a6d4
push 0
lea eax, [ebp - 0x1004]
push eax
lea ecx, [ebp - 0x1844]
push ecx
lea edx, [ebp - 0x1840]
push edx
lea eax, [ebp - 0x1854]
push eax
push 0
lea ecx, [ebp - 0x804]
push ecx
push 0
call ebx
cmp edi, 0x504
jne 0x46a6ee
mov edx, dword [0x46f7b0]
add edx, 0x9e49
mov dword [0x565de4], edx
cmp dword [0x565de4], 0xeb1
jne 0x46a733
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 0x1848]
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 [0x470398], 0xec58ac98
mov dword [0x47039c], 0xffffffff
inc edi
cmp edi, 0x11470ac
jl 0x46a6a0
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
xor esi, esi
cmp esi, 0x560519
jne 0x46a75c
mov ecx, dword [0x46efe8]
mov dword [0x565f14], ecx
cmp dword [0x565de4], 0x168
jne 0x46a76a
call edi
inc esi
cmp esi, 0x4cab73ac
jl 0x46a748
cmp dword [0x565de4], 0x7c
jne 0x46a8d6
push 0
lea edx, [ebp - 0x1848]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
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_FindAtomA]
mov esi, dword [sym.imp.KERNEL32.dll_SearchPathA]
lea eax, [ebp - 0x1854]
push eax
lea ecx, [ebp - 0x404]
push ecx
push edi
push str.kesujaxakabar
push str.carazamagirujasavigac
push str.jotefaxekikajefubiholigoje
call esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea edx, [ebp - 0x1850]
push edx
lea eax, [ebp - 0xc04]
push eax
push edi
push str.wigowahajebojiz
push str.loxebaxamisahodibiruvakewiwi
push str.vutijajuketuyudokipalojehaco
call esi
push 0x2e
lea ecx, [ebp - 0x1834]
push edi
push ecx
mov dword [ebp - 0x1838], edi
call fcn.00405930
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_CopyFileExA]
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 - 0x184c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
push edi
lea eax, [ebp - 0x1804]
push eax
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
cmp dword [0x565de4], 0x2d
jne 0x46a8b9
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [0x565de4], 0x54
jne 0x46a8c7
push edi
push edi
push edi
call esi
push edi
call fcn.004014a7
push edi
call fcn.004014bd
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_SetCommMask]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
push 0
push 0
call edi
call ebx
cmp esi, 0x2563b
jge 0x46a904
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
cmp esi, 0x24b8f
jg 0x46a917
inc esi
cmp esi, 0xeda5e
jl 0x46a8e4
jmp 0x46a935
cmp dword [0x565de4], 0xa
jne 0x46a935
push 0
lea ecx, [ebp - 0xc04]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
cmp dword [0x565de4], 0x2a
jne 0x46aa00
xor esi, esi
push esi
mov dword [0x565dd8], esi
mov dword [0x565ddc], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push esi
lea edx, [ebp - 0x184c]
push edx
push esi
lea eax, [ebp - 0xc04]
push eax
push esi
push esi
push str.xaxawilesezihirolufuyunifepum
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
lea ecx, [ebp - 0x1850]
push ecx
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
lea eax, [ebp - 0x1848]
push eax
push str.yebikasaximuwateyigegulijita
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PurgeComm]
push esi
push esi
call fcn.0040109d
push esi
call fcn.0040100f
push esi
call fcn.004013dd
push esi
push esi
call fcn.0040109d
push esi
call fcn.00409294
push esi
call fcn.0040100f
push esi
call fcn.004014c8
push esi
push esi
push esi
call fcn.00401309
push esi
push esi
push esi
push esi
call fcn.0040133e
add esp, 0x40
push esi
call fcn.004016f3
add esp, 4
push esi
call fcn.004019aa
call fcn.0046a2e0
mov ecx, dword [0x565de4]
xor eax, eax
test ecx, ecx
jbe 0x46aa4d
mov edi, dword [0x565f14]
mov esi, dword [0x565c2c]
mov edx, 0x17bc
jmp 0x46aa30
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x46aa48
mov dword [0x565c30], edx
inc eax
cmp eax, ecx
jb 0x46aa30
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call fcn.0046a310
call fcn.0046a5d0
mov esi, dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_SetStdHandle]
xor ebx, ebx
cmp dword [0x565de4], 0x41
jne 0x46aa9f
push 0
push 0
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
push 0
push str.duzitazegoxiwitejey_mal
push str.xolijad_lohefomofidipecataw_zuzonifawa
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
cmp ebx, 0xd606b
jne 0x46aaac
call fcn.0046a300
cmp dword [0x565de4], 0xc
jne 0x46aac4
push 0
lea ecx, [ebp - 0x184c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
inc ebx
cmp ebx, 0x24e87d
jl 0x46aa70
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
lea ecx, [ecx]
cmp dword [0x565de4], 0x7c4
mov dword [0x565c34], edi
jne 0x46aaf9
push str.yodotomohucesatucuzoyutata
call esi
sub ebx, 1
jne 0x46aae0
mov ecx, dword [ebp - 0x1828]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x46ab1f
cmp ecx, 0xf5bed7
jne 0x46ab27
inc eax
cmp eax, 0x687ed2
jl 0x46ab10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret