Function at 0x47c860
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x521610
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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 ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x14]
lea edi, [ebx + 0x14]
cmp dword [eax - 0xc], 0
jne 0x47c8ee
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x47ca94
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x52bd6c
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00408690
test al, al
jne 0x47c8d8
push 0
push 0x52bd6c
mov ecx, esi
call fcn.00407f80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x47ca9e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.LDSGameCenter_buytry
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.00408690
test al, al
jne 0x47c92f
push 0x15
push str.LDSGameCenter_buytry
lea ecx, [ebp - 0x10]
call fcn.00407f80
push 1
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004377d0
add esp, 0xc
mov edx, dword [ebp - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47c969
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x47caa8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
push dword [ebx + 0xc]
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 5
push dword [ebp - 0x18]
push str._s_s.ico
push eax
call fcn.0040ecb0
add esp, 0x10
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47c9b4
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00410b40
mov ecx, eax
test ecx, ecx
je 0x47cab2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0
push 0xbb8
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp + 0xc]
push eax
push edi
call fcn.00459ed0
add esp, 0x14
test eax, eax
jne 0x47ca0c
push str.CInstaller::_DownloadPushIcon__SyncHttpDownloadFile_failed.
call fcn.004415b0
mov edi, dword [ebp + 8]
add esp, 4
mov ecx, edi
push 0x52bd6c
call fcn.004093d0
jmp 0x47ca23
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.004088a0
mov edi, dword [ebp + 8]
add esp, 4
add eax, 0x10
mov dword [edi], eax
mov edx, dword [ebp - 0x14]
mov eax, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47ca41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov eax, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47ca5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x47ca7e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00404400
push 0x80004005
call fcn.00404400
push 0x80004005
call fcn.00404400
push 0x80004005
call fcn.00404400
int3