Function at 0x471ab0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7fa2
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x6679c4]
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 0x471b12
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.SoftwareMicrosoftWindowsCurrentVersionUninstallMasterOFD
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 0x471bfe
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a4c30
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 0x471be0
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 0x471cb3
lea eax, [ebp - 0x62c]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterOFD.exe
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x471cb3
push 0x208
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.005a4c30
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 0x471c95
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 0x471d6e
lea eax, [ebp - 0x62c]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF_InstallerOFD.exe
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x471d6e
push 0x208
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.005a4c30
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 0x471d50
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.0058bc6a
mov esp, ebp
pop ebp
ret