Function at 0x401a0f
Capabilities:
Delete directory
Delete file
Delete registry key
Get installed programs
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.00402f10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], ebx
cmp dword [esi + 0x60], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
jle 0x401d11
cmp dword [esi + 0x68], ebx
je 0x401a4f
push 0x89
call fcn.004014ca
push 0x406c84
call fcn.004027b2
pop ecx
mov eax, dword [esi + 0x60]
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
cmp dword [esi + 0x6c], ebx
mov edx, eax
pop ecx
mov dword [ebp - 0x1c], edx
je 0x401a7e
mov ecx, dword [esi + 0x60]
xor eax, eax
cmp ecx, ebx
mov dword [ebp - 0x10], ecx
jle 0x401a92
mov dword [edx], eax
inc eax
add edx, 4
cmp eax, ecx
jl 0x401a72
jmp 0x401a92
push edx
lea ecx, [esi + 0x1198]
push dword [esi + 0x60]
call fcn.004029bd
mov dword [ebp - 0x10], eax
mov ecx, eax
cmp ecx, ebx
mov edi, 0x406c64
jle 0x401cb2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x824]
push 0x407084
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x824]
push edi
push eax
call sub.MSVCRT.dll_strcat
mov eax, dword [ebp - 8]
add esp, 0x10
lea ecx, [esi + 0x1198]
push dword [eax]
call fcn.004029d6
push eax
lea eax, [ebp - 0x1024]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x1024]
push edi
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
cmp dword [esi + 0x68], ebx
lea eax, [ebp - 0x1024]
push eax
je 0x401b12
lea eax, [ebp - 0x824]
push eax
call fcn.00402772
pop ecx
pop ecx
jmp 0x401b18
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, ebx
jne 0x401b27
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x401b2a
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], ebx
jne 0x401be1
lea eax, [ebp - 0x1024]
push str.plugins_
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
cmp eax, ebx
pop ecx
jne 0x401b63
lea eax, [ebp - 0x1024]
push str.Plugins_
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
cmp eax, ebx
pop ecx
je 0x401bb2
push str.components_npdevalvr.xpt
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x824]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0x10
cmp eax, ebx
je 0x401bb2
push 0x406950
push eax
call sub.MSVCRT.dll_strcpy
cmp dword [esi + 0x68], ebx
pop ecx
pop ecx
lea eax, [ebp - 0x1024]
push eax
je 0x401bac
lea eax, [ebp - 0x824]
push eax
call fcn.00402772
pop ecx
pop ecx
jmp 0x401bb2
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x824]
lea ecx, [esi + 0x1198]
push eax
mov eax, dword [ebp - 8]
push dword [eax]
call fcn.00402a2f
lea eax, [ebp - 0x824]
push str._............._ok
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
jmp 0x401c8e
lea eax, [ebp - 0x824]
lea ecx, [esi + 0x1198]
push eax
mov eax, dword [ebp - 8]
push dword [eax]
call fcn.00402a2f
mov eax, dword [ebp - 0xc]
cmp eax, 2
jne 0x401c0e
mov eax, dword [0x406020]
push dword [eax*4 + 0x4060d4]
jmp 0x401c79
cmp eax, 3
jne 0x401c21
mov eax, dword [0x406020]
push dword [eax*4 + 0x40602c]
jmp 0x401c79
cmp eax, 0x20
je 0x401c6d
cmp eax, 5
je 0x401c6d
mov eax, dword [0x406020]
push dword [eax*4 + 0x40603c]
lea eax, [ebp - 0x824]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
lea eax, [ebp - 0x824]
pop ecx
push dword [ebp - 0xc]
push str.__error__d_
push eax
call sub.MSVCRT.dll_strlen
pop ecx
lea eax, [ebp + eax - 0x824]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x401c87
mov eax, dword [0x406020]
push dword [eax*4 + 0x406034]
lea eax, [ebp - 0x824]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
mov dword [ebp - 4], 1
cmp dword [esi + 0x6c], ebx
jne 0x401ca5
lea eax, [ebp - 0x824]
lea ecx, [esi + 0x1058]
push eax
call fcn.00402a48
add dword [ebp - 8], 4
dec dword [ebp - 0x18]
jne 0x401aa8
push dword [ebp - 0x1c]
call sub.MFC42.DLL_operatordelete
cmp dword [esi + 0x68], ebx
pop ecx
je 0x401ec8
push edi
push 0x407084
lea eax, [ebp - 0x824]
push str._s_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, dword [sym.imp.MSVCRT.dll_remove]
lea eax, [ebp - 0x824]
push eax
call edi
add esp, 0x14
lea eax, [ebp - 0x824]
push 0x407084
push str._snpdevalvr.xpt
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x824]
push eax
call edi
add esp, 0x10
cmp dword [esi + 0x68], ebx
je 0x401ec8
cmp dword [esi + 0x60], ebx
jle 0x402004
cmp dword [ebp - 0x10], ebx
jle 0x402004
cmp dword [ebp - 4], ebx
jne 0x402004
lea eax, [ebp - 0x824]
push 0x407484
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
call fcn.0040288a
push dword [eax + 0x8c]
lea eax, [ebp - 0x824]
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x824]
push str..exe
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x1024]
push 0x406c84
push eax
call sub.MSVCRT.dll_strcpy
mov edi, 0x406c44
lea eax, [ebp - 0x1024]
push edi
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x20
lea eax, [ebp - 0x1024]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x1024]
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.00402772
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x402004
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0xf003f
push ebx
push 0x407884
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallDevalVR_for_Netscape
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401e8c
lea eax, [ebp - 0x824]
push 0x406c84
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x824]
push edi
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x824]
push 0x4068c0
push eax
call sub.MSVCRT.dll_strcat
mov eax, dword [0x406020]
push dword [eax*4 + 0x40608c]
call sub.MSVCRT.dll_strlen
add esp, 0x1c
inc eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
mov eax, dword [0x406020]
push dword [eax*4 + 0x40608c]
push 1
push ebx
push str.DisplayName
push dword [ebp - 0x14]
call edi
lea eax, [ebp - 0x824]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
lea eax, [ebp - 0x824]
push eax
push 1
push ebx
push str.UninstallString
push dword [ebp - 0x14]
call edi
push dword [ebp - 0x14]
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401e93
mov dword [ebp - 4], 1
cmp dword [ebp - 4], ebx
jne 0x402004
cmp dword [esi + 0x6c], ebx
jne 0x402004
add esi, 0x1058
push 0x407884
mov ecx, esi
call fcn.00402a48
mov eax, dword [0x406020]
push dword [eax*4 + 0x406094]
jmp 0x401ffd
mov ecx, esi
call fcn.0040163c
cmp dword [esi + 0x60], ebx
jne 0x402004
mov edi, 0x406c84
lea eax, [ebp - 0x824]
push edi
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 0x4068a0
push edi
call sub.MSVCRT.dll_strlen
pop ecx
lea eax, [ebp + eax - 0x825]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x824]
push eax
push edi
call fcn.0040278d
add esp, 0x10
test eax, eax
je 0x401fa4
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x1024]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x1024]
push 0x406c44
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x1024]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x1024]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x1024]
push eax
call sub.MSVCRT.dll_strlen
and byte [ebp + eax - 0x1025], 0
add esp, 0xc
lea eax, [ebp - 0x1024]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x401f9d
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.0040278d
pop ecx
pop ecx
jmp 0x401fa4
mov dword [ebp - 0x20], 1
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ebx, 0x80000002
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallDevalVR_for_Netscape
push ebx
call edi
cmp dword [ebp - 0x20], 0
mov dword [ebp - 4], eax
je 0x401fd3
push str.SOFTWAREDeval_SoftwareDevalVR
push ebx
call edi
push str.SOFTWAREDeval_Software
push ebx
call edi
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402004
cmp dword [esi + 0x6c], 0
jne 0x402004
add esi, 0x1058
push 0x407884
mov ecx, esi
call fcn.00402a48
mov eax, dword [0x406020]
push dword [eax*4 + 0x40609c]
mov ecx, esi
call fcn.00402a48
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret