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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x538
mov eax, dword [0x5c7cec]
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.00410300
add esp, 0xc
test al, al
je 0x482b79
push str.RtlGetVersion
push 0x56b928
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x482b79
push 0x114
lea eax, [ebp - 0x534]
push 0
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x534], 0x114
lea eax, [ebp - 0x534]
mov ecx, esi
push eax
call dword [0x5677a4]
call esi
test eax, eax
js 0x482b79
mov eax, dword [ebp - 0x530]
cmp eax, 0xa
ja 0x482aec
jne 0x482b79
mov eax, dword [ebp - 0x52c]
test eax, eax
jne 0x482aec
cmp dword [ebp - 0x528], 0x3839
jb 0x482b79
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.005290f0
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 0x482b79
call fcn.00482660
test al, al
jne 0x482b79
mov byte [0x5cb4b1], 1
jmp 0x482b86
cmp byte [0x5cb4b1], 0
je 0x482d37
lea eax, [ebp - 0x538]
push eax
push 0x20019
push 0
push 0x56c720
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x482d37
push 0x208
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x418], 0x206
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
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]
mov dword [ebp - 0x538], 0
test esi, esi
jne 0x482d37
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x482c20
sub ecx, edx
sar ecx, 1
je 0x482d37
test ecx, ecx
je 0x482c6f
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 0x482c81
mov bl, 1
mov ecx, dword [ebp - 0x538]
test ecx, ecx
je 0x482c6f
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.0040154f
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x482c5e
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x41c], 0x206
lea eax, [ebp - 0x41c]
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 0x482d23
test esi, esi
jne 0x482c6f
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x414]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x482d16
test dx, dx
je 0x482d12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x482d16
add eax, 4
add ecx, 4
test dx, dx
jne 0x482cf0
xor eax, eax
jmp 0x482d1b
sbb eax, eax
or eax, 1
test eax, eax
je 0x482c6f
mov bl, 1
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040154f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.0040154f
mov esp, ebp
pop ebp
ret