Function at 0x40a0d0
Capabilities:
Delete file
Shutdown system

Disassembly:
push 0xffffffffffffffff
push 0x41a9fb
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4253c0]
xor eax, esp
mov dword [esp + 0x484], eax
push ebp
push esi
push edi
mov eax, dword [0x4253c0]
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 [0x42aa44], 0
je 0x40a1a8
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x40a140
mov eax, dword [0x42aa40]
mov eax, dword [eax]
mov esi, dword [eax + 8]
push esi
call edi
test eax, eax
jne 0x40a17f
push eax
push esi
mov ecx, ebp
call fcn.004045a0
test al, al
push esi
je 0x40a172
push str.Deleting_file___s__at_reboot_requires_a_reboot_n
call fcn.00403da0
mov byte [ebp + 0x5e4], 1
jmp 0x40a17c
push str.Deleting_file___s__n
call fcn.00403da0
add esp, 8
mov ecx, dword [0x42aa40]
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.0040b8a7
add esp, 4
sub dword [0x42aa44], 1
jne 0x40a140
push str.LeaveBinaries
mov ecx, ebp
call fcn.00401110
mov esi, eax
test esi, esi
je 0x40a1ce
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.00404160
test eax, eax
jne 0x40a246
cmp byte [ebp + 0x5e5], al
je 0x40a246
test esi, esi
jne 0x40a246
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.004045a0
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 0x40a382
test eax, eax
je 0x40a279
push 0x41b4f8
push eax
call fcn.0040b7cc
add esp, 8
test eax, eax
je 0x40a382
push str.Silent
mov ecx, ebp
call fcn.00401110
test eax, eax
je 0x40a29f
push 0x41b4f8
push eax
call fcn.0040b7cc
add esp, 8
test eax, eax
je 0x40a34e
push str.Two_Reboot_Required
mov ecx, ebp
call fcn.00401110
test eax, eax
je 0x40a2e1
push 0x41b4f8
push eax
call fcn.0040b7cc
add esp, 8
test eax, eax
jne 0x40a2e1
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 0x40a2d1
jmp 0x40a2e9
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 0x40a2f4
lea edi, [esp + 0x94]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
jmp 0x40a310
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x40a310
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 0x40a375
push str.Rebooting_machine..._n
call fcn.00403da0
add esp, 4
push 1
push str.SeShutdownPrivilege
mov ecx, ebp
call fcn.004040b0
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x40a382
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.0040bc62
add esp, 0x494
ret