Function at 0x4773e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7c38
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x68da90]
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_LY
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
call fcn.004a5230
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 0x477444
xor ecx, ecx
jmp 0x47745f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477450
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.004090e0
push str.webviewcefCefView.exe
lea edx, [ebp - 0x38]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00477100
add esp, 4
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x47748c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404020
mov eax, dword [ebp - 0x54]
cmp eax, 8
jb 0x4774aa
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.00409d50
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 0x4774d3
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.00409d50
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 0x477508
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 0x477530
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004042d0
add eax, 0x10
mov dword [esi], eax
call fcn.004771e0
mov edx, str.MasterPDFData_LY
lea ecx, [ebp - 0x18]
call fcn.004a5230
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 0x477560
xor ecx, ecx
jmp 0x477574
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x477565
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.004090e0
push str.webviewcefnCefClientNew.exe
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x80]
call fcn.00477100
add esp, 4
mov edx, eax
mov byte [ebp - 4], 9
cmp dword [edx + 0x14], 8
jb 0x4775a3
mov edx, dword [edx]
test edx, edx
jne 0x4775ab
xor ecx, ecx
jmp 0x4775bf
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4775b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.00403f20
mov eax, dword [ebp - 0x6c]
cmp eax, 8
jb 0x4775de
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.00409d50
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 0x477607
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.00409d50
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 0x477639
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 0x477661
push ecx
mov ecx, dword [ebp - 0x14]
mov esi, esp
mov dword [ebp - 0x20], esi
lea ecx, [ecx - 0x10]
call fcn.004042d0
add eax, 0x10
mov dword [esi], eax
call fcn.004771e0
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 0x477680
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.005a8a55
mov esp, ebp
pop ebp
ret