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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d77b6
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x663a90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2cc], ecx
mov esi, dword [ebp + 8]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
test ebx, ebx
js 0x46cd7b
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
push esi
lea ecx, [ebp - 0x228]
movq qword [ebp - 0x228], xmm0
call fcn.0046d870
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 4], 0
call fcn.00465c50
push 5
push 0x639ea4
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 1
call fcn.00406f90
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c4], 3
push eax
lea ecx, [ebp - 0x228]
call fcn.004680c0
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c4], 1
push eax
lea ecx, [ebp - 0x228]
call fcn.004680c0
push 5
push 0x639ea4
lea ecx, [ebp - 0x2a8]
call fcn.00406f90
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c4], 2
push eax
lea ecx, [ebp - 0x228]
call fcn.004680c0
push 7
push 0x64096c
lea ecx, [ebp - 0x2c0]
call fcn.00406f90
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c4], 2
push eax
lea ecx, [ebp - 0x228]
call fcn.004680c0
mov ecx, dword [ebp - 0x224]
mov eax, 0xdd67c8a7
mov edi, dword [ebp - 0x228]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2c8], eax
je 0x46cd4c
lea eax, [edi + 0x7c]
mov dword [ebp - 0x2d4], eax
mov esi, eax
mov eax, 0xffffff84
sub eax, edi
mov dword [ebp - 0x2d0], eax
nop dword [eax + eax]
push ecx
mov ecx, dword [ebp - 0x2cc]
lea edi, [esi - 0x7c]
push edi
call fcn.0046cda0
mov ebx, eax
test ebx, ebx
js 0x46cd39
cmp dword [esi + 0x10], 0
je 0x46cd39
cmp dword [edi], 3
jne 0x46cccf
mov eax, dword [ebp - 0x2d0]
add eax, esi
add eax, dword [ebp - 0x2d4]
cmp dword [eax + 0x14], 8
jb 0x46cc63
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46cd39
push edi
call fcn.0046ce70
cmp dword [esi + 0x14], 8
jb 0x46cc82
mov eax, dword [esi]
jmp 0x46cc84
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 0x46cca2
mov eax, dword [esi]
jmp 0x46cca4
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46cd39
cmp dword [esi + 0x14], 8
jb 0x46ccc4
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x46cd39
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x46cd39
cmp dword [esi + 0x14], 8
jb 0x46ccd9
mov eax, dword [esi]
jmp 0x46ccdb
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi - 0x50], 0
je 0x46cd39
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005a2d80
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x46cd08
mov eax, dword [esi]
jmp 0x46cd0a
mov eax, esi
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.005b760e
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esi, 0x94
sub dword [ebp - 0x2c8], 1
jne 0x46cc20
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 - 0x2c4]
call fcn.00465b10
lea ecx, [ebp - 0x228]
call fcn.00465930
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 - 0x14]
xor ecx, ebp
call fcn.00589cd3
mov esp, ebp
pop ebp
ret 4