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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70badef0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x42c
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], esp
push eax
xor esi, esi
push 0x70bd43e0
push 0x80000003
mov dword [ebp - 4], esi
call edi
cmp eax, esi
jne 0x70b7c5cf
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x20], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x24], 0x105
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x20]
push 0
push 0
push 0
lea eax, [ebp - 0x134]
push edx
mov edx, dword [ebp - 0x1c]
push eax
push ecx
push edx
call esi
test eax, eax
jne 0x70b7c5c3
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x134]
push eax
push ecx
push 0x80000003
call edi
test eax, eax
jne 0x70b7c5bb
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push str.SoftwareIntelIndeo5.0
push eax
call edi
test eax, eax
jne 0x70b7c4eb
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
push str.SoftwareIntelIndeo5.0
push edx
call ebx
test eax, eax
jne 0x70b7c538
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push str.SoftwareIntelIndeo
push ecx
call edi
test eax, eax
jne 0x70b7c558
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x134]
push edx
mov edx, dword [ebp - 0x18]
push eax
push eax
push eax
lea eax, [ebp - 0x24]
push eax
push ecx
push 0
push edx
call esi
cmp eax, 0x103
jne 0x70b7c54e
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
push str.SoftwareIntelIndeo
push ecx
call ebx
test eax, eax
je 0x70b7c558
mov eax, 0x8000ffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push str.SoftwareIntel
push ecx
call edi
test eax, eax
jne 0x70b7c5b1
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x134]
push edx
mov edx, dword [ebp - 0x18]
push eax
push eax
push eax
lea eax, [ebp - 0x24]
push eax
push ecx
push 0
push edx
call esi
cmp eax, 0x103
jne 0x70b7c5a7
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
push str.SoftwareIntel
push ecx
call ebx
test eax, eax
je 0x70b7c5b1
jmp 0x70b7c538
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x20]
jmp 0x70b7c47e
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x70b7c5d5
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x70b7c619
push str.SystemCurrentControlSetcontrolMediaResourcesicm_vidc.IV50
push 0x80000002
call ebx
test eax, eax
jne 0x70b7c538
push str.system.ini
push eax
push str.VIDC.IV50
push str.drivers32
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
jne 0x70b7c6fa
jmp 0x70b7c538
lea edx, [ebp - 0x1c]
push edx
push str.SoftwareMicrosoftWindows_NTCurrentVersionDrivers32
push 0x80000002
call edi
test eax, eax
jne 0x70b7c657
mov eax, dword [ebp - 0x1c]
push str.vidc.iv50
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
test eax, eax
sete cl
push edx
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x70b7c538
lea eax, [ebp - 0x1c]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersiondrivers.desc
push 0x80000002
call edi
test eax, eax
jne 0x70b7c6fa
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x234]
push ecx
push edx
mov dword [ebp - 0x20], 0x208
call fcn.70b7c2c0
test eax, eax
je 0x70b7c6a5
lea eax, [ebp - 0x43c]
push 0x208
lea ecx, [ebp - 0x234]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp 0x70b7c6ce
lea edi, [ebp - 0x234]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x43c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x43c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
test eax, eax
sete cl
push edx
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x70b7c538
call fcn.70b7c3e0
test eax, eax
je 0x70b7c78c
push 0
call fcn.70ba65a7
test eax, eax
jl 0x70b7c538
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x70bc3350
push 1
push 0
push 0x70bc3340
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x70b7c78c
mov ecx, dword [ebp - 0x14]
push 0x70bc2bb0
push 0x2d
mov esi, dword [ecx]
call fcn.70b7bd50
mov edx, dword [ebp - 0x14]
add esp, 4
push eax
push 0x70bc3330
push edx
call dword [esi + 0x10]
test eax, eax
jl 0x70b7c538
mov eax, dword [ebp - 0x14]
push 0x70bc2bb0
push 0x36
mov esi, dword [eax]
call fcn.70b7bd50
mov ecx, dword [ebp - 0x14]
add esp, 4
push eax
push 0x70bc3330
push ecx
call dword [esi + 0x10]
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
push str.Interface665A4447_D905_11D0_A30E_444553540000
push 0x80000000
call ebx
xor ecx, ecx
push str.Interface665A4449_D905_11D0_A30E_444553540000
test eax, eax
setne cl
push 0x80000000
mov esi, ecx
call ebx
xor edx, edx
push str.TypeLib665A4446_D905_11D0_A30E_4445535400001.0
test eax, eax
setne dl
push 0x80000000
add esi, edx
call ebx
xor ecx, ecx
push str.TypeLib665A4446_D905_11D0_A30E_444553540000
test eax, eax
setne cl
push 0x80000000
add esi, ecx
call ebx
xor edx, edx
push str.SoftwareClassesInterface665A4447_D905_11D0_A30E_444553540000
test eax, eax
setne dl
push 0x80000002
add esi, edx
call ebx
push str.SoftwareClassesInterface665A4449_D905_11D0_A30E_444553540000
push 0x80000002
call ebx
push str.SoftwareClassesTypeLib665A4446_D905_11D0_A30E_4445535400001.0
push 0x80000002
call ebx
push str.SoftwareClassesTypeLib665A4446_D905_11D0_A30E_444553540000
push 0x80000002
call ebx
test esi, esi
je 0x70b7c829
lea eax, [ebp - 0x20]
push 0x70bc49b0
push eax
mov dword [ebp - 0x20], 1
call fcn.70ba7130
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret