Function at 0x471e80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da882
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x66a9c4]
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, ecx
mov dword [ebp - 0x634], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x63c], esi
mov dword [ebp - 0x638], 0
call fcn.00402c20
mov ecx, eax
test ecx, ecx
jne 0x471ee2
push 0x80004005
call fcn.004024f0
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 0x471fce
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a7400
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]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471fb0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407470
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x472083
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 0x472083
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.005a7400
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]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472065
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407470
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x47213e
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 0x47213e
push 0x208
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.005a7400
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]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472120
sub ecx, edx
lea eax, [ebp - 0x628]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407470
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.0058e39a
mov esp, ebp
pop ebp
ret