Function at 0x4720e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d40d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov dword [ebp - 4], 0
mov eax, dword [0x5be480]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov ecx, dword [0x5be480]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x44]
push edx
push 0x20019
push 0
mov eax, dword [ebp + 8]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x472176
mov dword [ebp - 0x54], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0054d328
mov eax, dword [ebp - 0x54]
jmp 0x472560
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x4721ff
cmp dword [ebp - 0x38], 0xea
je 0x4721ff
cmp dword [ebp - 0x38], 0x7a
je 0x4721ff
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0054d328
mov eax, dword [ebp - 0x58]
jmp 0x472560
mov ecx, dword [ebp - 0x4c]
lea edx, [ecx + ecx + 2]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x472258
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x5c], 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0054d328
mov eax, dword [ebp - 0x5c]
jmp 0x472560
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x4c]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4724ea
mov edx, dword [ebp - 0x48]
push edx
push 0x5b0ae8
lea eax, [ebp - 0x28]
push eax
call fcn.0054ab7c
add esp, 0xc
push str.AppID
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push 0x5b0afc
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push str.Interface
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push str.Installer
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push str.TypeLib
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push 0x5b0b40
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push str.Applications
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push str.SystemFileAssociations
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push str.MIME
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push str.Component_Categories
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push str.Licenses
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push str.PROTOCOLS
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push str.Record
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push str.Software
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push str.DirectShow
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push 0x5b0c38
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push 0x5b0c3c
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push 0x5b0c44
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push str.Wow6432Node
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4724c4
push 0x5b0c68
lea ecx, [ebp - 0x28]
call fcn.0054a808
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x47247c
mov edx, dword [0x5c3028]
mov dword [ebp - 0x64], edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
mov ecx, 0x5c3020
call fcn.0054c5b3
cmp dword [ebp - 0x50], 0xffffffff
jne 0x47249d
mov edx, dword [0x5c3010]
mov dword [ebp - 0x68], edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov ecx, 0x5c3008
call fcn.0054c5b3
cmp dword [ebp - 0x50], 0
je 0x4724c4
cmp dword [ebp - 0x50], 0xffffffff
je 0x4724c4
mov edx, dword [0x5c2ff8]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov ecx, 0x5c2ff0
call fcn.0054c5b3
mov edx, dword [0x5c2fc8]
mov dword [ebp - 0x70], edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
mov ecx, 0x5c2fc0
call fcn.0054c5b3
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
jmp 0x472506
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
lea edx, [ecx + ecx + 2]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x38], 0x103
je 0x47251b
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x24]
jb 0x47225f
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x60], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0054d328
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0054d328
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0054d328
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret