Function at 0x408dc0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x41886b
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4223a0]
xor eax, esp
mov dword [esp + 0x484], eax
push ebp
push esi
push edi
mov eax, dword [0x4223a0]
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.00403a50
add esp, 4
cmp dword [0x423894], 0
je 0x408e98
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x408e30
mov eax, dword [0x423890]
mov eax, dword [eax]
mov esi, dword [eax + 8]
push esi
call edi
test eax, eax
jne 0x408e6f
push eax
push esi
mov ecx, ebp
call fcn.00404380
test al, al
push esi
je 0x408e62
push str.Deleting_file___s__at_reboot_requires_a_reboot_n
call fcn.00403a50
mov byte [ebp + 0x5e4], 1
jmp 0x408e6c
push str.Deleting_file___s__n
call fcn.00403a50
add esp, 8
mov ecx, dword [0x423890]
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.0040a409
add esp, 4
sub dword [0x423894], 1
jne 0x408e30
push str.LeaveBinaries
mov ecx, ebp
call fcn.00401110
mov esi, eax
test esi, esi
je 0x408ebe
push str.Leaving_binaries_requires_a_reboot_n
call fcn.00403a50
add esp, 4
mov byte [ebp + 0x5e4], 1
push str.set_UninstallFilessysdir.nvu
mov ecx, ebp
call fcn.00402590
push str.UninstallFiles
mov ecx, ebp
call fcn.00401110
push eax
mov ecx, ebp
call fcn.00403f40
test eax, eax
jne 0x408f36
cmp byte [ebp + 0x5e5], al
je 0x408f36
test esi, esi
jne 0x408f36
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.00404380
push str.set_Current_File
mov ecx, ebp
call fcn.00402590
push str.DirAndApply_sysdir_nvu.exe_del_Current_File
mov ecx, ebp
call fcn.00402590
push str.Delreg_NVUninst_RegKey
mov ecx, ebp
call fcn.00402590
push str.ForceNoReboot
mov ecx, ebp
call fcn.00401110
cmp byte [ebp + 0x5e4], 0
je 0x409072
test eax, eax
je 0x408f69
push 0x4194d8
push eax
call fcn.0040a32e
add esp, 8
test eax, eax
je 0x409072
push str.Silent
mov ecx, ebp
call fcn.00401110
test eax, eax
je 0x408f8f
push 0x4194d8
push eax
call fcn.0040a32e
add esp, 8
test eax, eax
je 0x40903e
push str.Two_Reboot_Required
mov ecx, ebp
call fcn.00401110
test eax, eax
je 0x408fd1
push 0x4194d8
push eax
call fcn.0040a32e
add esp, 8
test eax, eax
jne 0x408fd1
push 0xa
mov ecx, ebp
call section..text
lea edx, [esp + 0x94]
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x408fc1
jmp 0x408fd9
mov byte [esp + 0x94], 0
push 2
mov ecx, ebp
call section..text
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x408fe4
lea edi, [esp + 0x94]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
jmp 0x409000
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x409000
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 0x409065
push str.Rebooting_machine..._n
call fcn.00403a50
add esp, 4
push 1
push str.SeShutdownPrivilege
mov ecx, ebp
call fcn.00403eb0
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x409072
push str.User_chose_not_to_reboot_machine_n
call fcn.00403a50
add esp, 4
mov ecx, ebp
mov dword [esp + 0x4a0], 0xffffffff
call fcn.00402500
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.0040a7c2
add esp, 0x494
ret