Function at 0x4ea7e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563194
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x5c7cec]
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 edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x164]
push 0xb8
push 0
push eax
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x174], 0
call fcn.005290f0
add esp, 0xc
mov dword [ebp - 0x164], 0x596090
push 0
lea eax, [ebp - 0x154]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x174], 1
push eax
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf4], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0xf8], 0x58
movlpd qword [ebp - 0x15c], xmm0
call fcn.004cb8a0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 4], 2
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
lea eax, [ebp - 0x154]
mov ecx, eax
mov dword [ebp - 0x168], eax
call fcn.004e51a0
push 0
push 0
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 3
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
call fcn.004ecad0
xor bl, bl
mov dword [ebp - 4], 4
cmp dword [esi + 0x10], 0
je 0x4eaf68
add edi, 0x8c
mov dword [ebp - 0x170], 0
push esi
lea eax, [ebp - 0x170]
mov dword [ebp - 0x184], edi
push eax
mov ecx, edi
call fcn.004ed140
mov ecx, dword [edi]
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x174], ecx
cmp eax, ecx
je 0x4ea9d8
cmp dword [eax + 0x24], 8
lea ecx, [eax + 0x10]
jb 0x4ea93f
mov ecx, dword [eax + 0x10]
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x4ea949
mov edi, dword [esi]
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x170], edx
mov edx, dword [esi + 0x10]
mov esi, edx
cmp dword [ebp - 0x170], esi
mov esi, dword [ebp - 0x178]
mov dword [ebp - 0x17c], edx
cmovb edx, dword [ebp - 0x170]
test edx, edx
je 0x4ea9a6
sub edi, ecx
mov dword [ebp - 0x17c], edi
nop dword [eax]
movzx esi, word [ecx]
movzx edi, word [edi + ecx]
mov dword [ebp - 0x188], esi
cmp di, si
mov esi, dword [ebp - 0x178]
jne 0x4ea9b8
mov edi, dword [ebp - 0x17c]
add ecx, 2
sub edx, 1
jne 0x4ea980
mov ecx, dword [ebp - 0x170]
mov edx, dword [esi + 0x10]
cmp ecx, edx
jbe 0x4ea9c7
or ecx, 0xffffffff
jmp 0x4ea9cb
cmp di, word [ebp - 0x188]
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x4ea9cb
sbb ecx, ecx
neg ecx
shr ecx, 0x1f
test cl, cl
mov ecx, dword [ebp - 0x174]
je 0x4ea9da
mov eax, ecx
cmp eax, ecx
je 0x4ea9e6
mov bl, byte [eax + 0x28]
jmp 0x4eaf68
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4ea9f0
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4eadbd
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4eaa09
mov eax, dword [esi]
cmp dword [ebp - 0x108], 0
jne 0x4eab0f
push 0x40
push 1
push eax
call fcn.00525d8e
add esp, 0xc
test eax, eax
je 0x4eab0f
push 1
push eax
lea ecx, [ebp - 0x154]
call fcn.004ecad0
mov eax, dword [ebp - 0x120]
mov byte [ebp - 4], 5
mov edi, dword [eax + 4]
mov dword [ebp - 0x168], edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5677a4]
mov ecx, edi
call esi
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 6
push eax
call fcn.004e5020
mov edi, eax
add esp, 4
mov ecx, dword [edi]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x5677a4]
mov ecx, edi
call esi
test al, al
je 0x4eaa93
mov dword [ebp - 0x11c], 0
jmp 0x4eaaa4
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x11c], edi
call fcn.004ecbd0
mov edi, dword [ebp - 0x168]
mov byte [ebp - 4], 7
test edi, edi
je 0x4eaadb
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5677a4]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x4eaadb
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x5677a4]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x164]
xor edx, edx
mov byte [ebp - 4], 4
mov ecx, dword [eax + 4]
mov eax, 4
cmp dword [ebp + ecx - 0x12c], edx
cmovne eax, edx
mov dword [ebp + ecx - 0x158], eax
test dword [ebp + ecx - 0x154], eax
jne 0x4eafa4
jmp 0x4eab84
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 4]
xor eax, eax
cmp dword [ebp + ecx - 0x12c], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ebp + ecx - 0x158]
and eax, 0x17
mov dword [ebp + ecx - 0x158], eax
mov ecx, dword [ebp + ecx - 0x154]
and ecx, eax
je 0x4eab84
test cl, 4
jne 0x4eafd1
lea eax, [ebp - 0x16c]
push 1
push eax
test cl, 2
je 0x4eab71
call fcn.004766c0
add esp, 8
push eax
push str.ios_base::failbit_set
jmp 0x4eafbb
call fcn.004766c0
add esp, 8
push eax
push str.ios_base::eofbit_set
jmp 0x4eafbb
cmp dword [ebp - 0x108], 0
je 0x4eadbd
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x158], 0
jne 0x4eadbd
mov eax, dword [ebp + eax - 0x12c]
lea ecx, [ebp - 0x4c]
mov word [ebp - 0x168], 1
test eax, eax
push dword [ebp - 0x168]
sete byte [ebp - 0x188]
mov dword [ebp - 0x3c], 0
push dword [ebp - 0x168]
mov dword [ebp - 0x38], 0xf
push 0
push dword [ebp - 0x188]
mov byte [ebp - 0x4c], 0
push eax
call fcn.004e3280
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x4eadb1
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x4c]
push 0xfde9
cmovae eax, dword [ebp - 0x4c]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x168], ecx
push eax
call fcn.0048fda0
add esp, 0xc
cmp dword [ebp - 0x54], 0
je 0x4eada9
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push 0x596098
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.0040d7b0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00427fc0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00408e50
test esi, esi
jne 0x4eaca0
mov byte [ebp - 4], 0xc
jmp 0x4eada1
push 0x59609c
lea ecx, [ebp - 0xac]
call fcn.0040d7b0
push str.OEMPDFPassthrough
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xd
call fcn.0040d7b0
push str.ADBEPDFSupportedStandard
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xe
call fcn.0040d7b0
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
nop dword [eax + eax]
cmp esi, edi
je 0x4ead7f
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xac]
push eax
push esi
call fcn.004eb810
add esp, 0xc
test al, al
lea eax, [ebp - 0x28]
jne 0x4ead33
push eax
lea eax, [ebp - 0x94]
push eax
push esi
call fcn.004eb810
add esp, 0xc
test al, al
lea eax, [ebp - 0x28]
je 0x4ead51
cmp dword [ebp - 0x14], 8
push str.true
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040b363
add esp, 8
test eax, eax
jne 0x4ead6c
mov bl, 1
jmp 0x4ead6c
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.004eb810
add esp, 0xc
movzx ebx, bl
test al, al
mov eax, 1
cmovne ebx, eax
lea ecx, [ebp - 0x28]
call fcn.00408e50
add esi, 0x18
test bl, bl
je 0x4eace0
lea ecx, [ebp - 0x7c]
call fcn.00408e50
lea ecx, [ebp - 0x94]
call fcn.00408e50
lea ecx, [ebp - 0xac]
call fcn.00408e50
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x34]
call fcn.00409980
lea ecx, [ebp - 0x64]
call fcn.00408e50
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.0040ad30
cmp dword [ebp - 0x108], 0
lea esi, [ebp - 0x154]
jne 0x4eadd0
xor esi, esi
jmp 0x4eadf7
lea ecx, [ebp - 0x154]
call fcn.004ec950
push dword [ebp - 0x108]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.0043b026
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0x154]
call fcn.004ecad0
test esi, esi
jne 0x4eae50
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax + 4]
xor eax, eax
cmp dword [ebp + ecx - 0x12c], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ebp + ecx - 0x158]
and eax, 0x17
mov dword [ebp + ecx - 0x158], eax
mov ecx, dword [ebp + ecx - 0x154]
and ecx, eax
je 0x4eae50
test cl, 4
je 0x4eab50
jmp 0x4eafa4
mov edi, dword [ebp - 0x178]
lea eax, [ebp - 0x174]
mov ecx, dword [ebp - 0x184]
push edi
push eax
mov dword [ebp - 0x174], 0
call fcn.004ed140
mov eax, dword [ebp - 0x184]
mov esi, dword [ebp - 0x174]
cmp esi, dword [eax]
je 0x4eaf23
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
jb 0x4eae93
mov edx, dword [esi + 0x10]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x4eae9d
mov ecx, dword [edi]
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x170], eax
mov eax, dword [edi + 0x10]
mov edi, eax
cmp dword [ebp - 0x170], edi
mov edi, dword [ebp - 0x178]
mov dword [ebp - 0x188], eax
cmovb eax, dword [ebp - 0x170]
mov dword [ebp - 0x174], eax
test eax, eax
je 0x4eaf18
sub ecx, edx
mov dword [ebp - 0x188], ecx
nop word [eax + eax]
movzx ecx, word [edx + ecx]
mov eax, ecx
mov dword [ebp - 0x168], eax
movzx eax, word [edx]
mov edi, eax
mov dword [ebp - 0x17c], edi
mov edi, dword [ebp - 0x178]
cmp cx, ax
jne 0x4eaf93
mov ecx, dword [ebp - 0x188]
add edx, 2
sub dword [ebp - 0x174], 1
jne 0x4eaee0
mov eax, dword [edi + 0x10]
cmp eax, dword [ebp - 0x170]
jae 0x4eaf65
mov ecx, dword [ebp - 0x184]
lea eax, [ebp - 0x17d]
push eax
lea eax, [ebp - 0x168]
mov dword [ebp - 0x168], edi
push eax
push 0x5950d8
call fcn.004e31f0
mov ecx, dword [ebp - 0x184]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x168]
push eax
call fcn.004e3e90
mov esi, dword [ebp - 0x168]
mov byte [esi + 0x28], bl
lea ecx, [ebp - 0x164]
call fcn.004e5c30
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.0040154f
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x17c]
cmp word [ebp - 0x168], ax
jb 0x4eaf23
jmp 0x4eaf65
lea eax, [ebp - 0x16c]
push 1
push eax
call fcn.004766c0
add esp, 8
push eax
push str.ios_base::badbit_set
lea ecx, [ebp - 0x24]
call fcn.00474990
push 0x5b50f0
lea eax, [ebp - 0x24]
push eax
call fcn.005281d5
lea eax, [ebp - 0x16c]
push 1
push eax
call fcn.004766c0
add esp, 8
lea ecx, [ebp - 0x24]
push eax
push str.ios_base::badbit_set
call fcn.00474990
push 0x5b50f0
lea eax, [ebp - 0x24]
push eax
call fcn.005281d5
int3