Function at 0x421020
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov dword [ebp - 0x7c], 0x62
mov dword [ebp - 0x24], 0x14
mov dword [ebp - 0x44], 0x52
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x20], 0x32
mov dword [ebp - 0x60], 0x29
mov dword [ebp - 0x80], 0x11
mov dword [ebp - 0x4c], 0x54
mov dword [ebp - 0x84], 0xc
mov dword [ebp - 0x78], 0x10
mov dword [ebp - 0x74], 0x48
mov dword [ebp - 0x28], 0x41
mov dword [ebp - 0x5c], 0x28
mov dword [ebp - 8], 0x26
mov dword [ebp - 0x50], 5
mov dword [ebp - 4], 0x41
mov dword [ebp - 0x10], 0x12
mov dword [ebp - 0x34], 0x22
mov dword [ebp - 0x14], 0x47
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x64], 0x1d
mov dword [ebp - 0x8c], 0x52
mov dword [ebp - 0xc], 0x18
mov dword [ebp - 0x90], 0x54
mov dword [ebp - 0x68], 0x32
mov eax, dword [ebp + 0x28]
cmp eax, dword [ebp + 0x20]
jge 0x421153
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
je 0x421153
mov edx, dword [ebp - 0x34]
and edx, dword [ebp + 0x24]
mov eax, dword [ebp - 0x60]
and eax, dword [ebp - 8]
or edx, eax
mov ecx, dword [ebp + 0x14]
and ecx, dword [ebp - 0x20]
or edx, ecx
je 0x421153
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x5c]
jne 0x421153
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x2c]
jge 0x421125
mov dword [ebp - 0x30], 1
jmp 0x42112c
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp + 0x14]
and ecx, dword [ebp + 0x24]
and ecx, dword [ebp - 0x30]
je 0x421153
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
push 0x8371
push 0xc6d2
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownA]
add esp, 8
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
jmp 0x42116e
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 0x1c]
sub edx, 0x11
cmp dword [ebp - 0x18], edx
jge 0x4211f8
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 0x18]
jge 0x42118a
mov dword [ebp - 0x38], 1
jmp 0x421191
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0xc]
jge 0x4211a2
mov dword [ebp - 0x3c], 1
jmp 0x4211a9
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x38]
and edx, dword [ebp - 0x44]
and edx, dword [ebp - 0x3c]
je 0x4211f3
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x2c]
jge 0x4211f3
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x28]
jne 0x4211f3
push 0x7fa6
push 0x8400
push 0xc1d0
push 0x320
call dword [sym.imp.USER32.dll_ModifyMenuA]
add esp, 0x10
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x421165
mov dword [ebp - 0x1c], 0
jmp 0x42120a
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x68]
sub edx, 0x31
cmp dword [ebp - 0x1c], edx
jge 0x42130a
mov eax, dword [ebp + 0x28]
cmp eax, dword [ebp - 8]
jge 0x42122a
mov dword [ebp - 0x40], 1
jmp 0x421231
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x70]
jge 0x42125a
mov dword [ebp - 0x48], 1
jmp 0x421261
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x40]
and edx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
and eax, dword [ebp - 0x48]
or edx, eax
je 0x421305
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x50]
jne 0x421305
mov edx, dword [ebp - 8]
or edx, dword [ebp - 0x74]
cmp edx, dword [ebp + 0x28]
jge 0x421295
mov dword [ebp - 0x54], 1
jmp 0x42129c
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
jge 0x4212ad
mov dword [ebp - 0x58], 1
jmp 0x4212b4
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x54]
and ecx, dword [ebp + 0x1c]
or ecx, dword [ebp - 0x58]
je 0x421305
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x24]
jne 0x421305
push 0x3935
push 0x6678
push 0xd427
push 0x9cfd
call dword [sym.imp.USER32.dll_GetSysColorBrush]
add esp, 0x10
mov eax, dword [ebp - 4]
sub eax, 1
mov dword [ebp - 4], eax
push 0x18471
push 0x13f6
push 0xd0da
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
add esp, 0xc
jmp 0x421201
mov ecx, dword [ebp - 0x20]
sub ecx, 0xb
push ecx
mov edx, dword [ebp - 0x24]
add edx, 0x3b
push edx
mov eax, dword [ebp - 0x28]
sub eax, 0x2c
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x14
push ecx
mov edx, dword [ebp - 0x78]
add edx, 0x2f
push edx
mov eax, dword [ebp + 0x28]
sub eax, 0x11
push eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0x19
push ecx
mov edx, dword [ebp - 0x5c]
sub edx, 0x1a
push edx
mov eax, dword [ebp + 0x28]
sub eax, 0xb
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0xe
push ecx
call fcn.0040e540
add esp, 0x28
mov esp, ebp
pop ebp
ret