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

Disassembly:
push 0x21c
mov eax, 0x45eec3
call fcn.004480d4
mov esi, ecx
push str.InitDownloadForArmUpdate...
lea ecx, [ebp - 0x220]
call fcn.00402060
xor edi, edi
push edi
lea eax, [ebp - 0x220]
push eax
push 2
mov dword [ebp - 4], edi
call fcn.00411fb7
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 0x8023
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
cmp ebx, edi
jge 0x41591a
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x220]
call fcn.00402060
xor eax, eax
push ebx
lea ecx, [ebp - 0x220]
inc eax
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.00411fb7
mov ecx, dword [ebp - 0x220]
add esp, 0xc
mov esi, eax
jmp 0x415c2d
lea eax, [ebp - 0x218]
lea ebx, [esi + 0x20]
push eax
mov ecx, ebx
call fcn.004020d4
push str.AdobeARMS_
mov ecx, ebx
call fcn.00409023
push 0x49d440
lea eax, [ebp - 0x228]
push str.SOFTWAREAdobeAdobe_ARMLegacy_
push eax
call fcn.00401dd1
add esp, 0xc
mov dword [ebp - 4], 2
call fcn.00434892
push eax
lea ecx, [ebp - 0x224]
call fcn.0040210b
lea eax, [ebp - 0x224]
push eax
push str.ManifestURL
mov byte [ebp - 4], 3
push dword [ebp - 0x228]
push 0x80000002
call fcn.0042e34e
mov eax, dword [ebp - 0x224]
add esp, 0x10
cmp dword [eax - 0xc], edi
jne 0x4159fe
mov edi, 0x49d444
push edi
lea eax, [ebp - 0x21c]
push 0x49d454
push eax
call fcn.00401d7a
add esp, 0xc
lea ecx, [esi + 0x1c]
push eax
mov byte [ebp - 4], 4
call fcn.00409162
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040253e
push edi
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.00401d7a
add esp, 0xc
add esi, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00409162
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x21c]
jmp 0x415b9d
push 0x2f
lea ecx, [ebp - 0x224]
call fcn.0040a4ee
mov dword [ebp - 0x21c], eax
call fcn.00434892
push eax
lea ecx, [ebp - 0x220]
call fcn.0040210b
mov byte [ebp - 4], 6
cmp dword [ebp - 0x21c], 0xffffffff
je 0x415a74
mov eax, dword [ebp - 0x224]
mov eax, dword [eax - 0xc]
sub eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x224]
dec eax
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0040a536
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 7
call fcn.00409162
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [ebp - 0x220]
cmp dword [eax - 0xc], edi
jne 0x415b14
push str.Registered_ARM_Manifest_URL_is_not_valid__using_default
lea ecx, [ebp - 0x21c]
call fcn.00402060
push edi
lea eax, [ebp - 0x21c]
push eax
push 2
mov byte [ebp - 4], 8
call fcn.00411fb7
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x21c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov edi, 0x49d444
push edi
lea eax, [ebp - 0x21c]
push 0x49d454
push eax
call fcn.00401d7a
add esp, 0xc
lea ecx, [esi + 0x1c]
push eax
mov byte [ebp - 4], 9
call fcn.00409162
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040253e
push edi
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.00401d7a
add esp, 0xc
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 0xa
call fcn.00409162
jmp 0x415b85
lea eax, [ebp - 0x224]
lea edi, [esi + 0x1c]
push eax
mov ecx, edi
call fcn.00409162
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.00401d7a
add esp, 0xc
add esi, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00409162
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040253e
push str.ARM_Manifest_URL_redirected:
lea ecx, [ebp - 0x21c]
call fcn.00402060
push 0
push edi
lea eax, [ebp - 0x21c]
push eax
push 2
mov byte [ebp - 4], 0xc
call fcn.00411b31
add esp, 0x10
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040253e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [ebx]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
cmp esi, 0xa1
je 0x415be2
cmp esi, 3
je 0x415be2
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
inc eax
jmp 0x415c37
push str.SHCreateDirectoryEx_failed:
lea ecx, [ebp - 0x21c]
call fcn.00402060
push esi
push ebx
lea eax, [ebp - 0x21c]
push eax
push 1
mov byte [ebp - 4], 0xd
call fcn.00411b31
mov ecx, dword [ebp - 0x21c]
add esp, 0x10
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040253e
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, esi
call fcn.00448157
ret