Function at 0x487a50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574896
mov eax, dword fs:[0]
push eax
sub esp, 0xa78
mov eax, dword [0x5edd38]
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 edi, dword [ebp + 0xc]
lea eax, [ebp - 0x830]
mov ebx, dword [ebp + 8]
push 0x208
push 0
push eax
mov dword [ebp - 0xa84], edi
mov byte [ebp - 0xa79], 0
call fcn.0053f340
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0053f340
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.0053f340
add esp, 0x24
mov dword [ebp - 0xa40], 0xa
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x487ae1
mov eax, dword [ebx]
lea ecx, [ebp - 0xa40]
push ecx
lea ecx, [ebp - 0x420]
push ecx
push 0x586ce4
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x4880e0
push 0x208
push eax
lea eax, [ebp - 0x628]
mov dword [ebp - 0xa40], 0xa
push eax
call fcn.0053f340
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x487b2b
mov eax, dword [ebx]
lea ecx, [ebp - 0xa40]
push ecx
lea ecx, [ebp - 0x628]
push ecx
push 0x586d00
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
je 0x487b4f
xor al, al
jmp 0x4880e6
lea eax, [ebp - 0x628]
push eax
call fcn.0054a153
mov esi, eax
lea eax, [ebp - 0x420]
push eax
mov dword [ebp - 0xa80], esi
call fcn.0054a153
add esp, 8
mov dword [ebp - 0xa78], eax
cmp esi, 9
jb 0x487c17
cmp eax, 0xb
jne 0x487c17
lea ecx, [ebp - 0x420]
mov esi, 0x586d1c
mov eax, ecx
mov edx, 0x104
sub esi, eax
nop
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x487bbe
movzx eax, word [esi + ecx]
test ax, ax
je 0x487bbe
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x487ba0
test edx, edx
lea eax, [ecx - 2]
mov esi, 0x586d24
mov edx, 0x104
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x628]
mov eax, ecx
sub esi, eax
nop
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x487bfe
movzx eax, word [esi + ecx]
test ax, ax
je 0x487bfe
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x487be0
mov esi, dword [ebp - 0xa80]
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0xa78]
mov dword [edi + 0x50], eax
mov eax, ebx
mov dword [edi + 0x54], esi
cmp dword [ebx + 0x14], 8
jb 0x487c27
mov eax, dword [ebx]
push 5
push 0x586d28
push 0
push dword [ebx + 0x10]
push eax
call fcn.0040fea0
add esp, 0x14
cmp eax, 0xffffffff
je 0x487c4a
mov dword [edi + 0x48], 3
jmp 0x487c7f
push 0
push str.BA7E_
mov ecx, ebx
call fcn.0040fe00
cmp eax, 0xffffffff
je 0x487c66
mov dword [edi + 0x48], 2
jmp 0x487c7f
push 0
push str.7AD7_
mov ecx, ebx
call fcn.0040fe00
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [edi + 0x48], ecx
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0xa40], 0x104
jb 0x487c93
mov eax, dword [ebx]
lea ecx, [ebp - 0xa40]
push ecx
lea ecx, [ebp - 0x830]
push ecx
push str.VersionString
push eax
call sub.msi.dll_MsiGetPropertyW
test eax, eax
jne 0x4880e0
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487cc0
sub ecx, edx
lea eax, [ebp - 0x830]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x30]
call fcn.00408f30
cmp dword [ebx + 0x14], 8
mov eax, ebx
mov dword [ebp - 0xa40], 0x104
jb 0x487cf3
mov eax, dword [ebx]
lea ecx, [ebp - 0xa40]
push ecx
lea ecx, [ebp - 0xa38]
push ecx
push str.InstalledProductName
push eax
call sub.msi.dll_MsiGetPropertyW
lea ecx, [ebp - 0xa38]
test eax, eax
mov esi, str.Adobe_Acrobat
cmove esi, ecx
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487d21
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00408f30
xor eax, eax
mov byte [ebp - 0xa7a], 0
mov dword [ebp - 0xa64], 0
mov dword [ebp - 0xa60], 7
mov word [ebp - 0xa74], ax
push esi
lea ecx, [ebp - 0xa5c]
mov dword [ebp - 4], eax
call fcn.0040e610
cmp dword [ebp - 0xa48], 8
lea ecx, [ebp - 0xa5c]
mov edx, dword [ebp - 0xa5c]
lea edi, [ebp - 0xa5c]
mov eax, dword [ebp - 0xa4c]
cmovae ecx, edx
push fcn.0040b320
cmovae edi, edx
mov byte [ebp - 4], 1
push edi
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0xa5c]
cmovae ecx, edx
lea eax, [ebp - 0xa44]
push ecx
push eax
call fcn.004859b0
cmp dword [ebp - 0xa48], 8
lea eax, [ebp - 0xa5c]
push 6
cmovae eax, dword [ebp - 0xa5c]
push str.reader
push 0
push dword [ebp - 0xa4c]
push eax
call fcn.0040fea0
movzx ecx, byte [ebp - 0xa7a]
add esp, 0x28
cmp eax, 0xffffffff
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0xa3c], ecx
call fcn.00489cd0
test eax, eax
je 0x487e2d
cmp byte [ebp - 0xa3c], 0
mov edx, str.SOFTWAREWow6432NodeAdobeAcrobat_Reader_
mov eax, str.SOFTWAREWow6432NodeAdobeAdobe_Acrobat_
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487e20
jmp 0x487e51
cmp byte [ebp - 0xa3c], 0
mov edx, str.SOFTWAREAdobeAcrobat_Reader_
mov eax, 0x586eac
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487e46
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa74]
call fcn.00408f30
lea eax, [ebp - 0x420]
push eax
call fcn.0054a153
add esp, 4
cmp eax, 0xf
jge 0x487ea9
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487e80
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xa74]
call fcn.0040ddb0
mov eax, 0x586ee8
jmp 0x487eae
mov eax, 0x586ef0
push 2
push eax
lea ecx, [ebp - 0xa74]
call fcn.0040ddb0
push 0xa
push str.Installer
lea ecx, [ebp - 0xa74]
call fcn.0040ddb0
cmp dword [ebp - 0xa60], 8
lea ecx, [ebp - 0xa78]
push ecx
push 0x20019
lea eax, [ebp - 0xa74]
mov dword [ebp - 0xa78], 0
cmovae eax, dword [ebp - 0xa74]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48807c
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0053f340
add esp, 0xc
mov dword [ebp - 0xa3c], 0x206
lea eax, [ebp - 0xa3c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa44]
push eax
push 0
push 0x586f10
push dword [ebp - 0xa78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x487ffb
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487f66
sub ecx, edx
mov edi, ebx
sar ecx, 1
cmp dword [ebx + 0x14], 8
jb 0x487f7f
mov edi, dword [ebx]
mov eax, dword [ebx + 0x10]
lea edx, [ebp - 0x218]
cmp ecx, eax
mov esi, eax
cmovb esi, ecx
test esi, esi
je 0x487fab
mov eax, edx
sub edi, eax
mov ax, word [edi + edx]
cmp ax, word [edx]
jne 0x487ffb
add edx, 2
sub esi, 1
jne 0x487f97
mov eax, dword [ebx + 0x10]
cmp eax, ecx
jb 0x487ffb
ja 0x487ffb
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0053f340
add esp, 0xc
mov dword [ebp - 0xa3c], 0x206
lea eax, [ebp - 0xa3c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa44]
push eax
push 0
push str.PATH
push dword [ebp - 0xa78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x48803c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0053f340
add esp, 0xc
mov dword [ebp - 0xa3c], 0x104
cmp dword [ebx + 0x14], 8
jb 0x488023
mov ebx, dword [ebx]
lea eax, [ebp - 0xa3c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x586f30
push ebx
call sub.msi.dll_MsiGetPropertyW
push dword [ebp - 0xa78]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x488075
mov esi, dword [ebp - 0xa84]
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x18]
call fcn.0040e5e0
lea eax, [ebp - 0x218]
push eax
call fcn.004899c0
add esp, 4
mov byte [esi + 0x4c], al
mov byte [ebp - 0xa79], 1
mov eax, dword [ebp - 0xa48]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x48809e
inc eax
lea ecx, [ebp - 0xa5c]
push eax
push dword [ebp - 0xa5c]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0xa4c], 0
mov dword [ebp - 0xa48], 7
mov word [ebp - 0xa5c], ax
mov ecx, dword [ebp - 0xa60]
mov dword [ebp - 4], 3
cmp ecx, 8
jb 0x4880e0
inc ecx
push ecx
push dword [ebp - 0xa74]
lea ecx, [ebp - 0xa74]
call fcn.0040a2e0
mov al, byte [ebp - 0xa79]
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.00401682
mov esp, ebp
pop ebp
ret 8