Function at 0x40e214
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0xca0
lea ebp, [esp - 4]
mov eax, dword [0x509354]
xor eax, ebp
mov dword [ebp + 0xca0], eax
push 0xe8
mov eax, 0x4c5fe8
call fcn.0048e652
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.00401495
push ebx
lea ecx, [ebp]
mov dword [ebp - 4], ebx
mov dword [ebp + 0x18], esi
call fcn.00401495
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.0040d2ad
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0040e1d0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401b04
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.0040d2ad
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.0040e1d0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401b04
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.0040d2ad
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.0040e1d0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401b04
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.0040d2ad
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.0040e1d0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401b04
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
sub eax, ecx
cdq
push 0x38
pop edi
idiv edi
cmp eax, ebx
jbe 0x40e73c
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.00401c43
push 0xffffffffffffffff
push ebx
add edi, 0x1c
push edi
lea ecx, [ebp + 0x38]
call fcn.00401c43
mov dword [ebp - 0x28], ebx
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x40e391
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 0x40e723
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp + 0x70], ax
lea eax, [ebp + 0x72]
push ebx
push eax
call fcn.0048e760
xor eax, eax
push edi
mov word [ebp + 0xa98], ax
lea eax, [ebp + 0xa9a]
push ebx
push eax
call fcn.0048e760
xor eax, eax
push edi
mov word [ebp + 0x480], ax
lea eax, [ebp + 0x482]
push ebx
push eax
call fcn.0048e760
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 0x40e723
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.0048e760
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.00490f8a
mov edi, eax
lea eax, [ebp + 0xa98]
push eax
call fcn.00490f8a
pop ecx
pop ecx
cmp edi, 8
jb 0x40e498
cmp eax, 9
jne 0x40e498
push 0x4cee94
push 0x104
lea eax, [ebp + 0xa98]
push eax
call fcn.00403c41
lea eax, [ebp + 0xa98]
push eax
call fcn.00490f8a
pop ecx
cmp eax, dword [ebp + 0xcac]
jb 0x40e723
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 0x40e723
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 0x40e510
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.00401495
push dword [ebp - 0x20]
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 7
call fcn.00401f35
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 8
call fcn.004088e2
mov edi, eax
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00408900
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004088e2
mov ecx, dword [ebp - 0x50]
push fcn.00490c89
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.00408aa0
add esp, 0x20
push ebx
push str.reader
lea ecx, [ebp + 0x1c]
call fcn.0040745d
cmp eax, 0xffffffff
je 0x40e5a5
mov byte [ebp - 0xd], 1
call fcn.0040cbd4
test eax, eax
je 0x40e5bf
mov eax, str.SOFTWAREWow6432NodeAdobeAcrobat_Reader_
cmp byte [ebp - 0xd], bl
jne 0x40e5cb
mov eax, str.SOFTWAREWow6432NodeAdobeAdobe_Acrobat_
jmp 0x40e5cb
mov eax, str.SOFTWAREAdobeAcrobat_Reader_
cmp byte [ebp - 0xd], bl
jne 0x40e5cb
mov eax, esi
push eax
lea ecx, [ebp + 0x54]
call fcn.00401de8
lea eax, [ebp + 0xa98]
push eax
lea ecx, [ebp + 0x54]
call fcn.0040288c
push 0x4ceccc
lea ecx, [ebp + 0x54]
call fcn.0040288c
push str.Installer
lea ecx, [ebp + 0x54]
call fcn.0040288c
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x2c], ebx
jae 0x40e60c
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 0x40e6c5
push 0x208
lea eax, [ebp + 0x278]
push ebx
push eax
call fcn.0048e760
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 0x40e6c5
lea eax, [ebp + 0x278]
push eax
call fcn.0040d30a
pop ecx
cmp al, bl
je 0x40e6c5
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.0040d2ad
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.0040e186
lea ecx, [ebp - 0xf4]
jmp 0x40e6fc
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.0040d2ad
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040e1d0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
call fcn.00401b04
push ebx
push 1
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 7
call fcn.00401626
push ebx
push 1
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 2
call fcn.00401626
inc dword [ebp - 0x28]
cmp dword [ebp - 0x48], ebx
je 0x40e385
add dword [ebp - 0x24], 0x38
dec dword [ebp - 0x30]
jne 0x40e364
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0040dd9b
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 + 0x38]
call fcn.00401626
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.0048e25d
add ebp, 0xca4
leave
ret 4