Function at 0x490ef0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e03c1
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x520404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x528084]
test eax, eax
jne 0x490f57
push 0x4e9488
push 0x2c
call fcn.004a7f94
add esp, 8
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x490f49
mov ecx, eax
call fcn.00484580
jmp 0x490f4b
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x528084], eax
push str.deleteInstallerFiles
push str.App___SetupHelper
push eax
call fcn.00484be0
mov eax, dword [0x528084]
add esp, 0xc
mov bl, 1
test eax, eax
jne 0x490fa9
push 0x4e9488
push 0x2c
call fcn.004a7f94
add esp, 8
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x490f9b
mov ecx, eax
call fcn.00484580
jmp 0x490f9d
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x528084], eax
push str.deleteInstallerFiles_delete_save_path
push str.App___SetupHelper
push eax
call fcn.00484be0
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.00479c20
add esp, 0x14
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 2
jb 0x490fda
mov eax, dword [ebp - 0x70]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x49102a
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
jb 0x490ff3
mov eax, dword [ebp - 0x70]
push eax
call fcn.004926f0
mov bl, al
lea ecx, [ebp - 0x70]
add esp, 4
and bl, 1
cmp dword [ebp - 0x5c], 8
jb 0x49100d
mov ecx, dword [ebp - 0x70]
movzx eax, bl
push eax
push ecx
push str.deleteInstallerFiles_delete_save_path__path___s__ret___d
push str.App___SetupHelper
call fcn.00484b60
push eax
call fcn.00484be0
add esp, 0x14
mov eax, dword [0x528084]
test eax, eax
jne 0x491061
push 0x4e9488
push 0x2c
call fcn.004a7f94
add esp, 8
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x491056
mov ecx, eax
call fcn.00484580
jmp 0x491058
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x528084], eax
push str.deleteInstallerFiles_delete_cache_path
push str.App___SetupHelper
push eax
call fcn.00484be0
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.00478ef0
add esp, 0x14
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
jb 0x49108f
mov eax, dword [ebp - 0x58]
push eax
call esi
test eax, eax
je 0x4910d6
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
jb 0x4910a2
mov eax, dword [ebp - 0x58]
push eax
call fcn.004926f0
add esp, 4
lea ecx, [ebp - 0x58]
and bl, al
cmp dword [ebp - 0x44], 8
jb 0x4910b9
mov ecx, dword [ebp - 0x58]
movzx eax, bl
push eax
push ecx
push str.deleteInstallerFiles_delete_cache_path__path___s__ret___d
push str.App___SetupHelper
call fcn.00484b60
push eax
call fcn.00484be0
add esp, 0x14
mov eax, dword [0x528084]
test eax, eax
jne 0x49110d
push 0x4e9488
push 0x2c
call fcn.004a7f94
add esp, 8
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x491102
mov ecx, eax
call fcn.00484580
jmp 0x491104
xor eax, eax
mov byte [ebp - 4], 4
mov dword [0x528084], eax
push str.deleteInstallerFiles_delete_data_path
push str.App___SetupHelper
push eax
call fcn.00484be0
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00479140
add esp, 0x14
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
jb 0x49113b
mov eax, dword [ebp - 0x40]
push eax
call esi
test eax, eax
je 0x491182
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
jb 0x49114e
mov eax, dword [ebp - 0x40]
push eax
call fcn.004926f0
add esp, 4
lea ecx, [ebp - 0x40]
and bl, al
cmp dword [ebp - 0x2c], 8
jb 0x491165
mov ecx, dword [ebp - 0x40]
movzx eax, bl
push eax
push ecx
push str.deleteInstallerFiles_delete_data_path__path___s__ret___d
push str.App___SetupHelper
call fcn.00484b60
push eax
call fcn.00484be0
add esp, 0x14
mov eax, dword [0x528084]
test eax, eax
jne 0x4911b9
push 0x4e9488
push 0x2c
call fcn.004a7f94
add esp, 8
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x4911ae
mov ecx, eax
call fcn.00484580
jmp 0x4911b0
xor eax, eax
mov byte [ebp - 4], 6
mov dword [0x528084], eax
push str.deleteInstallerFiles_delete_wallpaper_path
push str.App___SetupHelper
push eax
call fcn.00484be0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.0047a420
add esp, 0x14
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
jb 0x4911e7
mov eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x49122e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x4911fa
mov eax, dword [ebp - 0x28]
push eax
call fcn.004926f0
add esp, 4
lea ecx, [ebp - 0x28]
and bl, al
cmp dword [ebp - 0x14], 8
jb 0x491211
mov ecx, dword [ebp - 0x28]
movzx eax, bl
push eax
push ecx
push str.deleteInstallerFiles_delete_wallpaper_path__path___s__ret___d
push str.App___SetupHelper
call fcn.00484b60
push eax
call fcn.00484be0
add esp, 0x14
mov eax, dword [0x528084]
test eax, eax
jne 0x491265
push 0x4e9488
push 0x2c
call fcn.004a7f94
add esp, 8
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x49125a
mov ecx, eax
call fcn.00484580
jmp 0x49125c
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x528084], eax
push str.deleteInstallerFiles_delete_installer_path
push str.App___SetupHelper
push eax
call fcn.00484be0
add esp, 0xc
push 0x5282f8
call esi
test eax, eax
je 0x4912b3
push 0x5282f8
call fcn.004926f0
add esp, 4
and bl, al
movzx eax, bl
push eax
push 0x5282f8
push str.deleteInstallerFiles_delete_installer_path__path___s__ret___d
push str.App___SetupHelper
call fcn.00484b60
push eax
call fcn.00484be0
add esp, 0x14
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4912ed
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4912e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4913ec
push edx
push ecx
call fcn.004a7d37
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x49133b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x491331
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4913ec
push edx
push ecx
call fcn.004a7d37
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x491385
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49137b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4913ec
push edx
push ecx
call fcn.004a7d37
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x4913cf
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4913c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4913ec
push edx
push ecx
call fcn.004a7d37
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7f4e
mov esp, ebp
pop ebp
ret
call fcn.004af45f
int3