Function at 0x4266f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3231
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x52e474]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe8], ecx
push 0x4fa248
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402840
add esp, 8
movzx eax, al
test eax, eax
jne 0x426753
push 0x20006
push 0x4fa288
push 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004027e0
add esp, 0x10
push 2
push 0x4fa2c8
lea ecx, [ebp - 0x88]
push ecx
call fcn.00425610
mov ecx, eax
call fcn.00436b50
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.004038e0
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xcc]
push eax
push str.UninstallString
push 0x4fa2f0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402780
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00404c00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00404c00
push 0x4fa330
lea ecx, [ebp - 0x28]
call fcn.00405480
mov dword [ebp - 4], 2
push 2
lea ecx, [ebp - 0x28]
push ecx
push str.DisplayName
push 0x4fa338
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402780
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404c00
push 0x4fa378
lea ecx, [ebp - 0x40]
call fcn.00405480
mov dword [ebp - 4], 3
push 2
lea edx, [ebp - 0x40]
push edx
push str.DisplayVersion
push 0x4fa390
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402780
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404c00
push 2
push 0x4fa3d0
lea eax, [ebp - 0xb8]
push eax
call fcn.00425610
mov ecx, eax
call fcn.00436b50
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0xd4]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.004038e0
add esp, 0xc
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xdc]
push edx
push str.DisplayIcon
push 0x4fa3e8
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402780
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00404c00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00404c00
push 0x4fa428
lea ecx, [ebp - 0x58]
call fcn.00405480
mov dword [ebp - 4], 6
push 2
lea eax, [ebp - 0x58]
push eax
push str.Publisher
push 0x4fa468
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402780
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00404c00
push 0
call fcn.00426620
add esp, 4
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], edx
lea ecx, [ebp - 0xbc]
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallPhotoViewer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4269ea
push 0
push 0
push 0
push 0
push 0x4fa43c
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4269be
push 8
lea eax, [ebp - 0xe4]
push eax
push 0xb
push 0
push 0x4fa4e8
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 8
lea edx, [ebp - 0xe4]
push edx
push 0xb
push 0
push str.LastUpdateDate
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0xbc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491b3a
mov esp, ebp
pop ebp
ret