Function at 0x4f7eb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b394
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x5edd38]
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 dword [ebp - 0x17c], edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x164]
push 0xb8
push 0
push eax
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x16c], 0
call fcn.0053f340
add esp, 0xc
mov dword [ebp - 0x164], 0x5b6708
push 0
lea eax, [ebp - 0x154]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x16c], 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.004d9b30
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 - 0x170], eax
call fcn.004f1f50
lea eax, [ebp - 0x150]
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 dword [ebp - 0x148], eax
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x140]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x130]
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x124], eax
mov eax, dword [0x5f413c]
mov dword [ebp - 0x114], eax
mov eax, dword [0x5f4140]
mov byte [ebp - 0x10c], 0
mov byte [ebp - 0x117], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x11c], 0
xor bl, bl
mov dword [ebp - 4], 4
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x16c], ebx
je 0x4f8712
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi + 0x8c]
call fcn.0041fac0
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0xd], 0
jne 0x4f80ad
add eax, 0x10
lea ecx, [edi + 0x8c]
push eax
push esi
call fcn.00451900
mov ecx, dword [ebp - 0x38]
test al, al
je 0x4f80b3
mov ecx, dword [edi + 0x8c]
mov eax, dword [edi + 0x8c]
mov dword [ebp - 0x170], eax
cmp ecx, eax
je 0x4f80cb
mov bl, byte [ecx + 0x28]
jmp 0x4f8712
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4f80d5
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4f8608
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4f80ee
mov eax, dword [esi]
cmp dword [ebp - 0x108], 0
jne 0x4f81c4
push 0x40
push 1
push eax
call fcn.0053bc94
add esp, 0xc
test eax, eax
je 0x4f81c4
push 1
push eax
lea ecx, [ebp - 0x154]
call fcn.004f9e40
mov eax, dword [ebp - 0x120]
mov edi, dword [eax + 4]
mov dword [ebp - 0x170], edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5817c0]
mov ecx, edi
call esi
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 5
push eax
call fcn.004f1dd0
add esp, 4
lea ecx, [ebp - 0x154]
push eax
call fcn.004f9f50
mov edi, dword [ebp - 0x170]
mov byte [ebp - 4], 4
test edi, edi
je 0x4f8194
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5817c0]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x4f8194
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x5817c0]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x164]
xor edx, edx
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 0x4f873d
jmp 0x4f822d
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 0x4f822d
test cl, 4
je 0x4f8208
mov esi, str.ios_base::badbit_set
jmp 0x4f8218
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x3c]
push 1
push eax
call fcn.0047c830
add esp, 8
push eax
push esi
jmp 0x4f8751
cmp dword [ebp - 0x108], 0
je 0x4f8608
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x158], 0
jne 0x4f8608
mov eax, dword [ebp + eax - 0x12c]
lea ecx, [ebp - 0x64]
mov word [ebp - 0x170], 1
test eax, eax
push dword [ebp - 0x170]
sete byte [ebp - 0x38]
mov byte [ebp - 0x37], 0
push dword [ebp - 0x170]
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x50], 0xf
push eax
mov byte [ebp - 0x64], 0
call fcn.004f1300
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x4f85fc
cmp dword [ebp - 0x50], 0x10
lea eax, [ebp - 0x64]
push 0xfde9
cmovae eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x38], ecx
push eax
call fcn.00498940
add esp, 0xc
cmp dword [ebp - 0x6c], 0
jne 0x4f82df
lea ecx, [ebp - 0x7c]
call fcn.0040a280
jmp 0x4f85fc
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 1
xor eax, eax
mov byte [ebp - 4], 8
push 0x5b6710
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.00408f30
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0042d500
add esp, 0xc
test eax, eax
sete byte [ebp - 0x165]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x4f8364
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.0040a2e0
xor eax, eax
mov byte [ebp - 4], 8
mov word [ebp - 0x34], ax
cmp byte [ebp - 0x165], al
je 0x4f83d6
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4f83c9
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.00408e70
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 0xc
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x1c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a140
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x7c]
call fcn.0040a280
jmp 0x4f85fc
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0xac]
push 0x17
xor eax, eax
mov dword [ebp - 0x98], 7
push 0x5b6714
mov word [ebp - 0xac], ax
call fcn.00408f30
push 0x11
xor eax, eax
mov byte [ebp - 4], 0xc
push str.OEMPDFPassthrough
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
call fcn.00408f30
push 0x18
xor eax, eax
mov byte [ebp - 4], 0xd
push str.ADBEPDFSupportedStandard
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.00408f30
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
nop
cmp esi, edi
je 0x4f8516
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0xac]
push eax
push esi
call fcn.004f8b60
add esp, 0xc
test al, al
lea eax, [ebp - 0x34]
jne 0x4f84b3
push eax
lea eax, [ebp - 0x94]
push eax
push esi
call fcn.004f8b60
add esp, 0xc
test al, al
lea eax, [ebp - 0x34]
je 0x4f84d1
cmp dword [ebp - 0x20], 8
push str.true
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.0040c291
add esp, 8
test eax, eax
jne 0x4f84ec
mov bl, 1
jmp 0x4f84ec
push eax
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.004f8b60
add esp, 0xc
movzx ebx, bl
test al, al
mov eax, 1
cmovne ebx, eax
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x10
cmp eax, 8
jb 0x4f8505
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.0040a2e0
xor eax, eax
add esi, 0x18
mov word [ebp - 0x34], ax
test bl, bl
je 0x4f8460
mov dword [ebp - 0x16c], ebx
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0x11
cmp eax, 8
jb 0x4f8535
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.0040a2e0
xor eax, eax
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x80]
mov byte [ebp - 4], 0x12
cmp eax, 8
jb 0x4f855a
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.0040a2e0
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 0x13
cmp eax, 8
jb 0x4f857c
inc eax
lea ecx, [ebp - 0xac]
push eax
push dword [ebp - 0xac]
call fcn.0040a2e0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x4f85cf
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.00408e70
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x1c]
add esp, 0xc
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x1c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a140
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x15
cmp eax, 8
jb 0x4f85e8
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.0040ba20
lea ecx, [ebp - 0x154]
call fcn.004fa200
test eax, eax
jne 0x4f8662
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 0x4f8662
test cl, 4
je 0x4f8208
mov esi, str.ios_base::badbit_set
jmp 0x4f8218
mov edi, dword [ebp - 0x17c]
lea eax, [ebp - 0x1c]
mov esi, dword [ebp - 0x178]
add edi, 0x8c
push esi
push eax
mov ecx, edi
call fcn.0041fac0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0xd], 0
jne 0x4f869e
add eax, 0x10
mov ecx, edi
push eax
push esi
call fcn.00451900
test al, al
jne 0x4f869e
mov eax, dword [ebp - 0x14]
jmp 0x4f870f
cmp dword [edi + 4], 0x5d1745d
je 0x4f8767
mov ebx, dword [edi]
mov dword [ebp - 0x3c], edi
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x38], 0
push 0x2c
lfence
call fcn.00406a5e
mov edi, eax
add esp, 4
mov dword [ebp - 0x38], edi
push dword [ebp - 0x178]
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 0x17
call fcn.0040a1e0
mov ecx, dword [ebp - 0x17c]
push edi
push dword [ebp - 0x18]
mov byte [edi + 0x28], 0
push dword [ebp - 0x1c]
mov dword [edi], ebx
lea ecx, [ecx + 0x8c]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov word [edi + 0xc], 0
call fcn.0040f7c0
mov ebx, dword [ebp - 0x16c]
mov byte [eax + 0x28], bl
lea ecx, [ebp - 0x164]
call fcn.004f29a0
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.00401682
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x3c]
push 1
push eax
call fcn.0047c830
add esp, 8
push eax
push str.ios_base::badbit_set
lea ecx, [ebp - 0x30]
call fcn.0047acc0
push 0x5d83a0
lea eax, [ebp - 0x30]
push eax
call fcn.0053e427
call fcn.00478c50
int3