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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x477070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.__Deleting_uninstall_environment
mov ebx, ecx
push 0x4656cc
push 0x477a14
mov dword [ebp - 0x41c], ebx
call fcn.00433950
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push str.IntelPackage_Cache
push eax
call edi
cmp dword [ebx + 0x24c], 8
lea esi, [ebx + 0x238]
jb 0x40ba71
mov eax, dword [esi]
jmp 0x40ba73
mov eax, esi
push eax
lea eax, [ebp - 0x210]
push eax
call edi
lea eax, [ebp - 0x210]
push eax
push str.____Deleting_cache___s_
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0x10
lea eax, [ebp - 0x210]
push str.setup.exe
push eax
call edi
lea ecx, [ebp - 0x210]
call fcn.0041ba40
test eax, eax
je 0x40bad0
push eax
push str.Delete_error__d
push 0x4662f8
push 0x477a14
call fcn.00433950
add esp, 0x10
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40bb17
lea eax, [ebp - 0x210]
push eax
call edi
push eax
push str.Delete_error__d_on__s
push 0x4662f8
push 0x477a14
call fcn.00433950
add esp, 0x14
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40bb52
lea eax, [ebp - 0x210]
push eax
call edi
push eax
push str.Delete_error__d_on__s
push 0x4662f8
push 0x477a14
call fcn.00433950
add esp, 0x14
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40bb8d
lea eax, [ebp - 0x210]
push eax
call edi
push eax
push str.Delete_error__d_on__s
push 0x4662f8
push 0x477a14
call fcn.00433950
add esp, 0x14
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.0043efc6
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x40bbae
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.0043f02a
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push str.____Deleting_ARP_entry___s_
push 0x4656cc
push 0x477a14
call fcn.00433950
add esp, 0xc
lea edx, [ebp - 0x418]
call fcn.0041c970
add esp, 4
test eax, eax
je 0x40bc0b
push eax
push str.Delete_error__d
push 0x466060
push 0x477a14
call fcn.00433950
add esp, 0x10
push str.SoftwareIntel_
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.0043efc6
mov eax, dword [ebp - 0x41c]
add esp, 0xc
add eax, 0x2c8
cmp dword [eax + 0x14], 8
jb 0x40bc37
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.0043f02a
add esp, 8
lea edx, [ebp - 0x418]
call fcn.0041c970
add esp, 4
push eax
lea eax, [ebp - 0x418]
push eax
push str.____Deleting_product_key___s___0x_X_
push 0x4656cc
push 0x477a14
call fcn.00433950
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00436666
mov esp, ebp
pop ebp
ret