Function at 0x569f79
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x214], 0
lea eax, [ebp - 0x434]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
jge 0x569fe5
xor eax, eax
jmp 0x56a21a
lea edx, [ebp - 4]
push edx
push 0x20019
push 0
push str.clsid
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x56a10b
lea eax, [ebp - 0x430]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 0x434]
push ecx
call fcn.00472fb0
add esp, 4
push eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x56a101
lea eax, [ebp - 0x438]
push eax
push 0x20019
push 0
push 0x736d50
mov ecx, dword [ebp - 0x430]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x56a0f4
mov dword [ebp - 0x44c], 0x20a
lea edx, [ebp - 0x44c]
push edx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x438]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x56a0e7
lea eax, [ebp - 0x440]
push eax
lea ecx, [ebp - 0x424]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0056a21e
add esp, 0xc
mov eax, dword [ebp - 0x440]
push eax
lea ecx, [ebp - 0x424]
push ecx
call fcn.0054ba10
mov edx, dword [eax + 0x6c]
push edx
call dword [sym.imp.SHELL32.dll_ExtractIconW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 1
jne 0x56a0e7
mov dword [ebp - 0x428], 0
mov eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x430]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x428], 0
jne 0x56a207
lea eax, [ebp - 0x430]
push eax
push 0x20019
push 0
push str.DocShortcut
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x56a207
lea ecx, [ebp - 0x438]
push ecx
push 0x20019
push 0
push str.DefaultIcon
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x56a1fa
mov dword [ebp - 0x450], 0x20a
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x214]
push edx
push 0
push 0
mov eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x56a1ed
lea ecx, [ebp - 0x440]
push ecx
lea edx, [ebp - 0x424]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.0056a21e
add esp, 0xc
mov ecx, dword [ebp - 0x440]
push ecx
lea edx, [ebp - 0x424]
push edx
call fcn.0054ba10
mov eax, dword [eax + 0x6c]
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 1
jne 0x56a1ed
mov dword [ebp - 0x428], 0
mov ecx, dword [ebp - 0x438]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x434]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x428]
mov esp, ebp
pop ebp
ret