Function at 0x40d8dd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0xa60
lea ebp, [esp - 4]
mov eax, dword [0x509354]
xor eax, ebp
mov dword [ebp + 0xa60], eax
push 0x30
mov eax, 0x4c5ed9
call fcn.0048e652
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.0048e760
xor eax, eax
push edi
mov word [ebp + 0x858], ax
lea eax, [ebp + 0x85a]
push ebx
push eax
call fcn.0048e760
xor eax, eax
push edi
mov word [ebp + 0x448], ax
lea eax, [ebp + 0x44a]
push ebx
push eax
call fcn.0048e760
add esp, 0x24
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x14], 0xa
jb 0x40d96e
mov eax, dword [esi + 4]
jmp 0x40d971
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 0x40dc61
push edi
mov word [ebp + 0x240], ax
lea eax, [ebp + 0x242]
push ebx
push eax
mov dword [ebp - 0x14], 0xa
call fcn.0048e760
add esp, 0xc
cmp dword [esi + 0x18], 8
jb 0x40d9b9
mov eax, dword [esi + 4]
jmp 0x40d9bc
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 0x40d9dd
xor al, al
jmp 0x40dc64
lea eax, [ebp + 0x240]
push eax
call fcn.00490f8a
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x858]
push eax
call fcn.00490f8a
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.0040745d
cmp eax, 0xffffffff
je 0x40da21
mov dword [edi + 0x54], 3
jmp 0x40da54
push ebx
push str.BA7E_
mov ecx, esi
call fcn.0040745d
cmp eax, 0xffffffff
je 0x40da3c
mov dword [edi + 0x54], 2
jmp 0x40da54
push ebx
push str.7AD7_
mov ecx, esi
call fcn.0040745d
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 0x40da69
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 0x40dc61
lea eax, [ebp + 0x38]
push eax
lea ecx, [edi + 0x38]
call fcn.00401de8
cmp dword [esi + 0x18], 8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0x104
jb 0x40daa2
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 0x40dac7
mov esi, str.Adobe_Acrobat
push esi
mov ecx, edi
call fcn.00401de8
push ebx
lea ecx, [ebp + 0x1c]
mov byte [ebp - 0xd], bl
mov dword [ebp + 0x34], 7
call fcn.00401495
push esi
lea ecx, [ebp]
mov dword [ebp - 4], ebx
call fcn.00401f35
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.004088e2
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp]
call fcn.00408900
mov edi, eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp]
call fcn.004088e2
push fcn.00490c89
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.00408aa0
add esp, 0x20
push ebx
push str.reader
lea ecx, [ebp]
call fcn.0040745d
cmp eax, 0xffffffff
je 0x40db51
mov byte [ebp - 0xd], 1
call fcn.0040cbd4
test eax, eax
je 0x40db6b
mov eax, str.SOFTWAREWow6432NodeAdobeAcrobat_Reader_
cmp byte [ebp - 0xd], bl
jne 0x40db7a
mov eax, str.SOFTWAREWow6432NodeAdobeAdobe_Acrobat_
jmp 0x40db7a
mov eax, str.SOFTWAREAdobeAcrobat_Reader_
cmp byte [ebp - 0xd], bl
jne 0x40db7a
mov eax, str.SOFTWAREAdobeAdobe_Acrobat_
push eax
lea ecx, [ebp + 0x1c]
call fcn.00401de8
lea eax, [ebp + 0x858]
push eax
lea ecx, [ebp + 0x1c]
call fcn.0040288c
push 0x4ceccc
lea ecx, [ebp + 0x1c]
call fcn.0040288c
push str.Installer
lea ecx, [ebp + 0x1c]
call fcn.0040288c
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], ebx
jae 0x40dbbb
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 0x40dc44
push 0x208
lea eax, [ebp + 0x650]
push ebx
push eax
call fcn.0048e760
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 0x40dc40
mov esi, dword [ebp - 0x24]
lea eax, [ebp + 0x650]
push eax
lea ecx, [esi + 0x1c]
call fcn.00401de8
lea eax, [ebp + 0x650]
push eax
call fcn.0040d30a
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.00401626
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.00401626
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.0048e25d
add ebp, 0xa64
leave
ret 8