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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3162
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4f6108]
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 0x453bf3
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00493690
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.00457190
push fcn.00401d40
push 2
push 4
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 3
push eax
call fcn.0047a67d
mov ebx, dword [ebp - 0x22c]
mov esi, ebx
mov edi, dword [ebp - 0x228]
cmp ebx, edi
je 0x453b27
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 0x453a4a
cmp ecx, dword [edi]
jne 0x453a4a
lock inc dword [eax]
jmp 0x453a92
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 0x453c11
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.0042a380
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 0x453b7c
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x453afa
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 0x453b16
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 0x453a23
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x453c57
mov esi, ebx
cmp ebx, edi
je 0x453b61
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 0x453b5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x453b40
mov eax, dword [ebp - 0x224]
sub eax, ebx
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x453c16
call fcn.00496681
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x453b91
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 0x453bad
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x453bf3
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 0x453bda
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x453bc0
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.0047ac53
mov esp, ebp
pop ebp
ret
call fcn.00402d10
shl eax, 2
cmp eax, 0x1000
jb 0x453c4e
test bl, 0x1f
je 0x453c2a
call fcn.00496681
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x453c36
call fcn.00496681
sub ebx, eax
cmp ebx, 4
jae 0x453c42
call fcn.00496681
cmp ebx, 0x23
jbe 0x453c4c
call fcn.00496681
mov ebx, eax
push ebx
call fcn.0047a678
add esp, 4
mov eax, 1
jmp 0x453bf5