Function at 0x10002bf0
Capabilities:
Delete directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x214]
push ebx
mov ebx, eax
sub esp, 0x238
mov dword [esp + 4], 0x104
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
movzx edx, word [0x10008464]
mov ecx, dword [ebx + 0x10]
movdqu xmm0, xmmword [str.winsxs_]
lea esi, [eax + eax]
sub esp, 8
mov word [ebp + esi - 0x204], dx
mov edx, dword [ebx + 4]
mov dword [ebp - 0x21c], esi
movups xmmword [ebp + esi - 0x214], xmm0
lea esi, [eax + 8]
lea eax, [ebp - 0x218]
mov dword [esp + 4], eax
mov eax, dword [ebx + 8]
mov dword [esp], eax
mov eax, dword [ebx + 0xc]
call sym._build_assembly_name
mov dword [ebp - 0x230], eax
test eax, eax
je 0x10002e97
add esi, dword [ebp - 0x218]
lea eax, [esi + esi + 2]
mov dword [ebp - 0x220], esi
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x22c], eax
call eax
mov esi, eax
test eax, eax
je 0x10002e9e
xor eax, eax
lea esi, cs:[esi]
movzx edx, word [edi + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x10002ca0
mov eax, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x230]
lea ecx, [esi + eax + 0x10]
xor eax, eax
lea esi, [esi]
movzx edx, word [edi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x10002cc8
mov eax, dword [ebx + 0x14]
lea edi, [ebx + 0x14]
mov ebx, dword [ebp - 0x220]
mov dword [ebp - 0x224], edi
add ebx, 2
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x228], ebx
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x220], ebx
cmp edi, eax
je 0x10002e18
lea esi, [esi]
mov eax, dword [ebp - 0x21c]
mov edx, dword [eax + 8]
cmp word [edx], 0
je 0x10002e90
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x10002d28
sub eax, edx
sar eax, 1
mov edi, dword [ebp - 0x228]
add eax, edi
add eax, eax
mov dword [esp], eax
mov eax, dword [ebp - 0x22c]
call eax
mov ebx, eax
test eax, eax
je 0x10002ea9
xor eax, eax
lea esi, cs:[esi]
nop
movzx edx, word [esi + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x10002d60
cmp word [ebx], 0
mov edx, ebx
je 0x10002d89
lea esi, cs:[esi]
add edx, 2
cmp word [edx], 0
jne 0x10002d80
xor eax, eax
lea esi, cs:[esi]
movzx ecx, word [eax + 0x100081b0]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10002d90
mov eax, dword [ebp - 0x21c]
cmp word [ebx], 0
mov edx, ebx
mov edi, dword [eax + 8]
je 0x10002dc1
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x10002db8
xor eax, eax
lea esi, cs:[esi]
movzx ecx, word [edi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10002dc8
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
test eax, eax
jne 0x10002df1
test byte [0x10006018], 4
jne 0x10002e50
mov dword [esp], ebx
mov eax, dword [ebp - 0x220]
call eax
mov eax, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x224]
mov eax, dword [eax]
mov dword [ebp - 0x21c], eax
cmp eax, edi
jne 0x10002d10
mov dword [esp], esi
xor ebx, ebx
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
sub esp, 4
mov dword [esp], esi
mov edi, dword [ebp - 0x220]
call edi
mov eax, dword [ebp - 0x230]
mov dword [esp], eax
call edi
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.failed_to_delete_file__lu_n
mov dword [esp + 8], str.uninstall_assembly
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10006018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x10002df1
xor eax, eax
jmp 0x10002d35
mov ebx, 0x8007000e
jmp 0x10002e3c
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x220], eax
mov ebx, 0x8007000e
jmp 0x10002e26