Function at 0x44e6d0
Capabilities:
Hide graphical window
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562c80
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5c9c4c]
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
mov esi, dword [ebp + 8]
test esi, esi
je 0x44e7da
call fcn.0046ebb0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x5c]
test eax, eax
je 0x44e7da
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x7c], esp
mov dword [eax + 0x24], 0
push 0
push 0
push 0x5809ac
mov dword [ebp - 4], 0
call fcn.004345f0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004307a0
push 0
push 0x5809c4
push 0x5809d0
push 4
push 0x5809dc
push dword [edi + 4]
call fcn.0046c210
cmp eax, 6
jne 0x44e7da
lea eax, [ebp - 0x7c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44e9e1
lea eax, [ebp - 0x1c]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
push 0
push dword [ebp - 0x7c]
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44e9e1
push eax
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x44e9e1
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0044d840
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindow]
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x44e807
call fcn.0044d840
push dword [eax + 4]
call ebx
push esi
mov ecx, edi
call fcn.0044e260
push str.CMainWnd::InstallThridPartySoft__enter.
call fcn.0044c0c0
add esp, 4
cmp dword [edi + 0x6c], 3
je 0x44e834
push str.CMainWnd::InstallThridPartySoft__return_not_INSTALL_PAGE_ID_FINISH.
call fcn.0044c0c0
add esp, 4
jmp 0x44e8c6
lea ecx, [ebp - 0x78]
call fcn.00454ef0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 1
call fcn.00457790
test al, al
jne 0x44e856
push str.CMainWnd::InstallThridPartySoft__Initialize_fail.
jmp 0x44e867
lea ecx, [ebp - 0x78]
call fcn.0045b230
test al, al
jne 0x44e86f
push str.CMainWnd::InstallThridPartySoft__Start_fail.
call fcn.0044c0c0
add esp, 4
lea ecx, [ebp - 0x78]
call fcn.0045cd50
push str.CMainWnd::InstallThridPartySoft__end.
call fcn.0044c0c0
add esp, 4
push str.inst_wnd
push str.instpop_main_window
call dword [sym.imp.USER32.dll_FindWindowW]
push str.instpop_main_window_install_end
mov ebx, eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
test ebx, ebx
je 0x44e8b1
push 0
push 0
push eax
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.00455c30
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x6c]
sub eax, 1
je 0x44e8fa
sub eax, 2
jne 0x44e92e
cmp esi, 1
je 0x44e92e
push eax
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x7c], esp
mov dword [eax + 0x24], 0
push 1
push 0
mov dword [ebp - 4], 3
push str.finish_close
jmp 0x44e91b
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x7c], esp
mov dword [eax + 0x24], 0
push 0
push 0
mov dword [ebp - 4], 2
push str.startpage_close
call fcn.004345f0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004307a0
call fcn.00444160
mov ecx, eax
call fcn.0043f500
mov esi, dword [eax]
call fcn.0046ebb0
xor ecx, ecx
test esi, esi
setne cl
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x38]
call fcn.0046ebb0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
call fcn.00444160
mov ecx, eax
call fcn.0043f540
cmp dword [eax], 0
jne 0x44e9b2
call fcn.00444160
mov ecx, eax
call fcn.0043f560
test eax, eax
jne 0x44e9b2
call fcn.0046ebb0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
je 0x44e9b2
lea ecx, [edi + 0x70]
call fcn.00463390
test eax, eax
jne 0x44e9e1
push str.close_mainpage_2
call fcn.0044c0c0
add esp, 4
mov ecx, 0x5d0b2c
call fcn.00416c80
jmp 0x44e9d9
push str.close_mainpage_1
call fcn.0044c0c0
add esp, 4
mov ecx, 0x5d0b2c
call fcn.00416c80
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [edi + 4]
call ebx
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
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.004a9748
mov esp, ebp
pop ebp
ret 4