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

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4b2d60]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x46c31d
call fcn.004529c4
mov esi, ecx
push str.InitOnDemandDownload...
lea ecx, [ebp - 0x10]
call fcn.004012e2
xor ebx, ebx
push ebx
lea eax, [ebp - 0x10]
push eax
push 2
pop edi
push edi
mov dword [ebp - 4], ebx
call fcn.004117b0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
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 0x4175aa
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x10]
call fcn.004012e2
xor eax, eax
inc eax
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.004117b0
add esp, 0xc
mov esi, eax
jmp 0x41771e
call fcn.0043eec2
push eax
lea ecx, [ebp - 0x10]
call fcn.004013a1
lea eax, [ebp - 0x10]
push eax
push 0x4b7bf4
mov dword [ebp - 4], edi
call fcn.00415ff4
lea eax, [ebp]
lea edi, [esi + 8]
push eax
mov ecx, edi
call fcn.00401356
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push str.AdobeARMOnDemand_
push eax
call fcn.0040107c
push 0x479924
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.0040740d
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00401103
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017df
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
lea ebx, [esi + 0x2c]
push ebx
push str.OnDemandManifestURL
push 0x477688
push reloc.OLEAUT32.dll_SysReAllocString
call main
mov eax, dword [ebx]
add esp, 0x10
cmp dword [eax - 0xc], 0
jne 0x417679
push str.ArmOnDemand2.msi
lea eax, [ebp - 0x18]
push 0x4b769c
push eax
call fcn.0040740d
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00407768
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
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.0040740d
add esp, 0x18
lea ecx, [esi + 0x28]
push eax
mov byte [ebp - 4], 7
call fcn.00407768
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004017df
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [edi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
cmp esi, 0xa1
je 0x4176f0
cmp esi, 3
je 0x4176f0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
inc eax
jmp 0x41772b
push str.SHCreateDirectoryEx_failed:
lea ecx, [ebp - 0x14]
call fcn.004012e2
push esi
push edi
lea eax, [ebp - 0x14]
push eax
push 1
mov byte [ebp - 4], 8
call fcn.004112e0
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017df
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017df
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.0044fa93
add ebp, 0x20c
leave
ret