Function at 0x10003a10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xcc
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xa4], 0
mov ebx, dword [ebp + 0x14]
test byte [0x10022028], 8
jne 0x10003b40
test esi, esi
je 0x10003d00
test edi, edi
je 0x10003d00
mov dword [esi], 0
test ebx, ebx
je 0x10003c20
mov eax, dword [ebx]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebx + 0xc]
lea ebx, [ebp - 0x9c]
mov dword [ebp - 0x90], eax
mov dword [esp], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], sym.avifil32.dll_IID_IAVIFile
mov dword [esp + 8], 3
mov dword [esp + 4], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
sub esp, 0x14
mov ebx, eax
test eax, eax
js 0x10003b10
mov eax, dword [esi]
test eax, eax
je 0x10003b10
mov edx, dword [eax]
lea ecx, [ebp - 0xa4]
mov dword [esp + 4], 0x1002d758
mov dword [esp + 8], ecx
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x10003b20
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x10003b20
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 8], ecx
call dword [edx + 0x14]
mov ebx, eax
mov eax, dword [ebp - 0xa4]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
test ebx, ebx
js 0x10003b20
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [esi]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov dword [esi], 0
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
test ebx, ebx
je 0x10003ce8
mov eax, ebx
shr eax, 0x10
je 0x10003c08
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], 0x10024364
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov dword [ebp - 0xa8], eax
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0
mov ecx, dword [ebp - 0xa8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p__s_0x_X__s__n
mov dword [esp + 8], str.AVIFileOpenW
mov dword [esp + 4], 0x10022028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10003a3c
mov dword [esp + 4], ebx
mov dword [esp], 0x10024352
call sym._wine_dbg_sprintf_1
mov dword [ebp - 0xa8], eax
jmp 0x10003bbb
mov dword [esp + 4], 0x2e
lea ebx, [ebp - 0x9c]
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcsrchr]
mov dword [ebp - 0xa0], 0x64
test eax, eax
je 0x10003cb0
lea ebx, [ebp - 0x89]
add eax, 2
mov dword [esp + 4], str.AVIFileExtensions_.3ls
mov dword [esp], ebx
mov dword [esp + 8], eax
call dword [sym.imp.user32.dll_wsprintfA]
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x70]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
lea ebx, [ebp - 0x9c]
mov dword [esp + 8], ecx
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegQueryValueA]
sub esp, 0x10
test eax, eax
jne 0x10003cb0
lea ecx, [ebp - 0x70]
mov edx, ebx
mov eax, ecx
call sym._AVIFILE_CLSIDFromString
test eax, eax
je 0x10003a83
lea esi, [esi]
lea esi, [esi]
mov eax, dword [0x10025f54]
mov dword [ebp - 0x9c], eax
mov eax, dword [0x10025f58]
mov dword [ebp - 0x98], eax
mov eax, dword [0x10025f5c]
mov dword [ebp - 0x94], eax
mov eax, dword [0x10025f60]
mov dword [ebp - 0x90], eax
jmp 0x10003a83
mov dword [ebp - 0xa8], 0x10024320
jmp 0x10003bbb
mov ebx, 0x8004406a
jmp 0x10003b10