Function at 0x435430
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1738
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.0046b8d0
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 0x435494
xor ecx, ecx
jmp 0x4354af
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4354a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.004250e0
push str.webviewcefCefView.exe
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00435170
add esp, 4
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x4354dc
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.004043c0
mov eax, dword [ebp - 0x54]
cmp eax, 8
jb 0x4354fa
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00425250
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 0x435523
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00425250
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 0x435558
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 0x435584
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.00435250
mov edx, str.MasterPDFData
lea ecx, [ebp - 0x18]
call fcn.0046b8d0
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 0x4355b4
xor ecx, ecx
jmp 0x4355cf
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4355c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.004250e0
push str.webviewcefnCefClientNew.exe
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x80]
call fcn.00435170
add esp, 4
mov edx, eax
mov byte [ebp - 4], 9
cmp dword [edx + 0x14], 8
jb 0x4355fe
mov edx, dword [edx]
test edx, edx
jne 0x435606
xor ecx, ecx
jmp 0x43561f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435610
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 0x43563e
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00425250
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 0x435667
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00425250
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 0x435699
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 0x4356c5
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.00435250
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 0x4356e4
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.0048a462
mov esp, ebp
pop ebp
ret