Function at 0x4958a0
Capabilities:
Check if file exists
Create process on windows
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2f66
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x505070]
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 dword [ebp - 0x2c0], ecx
mov esi, dword [ebp + 8]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
test ebx, ebx
js 0x495b6c
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
push esi
lea ecx, [ebp - 0x224]
movq qword [ebp - 0x224], xmm0
call fcn.00496900
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 4], 0
call fcn.004928c0
push 7
push 0x4e63f4
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 1
call fcn.00408360
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x2b8], 3
push eax
lea ecx, [ebp - 0x224]
call fcn.00493df0
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x2b8], 1
push eax
lea ecx, [ebp - 0x224]
call fcn.00493df0
push 7
push 0x4e63f4
lea ecx, [ebp - 0x29c]
call fcn.00408360
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x2b8], 2
push eax
lea ecx, [ebp - 0x224]
call fcn.00493df0
push 9
push 0x4ee98c
lea ecx, [ebp - 0x2b4]
call fcn.00408360
lea eax, [ebp - 0x2b8]
mov dword [ebp - 0x2b8], 2
push eax
lea ecx, [ebp - 0x224]
call fcn.00493df0
mov ecx, dword [ebp - 0x220]
mov eax, 0xdd67c8a7
mov edi, dword [ebp - 0x224]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2bc], eax
je 0x495b3d
lea eax, [edi + 0x7c]
mov dword [ebp - 0x2c8], eax
mov esi, eax
mov eax, 0xffffff84
sub eax, edi
mov dword [ebp - 0x2c4], eax
nop dword [eax + eax]
mov ecx, dword [ebp - 0x2c0]
lea edi, [esi - 0x7c]
push 0
push edi
call fcn.00495b90
mov ebx, eax
test ebx, ebx
js 0x495b2a
cmp dword [esi + 0x10], 0
je 0x495b2a
cmp dword [edi], 3
jne 0x495ac0
mov eax, dword [ebp - 0x2c4]
add eax, esi
add eax, dword [ebp - 0x2c8]
cmp dword [eax + 0x14], 8
jb 0x495a54
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x495b2a
push edi
call fcn.00495f10
cmp dword [esi + 0x14], 8
jb 0x495a73
mov eax, dword [esi]
jmp 0x495a75
mov eax, esi
push 0
push 0
push 0
push eax
push str.TaskbarUnPin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [esi + 0x14], 8
jb 0x495a93
mov eax, dword [esi]
jmp 0x495a95
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x495b2a
cmp dword [esi + 0x14], 8
jb 0x495ab5
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x495b2a
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x495b2a
cmp dword [esi + 0x14], 8
jb 0x495aca
mov eax, dword [esi]
jmp 0x495acc
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi - 0x50], 0
je 0x495b2a
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a1ef0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x495af9
mov eax, dword [esi]
jmp 0x495afb
mov eax, esi
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004b32bd
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esi, 0x94
sub dword [ebp - 0x2bc], 1
jne 0x495a10
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x2b8]
call fcn.00492780
lea ecx, [ebp - 0x224]
call fcn.00492250
mov eax, ebx
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.0049f1b4
mov esp, ebp
pop ebp
ret 4