Function at 0x40b6a0
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44f3b6
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x462408]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x462408]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x264]
xor eax, eax
mov esi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
mov dword [esp + 0x25c], eax
mov dword [esp + 0x14], eax
push esi
lea eax, [esp + 0x48]
push 0x104
push eax
mov byte [esp + 0x268], 1
call fcn.004367c7
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea ebx, [esp + 0x44]
mov ecx, 0xbc2
call fcn.004312e0
mov eax, dword [0x464c8c]
xor ebx, ebx
cmp eax, ebx
je 0x40b753
push ebx
push ebx
push 0xbf2
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
je 0x40b83c
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [esp + 0x20], ebx
setne al
cmp al, bl
je 0x40b83c
push ebx
mov ecx, 0x20
mov edx, esi
call fcn.0040b8f0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40b7ad
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x14]
push eax
push 0xf003f
push ebx
push str.SoftwareIntelDifx64
push 0x80000002
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x40b81d
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
push str.Code
push eax
call esi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push str.Reboot
push eax
call esi
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40b819
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
xor ecx, ecx
cmp dword [esp + 0x24], 1
push str.SoftwareIntelDifx64
sete cl
push 0x80000002
mov dword [ebp], ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
jmp 0x40b857
push ebx
push 0x40aea0
call dword [sym.imp.DIFXAPI.dll_DIFXAPISetLogCallbackW]
push ebp
push ebx
push 0x20
push esi
call dword [sym.imp.DIFXAPI.dll_DriverPackageUninstallW]
mov dword [esp + 0x1c], eax
mov eax, dword [0x464c8c]
cmp eax, ebx
je 0x40b86e
push ebx
push ebx
push 0xbf3
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40b88e
push eax
push str.Driver_uninstall_error_0x_X
push 0x463650
mov eax, 2
call fcn.0042a920
add esp, 0xc
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov esi, dword [esp + 0x1c]
je 0x40b8a1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x40], 8
mov dword [esp + 0x14], ebx
jb 0x40b8b9
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043642d
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00434b37
add esp, 0x24c
ret 4