Function at 0x40b600
Capabilities:
Check if file exists
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45160e
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x468738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x370], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
xor ecx, ecx
mov dword [ebp - 0x368], ebx
mov dword [ebp - 0x36c], ebx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
mov dword [ebp - 0x364], ebx
push esi
lea edx, [ebp - 0x218]
push 0x104
push edx
mov byte [ebp - 4], 2
call fcn.004394b3
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea edi, [ebp - 0x218]
mov ecx, 0xbc2
call fcn.00434da0
mov eax, dword [0x46af78]
cmp eax, ebx
je 0x40b6b6
push ebx
push ebx
push 0xbf2
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
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 0x40b7d7
lea ecx, [ebp - 0x35c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
cmp dword [ebp - 0x35c], ebx
setne al
cmp al, bl
je 0x40b7d7
push ebx
push 0x20
mov ecx, esi
call fcn.0040b930
mov eax, dword [ebp - 0x364]
cmp eax, ebx
je 0x40b71a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x364]
push edx
push 0xf003f
push ebx
push str.SoftwareIntelDifx64
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x364], ebx
mov dword [ebp - 0x360], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x40b7b1
mov edx, dword [ebp - 0x364]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x368]
push ecx
push ebx
push ebx
push str.Code
mov edi, 4
push edx
mov dword [ebp - 0x35c], edi
call esi
mov edx, dword [ebp - 0x364]
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x36c]
push ecx
push ebx
push ebx
push str.Reboot
push edx
mov dword [ebp - 0x35c], edi
call esi
mov eax, dword [ebp - 0x364]
cmp eax, ebx
je 0x40b7ab
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x364], ebx
mov ecx, dword [ebp - 0x370]
xor eax, eax
cmp dword [ebp - 0x36c], 1
push str.SoftwareIntelDifx64
sete al
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ecx], eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
jmp 0x40b7fa
push ebx
push 0x40a9c0
call dword [sym.imp.DIFXAPI.dll_DIFXAPISetLogCallbackW]
mov edx, dword [ebp - 0x370]
push edx
push ebx
push 0x20
push esi
call dword [sym.imp.DIFXAPI.dll_DriverPackageUninstallW]
mov dword [ebp - 0x368], eax
mov eax, dword [0x46af78]
cmp eax, ebx
je 0x40b811
push ebx
push ebx
push 0xbf3
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x368]
cmp eax, ebx
je 0x40b833
push eax
push str.Driver_uninstall_error_0x_X
push 0x4699dc
mov eax, 2
call fcn.0042c820
add esp, 0xc
mov edi, 8
cmp dword [ebp + 0x1c], ebx
je 0x40b8b0
push 0x11c
lea eax, [ebp - 0x358]
push ebx
push eax
call fcn.00443550
add esp, 0xc
lea ecx, [ebp - 0x358]
push ecx
mov dword [ebp - 0x358], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx eax, byte [ebp - 0x354]
movzx edx, byte [ebp - 0x350]
movzx ecx, byte [ebp - 0x23e]
shl eax, 8
or eax, edx
movzx edx, byte [ebp - 0x244]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
cmp eax, 0x6010100
jb 0x40b8b0
cmp eax, 0xffffffff
ja 0x40b8b0
mov ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x20], edi
jae 0x40b8ab
lea ecx, [ebp + 0xc]
call fcn.00424710
mov eax, dword [ebp - 0x364]
mov esi, dword [ebp - 0x368]
cmp eax, ebx
je 0x40b8c7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x364], ebx
cmp dword [ebp - 0x220], edi
jb 0x40b8e4
mov eax, dword [ebp - 0x234]
push eax
call fcn.00438b4b
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
cmp dword [ebp + 0x20], edi
jb 0x40b90e
mov edx, dword [ebp + 0xc]
push edx
call fcn.00438b4b
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004377c1
mov esp, ebp
pop ebp
ret 0x20