Function at 0x50d3d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa224
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x62cf50]
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 dword [ebp - 0x168], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x164]
push 0xb8
push 0
push eax
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x170], 0
call fcn.0056aed0
add esp, 0xc
mov dword [ebp - 0x164], 0x5c0e68
push 0
lea eax, [ebp - 0x154]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x170], 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.0049e4a0
mov eax, dword [ebp - 0x164]
push 8
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 dword [ebp - 0x174], eax
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
call fcn.00406b5e
mov edi, eax
add esp, 4
test edi, edi
je 0x50d4e9
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov byte [ebp - 4], 3
call fcn.004287bb
add esp, 4
mov dword [edi + 4], eax
jmp 0x50d4eb
xor edi, edi
mov dword [ebp - 0x120], edi
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 [0x634a5c]
mov dword [ebp - 0x114], eax
mov eax, dword [0x634a60]
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], 5
cmp dword [esi + 0x10], 0
mov dword [ebp - 0x170], ebx
je 0x50dc6e
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x40]
add eax, 0x8c
push esi
push ecx
mov ecx, eax
mov dword [ebp - 0x168], eax
call fcn.00436f00
mov edi, dword [ebp - 0x38]
cmp byte [edi + 0xd], 0
jne 0x50d612
mov ecx, dword [ebp - 0x168]
lea eax, [edi + 0x10]
push eax
push esi
call fcn.00458150
test al, al
jne 0x50d612
mov eax, dword [ebp - 0x168]
jmp 0x50d61a
mov eax, dword [ebp - 0x168]
mov edi, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x174], eax
cmp edi, eax
je 0x50d62e
mov bl, byte [edi + 0x28]
jmp 0x50dc6e
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x50d638
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x50db6b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x50d651
mov eax, dword [esi]
cmp dword [ebp - 0x108], 0
jne 0x50d727
push 0x40
push 1
push eax
call fcn.00550dd4
add esp, 0xc
test eax, eax
je 0x50d727
push 1
push eax
lea ecx, [ebp - 0x154]
call fcn.004a35f0
mov eax, dword [ebp - 0x120]
mov edi, dword [eax + 4]
mov dword [ebp - 0x174], edi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 6
push eax
call fcn.004a2bd0
add esp, 4
lea ecx, [ebp - 0x154]
push eax
call fcn.004a3700
mov edi, dword [ebp - 0x174]
mov byte [ebp - 4], 5
test edi, edi
je 0x50d6f7
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x50d6f7
mov ecx, dword [edi]
push 1
mov esi, dword [ecx]
mov ecx, esi
call dword [0x5b1854]
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 0x50dc99
jmp 0x50d790
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 0x50d790
test cl, 4
je 0x50d76b
mov esi, str.ios_base::badbit_set
jmp 0x50d77b
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.0048a0d0
add esp, 8
push eax
push esi
jmp 0x50dcad
cmp dword [ebp - 0x108], 0
je 0x50db6b
mov eax, dword [ebp - 0x164]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x158], 0
jne 0x50db6b
mov eax, dword [ebp + eax - 0x12c]
lea ecx, [ebp - 0x64]
mov word [ebp - 0x174], 1
test eax, eax
push dword [ebp - 0x174]
sete byte [ebp - 0x38]
mov byte [ebp - 0x37], 0
push dword [ebp - 0x174]
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.005068e0
cmp dword [ebp - 0x54], 0
mov byte [ebp - 4], 7
je 0x50db5f
push 0xfde9
sub esp, 8
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 0x10
mov ecx, esp
cmovae eax, dword [ebp - 0x64]
mov dword [ecx], eax
mov eax, dword [ebp - 0x54]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0049dab0
add esp, 0x10
cmp dword [ebp - 0x6c], 0
jne 0x50d844
lea ecx, [ebp - 0x7c]
call fcn.0040a580
jmp 0x50db5f
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], 9
push 0x5ed478
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.00409db0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004320f0
add esp, 0xc
test eax, eax
sete byte [ebp - 0x169]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x50d8c9
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.0040a5e0
xor eax, eax
mov byte [ebp - 4], 9
mov word [ebp - 0x34], ax
cmp byte [ebp - 0x169], al
je 0x50d93b
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x50d92e
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.00409390
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.0040a130
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x7c]
call fcn.0040a580
jmp 0x50db5f
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0xac]
push 0x17
xor eax, eax
mov dword [ebp - 0x98], 7
push 0x5ed47c
mov word [ebp - 0xac], ax
call fcn.00409db0
push 0x11
xor eax, eax
mov byte [ebp - 4], 0xd
push str.OEMPDFPassthrough
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
call fcn.00409db0
push 0x18
xor eax, eax
mov byte [ebp - 4], 0xe
push str.ADBEPDFSupportedStandard
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
call fcn.00409db0
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x50da79
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], 0x10
push eax
lea eax, [ebp - 0xac]
push eax
push esi
call fcn.0050e0c0
add esp, 0xc
test al, al
lea eax, [ebp - 0x34]
jne 0x50da16
push eax
lea eax, [ebp - 0x94]
push eax
push esi
call fcn.0050e0c0
add esp, 0xc
test al, al
lea eax, [ebp - 0x34]
je 0x50da34
cmp dword [ebp - 0x20], 8
push str.true
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.0040d741
add esp, 8
test eax, eax
jne 0x50da4f
mov bl, 1
jmp 0x50da4f
push eax
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.0050e0c0
add esp, 0xc
movzx ebx, bl
test al, al
mov eax, 1
cmovne ebx, eax
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x11
cmp eax, 8
jb 0x50da68
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.0040a5e0
xor eax, eax
add esi, 0x18
mov word [ebp - 0x34], ax
test bl, bl
je 0x50d9c3
mov dword [ebp - 0x170], ebx
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0x12
cmp eax, 8
jb 0x50da98
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.0040a5e0
xor eax, eax
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x80]
mov byte [ebp - 4], 0x13
cmp eax, 8
jb 0x50dabd
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.0040a5e0
mov eax, dword [ebp - 0x98]
mov byte [ebp - 4], 0x14
cmp eax, 8
jb 0x50dadf
inc eax
lea ecx, [ebp - 0xac]
push eax
push dword [ebp - 0xac]
call fcn.0040a5e0
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x15
test eax, eax
je 0x50db32
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.00409390
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.0040a130
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x16
cmp eax, 8
jb 0x50db4b
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a5e0
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], 5
call fcn.0040c7f0
lea ecx, [ebp - 0x154]
call fcn.004a37f0
test eax, eax
jne 0x50dbc5
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 0x50dbc5
test cl, 4
je 0x50d76b
mov esi, str.ios_base::badbit_set
jmp 0x50d77b
mov esi, dword [ebp - 0x17c]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x168]
push esi
push eax
call fcn.00436f00
mov edi, dword [ebp - 0x14]
cmp byte [edi + 0xd], 0
jne 0x50dbf8
mov ecx, dword [ebp - 0x168]
lea eax, [edi + 0x10]
push eax
push esi
call fcn.00458150
test al, al
je 0x50dc6b
mov eax, dword [ebp - 0x168]
cmp dword [eax + 4], 0x5d1745d
je 0x50dcc3
mov ebx, dword [eax]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x38], 0
push 0x2c
lfence
call fcn.00406b5e
mov edi, eax
add esp, 4
mov dword [ebp - 0x38], edi
push dword [ebp - 0x17c]
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 0x18
call fcn.0040b170
mov ecx, dword [ebp - 0x168]
push edi
push dword [ebp - 0x18]
mov byte [edi + 0x28], 0
push dword [ebp - 0x1c]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov word [edi + 0xc], 0
call fcn.00411290
mov ebx, dword [ebp - 0x170]
mov edi, eax
mov byte [edi + 0x28], bl
lea ecx, [ebp - 0x164]
call fcn.004a3400
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 int.004016cd
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x3c]
push 1
push eax
call fcn.0048a0d0
add esp, 8
push eax
push str.ios_base::badbit_set
lea ecx, [ebp - 0x30]
call fcn.004838c0
push 0x6140f0
lea eax, [ebp - 0x30]
push eax
call fcn.00569fb7
call fcn.0047ea70
int3