Function at 0x40abc0
Capabilities:
Check if file exists
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450ffe
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x469738]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x250], 0x104
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], ax
push str.Checking_for_previously_installed_driver_package
push 0x46a9d4
mov byte [ebp - 4], 1
call fcn.0042d150
add esp, 8
cmp dword [edi + 0x24], ebx
jne 0x40ac58
push str.Skipping_uninstall_of_previous_driver._File_path_not_found.
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 8
jmp 0x40aff1
cmp dword [edi + 0x28], 8
lea esi, [edi + 0x14]
jb 0x40ac65
mov eax, dword [esi]
jmp 0x40ac67
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ac94
cmp dword [esi + 0x14], 8
jb 0x40ac7a
mov esi, dword [esi]
push esi
push str.Skipping_uninstall_of_previous_driver._INF_file_not_found_on_disk:__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
jmp 0x40aff1
mov eax, dword [edi + 0x94]
lea ecx, [edi + 0x84]
push str.Microsoft
mov edi, 9
call fcn.00404ab0
test eax, eax
jne 0x40acd5
cmp dword [esi + 0x14], 8
jb 0x40acbb
mov esi, dword [esi]
push esi
push str.Skipping_uninstall_of_previous_driver._Previous_driver_package_is_inbox:__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
jmp 0x40aff1
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x23c], esp
push ebx
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push esi
or eax, 0xffffffff
lea edi, [ebp - 0x238]
mov word [ecx], dx
call fcn.004061d0
mov ecx, edi
call fcn.0040aa30
add esp, 0x1c
test al, al
jne 0x40ad2f
cmp dword [esi + 0x14], 8
jb 0x40ad15
mov esi, dword [esi]
push esi
push str.Skipping_uninstall_of_previous_driver._INF_could_not_be_parsed:__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
jmp 0x40aff1
mov eax, dword [ebp + 8]
mov edi, 8
cmp dword [ebp + 0x1c], edi
jae 0x40ad3f
lea eax, [ebp + 8]
push eax
push str.Current_Driver:___s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
cmp dword [esi + 0x14], edi
jb 0x40ad5d
mov eax, dword [esi]
jmp 0x40ad5f
mov eax, esi
mov ecx, dword [ebp - 0x238]
cmp dword [ebp - 0x224], edi
jae 0x40ad73
lea ecx, [ebp - 0x238]
push eax
push ecx
push str.Previous_Driver:__s__s
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0x10
cmp dword [ebp + 0x1c], edi
jb 0x40ad99
mov eax, dword [ebp + 8]
mov dword [ebp - 0x23c], eax
jmp 0x40ada2
lea ecx, [ebp + 8]
mov dword [ebp - 0x23c], ecx
mov eax, dword [ebp - 0x238]
cmp dword [ebp - 0x224], edi
jae 0x40adb6
lea eax, [ebp - 0x238]
push eax
call fcn.00437130
mov ebx, edx
mov edx, dword [ebp - 0x23c]
add esp, 4
push edx
mov edi, eax
call fcn.00437130
add esp, 4
cmp eax, edi
jne 0x40adf6
cmp edx, ebx
jne 0x40adf6
push str.Skipping_uninstall_of_previous_driver._The_version_of_the_current_and_previous_drivers_are_the_same.
push 0x46a9d4
mov eax, 1
call fcn.0042d150
add esp, 8
jmp 0x40afef
push str.Removing_previous_driver_package.
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 8
call fcn.00431430
test al, al
je 0x40af0d
xor edi, edi
mov dword [ebp - 0x248], edi
push str.Uninstalling_previous_driver_package__if_any
mov byte [ebp - 4], 2
push 0x46a9d4
xor eax, eax
mov dword [ebp - 0x23c], edi
call fcn.0042d150
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x40ae47
mov ecx, dword [esi]
jmp 0x40ae49
mov ecx, esi
push edi
push edi
call fcn.0040b970
mov eax, dword [ebp - 0x248]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
je 0x40ae63
push eax
call esi
lea eax, [ebp - 0x248]
push eax
push 0xf003f
push edi
push str.SoftwareIntelDifx64
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x244], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x40aed1
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x240]
mov edx, str.Code
call fcn.0042d5f0
lea edx, [ebp - 0x248]
push edx
lea ecx, [ebp - 0x23c]
mov edx, str.Reboot
call fcn.0042d5f0
mov eax, dword [ebp - 0x248]
cmp eax, edi
je 0x40aecb
push eax
call esi
mov dword [ebp - 0x248], edi
xor eax, eax
cmp dword [ebp - 0x23c], 1
push str.SoftwareIntelDifx64
sete al
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x24c], eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x248]
cmp eax, edi
je 0x40af9a
push eax
call esi
jmp 0x40af9a
push str.Checking_driver_store_for_driver_package
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x40af29
mov esi, dword [esi]
lea ecx, [ebp - 0x250]
push ecx
lea edx, [ebp - 0x21c]
push edx
push esi
call dword [sym.imp.DIFXAPI.dll_DriverPackageGetPathW]
mov dword [ebp - 0x240], eax
test eax, eax
jne 0x40af83
lea eax, [ebp - 0x21c]
push eax
push str.Uninstalling_previous_driver_package___s_
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
lea ecx, [ebp - 0x24c]
push ecx
push 0
push 0
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.DIFXAPI.dll_DriverPackageUninstallW]
mov dword [ebp - 0x240], eax
jmp 0x40af98
push eax
push str.Driver_package_not_found_in_driver_store__0x_X_
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 0xc
xor edi, edi
mov eax, dword [ebp - 0x240]
cmp eax, edi
jne 0x40afba
push str.Driver_package_successfully_removed_from_driver_store
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 8
jmp 0x40afef
cmp eax, 0xe000023c
jne 0x40afd7
push str.Existing_driver_package_is_inbox_and_was_not_removed_from_driver_store
push 0x46a9d4
xor eax, eax
call fcn.0042d150
add esp, 8
jmp 0x40afef
push eax
push str.Error_occured_while_uninstalling_driver_package__0x_X_
push 0x46a9d4
mov eax, 1
call fcn.0042d150
add esp, 0xc
xor ebx, ebx
mov esi, 8
cmp dword [ebp - 0x224], esi
jb 0x40b00d
mov eax, dword [ebp - 0x238]
push eax
call fcn.004396db
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], cx
cmp dword [ebp + 0x1c], esi
jb 0x40b037
mov edx, dword [ebp + 8]
push edx
call fcn.004396db
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00438351
mov esp, ebp
pop ebp
ret 0x1c