Function at 0x454890
Capabilities:
Check if file exists
Get installed programs
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb9a2
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x501108]
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
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallMasterPDF
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x230], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x454bc3
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0049bdc0
add esp, 0xc
mov dword [ebp - 0x230], 1
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.MasterPDF.exe
lea ecx, [ebp - 0x23c]
call fcn.00404260
push str.PDFRunningHelper.exe
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0
call fcn.00404260
mov dword [ebp - 4], 1
lea eax, [ebp - 0x234]
mov byte [ebp - 0x21c], 0
lea ecx, [ebp - 0x22c]
push dword [ebp - 0x21c]
mov dword [ebp - 0x22c], 0
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x228], 0
push eax
mov dword [ebp - 0x224], 0
call fcn.004598d0
push fcn.00401d40
push 2
push 4
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 3
push eax
call fcn.00482e33
mov ebx, dword [ebp - 0x22c]
mov esi, ebx
mov edi, dword [ebp - 0x228]
cmp ebx, edi
je 0x454af7
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
lea edi, [eax - 0x10]
mov dword [ebp - 0x234], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x454a1a
cmp ecx, dword [edi]
jne 0x454a1a
lock inc dword [eax]
jmp 0x454a62
mov eax, dword [ecx]
lea edx, [edi + 4]
push 2
push dword [edx]
mov dword [ebp - 0x244], edx
call dword [eax]
mov edi, eax
test edi, edi
je 0x454be1
mov edx, dword [ebp - 0x244]
mov ecx, dword [edx]
mov dword [edi + 4], ecx
mov edx, dword [edx]
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp - 0x234]
lea edx, [edx*2 + 2]
lea ecx, [edi + 0x10]
call fcn.00404350
add esp, 8
add edi, 0x10
mov dword [ebp - 0x234], edi
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x21c]
call fcn.00404260
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push dword [edi - 0xc]
push edi
call fcn.0042a280
push dword [ebp - 0x21c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
test eax, eax
je 0x454b4c
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454aca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x454ae6
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x228]
add esi, 4
cmp esi, edi
jne 0x4549f3
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x454c27
mov esi, ebx
cmp ebx, edi
je 0x454b31
nop dword [eax]
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454b2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x454b10
mov eax, dword [ebp - 0x224]
sub eax, ebx
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x454be6
call fcn.0049ed91
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454b61
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x454b7d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x454bc3
mov edi, dword [ebp - 0x228]
mov esi, ebx
mov edx, dword [esi]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x454baa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x454b90
mov eax, dword [ebp - 0x224]
sub eax, ebx
sar eax, 2
push eax
push ebx
call fcn.00402650
xor eax, eax
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.00483426
mov esp, ebp
pop ebp
ret
call fcn.00402d10
shl eax, 2
cmp eax, 0x1000
jb 0x454c1e
test bl, 0x1f
je 0x454bfa
call fcn.0049ed91
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x454c06
call fcn.0049ed91
sub ebx, eax
cmp ebx, 4
jae 0x454c12
call fcn.0049ed91
cmp ebx, 0x23
jbe 0x454c1c
call fcn.0049ed91
mov ebx, eax
push ebx
call fcn.00482e2e
add esp, 4
mov eax, 1
jmp 0x454bc5