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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6032
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x513108]
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 0x456563
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004a5890
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.00404420
push str.PDFRunningHelper.exe
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0
call fcn.00404420
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.0045d8f0
push fcn.00401f00
push 2
push 4
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 3
push eax
call fcn.0048c76b
mov ebx, dword [ebp - 0x22c]
mov esi, ebx
mov edi, dword [ebp - 0x228]
cmp ebx, edi
je 0x456497
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 0x4563ba
cmp ecx, dword [edi]
jne 0x4563ba
lock inc dword [eax]
jmp 0x456402
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 0x456581
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.00404510
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.00404420
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push dword [edi - 0xc]
push edi
call fcn.0042af80
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 0x4564ec
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45646a
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 0x456486
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 0x456393
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4565c7
mov esi, ebx
cmp ebx, edi
je 0x4564d1
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 0x4564ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x4564b0
mov eax, dword [ebp - 0x224]
sub eax, ebx
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x456586
call fcn.004a8881
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x456501
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 0x45651d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x456563
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 0x45654a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x456530
mov eax, dword [ebp - 0x224]
sub eax, ebx
sar eax, 2
push eax
push ebx
call fcn.00402810
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.0048cd41
mov esp, ebp
pop ebp
ret
call fcn.00402ed0
shl eax, 2
cmp eax, 0x1000
jb 0x4565be
test bl, 0x1f
je 0x45659a
call fcn.004a8881
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x4565a6
call fcn.004a8881
sub ebx, eax
cmp ebx, 4
jae 0x4565b2
call fcn.004a8881
cmp ebx, 0x23
jbe 0x4565bc
call fcn.004a8881
mov ebx, eax
push ebx
call fcn.0048c766
add esp, 4
mov eax, 1
jmp 0x456565