Function at 0x4acf40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b86b
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x553948]
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 ebx, dword [ebp + 8]
mov esi, ecx
push 1
lea ecx, [ebp - 0x194]
mov dword [ebp - 0xc8], ebx
call fcn.004ab9b0
xor edi, edi
mov dword [ebp - 4], edi
mov byte [ebp - 0xb9], 0
cmp dword [ebx + 0x10], edi
jne 0x4ad0dc
mov ecx, dword [ebp - 0x194]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x12c]
mov dword [ebp - 0xc0], eax
mov dword [ebp + edx - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
lea eax, [ebp - 0x184]
mov dword [ebp - 4], 1
mov dword [ebp - 0xe0], eax
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
mov byte [ebp - 4], 2
cmp dword [ebp - 0x130], edi
je 0x4ad016
mov edx, dword [ebp - 0x174]
lea ecx, [ebp - 0x13c]
cmp dword [edx], ecx
jne 0x4ad016
mov eax, dword [ebp - 0x144]
mov esi, dword [ebp - 0x148]
mov dword [edx], esi
mov edx, dword [ebp - 0x164]
mov ecx, eax
mov dword [edx], ecx
sub eax, ecx
mov ecx, dword [ebp - 0x154]
mov dword [ecx], eax
cmp byte [ebp - 0x134], 0
je 0x4ad02a
lea ecx, [ebp - 0x184]
call fcn.004a6f90
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
mov eax, dword [ebp - 0x14c]
mov byte [ebp - 4], 3
mov ebx, eax
cmp eax, edi
je 0x4ad092
mov edi, dword [eax]
test edi, edi
je 0x4ad089
push 0
lea ecx, [ebp - 0xc8]
call fcn.004e2846
mov eax, dword [edi + 4]
test eax, eax
je 0x4ad067
cmp eax, 0xffffffff
jae 0x4ad067
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [ebp - 0xc8]
not esi
call fcn.004e286e
and esi, edi
je 0x4ad089
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebx
call fcn.00406fa9
add esp, 4
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 1
call fcn.004e2f78
mov ecx, dword [ebp - 0x194]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x12c]
mov dword [ebp + edx - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004e2e0e
add esp, 4
xor al, al
jmp 0x4ad5cd
lea ecx, [esi + 0xa4]
push ebx
mov dword [ebp - 0xcc], ecx
call fcn.004a5eb0
mov ecx, dword [ebp - 0xcc]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0xe0], eax
cmp eax, ecx
je 0x4ad129
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 8
jb 0x4ad10f
mov eax, dword [eax]
mov edx, dword [ebx + 0x10]
push ecx
push eax
push edx
push edi
mov ecx, ebx
call fcn.00407490
test eax, eax
js 0x4ad129
lea eax, [ebp - 0xe0]
jmp 0x4ad13e
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc0], ecx
lea eax, [ebp - 0xc0]
mov eax, dword [eax]
cmp eax, dword [esi + 0xa8]
je 0x4ad169
mov bl, byte [eax + 0x28]
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0xffffffff
call fcn.004abae0
lea edx, [ebp - 0x12c]
push edx
jmp 0x4ad5b9
mov ecx, ebx
call fcn.0041a1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ad554
mov ecx, ebx
call fcn.0041a1e0
push 0x40
push 1
push eax
lea ecx, [ebp - 0x184]
call fcn.004a6190
test eax, eax
jne 0x4ad1be
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x188]
lea ecx, [ebp + ecx - 0x194]
or eax, 2
cmp dword [ecx + 0x38], edi
jne 0x4ad1df
or eax, 4
jmp 0x4ad1df
mov ecx, dword [ebp - 0x194]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0x15c]
lea ecx, [ebp + ecx - 0x194]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push edi
push eax
call fcn.00449660
cmp dword [ebp - 0x130], edi
je 0x4ad554
mov eax, dword [ebp - 0x194]
mov edx, dword [eax + 4]
cmp dword [ebp + edx - 0x188], edi
jne 0x4ad554
mov eax, dword [ebp + edx - 0x15c]
xor ecx, ecx
cmp eax, edi
sete dl
mov byte [ebp - 0xe0], dl
mov byte [ebp - 0xc0], 1
mov edx, dword [ebp - 0xc0]
push edx
mov edx, dword [ebp - 0xc0]
push edx
push ecx
mov byte [ebp - 0x2c], cl
mov ecx, dword [ebp - 0xe0]
push ecx
mov esi, 0xf
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
call fcn.004a62c0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
cmp eax, edi
jne 0x4ad27c
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0
jb 0x4ad271
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406fa9
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
jmp 0x4ad550
cmp dword [ebp - 0x18], 0x10
jb 0x4ad28d
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xc4], ecx
jmp 0x4ad296
lea edx, [ebp - 0x2c]
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc0], eax
push 0xfde9
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0045f4e0
add esp, 0xc
cmp dword [ebp - 0x54], edi
jne 0x4ad2c3
lea ecx, [ebp - 0x64]
call fcn.0040a440
jmp 0x4ad25b
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xd4], edi
push 0x531fe8
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.00408ac0
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x64]
push edx
mov byte [ebp - 4], 7
call fcn.00418d40
add esp, 0xc
test eax, eax
lea ecx, [ebp - 0x48]
sete bl
mov byte [ebp - 4], 6
call fcn.0040a440
test bl, bl
je 0x4ad342
lea ecx, [ebp - 0xdc]
call fcn.004191f0
lea ecx, [ebp - 0x64]
call fcn.0040a440
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0043b5d0
mov ebx, dword [ebp - 0xc8]
xor edi, edi
jmp 0x4ad554
push str.ADBEPDFIntegratedDriver
lea ecx, [ebp - 0x9c]
call fcn.00408ac0
push str.OEMPDFPassthrough
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 8
call fcn.00408ac0
push str.ADBEPDFSupportedStandard
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 9
call fcn.00408ac0
mov eax, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xdc]
mov dword [ebp - 0xc0], eax
cmp esi, dword [ebp - 0xc0]
je 0x4ad445
mov ebx, 7
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x9c]
push eax
push esi
mov byte [ebp - 4], 0xb
call fcn.004a8ce0
add esp, 0xc
test al, al
je 0x4ad3e4
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x4ad3d0
lea eax, [ebp - 0x48]
push str.true
push eax
call fcn.00408866
add esp, 8
test eax, eax
jne 0x4ad418
jmp 0x4ad411
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xb8]
push edx
push esi
call fcn.004a8ce0
add esp, 0xc
test al, al
jne 0x4ad3c4
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x80]
push ecx
push esi
call fcn.004a8ce0
add esp, 0xc
test al, al
je 0x4ad418
mov byte [ebp - 0xb9], 1
cmp dword [ebp - 0x34], 8
jb 0x4ad42a
mov edx, dword [ebp - 0x48]
push edx
call fcn.00406fa9
add esp, 4
xor eax, eax
add esi, 0x1c
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], ax
cmp byte [ebp - 0xb9], al
je 0x4ad389
mov edi, 8
cmp dword [ebp - 0x6c], edi
jb 0x4ad45b
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00406fa9
add esp, 4
xor esi, esi
xor edx, edx
mov ebx, 7
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], esi
mov word [ebp - 0x80], dx
cmp dword [ebp - 0xa4], edi
jb 0x4ad485
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00406fa9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], esi
mov word [ebp - 0xb8], cx
cmp dword [ebp - 0x88], edi
jb 0x4ad4b1
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00406fa9
add esp, 4
xor eax, eax
mov word [ebp - 0x9c], ax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], esi
cmp eax, esi
je 0x4ad4fa
mov ecx, dword [ebp - 0xc0]
push ecx
mov ecx, dword [ebp - 0xd8]
lea edx, [ebp - 0xd0]
push edx
push ecx
push eax
call fcn.00406fc0
mov edx, dword [ebp - 0xdc]
push edx
call fcn.00406fa9
add esp, 0x14
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xd4], esi
cmp dword [ebp - 0x50], edi
jb 0x4ad51d
mov eax, dword [ebp - 0x64]
push eax
call fcn.00406fa9
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], cx
mov byte [ebp - 4], cl
jb 0x4ad53e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406fa9
add esp, 4
mov ebx, dword [ebp - 0xc8]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
xor edi, edi
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x184]
call fcn.004a6f90
test eax, eax
jne 0x4ad58c
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0x188]
lea ecx, [ebp + ecx - 0x194]
or eax, 2
cmp dword [ecx + 0x38], edi
jne 0x4ad585
or eax, 4
push edi
push eax
call fcn.00449660
mov ecx, dword [ebp - 0xcc]
push ebx
call fcn.004acbb0
mov bl, byte [ebp - 0xb9]
lea ecx, [ebp - 0x12c]
mov byte [eax], bl
mov dword [ebp - 4], 0xffffffff
call fcn.004abae0
lea ecx, [ebp - 0x12c]
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004e2e0e
mov al, bl
add esp, 4
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.00401316
mov esp, ebp
pop ebp
ret 4