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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bd21
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.004e98c0
add esp, 0xc
call fcn.0045d2f0
test al, al
je 0x48cb44
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 0x48cb82
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 0x48cd41
mov ecx, dword [eax]
push eax
jmp 0x48cd3a
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 0x48cb82
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 0x48cd41
mov ecx, dword [eax]
push eax
jmp 0x48cd3a
push str.Storm
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x218]
push edx
push 0x526ed8
lea edi, [ebp - 0x21c]
call fcn.0048d9a0
mov eax, dword [esi + 0xb4]
add esp, 8
sub eax, 0x10
call fcn.0045d010
add eax, 0x10
mov dword [ebp - 0x220], eax
push 0x11
push str.WebPlayerManager_
lea ebx, [ebp - 0x220]
mov byte [ebp - 4], 1
call fcn.0045b440
mov edi, dword [ebp - 0x220]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48cc20
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 0x48cc0b
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 0x48cb29
mov ebx, dword [ebp - 0x21c]
push ebx
push edi
mov ecx, esi
call fcn.0048b740
push 0
push edi
call fcn.0045c7b0
lea esi, [ebx - 0x10]
add esp, 8
mov eax, esi
call fcn.0045d010
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.0045b440
mov ebx, dword [ebp - 0x224]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48ccd6
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 0x48cc94
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 0x48ccb4
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 0x48cd41
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x48cd41
push 1
push ebx
call fcn.004589f0
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 0x48cd01
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 0x48cd21
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 0x48cd41
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.004e4be0
mov esp, ebp
pop ebp
ret