Function at 0x100027a0
Capabilities:
Shutdown system

Disassembly:
push 0x104
mov eax, 0x1004ffad
call fcn.100352ea
mov eax, dword [ebp + 0xc]
push str.delayShutdownMinutes
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x90], eax
call fcn.10002c0b
xor edi, edi
push str.deskMgrCfg
lea ecx, [ebp - 0xdc]
mov dword [ebp - 4], edi
call fcn.10002c0b
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x110]
push eax
mov byte [ebp - 4], 1
call fcn.10001dfb
push 3
pop ebx
lea ecx, [ebp - 0xf8]
push ebx
push ecx
mov byte [ebp - 4], 2
call fcn.10001322
add esp, 0x10
lea esi, [ebp - 0x110]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 1
call fcn.1002147b
push edi
push 1
lea ecx, [ebp - 0xdc]
call fcn.10003081
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0xf8]
call fcn.10003081
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp - 0x8c]
imul eax, eax, 0x3c
cdq
push edx
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.1001a301
xor eax, eax
push 0x3e
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x4e]
push edi
push eax
call fcn.10035590
movzx eax, word [ebp - 0x98]
add esp, 0xc
push eax
movzx eax, word [ebp - 0x9a]
push eax
movzx eax, word [ebp - 0x9c]
push eax
movzx eax, word [ebp - 0x9e]
push eax
movzx eax, word [ebp - 0xa2]
push eax
movzx eax, word [ebp - 0xa4]
push eax
push 0x10053ff0
lea eax, [ebp - 0x50]
push 0x20
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x24
push dword [ebp + 8]
lea eax, [ebp - 0x6c]
push eax
call fcn.10001ea3
pop ecx
pop ecx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x68]
push 8
pop ebx
mov esi, ecx
cmp eax, ebx
jae 0x10002906
lea esi, [ebp - 0x68]
mov edx, esi
mov dword [ebp - 0x8c], edx
mov edx, ecx
cmp eax, ebx
jae 0x100028f4
lea edx, [ebp - 0x68]
mov ecx, edx
mov edi, dword [ebp - 0x90]
cmp dword [edi + 0x18], ebx
jb 0x1000290e
add edi, 4
mov eax, dword [edi]
jmp 0x10002913
mov dword [ebp - 0x8c], ecx
jmp 0x100028e9
add edi, 4
mov eax, edi
push esi
push dword [ebp - 0x8c]
lea esi, [ebp - 0x50]
push esi
push edx
push ecx
push eax
push 0x10054030
lea ecx, [ebp - 0x88]
call fcn.1001b423
add esp, 0x1c
xor esi, esi
xor eax, eax
mov dword [ebp - 0x94], esi
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xac], esi
mov word [ebp - 0xbc], ax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x84]
cmp dword [ebp - 0x70], ebx
jae 0x1000296a
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 0x90]
cmp dword [eax + 0x18], ebx
jb 0x10002979
mov eax, dword [edi]
jmp 0x1000297b
mov eax, edi
lea edx, [ebp - 0x94]
push edx
push ecx
push eax
call fcn.10001359
add esp, 0xc
mov ebx, eax
neg ebx
push esi
sbb bl, bl
push 1
lea esi, [ebp - 0xc0]
inc bl
mov byte [ebp - 4], 4
call fcn.10003179
test bl, bl
je 0x100029cb
push str.ShowClientNotify_failed_in__DoShutdownAction__assume_to_cancel
call fcn.1001cd2e
pop ecx
push 0
push 1
lea esi, [ebp - 0x88]
call fcn.10003179
push 0
jmp 0x10002a67
cmp dword [ebp - 0x94], 0x3e9
jne 0x10002a02
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x100029e3
lea eax, [ebp - 0x68]
mov ecx, dword [ebp - 0x90]
cmp dword [ecx + 0x18], 8
jb 0x100029f1
mov edi, dword [edi]
push eax
push edi
push str.user_canceled__s__s
call fcn.1001ca58
add esp, 0xc
jmp 0x100029b5
mov eax, dword [ebp - 0x90]
cmp dword [eax + 0x18], 8
jb 0x10002a10
mov edi, dword [edi]
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x10002a1c
lea eax, [ebp - 0x68]
push edi
push eax
push str.do__s_on__s
call fcn.1001cbc3
add esp, 0xc
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 8], 1
jne 0x10002a41
push 8
pop eax
jmp 0x10002a4b
push 2
pop eax
cmp dword [ebp + 8], eax
je 0x10002a4b
xor eax, eax
xor edi, edi
push edi
or eax, 4
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push edi
push 1
lea esi, [ebp - 0x88]
call fcn.10003179
push edi
push 1
lea esi, [ebp - 0x6c]
call fcn.10003179
xor eax, eax
call fcn.1003536d
ret