Function at 0x487dc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dbe07
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x51a3c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x521ca4]
test eax, eax
jne 0x487e26
push 0x4e5650
push 0x2c
call fcn.004a44fb
add esp, 8
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x487e18
mov ecx, eax
call fcn.00475270
jmp 0x487e1a
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x521ca4], eax
push str.InstallerThread_start
push str.App___SetupHelper
push eax
call fcn.00476430
add esp, 0xc
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.00489e70
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
test al, al
je 0x487f32
call fcn.00489b60
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x5223c8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x487ed1
push 0x5223c8
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x487ed1
push 0x5223c8
push str.extractInstallerFiles_create_dir__s__error
push str.App___SetupHelper
call fcn.0047c530
push eax
call fcn.00476430
mov eax, dword [0x5223c4]
add esp, 0x10
test eax, eax
je 0x487eb7
push 4
push 0
push 0x7e9
push eax
call esi
push str.extractInstallerFiles_create_dir_error
push str.App___SetupHelper
call fcn.0047c530
push eax
call fcn.00476430
add esp, 0xc
jmp 0x487f1a
cmp dword [0x5223c0], 0
jl 0x487ee3
cmp byte [0x5225d1], 0
jne 0x487f09
mov eax, dword [0x5223c4]
mov dword [0x5223c0], 0
test eax, eax
je 0x487f09
push 0
push 0
push 0x7e8
push eax
mov byte [0x5225d1], 1
call esi
push 0x5223c8
call fcn.00488680
add esp, 4
test al, al
jne 0x487f87
push str.InstallerThread_extractInstallerFiles_false
push str.App___SetupHelper
call fcn.0047c530
push eax
call fcn.00476430
add esp, 0xc
mov eax, dword [0x5225d4]
test eax, eax
je 0x487f4e
push eax
call fcn.0048f060
add esp, 4
mov dword [0x5225d4], 0
mov eax, dword [0x5223c4]
test eax, eax
je 0x487f63
push 2
push 0
push 0x7e9
push eax
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44be
mov esp, ebp
pop ebp
ret 4
call fcn.004880e0
push 0x80000001
call fcn.0048b130
add esp, 4
test al, al
jne 0x487fb2
mov eax, dword [0x5223c4]
test eax, eax
je 0x487fb2
push 6
push 0
push 0x7e9
push eax
call esi
push 0x80000001
call fcn.0048a620
add esp, 4
test al, al
jne 0x487fd8
mov eax, dword [0x5223c4]
test eax, eax
je 0x487fd8
push 7
push 0
push 0x7e9
push eax
call esi
push 1
push 0x80000000
call fcn.0048a8b0
add esp, 8
test al, al
mov eax, dword [0x5223c4]
jne 0x488005
test eax, eax
je 0x488005
push 8
push 0
push 0x7e9
push eax
call esi
mov eax, dword [0x5223c4]
cmp dword [0x5223c0], 0
jl 0x488017
cmp byte [0x5225d1], 0
jne 0x488038
mov dword [0x5223c0], 0
test eax, eax
je 0x488038
push 0
push 0
push 0x7e8
push eax
mov byte [0x5225d1], 1
call esi
lea eax, [ebp - 0x28]
mov ecx, 0x522640
push eax
call fcn.0048ec60
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
je 0x48809b
lea eax, [ebp - 0x40]
push eax
call fcn.00476f20
add esp, 4
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
jne 0x48807e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x488075
mov eax, dword [ebp - 0x28]
push eax
call fcn.00477650
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x48808a
mov eax, dword [ebp - 0x28]
push eax
call fcn.004774b0
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.004074f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004074f0
call fcn.00489f20
mov eax, dword [0x5225d4]
test eax, eax
je 0x4880cb
push eax
call fcn.0048f060
add esp, 4
mov dword [0x5225d4], 0
mov eax, dword [0x5223c4]
test eax, eax
je 0x487f63
push 1
jmp 0x487f59