Function at 0x64506340
Capabilities:
Contain obfuscated stackstrings
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, 0x1a8
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x178], 0x64
mov edi, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
test byte [0x64524028], 8
jne 0x64506450
test ebx, ebx
je 0x6450660c
test esi, esi
je 0x64506602
mov dword [ebx], 0
test edx, edx
je 0x64506520
mov eax, dword [edx]
mov dword [ebp - 0x174], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x170], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x16c], eax
mov eax, dword [edx + 0xc]
lea edx, [ebp - 0x174]
mov dword [ebp - 0x168], eax
mov dword [esp], edx
mov dword [esp + 0x10], ebx
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 edx, eax
test eax, eax
js 0x6450640d
mov eax, dword [ebx]
test eax, eax
je 0x6450640d
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov edx, eax
test eax, eax
js 0x64506420
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 - 0x17c], eax
mov eax, dword [ebx]
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov dword [ebx], 0
mov edx, dword [ebp - 0x17c]
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 0x645065f8
mov eax, edx
shr eax, 0x10
je 0x645065d0
movzx eax, byte [edx + 0xf]
mov dword [ebp - 0x17c], 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 - 0x17c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p__p__p__s__n
mov dword [esp + 8], str.AVIMakeCompressedStream
mov dword [esp + 4], 0x64524028
mov dword [esp], 3
mov dword [ebp - 0x17c], edx
call fcn.64503a10
mov edx, dword [ebp - 0x17c]
jmp 0x64506379
mov eax, dword [esi]
lea ecx, [ebp - 0xe4]
mov dword [esp + 8], 0xcc
mov dword [esp + 4], ecx
mov dword [esp], esi
call dword [eax + 0x10]
sub esp, 0xc
mov edx, eax
test eax, eax
js 0x6450640d
lea ecx, [ebp - 0xe4]
lea edx, [ebp - 0x161]
mov dword [esp + 4], str.AVIFileCompressors_4.4s
mov dword [esp + 8], ecx
mov dword [esp], edx
call dword [sym.imp.user32.dll_wsprintfA]
lea ecx, [ebp - 0x148]
lea eax, [ebp - 0x178]
mov dword [esp], 0x80000000
lea edx, [ebp - 0x161]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
call dword [sym.imp.advapi32.dll_RegQueryValueA]
lea ecx, [ebp - 0x148]
sub esp, 0x10
test eax, eax
jne 0x645065c1
lea edx, [ebp - 0x174]
mov eax, ecx
mov dword [ebp - 0x17c], edx
call fcn.64503a60
mov edx, dword [ebp - 0x17c]
test eax, eax
je 0x645063c0
mov edx, 0x80044065
jmp 0x6450640d
movzx eax, dx
mov dword [esp], 0x64526352
mov dword [esp + 4], eax
mov dword [ebp - 0x17c], edx
call fcn.64503530
mov edx, dword [ebp - 0x17c]
jmp 0x645064d1
mov eax, 0x64526320
jmp 0x645064d1
mov edx, 0x8004406c
jmp 0x6450640d
mov edx, 0x8004406a
jmp 0x6450640d