Function at 0x456810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6082
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x513108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x63c], esi
mov dword [ebp - 0x638], 0
call fcn.00404960
mov ecx, eax
test ecx, ecx
jne 0x45686d
push 0x80004005
call fcn.004046c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x62c]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallMasterPDF
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x638], 1
mov dword [ebp - 0x62c], 0
mov dword [ebp - 0x630], 0
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x456952
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a5890
add esp, 0xc
mov dword [ebp - 0x630], 1
lea eax, [ebp - 0x634]
mov dword [ebp - 0x634], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x630]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0x62c]
call ebx
push dword [ebp - 0x62c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x62c], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456934
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00404320
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x456a0e
lea eax, [ebp - 0x62c]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF.exe
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x456a0e
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.004a5890
add esp, 0xc
mov dword [ebp - 0x630], 1
lea eax, [ebp - 0x634]
mov dword [ebp - 0x634], 0x208
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x630]
push eax
push 0
push str.Path
push dword [ebp - 0x62c]
call ebx
push dword [ebp - 0x62c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x62c], 0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4569f0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00404320
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x456ac3
lea eax, [ebp - 0x62c]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF_Installer.exe
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x456ac3
push 0x208
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.004a5890
add esp, 0xc
mov dword [ebp - 0x630], 1
lea eax, [ebp - 0x634]
mov dword [ebp - 0x634], 0x208
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x630]
push eax
push 0
push str.Path
push dword [ebp - 0x62c]
call ebx
push dword [ebp - 0x62c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x628]
mov dword [ebp - 0x62c], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456aa5
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00404320
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cd41
mov esp, ebp
pop ebp
ret