Function at 0x4482c0
Capabilities:
Hide graphical window
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52bb69
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x583bb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
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 0x4483d2
call fcn.0045f250
push eax
mov ecx, dword [eax]
call dword [ecx + 0x5c]
test eax, eax
je 0x4483d2
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x84], esp
mov dword [eax + 0x24], 0
push 0
push 0
push 0x54620c
mov dword [ebp - 4], 0
call fcn.0042f030
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0042b2d0
push 0
push 0x546224
push 0x546230
push 4
push 0x54623c
push dword [edi + 4]
call fcn.0045d9d0
cmp eax, 6
jne 0x4483d2
lea eax, [ebp - 0x84]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44858b
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 - 0x84]
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x44858b
push eax
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x44858b
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
mov ecx, edi
call fcn.00447e50
push str.CMainWnd::InstallThridPartySoft__enter.
call fcn.00446390
add esp, 4
cmp dword [edi + 0x6c], 3
je 0x448407
push str.CMainWnd::InstallThridPartySoft__return_not_INSTALL_PAGE_ID_FINISH.
call fcn.00446390
add esp, 4
jmp 0x448466
lea ecx, [ebp - 0x80]
call fcn.0044c450
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 1
call fcn.0044d540
test al, al
jne 0x448429
push str.CMainWnd::InstallThridPartySoft__Initialize_fail.
jmp 0x44843a
lea ecx, [ebp - 0x80]
call fcn.00450b60
test al, al
jne 0x448442
push str.CMainWnd::InstallThridPartySoft__Start_fail.
call fcn.00446390
add esp, 4
lea ecx, [ebp - 0x80]
call fcn.004511f0
push str.CMainWnd::InstallThridPartySoft__end.
call fcn.00446390
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.0044cb30
mov eax, dword [edi + 0x6c]
sub eax, 1
je 0x44849d
sub eax, 2
jne 0x4484d4
cmp esi, 1
je 0x4484d4
push eax
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x84], esp
mov dword [eax + 0x24], 0
push 1
push 0
mov dword [ebp - 4], 3
push str.finish_close
jmp 0x4484c1
push 0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x84], esp
mov dword [eax + 0x24], 0
push 0
push 0
mov dword [ebp - 4], 2
push str.startpage_close
call fcn.0042f030
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0042b2d0
call fcn.0043e4f0
mov ecx, eax
call fcn.004398c0
mov esi, dword [eax]
call fcn.0045f250
xor ecx, ecx
test esi, esi
setne cl
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x38]
call fcn.0045f250
push eax
mov ecx, dword [eax]
call dword [ecx + 0x90]
call fcn.0043e4f0
mov ecx, eax
call fcn.00439900
cmp dword [eax], 0
jne 0x448558
call fcn.0043e4f0
mov ecx, eax
call fcn.00439920
test eax, eax
jne 0x448558
call fcn.0045f250
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
test eax, eax
je 0x448558
lea ecx, [edi + 0x70]
call fcn.004523a0
test eax, eax
jne 0x44858b
push str.close_mainpage_2
call fcn.00446390
add esp, 4
mov ecx, 0x589004
call fcn.00416010
jmp 0x448583
push str.close_mainpage_1
call fcn.00446390
add esp, 4
mov ecx, 0x589004
call fcn.00416010
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049a028
mov esp, ebp
pop ebp
ret 4