Function at 0x414b07
Capabilities:
Check if file exists

Disassembly:
push 0x5c
mov eax, 0x4d6f20
call fcn.004ae920
mov ebx, ecx
mov dword [ebp - 0x24], 0x2001f
mov byte [ebp - 0x1c], 0
call fcn.00460c64
xor edi, edi
test al, al
je 0x414b47
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.0048b151
push eax
lea ecx, [ebp - 0x14]
call fcn.00402821
mov dword [ebp - 4], edi
mov eax, dword [ebx]
cmp eax, 0x2b
ja case.default.0x414b6d
movzx eax, byte [eax + 0x415277]
jmp dword [eax*4 + 0x41524f]
lea eax, [ebx + 0x10]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], edi
jne 0x414b81
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040260d
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411abf
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414b6d
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004078c2
call fcn.004788bd
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.0040c5c4
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
push edi
push eax
push dword [ebp - 0x28]
push dword [ebx + 0x30]
call fcn.0047df96
mov ecx, dword [ebp - 0x34]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00402883
cmp esi, edi
je case.default.0x414b6d
mov dword [ebp - 0x18], 1
jmp case.default.0x414b6d
lea eax, [ebx + 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040260d
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411abf
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414b6d
push ecx
mov eax, esp
mov dword [ebp - 0x38], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004078c2
call fcn.004788bd
pop ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], eax
lea eax, [esi + 1]
push ecx
call fcn.00407198
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
call fcn.0047888b
push dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
push eax
mov eax, 0x2001f
lea edi, [ebp - 0x54]
call fcn.00411f8b
test eax, eax
je 0x414d05
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402582
xor edi, edi
push edi
push 0x5c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00411abf
mov esi, eax
cmp esi, 0xffffffff
je 0x414ce0
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.004078c2
call fcn.004788bd
pop ecx
push edi
lea ecx, [ebp - 0x20]
lea eax, [esi + 1]
push ecx
call fcn.00407198
push 0x526b70
lea ecx, [ebp - 0x20]
call fcn.004118e6
test eax, eax
je 0x414ce0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040260d
jmp 0x414cf4
lea eax, [ebp - 0x14]
push eax
push dword [0x56954c]
mov ecx, 0x569544
call fcn.0049618c
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402883
jmp 0x414d07
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.0047df96
test eax, eax
je 0x414db7
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411af1
cmp eax, 0xffffffff
je 0x414db0
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.004078c2
push dword [eax]
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x38]
lea edi, [ebp - 0x4c]
call fcn.00411f8b
mov ecx, dword [ebp - 0x3c]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00402883
test bl, bl
je 0x414da8
lea ecx, [ebp - 0x68]
call fcn.00495dfe
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 5
push dword [ebp - 0x4c]
call fcn.0040ca62
pop ecx
pop ecx
test eax, eax
jne 0x414d94
mov esi, edi
call fcn.0041582b
lea ecx, [ebp - 0x4c]
call fcn.00411fc7
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.0049602a
lea ecx, [ebp - 0x4c]
call fcn.00411fc7
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x54]
call fcn.00411fc7
jmp case.default.0x414b6d
lea eax, [ebx + 0x10]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], edi
jne 0x414dd1
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040260d
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411abf
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414b6d
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004078c2
call fcn.004788bd
pop ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], eax
lea eax, [esi + 1]
push ecx
call fcn.00407198
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push 1
push eax
push dword [ebp - 0x28]
push dword [ebx + 0x30]
call fcn.0047df96
test eax, eax
je case.default.0x414b6d
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411af1
cmp eax, 0xffffffff
je 0x414bf8
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.004078c2
push dword [eax]
mov eax, dword [ebp - 0x28]
call fcn.0047888b
push eax
mov eax, dword [ebp - 0x24]
lea edi, [ebp - 0x4c]
call fcn.00411f8b
mov ecx, dword [ebp - 0x40]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.00402883
test bl, bl
je 0x414ec2
lea ecx, [ebp - 0x68]
call fcn.00495dfe
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 7
push dword [ebp - 0x4c]
call fcn.0040ca62
pop ecx
pop ecx
test eax, eax
jne 0x414eae
mov esi, edi
call fcn.0041582b
lea ecx, [ebp - 0x4c]
call fcn.00411fc7
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.0049602a
lea ecx, [ebp - 0x4c]
call fcn.00411fc7
jmp 0x414bf8
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040260d
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411abf
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414b6d
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004078c2
call fcn.004788bd
pop ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], eax
lea eax, [esi + 1]
push ecx
call fcn.00407198
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.0047df96
test eax, eax
je case.default.0x414b6d
mov dword [ebp - 0x18], esi
jmp case.default.0x414b6d
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040260d
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411abf
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414b6d
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004078c2
call fcn.004788bd
pop ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], eax
lea eax, [esi + 1]
push ecx
call fcn.00407198
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.0047e013
test eax, eax
jmp 0x414bf2
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040260d
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411abf
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414b6d
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004078c2
call fcn.004788bd
pop ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], eax
lea eax, [esi + 1]
push ecx
call fcn.00407198
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push edi
push eax
push dword [ebp - 0x38]
push dword [ebx + 0x30]
call fcn.0047df96
jmp 0x414f9b
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040260d
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411abf
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414b6d
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004078c2
call fcn.004788bd
pop ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], eax
lea eax, [esi + 1]
push ecx
call fcn.00407198
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.0047e013
test eax, eax
je case.default.0x414b6d
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.0048b151
push eax
lea ecx, [ebp - 0x20]
call fcn.00402821
mov byte [ebp - 4], 9
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
call fcn.0047888b
push eax
mov eax, dword [ebp - 0x24]
lea edi, [ebp - 0x4c]
call fcn.00411f8b
test eax, eax
jne 0x415136
push esi
lea ecx, [ebp - 0x20]
call fcn.0040298b
mov ecx, edi
push str.MRUList
push ecx
lea esi, [ebp - 0x38]
mov edi, eax
call fcn.00411f23
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.00411fe7
lea ecx, [ebp - 0x4c]
call fcn.00411fc7
mov eax, dword [ebp - 0x20]
xor edi, edi
inc edi
cmp dword [eax - 0xc], 0
mov dword [ebp - 0x18], edi
je 0x415136
push dword [ebx + 8]
xor ecx, ecx
lea esi, [ebp - 0x20]
call fcn.004077ca
cmp eax, 0xffffffff
je 0x415136
push eax
mov eax, esi
push eax
mov eax, edi
call fcn.00407198
push str.MRUList
lea ecx, [ebp - 0x2c]
call fcn.0040253e
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.0047e092
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402883
lea ecx, [ebp - 0x4c]
jmp 0x414dba
lea eax, [ebx + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040260d
push edi
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00411abf
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x414b6d
push ecx
mov eax, esp
mov dword [ebp - 0x48], esp
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004078c2
call fcn.004788bd
pop ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], eax
lea eax, [esi + 1]
push ecx
call fcn.00407198
push 0x5229b8
lea ecx, [ebp - 0x30]
call fcn.0040253e
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.0047e092
mov ecx, dword [ebp - 0x30]
jmp 0x414be6
xor ecx, ecx
inc ecx
lea esi, [ebp - 0x44]
mov eax, ebx
call fcn.00414ada
mov esi, eax
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4151ef
mov eax, dword [esi]
push dword [eax - 0xc]
push eax
call fcn.004070cb
movzx esi, al
jmp 0x4151f1
xor esi, esi
mov ecx, dword [ebp - 0x44]
jmp 0x414be8
xor ecx, ecx
inc ecx
lea esi, [ebp - 0x28]
mov eax, ebx
call fcn.00414ada
mov byte [ebp - 4], 0xe
call fcn.00414982
push ecx
mov eax, esi
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.00402582
call fcn.004149d6
cmp eax, edi
je 0x41522d
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, dword [ebp - 0x18]
call fcn.004ae9f8
ret