Function at 0x1000a7e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x48
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test byte [0x10010048], 8
jne 0x1000a940
mov eax, dword [0x10010040]
lea edi, [eax - 0xc]
cmp eax, 0x10010040
jne 0x1000a81d
jmp 0x1000a848
mov eax, dword [edi + 0xc]
lea edi, [eax - 0xc]
cmp eax, 0x10010040
je 0x1000a848
mov edx, dword [edi]
mov eax, ebx
call sym._compare_fourcc
test eax, eax
jne 0x1000a810
mov edx, dword [edi + 4]
mov eax, esi
call sym._compare_fourcc
test eax, eax
jne 0x1000a810
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
cmp dword [ebp + 0x18], 1
je 0x1000aaa0
cmp dword [ebp + 0x18], 2
je 0x1000a890
test byte [0x10010048], 1
je 0x1000a838
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xc], str.Unhandled_flags__x._n
mov dword [esp + 8], str.ICInstall
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10010048
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_2
jmp 0x1000a838
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindows_NTCurrentVersionDrivers32
mov dword [esp], 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
mov edx, eax
sub esp, 0x14
xor eax, eax
test edx, edx
jne 0x1000a83a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x16], ebx
mov dword [ebp - 0x11], esi
mov byte [ebp - 0x12], 0x2e
mov byte [ebp - 0xd], 0
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], 1
add eax, 1
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], 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_RegSetValueExA]
mov ebx, eax
mov eax, dword [ebp - 0x1c]
sub esp, 0x18
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 0x14
mov eax, dword [ebp + 0x14]
mov edx, 0xffffffff
mov edi, 0x1001412b
call sym._wine_dbgstr_an
mov ecx, esi
mov edx, esi
mov dword [ebp - 0x16], esi
mov dword [ebp - 0x20], eax
shr ecx, 0x10
mov eax, esi
shr edx, 0x18
shr eax, 8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], edx
test esi, esi
je 0x1000a9c2
mov eax, esi
mov edi, dword [sym.imp.ucrtbase.dll_isprint]
movsx eax, al
mov dword [esp], eax
call edi
test eax, eax
je 0x1000a9b0
movsx eax, byte [ebp - 0x24]
mov dword [esp], eax
call edi
test eax, eax
je 0x1000a9b0
movsx eax, byte [ebp - 0x28]
mov dword [esp], eax
call edi
test eax, eax
jne 0x1000aaf2
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 4], esi
mov dword [esp], str.0x_08x
call sym._wine_dbg_sprintf_1
mov edi, eax
mov eax, ebx
mov ecx, ebx
mov edx, ebx
mov dword [ebp - 0x16], ebx
shr eax, 8
shr ecx, 0x10
shr edx, 0x18
mov dword [ebp - 0x24], eax
mov eax, 0x1001412b
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
test ebx, ebx
je 0x1000aa50
movsx eax, bl
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_isprint]
mov dword [ebp - 0x28], eax
call eax
test eax, eax
je 0x1000aa40
movsx eax, byte [ebp - 0x24]
mov dword [esp], eax
mov eax, dword [ebp - 0x28]
call eax
test eax, eax
je 0x1000aa40
movsx eax, byte [ebp - 0x2c]
mov dword [esp], eax
mov eax, dword [ebp - 0x28]
call eax
test eax, eax
je 0x1000aa40
movsx eax, byte [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [ebp - 0x28]
call eax
test eax, eax
je 0x1000aa40
lea eax, [ebp - 0x16]
mov dword [esp], str._.4s
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
jmp 0x1000aa50
mov dword [esp + 4], ebx
mov dword [esp], str.0x_08x
call sym._wine_dbg_sprintf_1
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esp + 0xc], str.type__s__handler__s__lparam__Ix__desc__s__flags__x._n
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], str.ICInstall
mov dword [esp + 0x18], ecx
mov dword [esp + 4], 0x10010048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x1000a7fc
mov dword [esp + 4], 0x14
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_calloc]
test eax, eax
je 0x1000a838
mov ecx, dword [ebp + 0x10]
lea edx, [eax + 0xc]
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov ecx, dword [0x10010044]
mov dword [eax + 0xc], 0x10010040
mov dword [eax + 0x10], ecx
mov eax, 1
mov dword [ecx], edx
mov dword [0x10010044], edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
movsx eax, byte [ebp - 0x2c]
mov dword [esp], eax
call edi
test eax, eax
je 0x1000a9b0
lea eax, [ebp - 0x16]
mov dword [esp], str._.4s
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edi, eax
jmp 0x1000a9c2