Function at 0x48b810
Capabilities:
Check if file exists
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0fc4
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x5203c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x527b7c]
test eax, eax
jne 0x48b87e
push 0x4eb980
push 0x2c
call fcn.004a8e8b
add esp, 8
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x48b870
mov ecx, eax
call fcn.00475760
jmp 0x48b872
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x527b7c], eax
push str.ProcessOldUserFiles
push str.App___SetupHelper
push eax
call fcn.00477180
add esp, 0xc
call fcn.00476b10
mov ecx, eax
test ecx, ecx
je 0x48bd92
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], 1
call fcn.00476b10
mov ecx, eax
test ecx, ecx
je 0x48bd9c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 2
call fcn.00476b10
test eax, eax
je 0x48bd92
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov eax, 0x4f9904
mov byte [ebp - 4], 3
push 0
test eax, 0xffff0000
jne 0x48b924
movzx esi, ax
push esi
call fcn.004763e0
add esp, 8
test eax, eax
je 0x48b934
push esi
push eax
lea ecx, [ebp - 0x220]
call fcn.0048b6d0
jmp 0x48b934
push 0x4f9904
lea ecx, [ebp - 0x220]
call fcn.00477ed0
mov byte [ebp - 4], 4
call fcn.00476b10
test eax, eax
je 0x48bd92
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360GameAssistant.exe
mov byte [ebp - 4], 5
shr edi, 0x10
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360GameAssistant.exe
test edi, edi
jne 0x48b98a
movzx esi, ax
push edi
push esi
call fcn.004763e0
add esp, 8
test eax, eax
je 0x48b99c
push esi
push eax
lea ecx, [ebp - 0x224]
call fcn.0048b6d0
jmp 0x48b99c
push 0x48
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360GameAssistant.exe
lea ecx, [ebp - 0x224]
call fcn.00477ed0
push 0x80000001
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0048ae80
mov edx, dword [ebp - 0x224]
or ebx, 0xffffffff
add esp, 0x10
mov byte [ebp - 0x219], al
mov byte [ebp - 4], 4
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x48b9ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x220]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48ba0d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00476b10
test eax, eax
je 0x48bd92
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov eax, str.Path
mov byte [ebp - 4], 7
test eax, 0xffff0000
jne 0x48ba5b
movzx esi, ax
push 0
push esi
call fcn.004763e0
add esp, 8
test eax, eax
je 0x48ba6d
push esi
push eax
lea ecx, [ebp - 0x224]
call fcn.0048b6d0
jmp 0x48ba6d
push 4
push str.Path
lea ecx, [ebp - 0x224]
call fcn.00477ed0
mov byte [ebp - 4], 8
call fcn.00476b10
test eax, eax
je 0x48bd92
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 9
test edi, edi
jne 0x48babb
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360GameAssistant.exe
movzx esi, ax
push edi
push esi
call fcn.004763e0
add esp, 8
test eax, eax
je 0x48bacd
push esi
push eax
lea ecx, [ebp - 0x220]
call fcn.0048b6d0
jmp 0x48bacd
push 0x48
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360GameAssistant.exe
lea ecx, [ebp - 0x220]
call fcn.00477ed0
push 0x80000001
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0048ae80
mov edx, dword [ebp - 0x220]
add esp, 0x10
and byte [ebp - 0x219], al
add edx, 0xfffffff0
mov byte [ebp - 4], 8
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48bb1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48bb3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00476b10
mov ecx, eax
test ecx, ecx
je 0x48bda6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov eax, 0x4e6a64
mov byte [ebp - 4], 0xb
test eax, 0xffff0000
jne 0x48bb89
movzx esi, ax
push 0
push esi
call fcn.004763e0
add esp, 8
test eax, eax
je 0x48bb9b
push esi
push eax
lea ecx, [ebp - 0x220]
call fcn.0048b6d0
jmp 0x48bb9b
push 0x11
push 0x4e6a64
lea ecx, [ebp - 0x220]
call fcn.00477ed0
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004861a0
add esp, 0xc
mov edx, dword [ebp - 0x220]
mov eax, ebx
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48bbdd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x219], 0
je 0x48bd12
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ad7b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00476b10
mov ecx, eax
test ecx, ecx
je 0x48bdb0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push 0x4e8488
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 0xf
push str._s.lnk
push eax
call fcn.00476950
mov esi, dword [ebp - 0x224]
lea eax, [ebp - 0x218]
add esp, 0xc
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x218]
push eax
call edi
test eax, eax
je 0x48bc93
push 0x80
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [ebp - 0x230]
push dword [ebp - 0x228]
call fcn.00489c80
add esp, 0xc
push dword [ebp - 0x228]
call edi
test eax, eax
je 0x48bcce
mov edi, dword [ebp - 0x228]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x208
push 0
push 0x5284a8
call fcn.004ad7b0
push dword [ebp - 0x228]
push 0x104
push 0x5284a8
call fcn.004b9505
add esp, 0x18
mov byte [ebp - 4], 0xe
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48bd12
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x230]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48bd33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x228]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48bd54
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x48bd76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a8e4e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00476460
push 0x80004005
call fcn.00476460
push 0x80004005
call fcn.00476460
push 0x80004005
call fcn.00476460
int3