Function at 0x408a10
Capabilities:
Copy file
Create directory
Get common file path
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448316
mov eax, dword fs:[0]
push eax
mov eax, 0x1074
call fcn.0043f820
mov eax, dword [0x4624c8]
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
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x1034], 7
mov dword [ebp - 0x1038], 0
mov word [ebp - 0x1048], ax
push str.Configuring_uninstallation_environment
push 0x453cac
mov dword [ebp - 4], eax
push 0x463614
mov dword [ebp - 0x107c], eax
call fcn.00419150
add esp, 0xc
lea ecx, [edi + 4]
push str.IIF_INSTALLFOLDER
call fcn.00419790
mov edx, eax
cmp word [edx], 0
jne 0x408a9a
xor ecx, ecx
jmp 0x408aaf
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408aa0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1048]
call fcn.00406140
mov edx, dword [ebp - 0x1034]
lea ecx, [ebp - 0x1048]
mov eax, dword [ebp - 0x1038]
cmp edx, 8
mov esi, dword [ebp - 0x1048]
cmovae ecx, esi
lea ebx, [eax + eax]
cmp word [ecx + ebx - 2], 0x20
jne 0x408b16
cmp edx, 8
lea eax, [ebp - 0x1048]
lea ecx, [ebp - 0x1048]
cmovae eax, esi
add eax, 0xfffffffe
cmp edx, 8
cmovae ecx, esi
add eax, ebx
je 0x408b08
sub eax, ecx
sar eax, 1
push 1
push eax
lea ecx, [ebp - 0x1048]
call fcn.00405d20
push 0x104
lea eax, [ebp - 0x1030]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push str.IntelPackage_Cache
push eax
call ebx
cmp dword [edi + 0x248], 8
lea esi, [edi + 0x234]
jb 0x408b66
mov eax, dword [esi]
jmp 0x408b68
mov eax, esi
push eax
lea eax, [ebp - 0x218]
push eax
call ebx
lea eax, [ebp - 0x218]
push eax
push str.Cache_location:__s
push 0x453cac
push 0x463614
call fcn.00419150
add esp, 0x10
lea eax, [ebp - 0x218]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x454f64
lea eax, [ebp - 0x218]
push eax
call ebx
push 0x80
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1030]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x408c2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.Error__0xX_occurred_while_copying_uninstaller_to_cache
push 0x453cac
push 0x463614
call fcn.00419150
push 0xa
push 8
lea eax, [ebp - 0x1058]
push eax
push esi
call fcn.0043213f
add esp, 0x20
lea eax, [ebp - 0x1058]
lea ecx, [edi + 4]
push eax
push str.IIF_EXITCODE
call fcn.004198c0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
jmp 0x409038
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea eax, [ebp - 0xc20]
push 0x104
push eax
call fcn.004319e1
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x408c4d
mov esi, dword [esi]
push esi
lea eax, [ebp - 0xc20]
push 0x104
push eax
call fcn.00431c47
add esp, 0xc
lea eax, [ebp - 0xc20]
push eax
push str.ARP_location:__s
push 0x453cac
push 0x463614
call fcn.00419150
add esp, 0x10
lea eax, [ebp - 0x107c]
push 0
push eax
push 0
push 0x20106
push 0
push 0
push 0
lea eax, [ebp - 0xc20]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x409038
cmp dword [edi + 0x260], 8
lea eax, [edi + 0x24c]
jb 0x408cc1
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.004319e1
lea ecx, [ebp - 0xa18]
add esp, 0xc
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408ce0
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0xa18]
push eax
push 1
push 0
push str.DisplayName
push dword [ebp - 0x107c]
call esi
cmp dword [ebp - 0x1034], 8
lea eax, [ebp - 0x1048]
cmovae eax, dword [ebp - 0x1048]
push eax
lea eax, [ebp - 0xe28]
push 0x104
push eax
call fcn.004319e1
add esp, 0xc
lea eax, [ebp - 0xe28]
push str.LangResource.dll
push eax
call ebx
lea eax, [ebp - 0xe28]
push eax
lea eax, [ebp - 0xa18]
push str.__s__20000
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0xa18]
add esp, 0xc
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408d70
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0xa18]
push eax
push 1
push 0
push str.DisplayName_Localized
push dword [ebp - 0x107c]
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa18]
push 0x104
push eax
call fcn.004319e1
add esp, 0xc
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push str.__uninstall
lea eax, [ebp - 0xa18]
push 0x104
push eax
call fcn.00431c47
lea ecx, [ebp - 0xa18]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408de5
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0xa18]
push eax
push 1
push 0
push str.UninstallString
push dword [ebp - 0x107c]
call esi
push 0x455130
lea eax, [ebp - 0xa18]
push 0x400
push eax
call fcn.004319e1
lea ecx, [ebp - 0xa18]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408e32
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0xa18]
push eax
push 1
push 0
push str.Publisher
push dword [ebp - 0x107c]
call esi
push str.IIF_PACKAGEVERSION
lea ecx, [edi + 4]
call fcn.00419790
push eax
lea ecx, [ebp - 0x1078]
call fcn.00406240
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1078]
cmp dword [ebp - 0x1064], 8
mov eax, dword [ebp - 0x1068]
cmovae ecx, dword [ebp - 0x1078]
add eax, eax
push eax
push ecx
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x107c]
call esi
cmp dword [ebp - 0x1034], 8
lea ecx, [ebp - 0x1048]
mov eax, dword [ebp - 0x1038]
cmovae ecx, dword [ebp - 0x1048]
add eax, eax
push eax
push ecx
push 1
push 0
push str.InstallLocation
push dword [ebp - 0x107c]
call esi
push str.IIF_ARPICON
lea ecx, [edi + 4]
call fcn.00419790
push eax
lea ecx, [ebp - 0x1060]
call fcn.00406240
cmp dword [ebp - 0x1050], 0
je 0x408f22
cmp dword [ebp - 0x104c], 8
lea eax, [ebp - 0x1060]
cmovae eax, dword [ebp - 0x1060]
push eax
lea eax, [ebp - 0xa18]
push 0x104
push eax
call fcn.004319e1
jmp 0x408f53
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa18]
push 0x104
push eax
call fcn.004319e1
add esp, 0xc
lea eax, [ebp - 0xa18]
push 0x4551e8
push 0x104
push eax
call fcn.00431c47
lea ecx, [ebp - 0xa18]
add esp, 0xc
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408f60
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0xa18]
push eax
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x107c]
call esi
xor eax, eax
cmp byte [edi + 0x31f], al
push 4
sete al
mov dword [ebp - 0x1080], eax
lea eax, [ebp - 0x1080]
push eax
push 4
push 0
push str.NoModify
push dword [ebp - 0x107c]
call esi
xor eax, eax
cmp byte [edi + 0x31e], al
push 4
sete al
mov dword [ebp - 0x1080], eax
lea eax, [ebp - 0x1080]
push eax
push 4
push 0
push str.NoRepair
push dword [ebp - 0x107c]
call esi
push dword [ebp - 0x107c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x104c], 8
jb 0x409004
push dword [ebp - 0x1060]
call fcn.004213f0
add esp, 4
xor eax, eax
mov dword [ebp - 0x104c], 7
cmp dword [ebp - 0x1064], 8
mov dword [ebp - 0x1050], 0
mov word [ebp - 0x1060], ax
jb 0x409038
push dword [ebp - 0x1078]
call fcn.004213f0
add esp, 4
cmp dword [ebp - 0x1034], 8
jb 0x40904f
push dword [ebp - 0x1048]
call fcn.004213f0
add esp, 4
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.00430d5f
mov esp, ebp
pop ebp
ret