Function at 0x414ef9
Capabilities:
Check if file exists

Disassembly:
push 0x5c
mov eax, 0x4df972
call fcn.004b6730
mov ebx, ecx
mov dword [ebp - 0x24], 0x2001f
mov byte [ebp - 0x1c], 0
call fcn.0045d184
xor edi, edi
test al, al
je 0x414f39
mov eax, dword [ebx + 0x2c]
cmp eax, edi
sete cl
neg eax
sbb eax, eax
and eax, 0x100
add eax, 0x2011f
mov byte [ebp - 0x1c], cl
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], edi
call fcn.0049219b
push eax
lea ecx, [ebp - 0x14]
call fcn.00402802
mov dword [ebp - 4], edi
mov eax, dword [ebx]
cmp eax, 0x2b
ja case.default.0x414f5f
movzx eax, byte [eax + 0x415669]
jmp dword [eax*4 + 0x415641]
lea eax, [ebx + 0x10]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], edi
jne 0x414f73
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.004025ee
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411e72
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414f5f
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.00407990
call fcn.0047fa3d
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
sub eax, esi
pop ecx
dec eax
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040c96a
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
push edi
push eax
push dword [ebp - 0x28]
push dword [ebx + 0x30]
call fcn.00484fd6
mov ecx, dword [ebp - 0x34]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00402845
cmp esi, edi
je case.default.0x414f5f
mov dword [ebp - 0x18], 1
jmp case.default.0x414f5f
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.004025ee
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411e72
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414f5f
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.00407990
call fcn.0047fa3d
pop ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], eax
lea eax, [esi + 1]
push ecx
call fcn.00407277
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
call fcn.0047fa0b
push dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
push eax
mov eax, 0x2001f
lea edi, [ebp - 0x54]
call fcn.0041236b
test eax, eax
je 0x4150f7
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x20]
call fcn.004022fa
xor edi, edi
push edi
push 0x5c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00411e72
mov esi, eax
cmp esi, 0xffffffff
je 0x4150d2
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.00407990
call fcn.0047fa3d
pop ecx
push edi
lea ecx, [ebp - 0x20]
lea eax, [esi + 1]
push ecx
call fcn.00407277
push 0x532008
lea ecx, [ebp - 0x20]
call fcn.00411c99
test eax, eax
je 0x4150d2
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.004025ee
jmp 0x4150e6
lea eax, [ebp - 0x14]
push eax
push dword [0x579ff4]
mov ecx, 0x579fec
call fcn.0049d2c3
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402845
jmp 0x4150f9
xor edi, edi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push edi
push eax
push dword [ebp - 0x28]
push dword [ebx + 0x30]
call fcn.00484fd6
test eax, eax
je 0x4151a9
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411ea4
cmp eax, 0xffffffff
je 0x4151a2
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00407990
push dword [eax]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x38]
lea edi, [ebp - 0x4c]
call fcn.0041236b
mov ecx, dword [ebp - 0x3c]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00402845
test bl, bl
je 0x41519a
lea ecx, [ebp - 0x68]
call fcn.0049ce85
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 5
push dword [ebp - 0x4c]
call fcn.0040ce15
pop ecx
pop ecx
test eax, eax
jne 0x415186
mov esi, edi
call fcn.00415c1d
lea ecx, [ebp - 0x4c]
call fcn.004123a7
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.0049d161
lea ecx, [ebp - 0x4c]
call fcn.004123a7
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x54]
call fcn.004123a7
jmp case.default.0x414f5f
lea eax, [ebx + 0x10]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], edi
jne 0x4151c3
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.004025ee
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411e72
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414f5f
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.00407990
call fcn.0047fa3d
pop ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], eax
lea eax, [esi + 1]
push ecx
call fcn.00407277
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push 1
push eax
push dword [ebp - 0x28]
push dword [ebx + 0x30]
call fcn.00484fd6
test eax, eax
je case.default.0x414f5f
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411ea4
cmp eax, 0xffffffff
je 0x414fea
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00407990
push dword [eax]
mov eax, dword [ebp - 0x28]
call fcn.0047fa0b
push eax
mov eax, dword [ebp - 0x24]
lea edi, [ebp - 0x4c]
call fcn.0041236b
mov ecx, dword [ebp - 0x40]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00402845
test bl, bl
je 0x4152b4
lea ecx, [ebp - 0x68]
call fcn.0049ce85
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 7
push dword [ebp - 0x4c]
call fcn.0040ce15
pop ecx
pop ecx
test eax, eax
jne 0x4152a0
mov esi, edi
call fcn.00415c1d
lea ecx, [ebp - 0x4c]
call fcn.004123a7
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.0049d161
lea ecx, [ebp - 0x4c]
call fcn.004123a7
jmp 0x414fea
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.004025ee
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411e72
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414f5f
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.00407990
call fcn.0047fa3d
pop ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], eax
lea eax, [esi + 1]
push ecx
call fcn.00407277
push dword [ebp - 0x1c]
xor esi, esi
inc esi
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x38]
push dword [ebx + 0x30]
call fcn.00484fd6
test eax, eax
je case.default.0x414f5f
mov dword [ebp - 0x18], esi
jmp case.default.0x414f5f
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.004025ee
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411e72
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414f5f
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.00407990
call fcn.0047fa3d
pop ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], eax
lea eax, [esi + 1]
push ecx
call fcn.00407277
push dword [ebp - 0x1c]
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x38]
push dword [ebx + 0x30]
call fcn.00485053
test eax, eax
jmp 0x414fe4
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.004025ee
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411e72
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414f5f
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.00407990
call fcn.0047fa3d
pop ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], eax
lea eax, [esi + 1]
push ecx
call fcn.00407277
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push edi
push eax
push dword [ebp - 0x38]
push dword [ebx + 0x30]
call fcn.00484fd6
jmp 0x41538d
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.004025ee
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411e72
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414f5f
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.00407990
call fcn.0047fa3d
pop ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], eax
lea eax, [esi + 1]
push ecx
call fcn.00407277
push dword [ebp - 0x1c]
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
push dword [ebx + 0x30]
call fcn.00485053
test eax, eax
je case.default.0x414f5f
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov byte [ebp - 4], 8
mov esi, 0x104
mov dword [ebp - 0x38], esi
call fcn.0049219b
push eax
lea ecx, [ebp - 0x20]
call fcn.00402802
mov byte [ebp - 4], 9
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
call fcn.0047fa0b
push eax
mov eax, dword [ebp - 0x24]
lea edi, [ebp - 0x4c]
call fcn.0041236b
test eax, eax
jne 0x415528
push esi
lea ecx, [ebp - 0x20]
call fcn.0040294d
mov ecx, edi
push str.MRUList
push ecx
lea esi, [ebp - 0x38]
mov edi, eax
call fcn.00412303
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.004123c7
lea ecx, [ebp - 0x4c]
call fcn.004123a7
mov eax, dword [ebp - 0x20]
xor edi, edi
inc edi
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x18], edi
je 0x415528
push dword [ebx + 8]
xor ecx, ecx
lea esi, [ebp - 0x20]
call fcn.00407898
cmp eax, 0xffffffff
je 0x415528
push eax
mov eax, esi
push eax
mov eax, edi
call fcn.00407277
push str.MRUList
lea ecx, [ebp - 0x2c]
call fcn.0040254f
push dword [ebp - 0x1c]
mov eax, esi
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0xa
push dword [ebp - 0x28]
push dword [ebx + 0x30]
call fcn.004850d2
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402845
lea ecx, [ebp - 0x4c]
jmp 0x4151ac
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.004025ee
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411e72
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414f5f
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.00407990
call fcn.0047fa3d
pop ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], eax
lea eax, [esi + 1]
push ecx
call fcn.00407277
push 0x52dc10
lea ecx, [ebp - 0x30]
call fcn.0040254f
push dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0xb
push dword [ebp - 0x38]
push dword [ebx + 0x30]
call fcn.004850d2
mov ecx, dword [ebp - 0x30]
jmp 0x414fd8
xor ecx, ecx
inc ecx
lea esi, [ebp - 0x44]
mov eax, ebx
call fcn.00414ecc
mov esi, eax
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4155e1
mov eax, dword [esi]
push dword [eax - 0xc]
push eax
call fcn.004071aa
movzx esi, al
jmp 0x4155e3
xor esi, esi
mov ecx, dword [ebp - 0x44]
jmp 0x414fda
xor ecx, ecx
inc ecx
lea esi, [ebp - 0x28]
mov eax, ebx
call fcn.00414ecc
mov byte [ebp - 4], 0xe
call fcn.00414d74
push ecx
mov eax, esi
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.004022fa
call fcn.00414dc8
cmp eax, edi
je 0x41561f
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402845
mov eax, dword [ebp - 0x18]
call fcn.004b6808
ret