Function at 0x4896b0
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x538
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 2
push 6
mov dword [ebp - 0x538], 0
xor bl, bl
call fcn.00410b70
add esp, 0xc
test al, al
je 0x4897f9
push 0x5879a4
push 0x5879b4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4897f9
push 0x110
lea eax, [ebp - 0x530]
push 0
push eax
call fcn.0053f340
add esp, 0xc
mov dword [ebp - 0x534], 0x114
lea eax, [ebp - 0x534]
mov ecx, esi
push eax
call dword [0x5817c0]
call esi
test eax, eax
js 0x4897f9
mov eax, dword [ebp - 0x530]
cmp eax, 0xa
ja 0x48976c
jne 0x4897f9
mov eax, dword [ebp - 0x52c]
test eax, eax
jne 0x48976c
cmp dword [ebp - 0x528], 0x3839
jb 0x4897f9
push 0x100
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
call fcn.0053f340
add esp, 0xc
mov dword [ebp - 8], 0x10000
xor eax, eax
mov dword [ebp - 0xc], eax
push 1
push 0x80
push eax
push eax
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push edx
push eax
push 0x80
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x4897f9
call fcn.00489270
test al, al
jne 0x4897f9
mov byte [0x5f179d], 1
jmp 0x489805
cmp byte [0x5f179d], bl
je 0x4899ad
lea eax, [ebp - 0x538]
push eax
push 0x20019
push 0
push str.SOFTWAREAdobeAcrobat_ReaderDCNotificationAppx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4899ad
push 0x208
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0053f340
add esp, 0xc
mov dword [ebp - 0x41c], 0x206
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push 0x5875d4
push dword [ebp - 0x538]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x538]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x538], 0
test esi, esi
jne 0x4899ad
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4898a0
sub ecx, edx
sar ecx, 1
je 0x4899ad
lea eax, [ebp - 0x538]
push eax
push 0x20019
push 0
push str.SOFTWAREAdobeAcrobat_ReaderDCInstallerNotificationAppx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x4898fd
mov bl, 1
mov ecx, dword [ebp - 0x538]
test ecx, ecx
je 0x4898eb
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x4898da
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0053f340
add esp, 0xc
mov dword [ebp - 0x418], 0x206
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push str.AppVersion
push dword [ebp - 0x538]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x538]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
je 0x489999
test esi, esi
jne 0x4898eb
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x414]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x48998c
test dx, dx
je 0x489988
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x48998c
add eax, 4
add ecx, 4
test dx, dx
jne 0x489966
xor eax, eax
jmp 0x489991
sbb eax, eax
or eax, 1
test eax, eax
je 0x4898eb
mov bl, 1
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.00401682
mov esp, ebp
pop ebp
ret