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

Disassembly:
push 0xffffffffffffffff
push 0x453176
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4663d8]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4663d8]
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 + 0x24], 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.0043a1a2
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.00434cc0
mov eax, dword [0x468cf4]
xor ebx, ebx
cmp eax, ebx
je 0x40c2c7
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 0x40c3b0
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 0x40c3b0
push ebx
mov ecx, 0x20
mov edx, esi
call fcn.0040c460
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40c321
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 0x40c391
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 0x40c38d
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 0x40c3cb
push ebx
push 0x40b980
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 [0x468cf4]
cmp eax, ebx
je 0x40c3e2
push ebx
push ebx
push 0xbf3
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40c402
push eax
push str.Driver_uninstall_error_0x_X
push 0x4676b8
mov eax, 2
call fcn.0042dae0
add esp, 0xc
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov esi, dword [esp + 0x1c]
je 0x40c415
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x40], 8
mov dword [esp + 0x14], ebx
jb 0x40c42d
mov edx, dword [esp + 0x2c]
push edx
call fcn.00439935
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.00437ffa
add esp, 0x24c
ret 4