Function at 0x48ce00
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50a4dc
mov eax, dword fs:[0]
push eax
sub esp, 0x878
mov eax, dword [0x5522c0]
xor eax, esp
mov dword [esp + 0x870], eax
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, esp
push eax
lea eax, [esp + 0x888]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
push 0x206
lea ecx, [esp + 0x27a]
xor eax, eax
push ebx
mov dword [esp + 0x24], ebx
push ecx
mov dword [esp + 0x20], edi
mov word [esp + 0x280], ax
call fcn.004e9520
xor esi, esi
add esp, 0xc
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea edx, [esp + 0x10]
push edx
push 0x2001f
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallStormPlayer
mov dword [esp + 0x8a0], ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x48cede
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x278]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], 0x104
call fcn.0048d9e0
neg eax
sbb eax, eax
inc eax
cmp eax, ebx
jne 0x48cf06
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
push str.MediaLibrary:_Get_UninstallString_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
mov ecx, 0x51a1b4
call fcn.004595b0
cmp esi, ebx
je 0x48ceff
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x48d0f2
lea edx, [esp + 0x274]
push 0x5c
push edx
call fcn.004e7673
add esp, 8
cmp eax, ebx
je 0x48d0c7
xor ecx, ecx
mov word [eax], cx
push 0x206
lea eax, [esp + 0x72]
xor edx, edx
push ebx
push eax
mov word [esp + 0x78], dx
call fcn.004e9520
push 0x104
lea ecx, [esp + 0x284]
push ecx
lea edx, [esp + 0x80]
push edx
call fcn.004e8b9e
add esp, 0x18
push str.MediaLibrary.dll
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48d0c0
mov dword [esp + 0x2c], vtable.CModuleVersion.0
mov dword [esp + 0x64], ebx
lea eax, [esp + 0x6c]
lea ebx, [esp + 0x2c]
mov byte [esp + 0x890], 1
call fcn.00491e90
test eax, eax
je 0x48d0a9
mov edx, dword [0x551f18]
mov eax, dword [edx + 0xc]
mov ecx, 0x551f18
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x1c]
mov bl, 2
push ecx
lea esi, [esp + 0x30]
mov byte [esp + 0x894], bl
call fcn.00491f50
lea edi, [esp + 0x18]
mov byte [esp + 0x890], 3
call fcn.0045cee0
mov byte [esp + 0x890], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48d00b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [esp + 0x486]
push edx
mov word [esp + 0x488], cx
call fcn.004e9520
mov esi, dword [esp + 0x24]
push esi
lea eax, [esp + 0x48c]
push str.MediaLibrary:_abtained_version__s_n
push eax
mov edx, 0x200
call fcn.0048d860
add esp, 0x18
lea ecx, [esp + 0x47c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esi, 0xfffffff0
mov eax, esi
call fcn.0045cfd0
mov edi, dword [esp + 0x14]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x890], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x48d089
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004e48a0
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x48d0a5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x48d0f2
mov byte [esp + 0x890], 0
mov edx, dword [esp + 0x64]
push edx
call fcn.004e48a0
add esp, 4
xor ebx, ebx
push str.MediaLibrary:_version_is_empty_n
jmp 0x48d0cc
push str.MediaLibrary:_UninstallString_format_error_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, dword [esp + 0x14]
push esi
mov ecx, 0x51a1b4
call fcn.004595b0
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x48d0f0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x888]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.004e4840
mov esp, ebp
pop ebp
ret