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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a48e
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x100bb758]
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
cmp dword [ecx + 0x44], 0
je 0x100357c8
lea ebx, [ecx + 0xe8]
xor eax, eax
mov dword [ebp - 0x78], ebx
cmp ax, word [ebx]
je 0x100357c8
push eax
push eax
push eax
push ebx
push str.taskbarunpin
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x74], eax
call fcn.10054f50
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x1003566a
push 4
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x40], cl
lea ecx, [ebp - 0x40]
push str.FILE
mov dword [ebp - 0x2c], 0xf
call fcn.1000afb0
push 3
push 0x1008ea34
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000afb0
mov byte [ebp - 4], 1
call fcn.10054f50
mov edi, eax
lea ecx, [ebp - 0x110]
push 0x38e
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100083a0
mov esi, eax
push str._Taskbar_CTaskbarWnd::UnpinAndDelLinkFile_Taskbar_Unpin_ret
push esi
mov byte [ebp - 4], 2
call fcn.10007c20
add esp, 8
mov ecx, esi
push dword [ebp - 0x74]
call fcn.1000efa0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x110]
call fcn.10009260
lea ecx, [ebp - 0x28]
call fcn.10005f50
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.10005f50
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003579f
push ebx
call fcn.1000a060
add esp, 4
mov esi, eax
call fcn.10006430
mov ecx, eax
test ecx, ecx
je 0x100357e4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x74], eax
push esi
push ebx
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 3
push str._Taskbar_CTaskbarWnd::UnpinAndDelLinkFile_Delete_File_s__bRet_d
push eax
call fcn.10006340
add esp, 0x10
call fcn.10054f50
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov esi, dword [ebp - 0x74]
movzx eax, al
sub eax, 1
jne 0x10035780
push 4
push str.FILE
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.1000afb0
push 3
push 0x1008ea34
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1000afb0
mov byte [ebp - 4], 5
call fcn.10054f50
mov ebx, eax
lea ecx, [ebp - 0x1a8]
push 0x394
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100083a0
mov edi, eax
test esi, esi
mov byte [ebp - 4], 6
mov ecx, 0x1008e984
cmovne ecx, esi
push ecx
push edi
call fcn.10007c20
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1a8]
call fcn.10009260
lea ecx, [ebp - 0x58]
call fcn.10005f50
lea ecx, [ebp - 0x70]
call fcn.10005f50
mov ebx, dword [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1003579f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x100357b8
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0x208
push 0
push ebx
call fcn.100609f0
add esp, 0xc
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.100561dc
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100060c0
int3