Function at 0x431210
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5c10
mov eax, dword fs:[0]
push eax
sub esp, 0x10
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 ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.004682b0
mov dword [ebp - 4], 0
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
test eax, eax
je 0x4316c2
push str.DelayCreateLink
lea ecx, [ebp - 0x18]
call fcn.00404470
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00404600
add esp, 4
mov byte [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea esi, [eax + 0x10]
push esi
push 0
push dword [ebp - 0x18]
push str.masterpdf
call ebx
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4312b6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4312d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.DelayAssociatePdf
lea ecx, [ebp - 0x18]
call fcn.00404470
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00404600
add esp, 4
mov byte [ebp - 4], 0
lea esi, [eax + 0x10]
push esi
push 0
push dword [ebp - 0x18]
push str.masterpdf
call ebx
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43131b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431335
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.DelayCreateRegisterKey
lea ecx, [ebp - 0x18]
call fcn.00404470
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00404600
add esp, 4
mov byte [ebp - 4], 0
lea esi, [eax + 0x10]
push esi
push 0
push dword [ebp - 0x18]
push str.masterpdf
call ebx
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x431380
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43139a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.DelayCreateShellMenu
lea ecx, [ebp - 0x18]
call fcn.00404470
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00404600
add esp, 4
mov byte [ebp - 4], 0
lea esi, [eax + 0x10]
push esi
push 0
push dword [ebp - 0x18]
push str.masterpdf
call ebx
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4313e5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4313ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.DelayAutoRun
lea ecx, [ebp - 0x18]
call fcn.00404470
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00404600
add esp, 4
mov byte [ebp - 4], 0
lea esi, [eax + 0x10]
push esi
push 0
push dword [ebp - 0x18]
push str.masterpdf
call ebx
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43144a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431464
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.DelayPid
lea ecx, [ebp - 0x18]
call fcn.00404470
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00404600
add esp, 4
mov byte [ebp - 4], 0
lea esi, [eax + 0x10]
push esi
push 0
push dword [ebp - 0x18]
push str.masterpdf
call ebx
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4314af
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4314c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Version
lea ecx, [ebp - 0x18]
call fcn.00404470
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00404600
add esp, 4
mov byte [ebp - 4], 0
lea esi, [eax + 0x10]
push esi
push 0
push dword [ebp - 0x18]
push str.masterpdf
call ebx
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x431514
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43152e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.InstallTime
lea ecx, [ebp - 0x18]
call fcn.00404470
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00404600
add esp, 4
mov byte [ebp - 4], 0
lea esi, [eax + 0x10]
push esi
push 0
push dword [ebp - 0x18]
push str.masterpdf
call ebx
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x431579
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x431593
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Activate
lea ecx, [ebp - 0x18]
call fcn.00404470
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00404600
add esp, 4
mov byte [ebp - 4], 0
lea esi, [eax + 0x10]
push esi
push 0
push dword [ebp - 0x18]
push str.masterpdf
call ebx
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4315de
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4315f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Cover
lea ecx, [ebp - 0x18]
call fcn.00404470
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00404600
add esp, 4
mov byte [ebp - 4], 0
lea esi, [eax + 0x10]
push esi
push 0
push dword [ebp - 0x18]
push str.masterpdf
call ebx
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x431643
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43165d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x4f7680
lea ecx, [ebp - 0x18]
call fcn.00404470
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00404600
add esp, 4
mov byte [ebp - 4], 0
lea esi, [eax + 0x10]
push esi
push 0
push dword [ebp - 0x18]
push str.masterpdf
call ebx
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4316a8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4316c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4316e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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