Function at 0x405a10
Capabilities:
Create process on windows
Delete file
Delete registry key
Delete registry value
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x40c8c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
mov ebx, dword [esp + 0x80]
push ebp
push esi
push edi
mov edi, ecx
test ebx, ebx
mov dword [esp + 0x20], edi
je 0x405d14
mov eax, dword [esp + 0x94]
test eax, eax
je 0x405d14
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [esp + 0x14]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push 0x80000002
mov dword [esp + 0x98], 0
call esi
test eax, eax
jne 0x405d00
mov eax, dword [ebx]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebx]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call esi
test eax, eax
jne 0x405cb8
push 0x226
mov dword [esp + 0x20], 0x226
call dword [sym.imp.MSVCRT.dll_malloc]
mov edx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x1c]
mov esi, eax
push ecx
push esi
push 0
push 0
push str.UninstallString
push edx
call ebp
test eax, eax
jne 0x405cac
push 0x41144c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
push 0x41144c
lea ecx, [esp + 0x98]
mov dword [esp + 0x88], 0
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
lea ecx, [esp + 0x94]
push eax
push ecx
push esi
mov ecx, edi
mov byte [esp + 0x90], 1
call fcn.00406f40
push str.DriverUninstaller.exe
lea ecx, [esp + 0x98]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jge 0x405c84
mov eax, dword [esp + 0x98]
test eax, eax
jne 0x405b62
push 0x24
push str.Notice
push str.An_older_version_of_this_driver_set_has_been_found_on_the_system_and_must_be_removed_before_continuing_installation._n_nDo_you_want_to_remove_the_old_drivers_now_
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
cmp eax, 6
jne 0x405c84
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
call fcn.00406de0
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], eax
push ecx
mov dword [esp + 0x34], eax
push edx
push eax
push eax
push eax
push eax
push eax
push eax
push esi
push eax
mov dword [esp + 0x60], 0x44
mov dword [esp + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405c4d
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esp + 0x2c]
push edx
call edi
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push esi
push 0
push 0
push str.UninstallString
push ecx
call ebp
test eax, eax
je 0x405c4d
push ecx
lea edx, [esp + 0x98]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov dword [esp + 0x94], 1
call sub.MFC42.DLL_CString::CString_2
call fcn.00404df0
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.00404df0
mov ecx, dword [esp + 0x98]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 4
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x405c80
mov eax, dword [ebx]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x405c80
mov dword [esp + 0x8c], 1
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x94]
mov byte [esp + 0x84], 0
call fcn.0040b9d8
lea ecx, [esp + 0x10]
mov dword [esp + 0x84], 0xffffffff
call fcn.0040b9d8
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x405cc3
mov dword [esp + 0x8c], 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x98]
test eax, eax
jne 0x405d0b
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x405d0b
push 0x10
push str.Error
push str.Installation_did_not_complete._n_nThe_installation_can_not_be_completed_until_the_older_version__of_this_driver_set_is_removed.
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
mov eax, dword [esp + 0x8c]
jmp 0x405d16
mov dword [esp + 0x8c], 1
mov eax, dword [esp + 0x8c]
jmp 0x405d16
xor eax, eax
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x78
ret 0x10