Function at 0x10005cc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x190
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x16c], 0x64
mov ebx, dword [ebp + 0x14]
test byte [0x10022028], 8
jne 0x10005db0
test esi, esi
je 0x10005f34
test edi, edi
je 0x10005f2a
mov dword [esi], 0
test ebx, ebx
je 0x10005e68
mov eax, dword [ebx]
mov dword [ebp - 0x168], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x164], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x160], eax
mov eax, dword [ebx + 0xc]
lea ebx, [ebp - 0x168]
mov dword [ebp - 0x15c], eax
mov dword [esp], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], sym.avifil32.dll_IID_IAVIStream
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 0x10005d83
mov eax, dword [esi]
test eax, eax
je 0x10005d83
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 + 0xc]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x10005d90
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 0x10005f20
mov eax, ebx
shr eax, 0x10
je 0x10005f08
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 [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p__p__p__s__n
mov dword [esp + 8], str.AVIMakeCompressedStream
mov dword [esp + 4], 0x10022028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x10005cec
mov eax, dword [edi]
lea edx, [ebp - 0xd8]
mov dword [esp + 8], 0xcc
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [eax + 0x10]
sub esp, 0xc
mov ebx, eax
test eax, eax
js 0x10005d83
lea edx, [ebp - 0xd8]
lea ebx, [ebp - 0x155]
mov dword [esp + 4], str.AVIFileCompressors_4.4s
mov dword [esp + 8], edx
mov dword [esp], ebx
call dword [sym.imp.user32.dll_wsprintfA]
lea ecx, [ebp - 0x13c]
mov dword [esp + 4], ebx
lea eax, [ebp - 0x16c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp], 0x80000000
call dword [sym.imp.advapi32.dll_RegQueryValueA]
lea ecx, [ebp - 0x13c]
sub esp, 0x10
test eax, eax
jne 0x10005ef9
lea ebx, [ebp - 0x168]
mov eax, ecx
mov edx, ebx
call sym._AVIFILE_CLSIDFromString
test eax, eax
je 0x10005d33
mov ebx, 0x80044065
jmp 0x10005d83
mov dword [esp + 4], ebx
mov dword [esp], 0x10024352
call sym._wine_dbg_sprintf_1
jmp 0x10005e25
mov eax, 0x10024320
jmp 0x10005e25
mov ebx, 0x8004406c
jmp 0x10005d83
mov ebx, 0x8004406a
jmp 0x10005d83