Function at 0x64503db0
Capabilities:
Query or enumerate registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xe8
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0xb0], 0
mov edi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
test byte [0x64524028], 8
jne 0x64503f10
test ebx, ebx
je 0x64504110
test esi, esi
je 0x64504110
mov dword [ebx], 0
test edx, edx
je 0x64504020
mov eax, dword [edx]
mov dword [ebp - 0xa8], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0xa4], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [edx + 0xc]
lea edx, [ebp - 0xa8]
mov dword [ebp - 0x9c], eax
mov dword [esp], edx
mov dword [esp + 0x10], ebx
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 edx, eax
test eax, eax
js 0x64503ec4
mov eax, dword [ebx]
test eax, eax
je 0x64503ec4
mov edx, dword [eax]
lea ecx, [ebp - 0xb0]
mov dword [esp + 4], 0x6452f718
mov dword [esp + 8], ecx
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov edx, eax
test eax, eax
js 0x64503ed8
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x64503ed8
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0x14]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xb0]
sub esp, 0xc
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov edx, dword [ebp - 0xbc]
sub esp, 4
test edx, edx
js 0x64503ede
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [ebp - 0xbc], edx
mov eax, dword [ebx]
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov dword [ebx], 0
mov edx, dword [ebp - 0xbc]
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
test edx, edx
je 0x645040f8
mov eax, edx
shr eax, 0x10
je 0x64503ff0
movzx eax, byte [edx + 0xf]
mov dword [ebp - 0xbc], edx
mov dword [esp + 0x2c], eax
movzx eax, byte [edx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [edx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [edx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [edx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [edx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [edx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [edx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [edx + 4]
mov dword [esp + 8], eax
mov eax, dword [edx]
mov dword [esp], 0x64526364
mov dword [esp + 4], eax
call fcn.64503530
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov eax, esi
mov dword [ebp - 0xbc], edx
call fcn.64503590
mov ecx, dword [ebp - 0xc0]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__s_0x_X__s__n
mov dword [esp + 8], str.AVIFileOpenW
mov dword [esp + 4], 0x64524028
mov dword [esp], 3
call fcn.64503a10
mov edx, dword [ebp - 0xbc]
jmp 0x64503de9
movzx eax, dx
mov dword [esp], 0x64526352
mov dword [esp + 4], eax
mov dword [ebp - 0xbc], edx
call fcn.64503530
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
jmp 0x64503f97
mov dword [esp + 4], 0x2e
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcsrchr]
lea edx, [ebp - 0xa8]
mov dword [ebp - 0xac], 0x64
test eax, eax
je 0x645040c0
lea edx, [ebp - 0x95]
add eax, 2
mov dword [esp + 4], str.AVIFileExtensions_.3ls
mov dword [esp], edx
mov dword [esp + 8], eax
call dword [sym.imp.user32.dll_wsprintfA]
lea edx, [ebp - 0x95]
lea ecx, [ebp - 0x7c]
mov dword [esp], 0x80000000
lea eax, [ebp - 0xac]
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call dword [sym.imp.advapi32.dll_RegQueryValueA]
lea edx, [ebp - 0xa8]
sub esp, 0x10
test eax, eax
jne 0x645040c0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xbc], edx
mov eax, ecx
call fcn.64503a60
mov edx, dword [ebp - 0xbc]
test eax, eax
je 0x64503e30
lea esi, [esi]
lea esi, [esi]
mov eax, dword [0x64527f4c]
mov dword [ebp - 0xa8], eax
mov eax, dword [0x64527f50]
mov dword [ebp - 0xa4], eax
mov eax, dword [0x64527f54]
mov dword [ebp - 0xa0], eax
mov eax, dword [0x64527f58]
mov dword [ebp - 0x9c], eax
jmp 0x64503e30
mov dword [ebp - 0xc0], 0x64526320
jmp 0x64503f97
mov edx, 0x8004406a
jmp 0x64503ec4