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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd082
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x504108]
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 0x454113
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0049d8c0
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.00404280
push str.PDFRunningHelper.exe
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0
call fcn.00404280
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.00458f70
push fcn.00401d60
push 2
push 4
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 3
push eax
call fcn.004848eb
mov ebx, dword [ebp - 0x22c]
mov esi, ebx
mov edi, dword [ebp - 0x228]
cmp ebx, edi
je 0x454047
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 0x453f6a
cmp ecx, dword [edi]
jne 0x453f6a
lock inc dword [eax]
jmp 0x453fb2
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 0x454131
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.00404370
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.00404280
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push dword [edi - 0xc]
push edi
call fcn.0042a760
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 0x45409c
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45401a
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 0x454036
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 0x453f43
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x454177
mov esi, ebx
cmp ebx, edi
je 0x454081
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 0x45407a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x454060
mov eax, dword [ebp - 0x224]
sub eax, ebx
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x454136
call fcn.004a0891
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4540b1
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 0x4540cd
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x454113
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 0x4540fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x4540e0
mov eax, dword [ebp - 0x224]
sub eax, ebx
sar eax, 2
push eax
push ebx
call fcn.00402670
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.00484ed0
mov esp, ebp
pop ebp
ret
call fcn.00402d30
shl eax, 2
cmp eax, 0x1000
jb 0x45416e
test bl, 0x1f
je 0x45414a
call fcn.004a0891
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x454156
call fcn.004a0891
sub ebx, eax
cmp ebx, 4
jae 0x454162
call fcn.004a0891
cmp ebx, 0x23
jbe 0x45416c
call fcn.004a0891
mov ebx, eax
push ebx
call fcn.004848e6
add esp, 4
mov eax, 1
jmp 0x454115