Function at 0x40e225
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0xca0
lea ebp, [esp - 4]
mov eax, dword [0x50b384]
xor eax, ebp
mov dword [ebp + 0xca0], eax
push 0xe8
mov eax, 0x4c6ce8
call fcn.0048efc2
push 7
pop esi
mov dword [ebp - 0x34], ecx
xor ebx, ebx
push ebx
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x50], esi
call fcn.004014a3
push ebx
lea ecx, [ebp]
mov dword [ebp - 4], ebx
mov dword [ebp + 0x18], esi
call fcn.004014a3
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], str.SOFTWAREAdobeAcrobat_Reader_
mov dword [ebp - 0x18], str.A6EADE66_0000_0000_484E_7E8A45000000
call fcn.0040d2be
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0040e1e1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401b12
lea eax, [ebp - 0x1c]
mov esi, str.SOFTWAREAdobeAdobe_Acrobat_
push eax
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], str.AC76BA86_0000_0000_7761_7E8A45000000
call fcn.0040d2be
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0040e1e1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401b12
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], str.AC76BA86_0000_0000_7760_7E8A45000000
call fcn.0040d2be
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.0040e1e1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401b12
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], str.AC76BA86_0000_0000_BA7E_7E8A45000000
call fcn.0040d2be
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.0040e1e1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401b12
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
sub eax, ecx
cdq
push 0x38
pop edi
idiv edi
cmp eax, ebx
jbe 0x40e74d
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], eax
mov edi, dword [ebp - 0x24]
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp]
call fcn.00401c51
push 0xffffffffffffffff
push ebx
add edi, 0x1c
push edi
lea ecx, [ebp + 0x38]
call fcn.00401c51
mov dword [ebp - 0x28], ebx
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x40e3a2
lea eax, [ebp + 0x3c]
lea ecx, [ebp + 0x890]
push ecx
push dword [ebp - 0x28]
push ebx
push eax
call sub.msi.dll_MsiSourceListClearAllW
mov dword [ebp - 0x48], eax
cmp eax, ebx
jne 0x40e734
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp + 0x70], ax
lea eax, [ebp + 0x72]
push ebx
push eax
call fcn.0048f0d0
xor eax, eax
push edi
mov word [ebp + 0xa98], ax
lea eax, [ebp + 0xa9a]
push ebx
push eax
call fcn.0048f0d0
xor eax, eax
push edi
mov word [ebp + 0x480], ax
lea eax, [ebp + 0x482]
push ebx
push eax
call fcn.0048f0d0
add esp, 0x24
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xa98]
push eax
push str.VersionMajor
lea eax, [ebp + 0x890]
push eax
mov dword [ebp - 0x14], 0xa
call sub.msi.dll_MsiGetPropertyW
cmp eax, ebx
jne 0x40e734
xor eax, eax
push edi
mov word [ebp + 0x688], ax
lea eax, [ebp + 0x68a]
push ebx
push eax
mov dword [ebp - 0x14], 0xa
call fcn.0048f0d0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x688]
push eax
push str.VersionMinor
lea eax, [ebp + 0x890]
push eax
call sub.msi.dll_MsiGetPropertyW
lea eax, [ebp + 0x688]
push eax
call fcn.004918fa
mov edi, eax
lea eax, [ebp + 0xa98]
push eax
call fcn.004918fa
pop ecx
pop ecx
cmp edi, 8
jb 0x40e4a9
cmp eax, 9
jne 0x40e4a9
push 0x4cfe7c
push 0x104
lea eax, [ebp + 0xa98]
push eax
call fcn.00403a88
lea eax, [ebp + 0xa98]
push eax
call fcn.004918fa
pop ecx
cmp eax, dword [ebp + 0xcac]
jb 0x40e734
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x70]
push eax
push str.VersionString
lea eax, [ebp + 0x890]
push eax
mov dword [ebp - 0x14], 0xa
call sub.msi.dll_MsiGetPropertyW
cmp eax, ebx
jne 0x40e734
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x480]
push eax
push str.InstalledProductName
lea eax, [ebp + 0x890]
push eax
mov dword [ebp - 0x14], 0x104
call sub.msi.dll_MsiGetPropertyW
lea ecx, [ebp + 0x480]
mov dword [ebp - 0x20], ecx
cmp eax, ebx
je 0x40e521
mov dword [ebp - 0x20], str.Adobe_Acrobat
push ebx
lea ecx, [ebp + 0x54]
mov byte [ebp - 0xd], bl
mov dword [ebp + 0x6c], 7
call fcn.004014a3
push dword [ebp - 0x20]
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 7
call fcn.00401f43
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 8
call fcn.004085d5
mov edi, eax
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004085f3
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004085d5
mov ecx, dword [ebp - 0x50]
push fcn.004915f9
push dword [edi + 4]
push dword [edi]
push dword [ecx + 4]
push dword [ecx]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0xac]
push eax
call fcn.00408748
add esp, 0x20
push ebx
push str.reader
lea ecx, [ebp + 0x1c]
call fcn.004071ba
cmp eax, 0xffffffff
je 0x40e5b6
mov byte [ebp - 0xd], 1
call fcn.0040cbaf
test eax, eax
je 0x40e5d0
mov eax, str.SOFTWAREWow6432NodeAdobeAcrobat_Reader_
cmp byte [ebp - 0xd], bl
jne 0x40e5dc
mov eax, str.SOFTWAREWow6432NodeAdobeAdobe_Acrobat_
jmp 0x40e5dc
mov eax, str.SOFTWAREAdobeAcrobat_Reader_
cmp byte [ebp - 0xd], bl
jne 0x40e5dc
mov eax, esi
push eax
lea ecx, [ebp + 0x54]
call fcn.00401df6
lea eax, [ebp + 0xa98]
push eax
lea ecx, [ebp + 0x54]
call fcn.004029d2
push 0x4cfcb4
lea ecx, [ebp + 0x54]
call fcn.004029d2
push str.Installer
lea ecx, [ebp + 0x54]
call fcn.004029d2
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x2c], ebx
jae 0x40e61d
lea eax, [ebp + 0x58]
lea ecx, [ebp - 0x2c]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x40e6d6
push 0x208
lea eax, [ebp + 0x278]
push ebx
push eax
call fcn.0048f0d0
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 0x278]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push str.PATH
push dword [ebp - 0x2c]
mov dword [ebp - 0x4c], 0x206
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x2c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x40e6d6
lea eax, [ebp + 0x278]
push eax
call fcn.0040d31b
pop ecx
cmp al, bl
je 0x40e6d6
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x890]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xf4]
call fcn.0040d2be
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 4]
lea edx, [ebp - 0xf4]
push edx
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 9
call fcn.0040e197
lea ecx, [ebp - 0xf4]
jmp 0x40e70d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x890]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x9c]
call fcn.0040d2be
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040e1e1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
call fcn.00401b12
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 7
call fcn.00401634
push ebx
push 1
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 2
call fcn.00401634
inc dword [ebp - 0x28]
cmp dword [ebp - 0x48], ebx
je 0x40e396
add dword [ebp - 0x24], 0x38
dec dword [ebp - 0x30]
jne 0x40e375
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0040ddac
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 + 0x38]
call fcn.00401634
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xca0]
xor ecx, ebp
call fcn.0048ebcd
add ebp, 0xca4
leave
ret 4