Function at 0x4356c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1a88
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x50d108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, str.MasterPDFData
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
call fcn.0046bbe0
mov dword [ebp - 4], 0
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
cmp word [edx], ax
jne 0x435724
xor ecx, ecx
jmp 0x43573f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435730
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.00425110
push str.webviewcefCefView.exe
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00435400
add esp, 4
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x43576c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.004043c0
mov eax, dword [ebp - 0x54]
cmp eax, 8
jb 0x43578a
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00425280
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x4357b3
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00425280
xor eax, eax
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
mov byte [ebp - 4], 6
or edi, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4357e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435814
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00404550
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.004354e0
mov edx, str.MasterPDFData
lea ecx, [ebp - 0x18]
call fcn.0046bbe0
mov byte [ebp - 4], 7
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
cmp word [edx], ax
jne 0x435844
xor ecx, ecx
jmp 0x43585f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435850
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.00425110
push str.webviewcefnCefClientNew.exe
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x80]
call fcn.00435400
add esp, 4
mov edx, eax
mov byte [ebp - 4], 9
cmp dword [edx + 0x14], 8
jb 0x43588e
mov edx, dword [edx]
test edx, edx
jne 0x435896
xor ecx, ecx
jmp 0x4358af
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4358a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.004042c0
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x4358ce
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00425280
xor eax, eax
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x70], 0
cmp eax, 8
jb 0x4358f7
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00425280
xor eax, eax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x18]
mov word [ebp - 0x50], ax
add edx, 0xfffffff0
mov dword [ebp - 0x3c], 7
mov eax, edi
mov dword [ebp - 0x40], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x435929
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435955
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x20], esi
call fcn.00404550
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.004354e0
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 0x435974
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048a7ae
mov esp, ebp
pop ebp
ret