Function at 0x4154f0
Capabilities:
Connect pipe
Copy file
Get disk information
Get file attributes
Get hostname
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1d74
call fcn.00406fb0
mov eax, dword [0x418008]
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_WriteConsoleOutputCharacterA]
push edi
xor edi, edi
jmp 0x415520
cmp dword [0x4f23dc], 0x7d
jne 0x415554
push 0
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0x1d60]
push ecx
lea edx, [ebp - 0x1d54]
push edx
lea eax, [ebp - 0x1d64]
push eax
push 0
lea ecx, [ebp - 0x1404]
push ecx
push 0
call ebx
cmp edi, 0x4e8
jne 0x41556e
mov edx, dword [0x419268]
add edx, 0x9e49
mov dword [0x4f23dc], edx
cmp dword [0x4f23dc], 0xbcd
jne 0x4155b3
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 0x1d5c]
push edx
mov word [ebp - 0x1d50], ax
mov word [ebp - 0x1d4e], cx
mov eax, dword [ebp - 0x1d50]
push eax
push ecx
push ecx
push ecx
call esi
mov dword [0x419e50], 0xec58ac98
mov dword [0x419e54], 0xffffffff
inc edi
cmp edi, 0x114af2c
jl 0x415520
mov edi, dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
xor esi, esi
cmp esi, 0x56051f
jne 0x4155dc
mov ecx, dword [0x418c58]
mov dword [0x4f250c], ecx
cmp dword [0x4f23dc], 0x3c
jne 0x4155e9
push 0
call edi
inc esi
cmp esi, 0x4cab834c
jl 0x4155c8
cmp dword [0x4f23dc], 0x7c
jne 0x415713
push 0
push 0
lea edx, [ebp - 0x1d5c]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea eax, [ebp - 0x1d64]
push eax
lea ecx, [ebp - 0xc04]
push ecx
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push 0x2e
lea edx, [ebp - 0x1c34]
push esi
push edx
mov dword [ebp - 0x1c38], esi
call fcn.00404180
add esp, 0xc
push esi
lea eax, [ebp - 0x1c38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x1d4c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push esi
lea edx, [ebp - 0x1d60]
push edx
mov dword [ebp - 0x1d60], esi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
xor ecx, ecx
xor eax, eax
mov word [ebp - 0x1d52], cx
xor edx, edx
mov word [ebp - 0x1d4e], ax
lea ecx, [ebp - 0x1d6c]
push ecx
mov word [ebp - 0x1d50], dx
mov edx, dword [ebp - 0x1d50]
push edx
mov word [ebp - 0x1d54], ax
mov eax, dword [ebp - 0x1d54]
push eax
lea ecx, [ebp - 0x1d58]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputW]
push esi
lea edx, [ebp - 0x804]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
cmp dword [0x4f23dc], 0x2d
jne 0x415704
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
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
push 0
push 0
call edi
call ebx
cmp esi, 0x24bfb
jg 0x41573a
inc esi
cmp esi, 0xeba57
jl 0x415721
cmp dword [0x4f23dc], 0x2a
jne 0x41582d
xor esi, esi
push esi
mov dword [0x4f23d0], esi
mov dword [0x4f23d4], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
lea eax, [ebp - 0x1d58]
push eax
lea ecx, [ebp - 0x1c04]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor eax, eax
push esi
mov dword [ebp - 0x1d72], eax
mov dword [ebp - 0x1d6e], eax
mov dword [ebp - 0x1d6a], eax
mov word [ebp - 0x1d66], ax
lea eax, [ebp - 0xc04]
push eax
push str.tunuhacowediwemodabajizuvoxifu
lea ecx, [ebp - 0x1d74]
push ecx
push esi
xor edx, edx
push esi
mov word [ebp - 0x1d74], dx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
lea edx, [ebp - 0x1d5c]
push edx
push str.cevalawasukigirifusoket
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeW]
push esi
push esi
lea eax, [ebp - 0x1004]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push esi
lea ecx, [ebp - 0x404]
push ecx
push str.gocaxucuhiginuc
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommState]
push esi
push esi
call fcn.0040100f
push esi
call fcn.0040109e
push esi
call fcn.0040109e
push esi
push esi
call fcn.0040100f
push esi
push esi
call fcn.0040100f
push esi
call fcn.0040109e
add esp, 0x24
push esi
call fcn.00401429
call fcn.004151a0
mov ecx, dword [0x4f23dc]
xor eax, eax
test ecx, ecx
jbe 0x41586d
mov edi, dword [0x4f250c]
mov esi, dword [0x4f2224]
mov edx, 0x17bc
nop
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x415868
mov dword [0x4f2228], edx
inc eax
cmp eax, ecx
jb 0x415850
push str.nejupazabujicojoxalajahi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call fcn.004151d0
call fcn.00415460
mov edi, dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
xor esi, esi
cmp dword [0x4f23dc], 0x41
jne 0x4158a7
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
cmp esi, 0xd606b
jne 0x4158b4
call fcn.004151c0
cmp dword [0x4f23dc], 0xc
jne 0x4158ca
lea edx, [ebp - 0x1d58]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
inc esi
cmp esi, 0x24e87d
jl 0x415890
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
jmp 0x4158f0
cmp dword [0x4f23dc], 0x7c4
mov dword [0x4f222c], edi
jne 0x415909
push str.yocukapunurozawelusatidejoboj
call esi
sub ebx, 1
jne 0x4158f0
mov ecx, dword [ebp - 0x1c28]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x41592f
cmp ecx, 0xf5bed7
jne 0x415937
inc eax
cmp eax, 0x687ed2
jl 0x415920
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret