Function at 0x488666
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea ecx, [ebp - 0x18]
push ebx
push esi
push edi
call fcn.00417833
lea ecx, [ebp - 0x30]
call fcn.00417833
call fcn.00418f81
mov ebx, dword [ebp + 8]
mov ecx, ebx
push eax
call fcn.0041775d
push 0
push ecx
mov ecx, esp
push str.SoftwareRuanMeiSaaYaa3
call fcn.004177e7
push SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.004f7115
test eax, eax
je 0x48872d
push ecx
mov ecx, esp
push 0x6809b0
call fcn.004177e7
push ecx
mov ecx, esp
push str.Install_Dir
call fcn.004177e7
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.004e6ef3
mov esi, dword [ebp + 8]
cmp dword [esi - 0xc], 0
je 0x48871e
push ecx
mov ecx, esp
push str.saayaa.exe
call fcn.004177e7
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [edi], eax
lea ecx, [ebp - 0x30]
lea eax, [ebp + 8]
push eax
call fcn.0041934b
push eax
mov ecx, ebx
call fcn.00418bac
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
jmp 0x488725
mov ecx, ebx
call fcn.00418ee0
lea ecx, [esi - 0x10]
call fcn.00419521
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x488744
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4887e2
push 0
push ecx
mov ecx, esp
push str.SoftwareRuanMeiSaaYaa
call fcn.004177e7
push SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.004f7115
test eax, eax
je 0x4887e2
push ecx
mov ecx, esp
push 0x6809b0
call fcn.004177e7
push ecx
mov ecx, esp
push str.Install_Dir
call fcn.004177e7
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.004e6ef3
mov esi, dword [ebp + 8]
cmp dword [esi - 0xc], 0
je 0x4887d3
push ecx
mov ecx, esp
push str.saayaa.exe
call fcn.004177e7
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [edi], eax
lea ecx, [ebp - 0x30]
lea eax, [ebp + 8]
push eax
call fcn.0041934b
push eax
mov ecx, ebx
call fcn.00418bac
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
jmp 0x4887da
mov ecx, ebx
call fcn.00418ee0
lea ecx, [esi - 0x10]
call fcn.00419521
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x4887f9
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x488897
push 0
push ecx
mov ecx, esp
push str.SoftwareSaaYaa
call fcn.004177e7
push SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.004f7115
test eax, eax
je 0x488897
push ecx
mov ecx, esp
push 0x6809b0
call fcn.004177e7
push ecx
mov ecx, esp
push str.Install_Dir
call fcn.004177e7
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.004e6ef3
mov esi, dword [ebp + 8]
cmp dword [esi - 0xc], 0
je 0x488888
push ecx
mov ecx, esp
push str.saayaa.exe
call fcn.004177e7
push ecx
lea eax, [esi - 0x10]
mov edi, esp
push eax
call fcn.00418dea
add eax, 0x10
pop ecx
mov dword [edi], eax
lea ecx, [ebp - 0x30]
lea eax, [ebp + 8]
push eax
call fcn.0041934b
push eax
mov ecx, ebx
call fcn.00418bac
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00419521
jmp 0x48888f
mov ecx, ebx
call fcn.00418ee0
lea ecx, [esi - 0x10]
call fcn.00419521
lea ecx, [ebp - 0x30]
call fcn.00418dd0
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00419521
lea ecx, [ebp - 0x18]
call fcn.00418dd0
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00419521
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret