Function at 0x100086f0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x220
mov ebx, dword [ebp + 0xc]
test byte [0x1000c0c0], 8
jne 0x10008810
mov dword [esp + 4], 0x2e
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcschr]
test eax, eax
jne 0x10008a4c
lea esi, [ebp - 0x214]
mov dword [esp + 4], 0x104
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
mov edx, esi
sub esp, 8
cmp word [ebp - 0x214], 0
je 0x10008759
nop
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x10008750
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + str.Tasks_]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10008760
cmp word [ebp - 0x214], 0
mov edx, esi
je 0x10008789
nop
add edx, 2
cmp word [edx], 0
jne 0x10008780
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10008790
cmp word [ebp - 0x214], 0
mov edx, esi
je 0x100087b9
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x100087b0
xor eax, eax
nop
lea esi, [esi]
movzx ecx, word [eax + str..job]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x100087c0
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_DeleteFileW]
mov edx, eax
sub esp, 4
xor eax, eax
test edx, edx
jne 0x100087fe
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovg eax, edx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
test ebx, ebx
je 0x10008a24
mov eax, ebx
shr eax, 0x10
je 0x100088f0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, str._invalid_
sub esp, 8
test eax, eax
jne 0x10008905
cmp word [ebx], 0
je 0x10008a2e
nop
mov edx, eax
lea eax, [eax + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x10008850
mov ecx, 0x224c
mov dword [ebp + 0xc], ebx
mov esi, ebx
mov word [ebp - 0x214], cx
lea ecx, [ebp - 0x212]
jmp 0x100088bb
cmp ax, 9
je 0x10008958
cmp ax, 0xa
jne 0x10008976
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [ebp - 0xf2]
lea eax, [edx - 1]
cmp ecx, edi
ja 0x100089e8
test edx, edx
jle 0x100089e8
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x10008940
jbe 0x10008880
cmp ax, 0x22
je 0x100089d0
cmp ax, 0x5c
jne 0x10008969
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
jmp 0x100088a0
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_3
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], str._p___s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MSTASK_ITaskScheduler_Delete
mov dword [esp + 4], 0x1000c0c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x1000870c
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100088a0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100088a0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x10008a1a
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefMSTASK_ITaskScheduler_IsOfType]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefMSTASK_ITaskScheduler_IsOfType]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefMSTASK_ITaskScheduler_IsOfType]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefMSTASK_ITaskScheduler_IsOfType]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x100088a0
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x100088a0
mov byte [ecx], 0x22
mov ebx, dword [ebp + 0xc]
test eax, eax
jle 0x10008a47
mov esi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], si
mov byte [eax], 0
lea eax, [ebp - 0x214]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edx, eax
jmp 0x10008905
mov byte [ecx], al
add ecx, 1
jmp 0x100088a0
mov edx, 0x1000f000
jmp 0x10008905
mov eax, 0x224c
mov byte [ebp - 0x212], 0x22
lea ecx, [ebp - 0x212]
mov word [ebp - 0x214], ax
lea eax, [ecx + 1]
jmp 0x10008a02
mov eax, 0x80070057
jmp 0x100087fe