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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7e32
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x516108]
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 0x456bc3
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004a7480
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.00404470
push str.PDFRunningHelper.exe
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0
call fcn.00404470
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.0045e0c0
push fcn.00401f50
push 2
push 4
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 3
push eax
call fcn.0048e35b
mov ebx, dword [ebp - 0x22c]
mov esi, ebx
mov edi, dword [ebp - 0x228]
cmp ebx, edi
je 0x456af7
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 0x456a1a
cmp ecx, dword [edi]
jne 0x456a1a
lock inc dword [eax]
jmp 0x456a62
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 0x456be1
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.00404560
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.00404470
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push dword [edi - 0xc]
push edi
call fcn.0042afd0
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 0x456b4c
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x456aca
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 0x456ae6
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 0x4569f3
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x456c27
mov esi, ebx
cmp ebx, edi
je 0x456b31
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 0x456b2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x456b10
mov eax, dword [ebp - 0x224]
sub eax, ebx
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x456be6
call fcn.004aa471
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x456b61
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 0x456b7d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x456bc3
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 0x456baa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x456b90
mov eax, dword [ebp - 0x224]
sub eax, ebx
sar eax, 2
push eax
push ebx
call fcn.00402860
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.0048e923
mov esp, ebp
pop ebp
ret
call fcn.00402f20
shl eax, 2
cmp eax, 0x1000
jb 0x456c1e
test bl, 0x1f
je 0x456bfa
call fcn.004aa471
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x456c06
call fcn.004aa471
sub ebx, eax
cmp ebx, 4
jae 0x456c12
call fcn.004aa471
cmp ebx, 0x23
jbe 0x456c1c
call fcn.004aa471
mov ebx, eax
push ebx
call fcn.0048e356
add esp, 4
mov eax, 1
jmp 0x456bc5