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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58baf6
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x60e9b0]
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 edi, eax
test edi, edi
js 0x460567
xorps xmm0, xmm0
mov dword [ebp - 0x220], 0
push esi
lea ecx, [ebp - 0x228]
movq qword [ebp - 0x228], xmm0
call fcn.00461300
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 4], 0
call fcn.0045cbc0
push 5
push 0x5ea238
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 1
call fcn.00406f40
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c4], 3
push eax
lea ecx, [ebp - 0x228]
call fcn.0045e0d0
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c4], 1
push eax
lea ecx, [ebp - 0x228]
call fcn.0045e0d0
push 5
push 0x5ea238
lea ecx, [ebp - 0x2a8]
call fcn.00406f40
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c4], 2
push eax
lea ecx, [ebp - 0x228]
call fcn.0045e0d0
push 7
push 0x5f4b2c
lea ecx, [ebp - 0x2c0]
call fcn.00406f40
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c4], 2
push eax
lea ecx, [ebp - 0x228]
call fcn.0045e0d0
mov ecx, dword [ebp - 0x224]
mov eax, 0xdd67c8a7
mov ebx, dword [ebp - 0x228]
sub ecx, ebx
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2c8], eax
je 0x4604ad
lea eax, [ebx + 0x7c]
mov dword [ebp - 0x2d4], eax
mov esi, eax
mov eax, 0xffffff84
sub eax, ebx
mov dword [ebp - 0x2d0], eax
nop dword [eax + eax]
mov ecx, dword [ebp - 0x2cc]
lea edi, [esi - 0x7c]
push 0
push edi
call fcn.00460590
mov ebx, eax
mov dword [ebp - 0x2d8], ebx
test ebx, ebx
js 0x46048e
cmp dword [esi + 0x10], 0
je 0x46048e
cmp dword [edi], 3
jne 0x460424
mov eax, dword [ebp - 0x2d0]
add eax, dword [ebp - 0x2d4]
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x4603ba
mov eax, dword [eax]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
je 0x46048e
push edi
call fcn.00460910
cmp dword [esi + 0x14], 8
jb 0x4603db
mov eax, dword [esi]
jmp 0x4603dd
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 0x4603fb
mov eax, dword [esi]
jmp 0x4603fd
mov eax, esi
push eax
call ebx
test eax, eax
je 0x46048e
cmp dword [esi + 0x14], 8
jb 0x460419
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x46048e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x46048e
cmp dword [esi + 0x14], 8
jb 0x46042e
mov eax, dword [esi]
jmp 0x460430
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi - 0x50], 0
je 0x46048e
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00559270
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x46045d
mov eax, dword [esi]
jmp 0x46045f
mov eax, esi
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.0056af0b
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 0x460370
mov ebx, dword [ebp - 0x228]
mov edi, dword [ebp - 0x2d8]
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.0045a7b0
test ebx, ebx
je 0x460565
mov esi, ebx
cmp ebx, dword [ebp - 0x224]
je 0x4604f6
mov ecx, esi
call fcn.0045a7b0
add esi, 0x94
cmp esi, dword [ebp - 0x224]
jne 0x4604e1
mov ecx, dword [ebp - 0x220]
mov eax, 0xdd67c8a7
sub ecx, ebx
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x1bacf91
jbe 0x46051d
call fcn.005627e0
imul eax, eax, 0x94
cmp eax, 0x1000
jb 0x46055c
test byte [ebp - 0x228], 0x1f
je 0x460538
call fcn.005627e0
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x460544
call fcn.005627e0
sub ebx, eax
cmp ebx, 4
jae 0x460550
call fcn.005627e0
cmp ebx, 0x23
jbe 0x46055a
call fcn.005627e0
mov ebx, eax
push ebx
call fcn.00555b32
add esp, 4
mov eax, edi
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.00555b37
mov esp, ebp
pop ebp
ret 4