Function at 0x41e07d
Capabilities:
Get common file path

Disassembly:
push 0x22c
mov eax, 0x4af785
call fcn.0046c44c
mov edi, ecx
mov dword [ebp - 0x230], edi
push str.InitDownloadForArmUpdate...
lea ecx, [ebp - 0x228]
call fcn.00402829
xor ebx, ebx
lea edx, [ebp - 0x228]
push ebx
push 2
pop ecx
mov dword [ebp - 4], ebx
call fcn.00414d4f
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x105
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.00484bc0
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push ebx
push ebx
push 0x801c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x41e135
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x228]
call fcn.00402829
xor ecx, ecx
lea edx, [ebp - 0x228]
inc ecx
push esi
mov dword [ebp - 4], ecx
call fcn.00414d4f
pop ecx
mov ecx, dword [ebp - 0x228]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
jmp 0x41e50e
lea eax, [ebp - 0x220]
lea ebx, [edi + 0x28]
push eax
mov ecx, ebx
call fcn.0040286d
push str.AdobeARMS_
mov ecx, ebx
call fcn.0040259d
push 0x51acf4
lea eax, [ebp - 0x234]
push str.SOFTWAREAdobeAdobe_ARMLegacy_
push eax
call fcn.004023f1
add esp, 0xc
mov dword [ebp - 4], 2
call fcn.00452601
push eax
lea ecx, [ebp - 0x22c]
call fcn.00402899
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x234]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
and dword [ebp - 0x224], 0
push eax
lea eax, [ebp - 0x22c]
push eax
push str.ManifestURL_3
call fcn.004417f0
mov esi, dword [ebp - 0x22c]
add esp, 0xc
cmp dword [esi - 0xc], 0
jne 0x41e2ab
mov edx, dword [ebp - 0x234]
lea eax, [ebp - 0x224]
and dword [ebp - 0x224], 0
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
lea eax, [ebp - 0x22c]
push eax
push str.ManifestURL_2
call fcn.004417f0
mov esi, dword [ebp - 0x22c]
add esp, 0xc
cmp dword [esi - 0xc], 0
jne 0x41e2ab
mov edx, dword [ebp - 0x234]
lea eax, [ebp - 0x224]
and dword [ebp - 0x224], 0
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
lea eax, [ebp - 0x22c]
push eax
push str.ManifestURL
call fcn.004417f0
mov esi, dword [ebp - 0x22c]
add esp, 0xc
cmp dword [esi - 0xc], 0
jne 0x41e2ab
push 0x51acf8
lea eax, [ebp - 0x224]
push 0x51ad00
push eax
call fcn.004024b8
add esp, 0xc
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
push eax
call fcn.00402e14
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x51acf8
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.004024b8
add esp, 0xc
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 5
push eax
call fcn.00402e14
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x41e46c
push 0x2f
push esi
call fcn.00485294
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x41e2c0
or edi, 0xffffffff
jmp 0x41e2c4
sub edi, esi
sar edi, 1
call fcn.00452601
push eax
lea ecx, [ebp - 0x228]
call fcn.00402899
mov byte [ebp - 4], 6
cmp edi, 0xffffffff
je 0x41e319
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x22c]
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004133b3
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 7
call fcn.00402e14
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov edi, dword [ebp - 0x228]
cmp dword [edi - 0xc], 0
jne 0x41e3cb
push str.Registered_ARM_Manifest_URL_is_not_valid__using_default
lea ecx, [ebp - 0x224]
call fcn.00402829
push 0
push 2
lea edx, [ebp - 0x224]
mov byte [ebp - 4], 8
pop ecx
call fcn.00414d4f
pop ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x51acf8
lea eax, [ebp - 0x224]
push 0x51ad00
push eax
call fcn.004024b8
add esp, 0xc
mov ecx, dword [ebp - 0x230]
add ecx, 0x24
mov byte [ebp - 4], 9
push eax
call fcn.00402e14
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x51acf8
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.004024b8
add esp, 0xc
mov ecx, dword [ebp - 0x230]
add ecx, 0x20
mov byte [ebp - 4], 0xa
push eax
call fcn.00402e14
jmp 0x41e44c
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [eax + 0x24]
call fcn.00402e14
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.004024b8
add esp, 0xc
mov ecx, dword [ebp - 0x230]
add ecx, 0x20
mov byte [ebp - 4], 0xb
push eax
call fcn.00402e14
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push str.ARM_Manifest_URL:
lea ecx, [ebp - 0x224]
call fcn.00402829
mov eax, dword [ebp - 0x230]
lea edx, [ebp - 0x224]
push 0
add eax, 0x24
mov byte [ebp - 4], 0xc
push eax
push 2
pop ecx
call fcn.00414600
pop ecx
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 3
call fcn.00402e64
mov edi, dword [ebp - 0x230]
push str.WinARM
lea ecx, [ebp - 0x224]
call fcn.00402829
lea edx, [edi + 0x24]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x224]
call fcn.00414f05
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0
push dword [ebx]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edi, eax
cmp edi, 0xa1
je 0x41e4c0
cmp edi, 3
je 0x41e4c0
xor edi, edi
inc edi
jmp 0x41e4f6
push str.SHCreateDirectoryEx_failed:
lea ecx, [ebp - 0x224]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 0xe
push edi
push ebx
lea edx, [ebp - 0x224]
inc ecx
call fcn.00414600
pop ecx
pop ecx
mov ecx, dword [ebp - 0x224]
mov edi, eax
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, edi
call fcn.0046c3f6
ret