Function at 0x403cd0
Capabilities:
Delete file
Shutdown system

Disassembly:
push 0xffffffffffffffff
push 0x40849b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x488
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0xc], ebp
mov eax, dword [0x40eac8]
mov dword [esp + 0x49c], 0
test eax, eax
je 0x403d5e
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x40eac4]
mov eax, dword [eax]
mov esi, dword [eax + 8]
push esi
call edi
test eax, eax
jne 0x403d2e
push eax
push esi
mov ecx, ebp
call fcn.00404720
or byte [ebp + 0x5e4], al
mov eax, dword [0x40eac4]
mov eax, dword [eax]
push eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [0x40eac8]
add esp, 4
dec eax
mov dword [0x40eac8], eax
mov dword [esp + 0x10], eax
jne 0x403d0e
push str.LeaveBinaries
mov ecx, ebp
call fcn.004017e0
mov esi, eax
test esi, esi
je 0x403d77
mov byte [ebp + 0x5e4], 1
push str.set_UninstallFilessysdir.nvu
mov ecx, ebp
call fcn.00401ef0
push str.UninstallFiles
mov ecx, ebp
call fcn.004017e0
push eax
mov ecx, ebp
call fcn.00403f50
test eax, eax
jne 0x403df1
mov al, byte [ebp + 0x5e5]
test al, al
je 0x403df1
test esi, esi
jne 0x403df1
mov ecx, dword [ebp + 0x550]
lea eax, [esp + 0x14]
push 0x80
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x14]
push esi
push edx
mov ecx, ebp
call fcn.00404720
push str.set_Current_File
mov ecx, ebp
call fcn.00401ef0
push str.DirAndApply_sysdir_nvu.exe_del_Current_File
mov ecx, ebp
call fcn.00401ef0
push str.Delreg_NVUninst_RegKey
mov ecx, ebp
call fcn.00401ef0
push str.ForceNoReboot
mov ecx, ebp
call fcn.004017e0
mov cl, byte [ebp + 0x5e4]
test cl, cl
je 0x403f07
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
test eax, eax
je 0x403e28
push 0x40bb1c
push eax
call esi
add esp, 8
test eax, eax
je 0x403f07
push str.Silent
mov ecx, ebp
call fcn.004017e0
test eax, eax
je 0x403e4b
push 0x40bb1c
push eax
call esi
add esp, 8
test eax, eax
je 0x403eef
push str.Two_Reboot_Required
mov ecx, ebp
call fcn.004017e0
test eax, eax
je 0x403e86
push 0x40bb1c
push eax
call esi
add esp, 8
test eax, eax
jne 0x403e86
push 0xa
mov ecx, ebp
call fcn.00401690
lea edx, [esp + 0x94]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x403e7a
jmp 0x403e8e
mov byte [esp + 0x94], 0
push 2
mov ecx, ebp
call fcn.00401690
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x94]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40024
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x54c]
mov ecx, edx
mov edx, dword [ebp + 0x558]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x98]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x403f07
push 1
push str.SeShutdownPrivilege
mov ecx, ebp
call fcn.00403c50
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, ebp
mov dword [esp + 0x49c], 0xffffffff
call fcn.00401760
mov ecx, dword [esp + 0x494]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x494
ret