Function at 0x10006a40
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x34
test byte [0x1000f05c], 8
jne 0x10006b20
mov eax, dword [0x1000f140]
lea esi, [ebp - 0x16]
lea ebx, [ebp - 0x1c]
lea edi, [eax - 0xc]
cmp eax, 0x1000f140
je 0x10006ae0
mov eax, esi
mov esi, edi
mov edi, eax
jmp 0x10006a85
mov eax, dword [esi + 0xc]
lea esi, [eax - 0xc]
cmp eax, 0x1000f140
je 0x10006ae0
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 8], 4
mov dword [esp + 4], edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x16], eax
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll__strnicmp]
test eax, eax
jne 0x10006a78
mov edx, dword [esi + 4]
mov eax, dword [ebp + 0xc]
call sym._compare_fourcc
test eax, eax
jne 0x10006a78
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov dword [edx + 4], eax
mov edx, dword [esi + 0xc]
mov dword [eax], edx
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionDrivers32
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
je 0x10006c60
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
mov edi, 0x10012dd3
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0xc]
shr edx, 8
shr eax, 0x18
mov dword [ebp - 0x20], edx
shr esi, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x16], ebx
test ebx, ebx
je 0x10006b95
movsx eax, byte [ebp + 0xc]
mov ebx, dword [sym.imp.ucrtbase.dll_isprint]
mov dword [esp], eax
call ebx
test eax, eax
je 0x10006b80
mov edx, dword [ebp - 0x20]
movsx edx, dl
mov dword [esp], edx
call ebx
test eax, eax
je 0x10006b80
mov eax, esi
movsx esi, al
mov dword [esp], esi
call ebx
test eax, eax
jne 0x10006cac
lea esi, cs:[esi]
mov eax, dword [ebp + 0xc]
mov dword [esp], str.0x_08x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edi, eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 8]
shr eax, 0x18
shr edx, 8
mov dword [ebp - 0x24], eax
shr esi, 0x10
mov eax, 0x10012dd3
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x16], ebx
test ebx, ebx
je 0x10006c23
movsx eax, byte [ebp + 8]
mov ebx, dword [sym.imp.ucrtbase.dll_isprint]
mov dword [esp], eax
call ebx
test eax, eax
je 0x10006c10
mov edx, dword [ebp - 0x20]
movsx edx, dl
mov dword [esp], edx
call ebx
test eax, eax
je 0x10006c10
mov eax, esi
movsx esi, al
mov dword [esp], esi
call ebx
test eax, eax
je 0x10006c10
movsx eax, byte [ebp - 0x24]
mov dword [esp], eax
call ebx
test eax, eax
je 0x10006c10
lea esi, [ebp - 0x16]
mov dword [esp], str._.4s
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf_1
jmp 0x10006c23
mov eax, dword [ebp + 8]
mov dword [esp], str.0x_08x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], str.type__s__handler__s__flags__x._n
mov dword [esp + 8], str.ICRemove
mov dword [esp + 4], 0x1000f05c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x10006a56
mov eax, dword [ebp + 8]
mov byte [ebp - 0x12], 0x2e
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x16], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x11], eax
lea eax, [ebp - 0x16]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegDeleteValueA]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
sub esp, 4
test ebx, ebx
sete al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
movsx eax, byte [ebp - 0x24]
mov dword [esp], eax
call ebx
test eax, eax
je 0x10006b80
lea esi, [ebp - 0x16]
mov dword [esp], str._.4s
mov dword [esp + 4], esi
call sym._wine_dbg_sprintf_1
mov edi, eax
jmp 0x10006b95