Function at 0x40d8ee
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0xa60
lea ebp, [esp - 4]
mov eax, dword [0x50b384]
xor eax, ebp
mov dword [ebp + 0xa60], eax
push 0x30
mov eax, 0x4c6bd9
call fcn.0048efc2
mov eax, dword [ebp + 0xa70]
mov esi, dword [ebp + 0xa6c]
mov dword [ebp - 0x24], eax
xor eax, eax
mov edi, 0x206
xor ebx, ebx
push edi
mov word [ebp + 0x38], ax
lea eax, [ebp + 0x3a]
push ebx
push eax
mov byte [ebp - 0xe], bl
call fcn.0048f0d0
xor eax, eax
push edi
mov word [ebp + 0x858], ax
lea eax, [ebp + 0x85a]
push ebx
push eax
call fcn.0048f0d0
xor eax, eax
push edi
mov word [ebp + 0x448], ax
lea eax, [ebp + 0x44a]
push ebx
push eax
call fcn.0048f0d0
add esp, 0x24
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x14], 0xa
jb 0x40d97f
mov eax, dword [esi + 4]
jmp 0x40d982
lea eax, [esi + 4]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x858]
push ecx
push str.VersionMajor
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x40dc72
push edi
mov word [ebp + 0x240], ax
lea eax, [ebp + 0x242]
push ebx
push eax
mov dword [ebp - 0x14], 0xa
call fcn.0048f0d0
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x40d9ca
mov eax, dword [esi + 4]
jmp 0x40d9cd
lea eax, [esi + 4]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x240]
push ecx
push str.VersionMinor
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
je 0x40d9ee
xor al, al
jmp 0x40dc75
lea eax, [ebp + 0x240]
push eax
call fcn.004918fa
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x858]
push eax
call fcn.004918fa
mov edi, dword [ebp - 0x24]
pop ecx
pop ecx
mov dword [edi + 0x5c], eax
mov eax, dword [ebp - 0x1c]
push ebx
push str.7760_
mov ecx, esi
mov dword [edi + 0x60], eax
call fcn.004071ba
cmp eax, 0xffffffff
je 0x40da32
mov dword [edi + 0x54], 3
jmp 0x40da65
push ebx
push str.BA7E_
mov ecx, esi
call fcn.004071ba
cmp eax, 0xffffffff
je 0x40da4d
mov dword [edi + 0x54], 2
jmp 0x40da65
push ebx
push str.7AD7_
mov ecx, esi
call fcn.004071ba
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [edi + 0x54], ecx
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
mov dword [ebp - 0x14], 0xa
mov dword [ebp - 0x1c], eax
jb 0x40da7a
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x38]
push ecx
push str.VersionString
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x40dc72
lea eax, [ebp + 0x38]
push eax
lea ecx, [edi + 0x38]
call fcn.00401df6
cmp dword [esi + 0x18], 8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0x104
jb 0x40dab3
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x448]
push ecx
push str.InstalledProductName
push eax
call sub.msi.dll_MsiGetPropertyW
lea esi, [ebp + 0x448]
cmp eax, ebx
je 0x40dad8
mov esi, str.Adobe_Acrobat
push esi
mov ecx, edi
call fcn.00401df6
push ebx
lea ecx, [ebp + 0x1c]
mov byte [ebp - 0xd], bl
mov dword [ebp + 0x34], 7
call fcn.004014a3
push esi
lea ecx, [ebp]
mov dword [ebp - 4], ebx
call fcn.00401f43
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.004085d5
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp]
call fcn.004085f3
mov edi, eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp]
call fcn.004085d5
push fcn.004915f9
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x3c]
push eax
call fcn.00408748
add esp, 0x20
push ebx
push str.reader
lea ecx, [ebp]
call fcn.004071ba
cmp eax, 0xffffffff
je 0x40db62
mov byte [ebp - 0xd], 1
call fcn.0040cbaf
test eax, eax
je 0x40db7c
mov eax, str.SOFTWAREWow6432NodeAdobeAcrobat_Reader_
cmp byte [ebp - 0xd], bl
jne 0x40db8b
mov eax, str.SOFTWAREWow6432NodeAdobeAdobe_Acrobat_
jmp 0x40db8b
mov eax, str.SOFTWAREAdobeAcrobat_Reader_
cmp byte [ebp - 0xd], bl
jne 0x40db8b
mov eax, str.SOFTWAREAdobeAdobe_Acrobat_
push eax
lea ecx, [ebp + 0x1c]
call fcn.00401df6
lea eax, [ebp + 0x858]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004029d2
push 0x4cfcb4
lea ecx, [ebp + 0x1c]
call fcn.004029d2
push str.Installer
lea ecx, [ebp + 0x1c]
call fcn.004029d2
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], ebx
jae 0x40dbcc
lea eax, [ebp + 0x20]
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x40dc55
push 0x208
lea eax, [ebp + 0x650]
push ebx
push eax
call fcn.0048f0d0
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x650]
push eax
lea eax, [ebp - 0x30]
push eax
push ebx
push str.PATH
push dword [ebp - 0x18]
mov dword [ebp - 0x28], 0x206
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x40dc51
mov esi, dword [ebp - 0x24]
lea eax, [ebp + 0x650]
push eax
lea ecx, [esi + 0x1c]
call fcn.00401df6
lea eax, [ebp + 0x650]
push eax
call fcn.0040d31b
pop ecx
mov byte [esi + 0x58], al
mov byte [ebp - 0xe], 1
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.00401634
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401634
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa60]
xor ecx, ebp
call fcn.0048ebcd
add ebp, 0xa64
leave
ret 8