Function at 0x426460
Capabilities:
Query or enumerate registry value
Reference cloudflare dns server
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2c31
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x52d474]
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 0x4f9238
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402870
add esp, 8
movzx eax, al
test eax, eax
jne 0x4264c3
push 0x20006
push 0x4f9278
push 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402810
add esp, 0x10
push 2
push 0x4f92b8
lea ecx, [ebp - 0x88]
push ecx
call fcn.00425290
mov ecx, eax
call fcn.00436320
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.00403900
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 0x4f92e0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004027b0
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00404c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00404c10
push 0x4f9320
lea ecx, [ebp - 0x28]
call fcn.00405490
mov dword [ebp - 4], 2
push 2
lea ecx, [ebp - 0x28]
push ecx
push str.DisplayName
push 0x4f9328
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004027b0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00404c10
push 0x4f9368
lea ecx, [ebp - 0x40]
call fcn.00405490
mov dword [ebp - 4], 3
push 2
lea edx, [ebp - 0x40]
push edx
push str.DisplayVersion
push 0x4f9380
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004027b0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404c10
push 2
push 0x4f93c0
lea eax, [ebp - 0xb8]
push eax
call fcn.00425290
mov ecx, eax
call fcn.00436320
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.00403900
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 0x4f93d8
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004027b0
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00404c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00404c10
push 0x4f9418
lea ecx, [ebp - 0x58]
call fcn.00405490
mov dword [ebp - 4], 6
push 2
lea eax, [ebp - 0x58]
push eax
push str.Publisher
push 0x4f9458
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004027b0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00404c10
push 0
call fcn.00426390
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 0x42675a
push 0
push 0
push 0
push 0
push 0x4f942c
mov edx, dword [ebp - 0xbc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42672e
push 8
lea eax, [ebp - 0xe4]
push eax
push 0xb
push 0
push 0x4f94d8
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.00491511
mov esp, ebp
pop ebp
ret