Function at 0x4cc930
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528e31
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x579630]
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
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x164]
push 0xb8
push 0
push eax
mov dword [ebp - 0x16c], edi
call fcn.004f9050
add esp, 0xc
lea ecx, [ebp - 0x164]
push 1
call fcn.004c6eb0
xor bl, bl
mov dword [ebp - 4], 0
cmp dword [edi + 0x10], 0
je 0x4cce75
lea eax, [esi + 0x8c]
mov dword [ebp - 0x178], eax
mov eax, dword [eax]
mov dword [ebp - 0x170], eax
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x4cc9fc
lea esp, [esp]
cmp dword [edi + 0x14], 8
lea ecx, [esi + 0x10]
jb 0x4cc9cd
mov eax, dword [edi]
jmp 0x4cc9cf
mov eax, edi
push dword [edi + 0x10]
push eax
push dword [ecx + 0x10]
push 0
call fcn.004089f0
test eax, eax
jns 0x4cc9ec
mov esi, dword [esi + 8]
mov eax, dword [ebp - 0x170]
jmp 0x4cc9f6
mov eax, esi
mov esi, dword [esi]
mov dword [ebp - 0x170], eax
cmp byte [esi + 0xd], 0
je 0x4cc9c0
mov esi, dword [ebp - 0x178]
cmp eax, dword [esi]
je 0x4cca2c
mov ecx, dword [eax + 0x20]
add eax, 0x10
cmp dword [eax + 0x14], 8
jb 0x4cca14
mov eax, dword [eax]
push ecx
push eax
push dword [edi + 0x10]
mov ecx, edi
push 0
call fcn.004089f0
test eax, eax
mov eax, dword [ebp - 0x170]
jns 0x4cca2e
mov eax, dword [esi]
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x170]
mov eax, dword [eax]
cmp eax, dword [esi]
je 0x4cca48
mov bl, byte [eax + 0x28]
jmp 0x4cce75
mov ecx, edi
call fcn.00423ea0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ccdf1
push 0x40
push 1
mov ecx, edi
call fcn.00423ea0
push eax
lea ecx, [ebp - 0x164]
call fcn.004cef00
cmp dword [ebp - 0x104], 0
je 0x4ccdf1
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x158], 0
jne 0x4ccdf1
push dword [ebp - 0x16c]
mov eax, dword [ebp + eax - 0x12c]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x170], 1
test eax, eax
push dword [ebp - 0x170]
sete byte [ebp - 0x17c]
mov dword [ebp - 0x38], 0xf
push 0
push dword [ebp - 0x17c]
mov dword [ebp - 0x3c], 0
push eax
mov byte [ebp - 0x4c], 0
call fcn.004c5850
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 1
test ecx, ecx
jne 0x4ccb07
mov byte [ebp - 4], cl
cmp dword [ebp - 0x38], 0x10
jb 0x4ccdf1
push dword [ebp - 0x4c]
call fcn.004085be
add esp, 4
jmp 0x4ccdf1
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
push 0xfde9
cmovae eax, dword [ebp - 0x4c]
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x170], ecx
push eax
call fcn.00471600
add esp, 0xc
cmp dword [ebp - 0x54], 0
jne 0x4ccb66
cmp dword [ebp - 0x50], 8
jb 0x4ccb4d
push dword [ebp - 0x64]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
mov byte [ebp - 4], al
jmp 0x4ccaed
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x554728
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.004076f0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00421d60
add esp, 0xc
mov byte [ebp - 4], 3
test eax, eax
sete al
cmp dword [ebp - 0x20], 8
mov byte [ebp - 0x165], al
jb 0x4ccbd9
push dword [ebp - 0x34]
call fcn.004085be
mov al, byte [ebp - 0x165]
add esp, 4
test al, al
je 0x4ccbfe
lea ecx, [ebp - 0x1c]
call fcn.0041dfb0
lea ecx, [ebp - 0x64]
call fcn.004087d0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.00458280
jmp 0x4ccdf1
push 0x55472c
lea ecx, [ebp - 0x94]
call fcn.004076f0
push str.OEMPDFPassthrough
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 5
call fcn.004076f0
push str.ADBEPDFSupportedStandard
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 6
call fcn.004076f0
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
lea esp, [esp]
cmp esi, edi
je 0x4ccce8
xor eax, eax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x94]
push eax
push esi
call fcn.004cd6f0
add esp, 0xc
test al, al
lea eax, [ebp - 0x34]
jne 0x4ccc93
push eax
lea eax, [ebp - 0xac]
push eax
push esi
call fcn.004cd6f0
add esp, 0xc
test al, al
lea eax, [ebp - 0x34]
je 0x4cccb1
cmp dword [ebp - 0x20], 8
push str.true
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.00409df7
add esp, 8
test eax, eax
jne 0x4ccccc
mov bl, 1
jmp 0x4ccccc
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.004cd6f0
add esp, 0xc
movzx ebx, bl
test al, al
mov eax, 1
cmovne ebx, eax
cmp dword [ebp - 0x20], 8
jb 0x4cccdd
push dword [ebp - 0x34]
call fcn.004085be
add esp, 4
add esi, 0x18
test bl, bl
je 0x4ccc40
cmp dword [ebp - 0x68], 8
jb 0x4cccf9
push dword [ebp - 0x7c]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x68], 7
cmp dword [ebp - 0x98], 8
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
jb 0x4ccd24
push dword [ebp - 0xac]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x98], 7
cmp dword [ebp - 0x80], 8
mov dword [ebp - 0x9c], 0
mov word [ebp - 0xac], ax
jb 0x4ccd55
push dword [ebp - 0x94]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x84], 0
test eax, eax
je 0x4ccdac
push dword [ebp - 0x16c]
lea ecx, [ebp - 0x165]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.00408580
push dword [ebp - 0x1c]
call fcn.004085be
add esp, 0x14
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x50], 8
jb 0x4ccdbd
push dword [ebp - 0x64]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
cmp dword [ebp - 0x38], 0x10
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
mov byte [ebp - 4], al
jb 0x4ccde5
push dword [ebp - 0x4c]
call fcn.004085be
add esp, 4
mov esi, dword [ebp - 0x178]
mov edi, dword [ebp - 0x16c]
lea ecx, [ebp - 0x164]
call fcn.004ce830
push edi
mov ecx, esi
call fcn.0041d750
mov esi, eax
mov eax, dword [ebp - 0x178]
cmp esi, dword [eax]
je 0x4cce30
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x4cce1e
mov eax, dword [eax]
push ecx
push eax
push dword [edi + 0x10]
mov ecx, edi
push 0
call fcn.004089f0
test eax, eax
jns 0x4cce72
mov ecx, dword [ebp - 0x178]
lea eax, [ebp - 0x165]
push eax
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x16c], edi
push eax
push 0x57fddb
call fcn.004c57a0
mov ecx, dword [ebp - 0x178]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x16c]
push eax
call fcn.004c6410
mov esi, dword [ebp - 0x16c]
mov byte [esi + 0x28], bl
mov eax, dword [ebp - 0x164]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x168], eax
cmp dword [ebp - 0x104], 0
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x4ccee6
mov eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x110]
cmp dword [eax], ecx
jne 0x4ccee6
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x11c]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x138]
mov dword [eax], ecx
mov eax, dword [ebp - 0x128]
mov dword [eax], edx
cmp byte [ebp - 0x108], 0
je 0x4ccefa
lea ecx, [ebp - 0x154]
call fcn.004ce780
mov esi, dword [ebp - 0x120]
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
test esi, esi
je 0x4ccf2e
mov ecx, dword [esi]
test ecx, ecx
je 0x4ccf25
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4ccf25
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push esi
call fcn.004085be
add esp, 4
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
lea eax, [ebp - 0xf4]
mov ecx, dword [ebp - 0x164]
push eax
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x18]
mov dword [ebp + edx - 0x168], ecx
mov dword [ebp - 0xf4], vtable.std::ios_base.0
call fcn.0044fc19
add esp, 4
mov al, bl
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.00401590
mov esp, ebp
pop ebp
ret 4