Function at 0x450050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5019a6
mov eax, dword fs:[0]
push eax
sub esp, 0xa7c
mov eax, dword [0x54e938]
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 ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x41e]
push ecx
mov dword [ebp - 0xa84], ebx
mov byte [ebp - 0xa71], 0
mov word [ebp - 0x420], ax
call fcn.004e15a0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.004e15a0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0xa36]
push edx
mov word [ebp - 0xa38], cx
call fcn.004e15a0
add esp, 0x24
cmp dword [esi + 0x14], 8
mov edi, 0xa
mov dword [ebp - 0xa78], edi
jb 0x4500fa
mov eax, dword [esi]
jmp 0x4500fc
mov eax, esi
lea ecx, [ebp - 0xa78]
push ecx
lea edx, [ebp - 0x218]
push edx
push str.VersionMajor
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x450501
push 0x206
push eax
lea ecx, [ebp - 0x626]
push ecx
mov dword [ebp - 0xa78], edi
mov word [ebp - 0x628], ax
call fcn.004e15a0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x450149
mov eax, dword [esi]
jmp 0x45014b
mov eax, esi
lea edx, [ebp - 0xa78]
push edx
lea ecx, [ebp - 0x628]
push ecx
push str.VersionMinor
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
je 0x45016f
xor al, al
jmp 0x450507
lea edx, [ebp - 0x628]
push edx
call fcn.004e1ed3
mov edi, eax
lea eax, [ebp - 0x218]
push eax
call fcn.004e1ed3
add esp, 8
push 5
push 0
push str.7760_
mov ecx, esi
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], edi
call fcn.0040a410
cmp eax, 0xffffffff
je 0x4501b0
mov dword [ebx + 0x54], 3
jmp 0x4501e9
push 5
push 0
push str.BA7E_
mov ecx, esi
call fcn.0040a410
cmp eax, 0xffffffff
je 0x4501ce
mov dword [ebx + 0x54], 2
jmp 0x4501e9
push 5
push 0
push str.7AD7_
mov ecx, esi
call fcn.0040a410
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [ebx + 0x54], ecx
mov edi, 8
mov dword [ebp - 0xa78], 0xa
cmp dword [esi + 0x14], edi
jb 0x450201
mov eax, dword [esi]
jmp 0x450203
mov eax, esi
lea edx, [ebp - 0xa78]
push edx
lea ecx, [ebp - 0x420]
push ecx
push str.VersionString
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x450501
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450230
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebx + 0x38]
call fcn.00406300
mov dword [ebp - 0xa78], 0x104
cmp dword [esi + 0x14], edi
jb 0x450260
mov esi, dword [esi]
lea eax, [ebp - 0xa78]
push eax
lea ecx, [ebp - 0xa38]
push ecx
push str.InstalledProductName
push esi
call sub.msi.dll_MsiGetPropertyW
lea esi, [ebp - 0xa38]
test eax, eax
je 0x450288
mov esi, str.Adobe_Acrobat
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450290
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, ebx
call fcn.00406300
xor eax, eax
xor edx, edx
xor bl, bl
mov dword [ebp - 0xa5c], 7
mov dword [ebp - 0xa60], eax
mov word [ebp - 0xa70], dx
push esi
lea ecx, [ebp - 0xa54]
mov dword [ebp - 4], eax
call fcn.00408940
mov eax, dword [ebp - 0xa40]
mov edx, dword [ebp - 0xa54]
mov byte [ebp - 4], 1
mov esi, edx
cmp eax, 8
jae 0x45036d
lea esi, [ebp - 0xa54]
mov ecx, esi
mov edi, dword [ebp - 0xa44]
cmp eax, 8
lea ecx, [ecx + edi*2]
mov eax, edx
jae 0x45030d
lea eax, [ebp - 0xa54]
cmp eax, ecx
je 0x450328
push fcn.0040f9a4
push esi
push ecx
push eax
lea eax, [ebp - 0xa80]
push eax
call fcn.0040f960
add esp, 0x14
push 6
xor edi, edi
push edi
push str.reader
lea ecx, [ebp - 0xa54]
call fcn.0040a410
cmp eax, 0xffffffff
je 0x450344
mov bl, 1
call fcn.0044f150
test eax, eax
je 0x450371
mov edx, str.SOFTWAREWow6432NodeAdobeAcrobat_Reader_
test bl, bl
jne 0x45035b
mov edx, str.SOFTWAREWow6432NodeAdobeAdobe_Acrobat_
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x450360
jmp 0x45038f
mov ecx, edx
jmp 0x4502f7
mov edx, str.SOFTWAREAdobeAcrobat_Reader_
test bl, bl
jne 0x45037f
mov edx, str.SOFTWAREAdobeAdobe_Acrobat_
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x450384
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xa70]
call fcn.00406300
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4503b0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0xa70]
call fcn.0040e560
push 2
push 0x50f2ec
lea ecx, [ebp - 0xa70]
call fcn.0040e560
push 0xa
push str.Installer
lea ecx, [ebp - 0xa70]
call fcn.0040e560
mov eax, dword [ebp - 0xa70]
mov ebx, 8
mov dword [ebp - 0xa7c], edi
cmp dword [ebp - 0xa5c], ebx
jae 0x450415
lea eax, [ebp - 0xa70]
lea edx, [ebp - 0xa7c]
push edx
push 0x20019
push edi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4504ba
push 0x208
lea eax, [ebp - 0x830]
push edi
push eax
call fcn.004e15a0
add esp, 0xc
lea ecx, [ebp - 0xa80]
push ecx
mov ecx, dword [ebp - 0xa7c]
lea edx, [ebp - 0x830]
push edx
lea eax, [ebp - 0xa88]
push eax
push edi
push str.PATH
push ecx
mov dword [ebp - 0xa80], 0x206
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0xa7c]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x4504b3
mov esi, dword [ebp - 0xa84]
lea eax, [ebp - 0x830]
push eax
lea ecx, [esi + 0x1c]
call fcn.00418650
lea edx, [ebp - 0x830]
call fcn.0044f900
mov byte [esi + 0x58], al
mov byte [ebp - 0xa71], 1
cmp dword [ebp - 0xa40], ebx
jb 0x4504d1
mov ecx, dword [ebp - 0xa54]
push ecx
call fcn.00406ec9
add esp, 4
xor edx, edx
mov dword [ebp - 0xa40], 7
mov dword [ebp - 0xa44], edi
mov word [ebp - 0xa54], dx
cmp dword [ebp - 0xa5c], ebx
jb 0x450501
mov eax, dword [ebp - 0xa70]
push eax
call fcn.00406ec9
add esp, 4
mov al, byte [ebp - 0xa71]
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.00401316
mov esp, ebp
pop ebp
ret 8