Function at 0x489440
Capabilities:
Check if file exists
Enumerate processes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505f17
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x54b2c0]
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
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.004e4be0
add esp, 0xc
lea edx, [ebp - 0x650]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x65c]
push ecx
push str.UninstallString
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallWebPlayerLite
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x650], 0x102
mov dword [ebp - 0x65c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x489715
push 0x51517c
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x489715
push str...webplayerWebPlayer.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x489715
lea edx, [ebp - 0x654]
push edx
lea ecx, [ebp - 0x218]
call fcn.00459530
push 0
push 2
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x65c], ebx
lea eax, [ebp - 0x64c]
push eax
mov byte [ebp - 4], 1
push ebx
mov dword [ebp - 0x64c], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x48959b
test ebx, ebx
je 0x489569
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x654]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x489715
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x489715
lea ecx, [ebp - 0x658]
push ecx
mov ecx, str.WebPlayer.exe
call fcn.00459530
lea edi, [ebp - 0x658]
mov byte [ebp - 4], 2
call fcn.00458ec0
lea edx, [ebp - 0x64c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x4896f4
lea eax, [ebp - 0x650]
push eax
lea ecx, [ebp - 0x628]
call fcn.00459530
lea edi, [ebp - 0x650]
mov byte [ebp - 4], 3
call fcn.00458ec0
mov ecx, dword [ebp - 0x658]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x489733
mov eax, dword [ebp - 0x650]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x489636
test dx, dx
je 0x489632
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x489636
add eax, 4
add ecx, 4
test dx, dx
jne 0x489610
xor eax, eax
jmp 0x48963b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4896b8
mov ecx, dword [ebp - 0x644]
push ecx
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov byte [ebp - 4], 4
test esi, esi
je 0x4896b8
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x41e]
push eax
mov word [ebp - 0x420], dx
call fcn.004e4be0
add esp, 0xc
push 0x103
lea ecx, [ebp - 0x420]
push ecx
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x4896b1
mov eax, dword [ebp - 0x654]
lea edx, [ebp - 0x420]
push edx
push eax
call fcn.004e2807
add esp, 8
test eax, eax
je 0x48973d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x650]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4896de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x64c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4895d1
lea ecx, [ebp - 0x658]
call fcn.00459050
test ebx, ebx
je 0x48970a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x654]
call fcn.00459050
xor eax, eax
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.004e0040
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00459fc0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea ecx, [ebp - 0x650]
call fcn.00459050
lea ecx, [ebp - 0x658]
call fcn.00459050
test ebx, ebx
je 0x489763
push ebx
call esi
lea ecx, [ebp - 0x654]
call fcn.00459050
mov eax, 1
jmp 0x489717