Function at 0x488b60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfea0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x50f52c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0xc]
mov edx, 0x466
cmp ax, dx
jne 0x488eb0
shr eax, 0x10
cmp eax, 1
jne 0x488eb0
mov eax, dword [0x510ac4]
mov edx, dword [eax + 0x2a0]
sub edx, dword [eax + 0x29c]
mov eax, 0x2e8ba2e9
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x488eb0
mov ecx, dword [ecx + 4]
push 0x466
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x147
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x510ac4]
push eax
add ecx, 0x290
call fcn.004881e0
mov ecx, dword [0x510ac4]
push eax
add ecx, 0x2a8
call fcn.0040a0f0
mov edx, dword [0x510ac0]
sub esp, 0x188
mov ecx, esp
mov dword [ebp + 0xc], esp
push edx
call fcn.00410c80
mov dword [ebp - 4], 0
mov eax, dword [0x510ac4]
sub esp, 0x58
add eax, 0x2a8
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00409560
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov dword [ebp - 4], esi
call fcn.00428ab0
test eax, eax
je 0x488eb0
mov ecx, dword [0x510ac4]
push 0x4e30bc
add ecx, 0x2e0
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00401b00
add esp, 0xc
mov dword [ebp - 4], 2
mov ecx, dword [0x510ac4]
push esi
push 0
add ecx, 0xf4
push eax
call fcn.00401750
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x40]
call fcn.00490320
mov eax, dword [0x510ac4]
mov edi, 8
cmp dword [eax + 0x10c], edi
jb 0x488cbf
mov eax, dword [eax + 0xf8]
jmp 0x488cc4
add eax, 0xf8
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
jne 0x488ce7
mov ecx, dword [0x510ac4]
push str.Install.xml
add ecx, 0xf4
call fcn.00409f50
mov ecx, dword [0x510ac4]
call fcn.00421fb0
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 0xc], esp
call fcn.00422440
mov dword [ebp - 4], 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x4e25d8
call fcn.004019e0
mov byte [ebp - 4], 4
mov eax, dword [0x510ac0]
sub esp, 0x188
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00410c80
mov byte [ebp - 4], 5
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x4e25d8
call fcn.004019e0
mov byte [ebp - 4], 6
mov dword [ebp - 4], esi
mov ecx, dword [0x510ac4]
call fcn.00420270
mov ecx, dword [0x510ac4]
push str.License.txt
add ecx, 0x2e0
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00401b00
add esp, 0xc
mov dword [ebp - 4], 7
mov ecx, dword [0x510ac4]
push esi
push 0
add ecx, 0x38c
push eax
call fcn.00401750
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x40]
call fcn.00490320
mov eax, dword [0x510ac4]
cmp dword [eax + 0x3a4], edi
jb 0x488db4
mov eax, dword [eax + 0x390]
jmp 0x488db9
add eax, 0x390
push eax
call ebx
test eax, eax
jne 0x488dd6
mov ecx, dword [0x510ac4]
push 0x4e2fa0
add ecx, 0x38c
call fcn.00409f50
mov ecx, dword [0x510ac4]
lea eax, [ebp - 0x1c]
push eax
add ecx, 0x290
call fcn.00407a80
mov ebx, dword [eax]
mov edi, dword [eax + 4]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], edi
jmp 0x488e00
mov esi, dword [0x510ac4]
mov eax, dword [esi + 0x2a0]
add esi, 0x290
mov dword [ebp + 0xc], eax
cmp dword [esi + 0xc], eax
jbe 0x488e1f
call fcn.004b32e0
mov esi, dword [esi]
test ebx, ebx
je 0x488e29
cmp ebx, esi
je 0x488e2e
call fcn.004b32e0
cmp edi, dword [ebp + 0xc]
jae 0x488ea8
test ebx, ebx
jne 0x488e60
call fcn.004b32e0
cmp edi, dword [ebx + 0x10]
jb 0x488e46
call fcn.004b32e0
mov ecx, dword [0x510ac4]
mov eax, dword [edi + 0x30]
add ecx, 0x2c4
cmp dword [edi + 0x34], 8
jb 0x488e64
mov edi, dword [edi + 0x20]
jmp 0x488e67
mov ebx, dword [ebx]
jmp 0x488e3c
add edi, 0x20
mov edx, dword [ecx + 0x14]
push eax
push edi
push edx
push 0
call fcn.00401fe0
lea ecx, [ebp - 0x24]
test eax, eax
je 0x488e91
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.004071a0
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
jmp 0x488e00
call fcn.0048d580
mov ecx, dword [0x510ac4]
push eax
add ecx, 0x2a8
call fcn.0040a0f0
mov ecx, dword [ebp - 0x10]
call fcn.00488440
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10