Function at 0x456350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3712
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x50d108]
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.00404900
mov ecx, eax
test ecx, ecx
jne 0x4563ad
push 0x80004005
call fcn.00404660
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 0x456492
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a32f0
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 0x456474
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004042c0
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x45654e
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 0x45654e
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.004a32f0
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 0x456530
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004042c0
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x456603
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 0x456603
push 0x208
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.004a32f0
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 0x4565e5
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004042c0
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.0048a7ae
mov esp, ebp
pop ebp
ret