Function at 0x40b150
Capabilities:
Delete registry key
Query or enumerate registry value
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x44f986
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x462408]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x462408]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x26c]
mov esi, edx
xor ebx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x260], ebx
mov ecx, dword [0x464bb4]
cmp ecx, ebx
mov dword [esp + 0x18], ebx
je 0x40b1d6
mov edx, dword [0x464bb8]
sub edx, ecx
mov eax, 0x7e07e07f
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x40b1e1
call fcn.0043641d
mov ecx, dword [0x464bb4]
imul edi, edi, 0x104
add edi, ecx
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x20]
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
call fcn.00404120
mov byte [esp + 0x260], 1
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
mov dword [esi], ebx
jae 0x40b222
lea eax, [esp + 0x34]
push eax
push str.INF___s
push 0x463650
xor eax, eax
call fcn.0042a920
add esp, 0xc
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
cmp ebp, ebx
je 0x40b372
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
cmp dword [esp + 0x1c], ebx
setne al
test al, al
je 0x40b372
cmp dword [esp + 0x48], 8
mov edx, dword [esp + 0x34]
jae 0x40b284
lea edx, [esp + 0x34]
push 1
mov ecx, 0x14
call fcn.0040b8f0
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x40b358
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x40b2ab
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x20]
push edx
push 0xf003f
push ebx
push str.SoftwareIntelDifx64
push 0x80000002
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x40b41f
mov edx, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push ebx
push str.Code
push edx
call ebp
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push str.Reboot
push edx
call ebp
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp dword [esp + 0x1c], 1
push ecx
sete al
lea edx, [esp + 0x24]
push edx
mov dword [esi], eax
mov eax, str.StorePath
call fcn.0042adb0
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x40b33f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareIntelDifx64
push 0x80000002
mov dword [esp + 0x28], ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
jmp 0x40b41b
push eax
push str.Error_0x_X_launching_Drv64.exe
push 0x463650
mov eax, 2
call fcn.0042a920
jmp 0x40b418
push ebx
push 0x40aea0
call dword [sym.imp.DIFXAPI.dll_DIFXAPISetLogCallbackW]
mov eax, dword [esp + 0x34]
mov ebp, 8
cmp dword [esp + 0x48], ebp
jae 0x40b391
lea eax, [esp + 0x34]
push esi
push ebx
push 0x14
push eax
call dword [sym.imp.DIFXAPI.dll_DriverPackageInstallW]
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x40b41f
cmp dword [esp + 0x48], ebp
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], 0x104
jae 0x40b3ba
lea eax, [esp + 0x34]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.DIFXAPI.dll_DriverPackageGetPathW]
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x40b41f
lea eax, [esp + 0x4c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b3e0
mov esi, dword [esp + 0x2c]
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00403d80
lea ecx, [esp + 0x4c]
push ecx
push str.Store_location___s_
push 0x463650
xor eax, eax
call fcn.0042a920
mov esi, dword [esp + 0x34]
add esp, 0xc
mov eax, dword [esp + 0x18]
cmp eax, 0x47e
ja 0x40b5ae
je 0x40b560
cmp eax, ebx
je 0x40b45c
cmp eax, 0x103
jne 0x40b5bc
push str.Installed_driver_is_better_match_for_the_device
push 0x463650
mov eax, 1
call fcn.0042a920
mov dword [esp + 0x20], ebx
jmp 0x40b633
mov eax, dword [esp + 0x34]
mov ebp, 8
cmp dword [esp + 0x48], ebp
jae 0x40b46f
lea eax, [esp + 0x34]
push eax
push str.Installed_Package___s
push 0x463650
xor eax, eax
call fcn.0042a920
add esp, 0xc
cmp dword [esi], ebx
mov eax, 0x454b10
jne 0x40b492
mov eax, 0x454b18
push eax
push str.Package_Requires_Reboot___s
push 0x463650
xor eax, eax
call fcn.0042a920
add esp, 0xc
cmp dword [edi + 0x70], ebp
jb 0x40b4b1
mov ebx, dword [edi + 0x5c]
jmp 0x40b4b4
lea ebx, [edi + 0x5c]
mov eax, dword [edi + 0xf8]
test eax, eax
lea esi, [edi + 0xf4]
je 0x40b4dc
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x40b4e1
call fcn.0043641d
mov eax, dword [esi + 4]
add eax, 0x68
cmp dword [eax + 0x18], ebp
jb 0x40b4f1
mov eax, dword [eax + 4]
jmp 0x40b4f4
add eax, 4
push eax
call fcn.00433030
add esp, 4
push ebx
mov edi, eax
mov ebp, edx
call fcn.00433030
add esp, 4
cmp eax, edi
jne 0x40b512
cmp edx, ebp
je 0x40b542
call fcn.0040c1f0
add eax, 0x14
cmp dword [eax + 0x18], 8
jb 0x40b531
mov eax, dword [eax + 4]
mov ecx, eax
call fcn.0040aed0
xor ebx, ebx
jmp 0x40b636
add eax, 4
mov ecx, eax
call fcn.0040aed0
xor ebx, ebx
jmp 0x40b636
push str.The_version_of_the_driver_just_installed_is_the_same_as_the_one_that_was_previously_installed._Skipping_uninstall_of_previous_driver
push 0x463650
mov eax, 1
call fcn.0042a920
add esp, 8
xor ebx, ebx
jmp 0x40b636
push 0x7f01
push 1
push 0x80
push 0x7da
xor edx, edx
mov ecx, 0x7e3
call fcn.0042f830
mov ecx, dword [esp + 0x28]
push ecx
push str.DriverPackageInstall___Platform_not_Vista_or_higher
push 0x463650
mov eax, 2
call fcn.0042a920
mov edx, dword [esp + 0x34]
add esp, 0x1c
mov dword [0x463674], edx
call fcn.0042a870
push ebx
call fcn.00436f7a
cmp eax, 0xe000020b
je 0x40b61f
cmp eax, 0xe0000243
je 0x40b615
push eax
push str.DriverPackageInstall_error_0x_X
push 0x463650
mov eax, 2
call fcn.0042a920
add esp, 0xc
cmp dword [esp + 0x268], ebx
jne 0x40b5fd
push 0x7f01
push 1
xor edx, edx
push 0x80
push 0x7da
lea ecx, [edx + 0xe]
call fcn.0042f830
add esp, 0x10
jmp 0x40b636
mov eax, dword [esp + 0x18]
mov dword [0x463674], eax
call fcn.0042a870
push 0xff
call fcn.00436f7a
push str.Driver_install_was_cancelled__continuing_with_the_rest_of_the_installation.
jmp 0x40b444
push str.Device_was_not_found
push 0x463650
mov eax, 1
call fcn.0042a920
add esp, 8
cmp dword [esp + 0x48], 8
mov esi, dword [esp + 0x18]
jb 0x40b64e
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0043642d
add esp, 4
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
je 0x40b66e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00434b37
add esp, 0x250
ret 8