Function at 0x1000248c
Capabilities:
Shutdown system

Disassembly:
push 0xc0
mov eax, 0x1004d56b
call fcn.1003327a
lea eax, [ebp - 0xb0]
mov ebx, ecx
push eax
mov dword [ebp - 0x94], ebx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
add dword [ebp - 0x90], 0x6b49d200
push 0
pop esi
adc dword [ebp - 0x8c], esi
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
xor eax, eax
push 0x3e
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x4e]
push esi
push eax
call fcn.10033520
movzx eax, word [ebp - 0xa4]
add esp, 0xc
push eax
movzx eax, word [ebp - 0xa6]
push eax
movzx eax, word [ebp - 0xa8]
push eax
movzx eax, word [ebp - 0xaa]
push eax
movzx eax, word [ebp - 0xae]
push eax
movzx eax, word [ebp - 0xb0]
push eax
push 0x10051fbc
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.10001b8f
pop ecx
pop ecx
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x68]
push 8
pop edi
cmp eax, edi
jb 0x1000256a
mov dword [ebp - 0x9c], ecx
jmp 0x10002573
lea edx, [ebp - 0x68]
mov dword [ebp - 0x9c], edx
cmp eax, edi
jb 0x1000257f
mov dword [ebp - 0xa0], ecx
jmp 0x10002588
lea edx, [ebp - 0x68]
mov dword [ebp - 0xa0], edx
cmp eax, edi
jb 0x10002594
mov dword [ebp - 0x8c], ecx
jmp 0x1000259d
lea edx, [ebp - 0x68]
mov dword [ebp - 0x8c], edx
cmp eax, edi
jae 0x100025a4
lea ecx, [ebp - 0x68]
cmp dword [ebx + 0x18], edi
lea edi, [ebx + 4]
jb 0x100025b0
mov eax, dword [edi]
jmp 0x100025b2
mov eax, edi
push dword [ebp - 0x9c]
lea edx, [ebp - 0x50]
push dword [ebp - 0xa0]
push edx
push dword [ebp - 0x8c]
push ecx
push eax
push 0x10051ff8
lea ecx, [ebp - 0x88]
call fcn.1001b479
add esp, 0x1c
xor eax, eax
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], esi
mov word [ebp - 0xc8], ax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x70], 8
mov ecx, dword [ebp - 0x84]
jae 0x10002612
lea ecx, [ebp - 0x84]
cmp dword [ebx + 0x18], 8
jb 0x1000261c
mov eax, dword [edi]
jmp 0x1000261e
mov eax, edi
lea edx, [ebp - 0x98]
push edx
push ecx
push eax
call fcn.10001262
add esp, 0xc
mov ebx, eax
neg ebx
push esi
sbb bl, bl
push 1
lea esi, [ebp - 0xcc]
inc bl
mov byte [ebp - 4], 1
call fcn.10002e12
test bl, bl
je 0x1000266e
push str.ShowClientNotify_failed_in__DoShutdownAction__assume_to_cancel
call fcn.1001cd68
pop ecx
push 0
push 1
lea esi, [ebp - 0x88]
call fcn.10002e12
push 0
jmp 0x1000270a
cmp dword [ebp - 0x98], 0x3e9
jne 0x100026a5
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x10002686
lea eax, [ebp - 0x68]
mov ecx, dword [ebp - 0x94]
cmp dword [ecx + 0x18], 8
jb 0x10002694
mov edi, dword [edi]
push eax
push edi
push str.user_canceled__s__s
call fcn.1001ca92
add esp, 0xc
jmp 0x10002658
mov eax, dword [ebp - 0x94]
cmp dword [eax + 0x18], 8
jb 0x100026b3
mov edi, dword [edi]
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x100026bf
lea eax, [ebp - 0x68]
push edi
push eax
push str.do__s_on__s
call fcn.1001cbfd
add esp, 0xc
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 8], 1
jne 0x100026e4
push 8
pop eax
jmp 0x100026ee
push 2
pop eax
cmp dword [ebp + 8], eax
je 0x100026ee
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.10002e12
push edi
push 1
lea esi, [ebp - 0x6c]
call fcn.10002e12
xor eax, eax
call fcn.100332fd
ret