Function at 0x4a9d00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5086bb
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x54e938]
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.004a8760
xor edi, edi
mov dword [ebp - 4], edi
mov byte [ebp - 0xb9], 0
cmp dword [ebx + 0x10], edi
jne 0x4a9e9c
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 0x4a9dd6
mov edx, dword [ebp - 0x174]
lea ecx, [ebp - 0x13c]
cmp dword [edx], ecx
jne 0x4a9dd6
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 0x4a9dea
lea ecx, [ebp - 0x184]
call fcn.004a3c40
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 0x4a9e52
mov edi, dword [eax]
test edi, edi
je 0x4a9e49
push 0
lea ecx, [ebp - 0xc8]
call fcn.004dfc16
mov eax, dword [edi + 4]
test eax, eax
je 0x4a9e27
cmp eax, 0xffffffff
jae 0x4a9e27
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.004dfc3e
and esi, edi
je 0x4a9e49
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebx
call fcn.00406ec9
add esp, 4
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 1
call fcn.004e0348
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.004e01de
add esp, 4
xor al, al
jmp 0x4aa38d
lea ecx, [esi + 0xa4]
push ebx
mov dword [ebp - 0xcc], ecx
call fcn.004a2940
mov ecx, dword [ebp - 0xcc]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0xe0], eax
cmp eax, ecx
je 0x4a9ee9
mov ecx, dword [eax + 0x1c]
add eax, 0xc
cmp dword [eax + 0x14], 8
jb 0x4a9ecf
mov eax, dword [eax]
mov edx, dword [ebx + 0x10]
push ecx
push eax
push edx
push edi
mov ecx, ebx
call fcn.004073b0
test eax, eax
js 0x4a9ee9
lea eax, [ebp - 0xe0]
jmp 0x4a9efe
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 0x4a9f29
mov bl, byte [eax + 0x28]
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0xffffffff
call fcn.004a8890
lea edx, [ebp - 0x12c]
push edx
jmp 0x4aa379
mov ecx, ebx
call fcn.0041a2d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4aa314
mov ecx, ebx
call fcn.0041a2d0
push 0x40
push 1
push eax
lea ecx, [ebp - 0x184]
call fcn.004a2d70
test eax, eax
jne 0x4a9f7e
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 0x4a9f9f
or eax, 4
jmp 0x4a9f9f
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.00445a20
cmp dword [ebp - 0x130], edi
je 0x4aa314
mov eax, dword [ebp - 0x194]
mov edx, dword [eax + 4]
cmp dword [ebp + edx - 0x188], edi
jne 0x4aa314
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.004a3010
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
cmp eax, edi
jne 0x4aa03c
cmp dword [ebp - 0x18], 0x10
mov byte [ebp - 4], 0
jb 0x4aa031
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406ec9
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
jmp 0x4aa310
cmp dword [ebp - 0x18], 0x10
jb 0x4aa04d
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xc4], ecx
jmp 0x4aa056
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.0045b7d0
add esp, 0xc
cmp dword [ebp - 0x54], edi
jne 0x4aa083
lea ecx, [ebp - 0x64]
call fcn.0040a2c0
jmp 0x4aa01b
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xd4], edi
push 0x52db50
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.00408940
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.00418bb0
add esp, 0xc
test eax, eax
lea ecx, [ebp - 0x48]
sete bl
mov byte [ebp - 4], 6
call fcn.0040a2c0
test bl, bl
je 0x4aa102
lea ecx, [ebp - 0xdc]
call fcn.00419060
lea ecx, [ebp - 0x64]
call fcn.0040a2c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00438e30
mov ebx, dword [ebp - 0xc8]
xor edi, edi
jmp 0x4aa314
push str.ADBEPDFIntegratedDriver
lea ecx, [ebp - 0x9c]
call fcn.00408940
push str.OEMPDFPassthrough
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 8
call fcn.00408940
push str.ADBEPDFSupportedStandard
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 9
call fcn.00408940
mov eax, dword [ebp - 0xd8]
mov esi, dword [ebp - 0xdc]
mov dword [ebp - 0xc0], eax
cmp esi, dword [ebp - 0xc0]
je 0x4aa205
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.004a5a10
add esp, 0xc
test al, al
je 0x4aa1a4
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x4aa190
lea eax, [ebp - 0x48]
push str.true
push eax
call fcn.004086e6
add esp, 8
test eax, eax
jne 0x4aa1d8
jmp 0x4aa1d1
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xb8]
push edx
push esi
call fcn.004a5a10
add esp, 0xc
test al, al
jne 0x4aa184
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x80]
push ecx
push esi
call fcn.004a5a10
add esp, 0xc
test al, al
je 0x4aa1d8
mov byte [ebp - 0xb9], 1
cmp dword [ebp - 0x34], 8
jb 0x4aa1ea
mov edx, dword [ebp - 0x48]
push edx
call fcn.00406ec9
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 0x4aa149
mov edi, 8
cmp dword [ebp - 0x6c], edi
jb 0x4aa21b
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00406ec9
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 0x4aa245
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00406ec9
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 0x4aa271
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00406ec9
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 0x4aa2ba
mov ecx, dword [ebp - 0xc0]
push ecx
mov ecx, dword [ebp - 0xd8]
lea edx, [ebp - 0xd0]
push edx
push ecx
push eax
call fcn.00406ee0
mov edx, dword [ebp - 0xdc]
push edx
call fcn.00406ec9
add esp, 0x14
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xd4], esi
cmp dword [ebp - 0x50], edi
jb 0x4aa2dd
mov eax, dword [ebp - 0x64]
push eax
call fcn.00406ec9
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 0x4aa2fe
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406ec9
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.004a3c40
test eax, eax
jne 0x4aa34c
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 0x4aa345
or eax, 4
push edi
push eax
call fcn.00445a20
mov ecx, dword [ebp - 0xcc]
push ebx
call fcn.004a9970
mov bl, byte [ebp - 0xb9]
lea ecx, [ebp - 0x12c]
mov byte [eax], bl
mov dword [ebp - 4], 0xffffffff
call fcn.004a8890
lea ecx, [ebp - 0x12c]
push ecx
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004e01de
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 int.00401316
mov esp, ebp
pop ebp
ret 4