Function at 0x47c040
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521528
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x56f790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 0xd0]
sub eax, 0x10
push eax
call fcn.004088a0
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.LDSGameCenter.exe
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push 0x539960
push eax
call fcn.00410920
mov ebx, dword [ebp + 0x14]
add esp, 0x10
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebx]
call edi
or esi, 0xffffffff
test eax, eax
je 0x47c0c9
push dword [ebx]
push str.CInstaller::_CreateShortcutImpl___s_exists__delete
call fcn.00441ac0
add esp, 8
xor ebx, ebx
jmp 0x47c205
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x47c23a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
mov ecx, dword [eax]
mov eax, dword [ebp + 0x18]
cmp dword [ecx - 0xc], 0
push dword [eax]
lea eax, [ebp + 0x14]
je 0x47c10b
push ecx
push str.__gameid_s___from_s
push eax
call fcn.0040ecb0
add esp, 0x10
jmp 0x47c119
push str.__from_s
push eax
call fcn.0040ecb0
add esp, 0xc
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004088a0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp + 0x18], esi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 2
je 0x47c141
push esi
call edi
test eax, eax
jne 0x47c150
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 0x18]
call fcn.00408360
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
push str.QiLu.LDSGameCenter.AppUserModelID
push 0
push esi
push dword [ebx]
push edi
push dword [ebp - 0x10]
push dword [eax]
call fcn.004787f0
push dword [ebx]
test eax, eax
jne 0x47c185
push str.CInstaller::_CreatePushShortcut__InternalCreateShortcut_failed__savePath_s
call fcn.00441aa0
add esp, 8
xor ebx, ebx
jmp 0x47c1cc
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47c1a2
push dword [ebx]
push str.CInstaller::_CreatePushShortcut__savePath_not_exists__s
call fcn.00441aa0
add esp, 8
xor ebx, ebx
jmp 0x47c1cc
push 0
push 0x2a
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ebx, 1
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47c1ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x47c205
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x47c224
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x80004005
call fcn.00404400
int3