Function at 0x48caa0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50be71
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5522c0]
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 [0x551f18]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x551f18
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x21c], edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov word [ebp - 0x218], ax
call fcn.004e9a40
add esp, 0xc
call fcn.0045d310
test al, al
je 0x48cb54
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x48cb92
mov dword [ebp - 4], 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cd51
mov ecx, dword [eax]
push eax
jmp 0x48cd4a
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x48cb92
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48cd51
mov ecx, dword [eax]
push eax
jmp 0x48cd4a
push str.Storm
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x218]
push edx
push 0x527018
lea edi, [ebp - 0x21c]
call fcn.0048dae0
mov eax, dword [esi + 0xb4]
add esp, 8
sub eax, 0x10
call fcn.0045d030
add eax, 0x10
mov dword [ebp - 0x220], eax
push 0x11
push str.WebPlayerManager_
lea ebx, [ebp - 0x220]
mov byte [ebp - 4], 1
call fcn.0045b460
mov edi, dword [ebp - 0x220]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48cc30
add edi, 0xfffffff0
mov byte [ebp - 4], al
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48cc1b
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
jmp 0x48cb39
mov ebx, dword [ebp - 0x21c]
push ebx
push edi
mov ecx, esi
call fcn.0048b9b0
push 0
push edi
call fcn.0045c7d0
lea esi, [ebx - 0x10]
add esp, 8
mov eax, esi
call fcn.0045d030
add eax, 0x10
mov dword [ebp - 0x224], eax
push 0x14
push str.WebPlayerManager.dll
lea ebx, [ebp - 0x224]
mov byte [ebp - 4], 2
call fcn.0045b460
mov ebx, dword [ebp - 0x224]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48cce6
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cca4
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48ccc4
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cd51
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x48cd51
push 1
push ebx
call fcn.00458a30
add ebx, 0xfffffff0
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48cd11
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cd31
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48cd51
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, 1
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.004e4d50
mov esp, ebp
pop ebp
ret