Function at 0x409e80
Capabilities:
Delete file
Shutdown system

Disassembly:
push 0xffffffffffffffff
push 0x419d7b
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4243c0]
xor eax, esp
mov dword [esp + 0x484], eax
push ebp
push esi
push edi
mov eax, dword [0x4243c0]
xor eax, esp
push eax
lea eax, [esp + 0x498]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x10], ebp
push str.UninstCommandClass::UninstCommandClass_n
mov dword [esp + 0x4a4], 0
call fcn.00403da0
add esp, 4
cmp dword [0x429a44], 0
je 0x409f58
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x409ef0
mov eax, dword [0x429a40]
mov eax, dword [eax]
mov esi, dword [eax + 8]
push esi
call edi
test eax, eax
jne 0x409f2f
push eax
push esi
mov ecx, ebp
call fcn.00404790
test al, al
push esi
je 0x409f22
push str.Deleting_file___s__at_reboot_requires_a_reboot_n
call fcn.00403da0
mov byte [ebp + 0x5e4], 1
jmp 0x409f2c
push str.Deleting_file___s__n
call fcn.00403da0
add esp, 8
mov ecx, dword [0x429a40]
mov eax, dword [ecx]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push eax
mov dword [ecx + 4], edx
call fcn.0040b615
add esp, 4
sub dword [0x429a44], 1
jne 0x409ef0
push str.LeaveBinaries
mov ecx, ebp
call fcn.00401110
mov esi, eax
test esi, esi
je 0x409f7e
push str.Leaving_binaries_requires_a_reboot_n
call fcn.00403da0
add esp, 4
mov byte [ebp + 0x5e4], 1
push str.set_UninstallFilessysdir.nvu
mov ecx, ebp
call fcn.004025b0
push str.UninstallFiles
mov ecx, ebp
call fcn.00401110
push eax
mov ecx, ebp
call fcn.00404350
test eax, eax
jne 0x409ff6
cmp byte [ebp + 0x5e5], al
je 0x409ff6
test esi, esi
jne 0x409ff6
mov ecx, dword [ebp + 0x550]
push 0x80
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
call fcn.00404790
push str.set_Current_File
mov ecx, ebp
call fcn.004025b0
push str.DirAndApply_sysdir_nvu.exe_del_Current_File
mov ecx, ebp
call fcn.004025b0
push str.Delreg_NVUninst_RegKey
mov ecx, ebp
call fcn.004025b0
push str.ForceNoReboot
mov ecx, ebp
call fcn.00401110
cmp byte [ebp + 0x5e4], 0
je 0x40a132
test eax, eax
je 0x40a029
push 0x41a4f8
push eax
call fcn.0040b53a
add esp, 8
test eax, eax
je 0x40a132
push str.Silent
mov ecx, ebp
call fcn.00401110
test eax, eax
je 0x40a04f
push 0x41a4f8
push eax
call fcn.0040b53a
add esp, 8
test eax, eax
je 0x40a0fe
push str.Two_Reboot_Required
mov ecx, ebp
call fcn.00401110
test eax, eax
je 0x40a091
push 0x41a4f8
push eax
call fcn.0040b53a
add esp, 8
test eax, eax
jne 0x40a091
push 0xa
mov ecx, ebp
call fcn.00401000
lea edx, [esp + 0x94]
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x40a081
jmp 0x40a099
mov byte [esp + 0x94], 0
push 2
mov ecx, ebp
call fcn.00401000
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40a0a4
lea edi, [esp + 0x94]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
jmp 0x40a0c0
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x40a0c0
mov edx, dword [ebp + 0x558]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x54c]
and ecx, 3
push 0x40024
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x9c]
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40a125
push str.Rebooting_machine..._n
call fcn.00403da0
add esp, 4
push 1
push str.SeShutdownPrivilege
mov ecx, ebp
call fcn.004042a0
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x40a132
push str.User_chose_not_to_reboot_machine_n
call fcn.00403da0
add esp, 4
mov ecx, ebp
mov dword [esp + 0x4a0], 0xffffffff
call fcn.00402520
mov ecx, dword [esp + 0x498]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x484]
xor ecx, esp
call fcn.0040b9d2
add esp, 0x494
ret