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

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4a1d50]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x460e52
call fcn.00449ec2
mov esi, ecx
push str.InitOnDemandDownload...
lea ecx, [ebp - 0x10]
call fcn.0040130b
xor ebx, ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push 2
pop edi
push edi
mov dword [ebp - 4], ebx
call fcn.0040fcf3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x8023
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jge 0x414e54
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x10]
call fcn.0040130b
xor eax, eax
inc eax
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.0040fcf3
add esp, 0xc
mov esi, eax
jmp 0x414fc8
call fcn.004366fe
push eax
lea ecx, [ebp - 0x10]
call fcn.00411d53
lea eax, [ebp - 0x10]
push eax
push 0x4a6ae0
mov dword [ebp - 4], edi
call fcn.0041394e
lea eax, [ebp]
lea edi, [esi + 8]
push eax
mov ecx, edi
call fcn.0040137f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push str.AdobeARMOnDemand_
push eax
call fcn.0040107c
push 0x46de14
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.004061c9
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00401115
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017c4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017c4
lea ebx, [esi + 0x2c]
push ebx
push str.OnDemandManifestURL
push 0x46c0b0
push 0x80000002
call fcn.0042eccb
mov eax, dword [ebx]
add esp, 0x10
cmp dword [eax - 0xc], 0
jne 0x414f23
push str.ArmOnDemand.msi
lea eax, [ebp - 0x18]
push 0x4a65d4
push eax
call fcn.004061c9
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.004063a1
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017c4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00401025
push str..msi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 6
call fcn.004061c9
add esp, 0x18
lea ecx, [esi + 0x28]
push eax
mov byte [ebp - 4], 7
call fcn.004063a1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017c4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, dword [edi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
cmp esi, 0xa1
je 0x414f9a
cmp esi, 3
je 0x414f9a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017c4
xor eax, eax
inc eax
jmp 0x414fd5
push str.SHCreateDirectoryEx_failed:
lea ecx, [ebp - 0x14]
call fcn.0040130b
push esi
push edi
lea eax, [ebp - 0x14]
push eax
push 1
mov byte [ebp - 4], 8
call fcn.0040f821
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017c4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017c4
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 + 0x208]
xor ecx, ebp
call fcn.004472d5
add ebp, 0x20c
leave
ret