Function at 0x411510
Capabilities:
Create directory
Get common file path

Disassembly:
push 0x21c
mov eax, 0x4568f2
call fcn.0043cf73
lea eax, [ebp - 0x218]
push eax
xor edi, edi
push edi
push edi
push 0x8023
push edi
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x411543
xor eax, eax
jmp 0x4117e2
lea eax, [ebp - 0x218]
lea ebx, [esi + 0xc]
push eax
mov ecx, ebx
call fcn.00402123
push 0x48b958
lea ecx, [ebp - 0x228]
call fcn.0040219e
mov dword [ebp - 4], edi
call fcn.00429b48
push eax
lea ecx, [ebp - 0x224]
call fcn.0040fc71
lea eax, [ebp - 0x224]
mov edi, 0x48b904
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004236c8
push dword [ebp - 0x224]
call fcn.0043b90f
mov dword [ebp - 0x21c], eax
pop ecx
mov eax, edi
call fcn.004051e1
lea edi, [esi + 0x18]
mov ecx, edi
test eax, eax
je 0x41162e
push str.Reader
call fcn.00402123
cmp dword [ebp - 0x21c], 0xa
jge 0x4115d1
push dword [0x48b958]
push 0x12d
jmp 0x41164c
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x220]
push str.AdobeARMReader_
push eax
call fcn.00401e97
add esp, 0xc
push 0x45ed08
push eax
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 2
call fcn.004088df
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00401f30
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.004025e7
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x220]
jmp 0x4116af
push str.Acrobat
call fcn.00402123
cmp dword [ebp - 0x21c], 0xa
jge 0x411657
push dword [0x48b958]
push 0x12c
mov ecx, ebx
call fcn.004144f5
pop ecx
pop ecx
jmp 0x4116b7
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push str.AdobeARMAcrobat_
push eax
call fcn.00401e97
add esp, 0xc
push 0x45ed08
push eax
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 4
call fcn.004088df
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00401f30
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004025e7
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.004025e7
mov eax, dword [ebp - 0x224]
push dword [eax - 0xc]
mov ecx, edi
push eax
call fcn.00401f90
push str.Manifest.msi
mov ecx, edi
call fcn.004089c0
push edi
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.00401e40
add esp, 0xc
lea ecx, [esi + 8]
push eax
mov byte [ebp - 4], 6
call fcn.00408b86
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004025e7
mov eax, dword [edi]
push dword [eax - 0xc]
lea ecx, [esi + 0x14]
push eax
call fcn.00401f90
push str.UpgradeManifest.msi
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.004088df
add esp, 0xc
lea ecx, [esi + 0x10]
push eax
mov byte [ebp - 4], 7
call fcn.00408b86
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.004025e7
mov eax, dword [ebx]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
cmp esi, 0xa1
je 0x41178d
cmp esi, 3
je 0x41178d
mov ebx, 0x48ba00
call fcn.00415b9c
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.004025e7
xor eax, eax
inc eax
jmp 0x4117e2
push str.SHCreateDirectoryEx___failed:
lea ecx, [ebp - 0x21c]
call fcn.0040215a
push esi
push ebx
lea eax, [ebp - 0x21c]
push eax
push 1
mov byte [ebp - 4], 8
call fcn.0040e087
mov ecx, dword [ebp - 0x21c]
add esp, 0x10
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025e7
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004025e7
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.004025e7
mov eax, esi
call fcn.0043cff6
ret