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

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x4bfd60]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0xc
mov eax, 0x475fda
call fcn.0045be74
mov esi, ecx
push str.InitOnDemandDownload...
lea ecx, [ebp - 0x10]
call fcn.004020a6
xor edi, edi
push edi
lea eax, [ebp - 0x10]
push eax
push 2
pop ebx
push ebx
mov dword [ebp - 4], edi
call fcn.004152d1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
push 0x105
lea eax, [ebp]
push edi
push eax
call fcn.00459cf0
add esp, 0xc
lea eax, [ebp]
push eax
push edi
push edi
push 0x8023
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, edi
mov dword [ebp - 0x14], eax
jge 0x41c52c
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x10]
call fcn.004020a6
xor eax, eax
inc eax
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.004152d1
add esp, 0xc
mov esi, eax
jmp 0x41c6a0
call fcn.0044825c
push eax
lea ecx, [ebp - 0x10]
call fcn.0041872d
lea eax, [ebp - 0x10]
push eax
push 0x4c4c24
mov dword [ebp - 4], ebx
call fcn.0041a7f5
lea eax, [ebp]
lea edi, [esi + 8]
push eax
mov ecx, edi
call fcn.0040211a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push str.AdobeARMOnDemand_
push eax
call fcn.00401e40
push 0x48415c
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.0040adb6
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00401ec7
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025d2
lea ebx, [esi + 0x30]
push ebx
push str.OnDemandManifestURL
push str.SOFTWAREAdobeAdobe_ARM1.0ARM
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0043d278
mov eax, dword [ebx]
add esp, 0x10
cmp dword [eax - 0xc], 0
jne 0x41c5fb
push str.ArmOnDemand2.msi
lea eax, [ebp - 0x18]
push 0x4c46ac
push eax
call fcn.0040adb6
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00402573
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025d2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00401de9
push str..msi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 6
call fcn.0040adb6
add esp, 0x18
lea ecx, [esi + 0x2c]
push eax
mov byte [ebp - 4], 7
call fcn.00402573
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004025d2
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, dword [edi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
cmp esi, 0xa1
je 0x41c672
cmp esi, 3
je 0x41c672
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025d2
xor eax, eax
inc eax
jmp 0x41c6ad
push str.SHCreateDirectoryEx_failed:
lea ecx, [ebp - 0x14]
call fcn.004020a6
push esi
push edi
lea eax, [ebp - 0x14]
push eax
push 1
mov byte [ebp - 4], 8
call fcn.00414e01
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
mov esi, eax
call fcn.004025d2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.00458e0e
add ebp, 0x210
leave
ret