Function at 0x41cc60
Capabilities:
Hide graphical window
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a8b7
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4c4184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x1f0], 0
je 0x41cd94
mov eax, dword [0x4c6eac]
test eax, eax
je 0x41ccfd
cmp dword [eax + 4], 4
jl 0x41ccfd
push 0
push 0
push 0x4a0d84
push 0x27e
push str.AsusUpdateDlg::OnOK
push 4
lea ecx, [ebp - 0x120]
call fcn.00413ac0
mov esi, eax
lea ecx, [esi + 0x28]
mov dword [ebp - 4], 0
push str.Reboot_System
push ecx
call fcn.004160f0
mov ecx, dword [0x4c6eac]
add esp, 8
push esi
call fcn.004163e0
lea ecx, [ebp - 0x120]
call fcn.004151d0
lea eax, [ebp - 0x224]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41cfec
lea eax, [ebp - 0x1c]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov esi, dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
lea eax, [ebp - 0x20]
push 0
push 0
push 0
push eax
push 0
push dword [ebp - 0x224]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 2
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41cfec
push 0x80030003
push 1
push 1
push eax
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0
push eax
push 0
push dword [ebp - 0x224]
call esi
jmp 0x41cfec
mov eax, dword [edi + 0x30]
cmp eax, 1
jne 0x41ce0d
mov eax, dword [0x4c6eac]
test eax, eax
je 0x41ce03
cmp dword [eax + 4], 4
jl 0x41ce03
push 0
push 0
push 0x4a0d84
push 0x285
push str.AsusUpdateDlg::OnOK
push 4
lea ecx, [ebp - 0x120]
call fcn.00413ac0
mov esi, eax
lea ecx, [esi + 0x28]
mov dword [ebp - 4], 1
push str.Launch_AURA_CREATOR
push ecx
call fcn.004160f0
mov ecx, dword [0x4c6eac]
add esp, 8
push esi
call fcn.004163e0
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0xffffffff
call fcn.004151d0
push str.B9ECED6F.AURACreator_qmba6cd70vzyy_App
jmp 0x41cfe5
cmp eax, 2
jne 0x41ce83
mov eax, dword [0x4c6eac]
test eax, eax
je 0x41ce79
cmp dword [eax + 4], 4
jl 0x41ce79
push 0
push 0
push 0x4a0d84
push 0x28b
push str.AsusUpdateDlg::OnOK
push 4
lea ecx, [ebp - 0x120]
call fcn.00413ac0
mov esi, eax
lea ecx, [esi + 0x28]
mov dword [ebp - 4], 2
push str.Launch_ARMOURY_CRATE_SE
push ecx
call fcn.004160f0
mov ecx, dword [0x4c6eac]
add esp, 8
push esi
call fcn.004163e0
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0xffffffff
call fcn.004151d0
push str.B9ECED6F.ArmouryCrateSE_qmba6cd70vzyy_App
jmp 0x41cfe5
cmp eax, 3
jne 0x41cf79
call fcn.0042a6b0
test al, al
je 0x41cee9
push str.ArmouryCrate
lea ecx, [ebp - 0x224]
call fcn.00412460
mov eax, dword [ebp - 0x224]
mov dword [ebp - 4], 3
cmp dword [eax - 4], 1
jle 0x41cecc
push dword [eax - 0xc]
lea ecx, [ebp - 0x224]
call fcn.0040a060
mov eax, dword [ebp - 0x224]
push eax
push 0
call fcn.0042a790
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00409e30
mov ecx, edi
call fcn.004207c0
push 0x4a24c0
lea ecx, [edi + 0xd4]
call fcn.0041f9f0
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x44]
call ebx
push 0
push dword [edi + 0x48]
call ebx
push 0x5816
lea eax, [ebp - 0x224]
mov dword [edi + 0x30], 2
push eax
mov ecx, edi
call fcn.00419410
push dword [eax]
lea ecx, [edi + 0xd4]
mov dword [ebp - 4], 4
call fcn.0041f9f0
mov edx, dword [ebp - 0x224]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41cf60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push dword [edi + 0xd8]
call ebx
push 0
push dword [edi + 0x124]
call ebx
jmp 0x41cffa
mov eax, dword [0x4c6eac]
test eax, eax
je 0x41cfe0
cmp dword [eax + 4], 4
jl 0x41cfe0
push 0
push 0
push 0x4a0d84
push 0x2a4
push str.AsusUpdateDlg::OnOK
push 4
lea ecx, [ebp - 0x220]
call fcn.00413ac0
mov esi, eax
lea ecx, [esi + 0x28]
mov dword [ebp - 4], 5
push str.Launch_ARMOURY_CRATE
push ecx
call fcn.004160f0
mov ecx, dword [0x4c6eac]
add esp, 8
push esi
call fcn.004163e0
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
call fcn.004151d0
push str.B9ECED6F.ArmouryCrate_qmba6cd70vzyy_App
mov ecx, edi
call fcn.0041a4b0
movzx eax, word [ebp + 0xc]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044a466
mov esp, ebp
pop ebp
ret 0x10