Function at 0x100033a0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x44
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
test byte [0x10006018], 8
jne 0x100036a0
test edi, edi
jne 0x1000372c
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x28], eax
sub esp, 4
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.sxs.dll_CreateAssemblyNameObject
mov dword [ebp - 0x24], eax
sub esp, 0x10
test eax, eax
js 0x10003688
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._get_name_attribute
mov dword [esp + 4], 0
mov esi, eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._get_name_attribute
mov dword [ebp - 0x1c], eax
mov dword [esp + 4], 2
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._get_name_attribute
mov dword [ebp - 0x20], eax
mov dword [esp + 4], 3
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._get_name_attribute
mov dword [esp + 4], 4
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._get_name_attribute
mov edx, eax
test esi, esi
je 0x10003580
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10003580
mov ecx, dword [ebp - 0x20]
test ecx, ecx
sete al
test ebx, ebx
sete cl
or al, cl
jne 0x10003580
test edx, edx
mov dword [ebp - 0x24], edx
je 0x10003580
mov edx, dword [sym.imp.ucrtbase.dll_wcscmp]
mov dword [esp + 4], str.win32
mov dword [esp], ebx
mov dword [ebp - 0x2c], edx
call edx
mov edx, dword [ebp - 0x24]
test eax, eax
jne 0x10003560
mov dword [esp], edx
mov ecx, dword [ebp - 0x20]
mov eax, esi
mov edx, dword [ebp - 0x1c]
call sym._build_manifest_filename
mov ebx, eax
lea eax, [ebp - 0x18]
mov dword [esp + 0xc], 0x10008d34
mov dword [esp + 0x10], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], 0x10008af4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x24], eax
sub esp, 0x14
test eax, eax
jne 0x1000354b
mov eax, dword [ebp - 0x18]
mov edx, ebx
call sym._load_manifest
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10003707
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10003594
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x10003643
mov dword [ebp - 0x24], edx
mov dword [esp + 4], str.win32_policy
mov dword [esp], ebx
mov eax, dword [ebp - 0x2c]
call eax
test eax, eax
je 0x100036ed
lea esi, cs:[esi]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], 0x80070057
xor ebx, ebx
test eax, eax
je 0x10003643
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], ebx
mov dword [ebp - 0x1c], eax
call eax
test edi, edi
je 0x10003643
mov ebx, dword [sym.imp.oleaut32.dll_SysFreeString]
mov eax, dword [edi]
mov dword [esp], eax
mov dword [ebp - 0x20], ebx
call ebx
mov eax, dword [edi + 4]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [edi + 8]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [edi + 0xc]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [edi + 0x10]
sub esp, 4
mov dword [esp], eax
call ebx
mov ebx, dword [edi + 0x14]
lea ecx, [edi + 0x14]
sub esp, 4
mov esi, dword [ebx]
cmp ebx, ecx
je 0x1000363b
mov eax, ebx
mov dword [ebp + 0x14], edi
mov ebx, esi
mov edi, ecx
mov esi, eax
lea esi, [esi]
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 8]
mov dword [esp], ecx
mov eax, dword [ebp - 0x20]
call eax
sub esp, 4
mov dword [esp], esi
mov esi, ebx
mov eax, dword [ebp - 0x1c]
call eax
mov ebx, dword [ebx]
cmp edi, esi
jne 0x10003610
mov edi, dword [ebp + 0x14]
mov dword [esp], edi
mov eax, dword [ebp - 0x1c]
call eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10003655
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
js 0x10003662
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseMutex]
sub esp, 4
mov eax, dword [ebp - 0x24]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov eax, dword [ebp - 0x10]
xor ebx, ebx
test eax, eax
jne 0x10003594
jmp 0x10003643
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], str._p__0x_08lx___s___p___p_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.cache_UninstallAssembly
mov dword [esp + 4], 0x10006018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x100033d1
mov edx, dword [ebp - 0x24]
mov eax, esi
mov dword [esp], edx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call sym._build_policy_filename
mov ebx, eax
jmp 0x10003500
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call sym._parse_assembly.constprop.0
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10003767
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10003594
jmp 0x1000359f
test byte [0x10006018], 1
jne 0x10003741
mov dword [ebp - 0x24], 0x80004001
jmp 0x10003674
mov dword [esp + 0xc], str.application_reference_not_supported_n
mov dword [esp + 8], str.cache_UninstallAssembly
mov dword [esp + 4], 0x10006018
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x10003735
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
test eax, eax
jne 0x100037b6
test byte [0x10006018], 4
jne 0x100037ed
mov edi, dword [ebp - 0x14]
mov dword [esp + 4], str.win32
mov eax, dword [edi]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
call eax
test eax, eax
je 0x100037de
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10003594
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], ebx
mov dword [ebp - 0x1c], eax
call eax
jmp 0x100035b4
mov dword [esp + 4], 0x5c
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x10003780
xor edx, edx
mov word [eax], dx
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
sub esp, 4
jmp 0x10003780
mov eax, edi
call sym._uninstall_assembly
mov dword [ebp - 0x24], eax
jmp 0x1000371c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.unable_to_remove_manifest_file__lu_n
mov dword [esp + 8], str.cache_UninstallAssembly
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x10006018
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x10003780