Function at 0x418c50
Capabilities:
Copy file
Create pipe
Get disk information
Get file attributes
Get hostname
Manipulate console buffer
Move file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc54
mov eax, dword [0x41c008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputAttribute]
xor esi, esi
xor ebx, ebx
cmp dword [0x513d6c], 0x7d
jne 0x418ca5
push esi
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0xc4c]
push ecx
lea edx, [ebp - 0xc44]
push edx
lea eax, [ebp - 0xc48]
push eax
push esi
lea ecx, [ebp - 0x404]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp ebx, 0x4c8
jne 0x418cbf
mov edx, dword [0x41d720]
add edx, 0x9e49
mov dword [0x513d6c], edx
cmp dword [0x513d6c], 0xc95
jne 0x418d04
xor eax, eax
xor ecx, ecx
lea edx, [ebp - 0xc40]
push edx
mov word [ebp - 0xc3c], ax
mov word [ebp - 0xc3a], cx
mov eax, dword [ebp - 0xc3c]
push eax
push esi
push esi
push esi
call edi
mov dword [0x41e320], 0xec58ac98
mov dword [0x41e324], 0xffffffff
inc ebx
cmp ebx, 0x1150cec
jl 0x418c70
cmp dword [0x513d6c], 0x7c
mov ecx, dword [0x41cf58]
mov dword [0x513e9c], ecx
jne 0x418e39
push esi
push esi
lea edx, [ebp - 0xc40]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
call dword [sym.imp.USER32.dll_GetFocus]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push 0x2e
lea eax, [ebp - 0xc34]
push esi
push eax
mov dword [ebp - 0xc38], esi
call fcn.00405be0
add esp, 0xc
push esi
lea ecx, [ebp - 0xc38]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
push esi
push esi
lea edx, [ebp - 0xc4c]
push edx
mov dword [ebp - 0xc4c], esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
xor ecx, ecx
xor eax, eax
mov word [ebp - 0xc42], cx
xor edx, edx
mov word [ebp - 0xc3a], ax
lea ecx, [ebp - 0xc54]
push ecx
mov word [ebp - 0xc3c], dx
mov edx, dword [ebp - 0xc3c]
push edx
mov word [ebp - 0xc44], ax
mov eax, dword [ebp - 0xc44]
push eax
lea ecx, [ebp - 0xc48]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
push esi
lea edx, [ebp - 0x404]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
cmp dword [0x513d6c], 0x11
jne 0x418e17
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ObjectPrivilegeAuditAlarmA]
cmp dword [0x513d6c], 0x2d
jne 0x418e28
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call fcn.004011f6
push esi
call fcn.0040133e
fstp st(0)
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_SetCommState]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
call edi
call ebx
cmp esi, 0x24c07
jg 0x418e5e
inc esi
cmp esi, 0xeab1b
jl 0x418e45
cmp dword [0x513d6c], 0x2a
jne 0x418f21
xor esi, esi
push esi
mov dword [0x513d60], esi
mov dword [0x513d64], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
lea eax, [ebp - 0xc40]
push eax
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push esi
push str.bowupepotoyesuroleju
push str.nanimitisefo
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
lea edx, [ebp - 0xc48]
push edx
push str.gotobuninocisovavoxohu
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
push esi
push esi
lea eax, [ebp - 0x804]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push esi
lea ecx, [ebp - 0xc04]
push ecx
push str.cemahidu
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
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.0040100f
push esi
call fcn.0040112c
add esp, 0x20
push esi
call fcn.004015f1
call fcn.00418920
mov ecx, dword [0x513d6c]
xor eax, eax
test ecx, ecx
jbe 0x418f6d
mov edi, dword [0x513e9c]
mov esi, dword [0x513bb4]
mov edx, 0x17bc
jmp 0x418f50
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x418f68
mov dword [0x513bb8], edx
inc eax
cmp eax, ecx
jb 0x418f50
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00418950
call fcn.00418bb0
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
xor esi, esi
cmp dword [0x513d6c], 0x41
jne 0x418fad
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 0x418fba
call fcn.00418940
cmp dword [0x513d6c], 0xc
jne 0x418fd4
push 0
push 0
lea edx, [ebp - 0xc40]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
inc esi
cmp esi, 0x24e87d
jl 0x418f90
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
lea ecx, [ecx]
cmp dword [0x513d6c], 0x7c4
mov dword [0x513bbc], edi
jne 0x419009
push str.xetiroviw
call esi
sub ebx, 1
jne 0x418ff0
mov ecx, dword [ebp - 0xc28]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x41902f
cmp ecx, 0xf5bed7
jne 0x419037
inc eax
cmp eax, 0x687ed2
jl 0x419020
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret