Function at 0x41cafd
Capabilities:
Get common file path

Disassembly:
push 0x22c
mov eax, 0x4abf25
call fcn.00468fdc
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.004137d1
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.00481750
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 0x41cbb5
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.004137d1
pop ecx
mov ecx, dword [ebp - 0x228]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
jmp 0x41cf8e
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 0x514cec
lea eax, [ebp - 0x234]
push str.SOFTWAREAdobeAdobe_ARMLegacy_
push eax
call fcn.004023f1
add esp, 0xc
mov dword [ebp - 4], 2
call fcn.0044f181
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.0043fb5d
mov esi, dword [ebp - 0x22c]
add esp, 0xc
cmp dword [esi - 0xc], 0
jne 0x41cd2b
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.0043fb5d
mov esi, dword [ebp - 0x22c]
add esp, 0xc
cmp dword [esi - 0xc], 0
jne 0x41cd2b
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.0043fb5d
mov esi, dword [ebp - 0x22c]
add esp, 0xc
cmp dword [esi - 0xc], 0
jne 0x41cd2b
push 0x514cf0
lea eax, [ebp - 0x224]
push 0x514cf8
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 0x514cf0
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 0x41ceec
push 0x2f
push esi
call fcn.004820a0
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x41cd40
or edi, 0xffffffff
jmp 0x41cd44
sub edi, esi
sar edi, 1
call fcn.0044f181
push eax
lea ecx, [ebp - 0x228]
call fcn.00402899
mov byte [ebp - 4], 6
cmp edi, 0xffffffff
je 0x41cd99
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x22c]
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00411e50
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 0x41ce4b
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.004137d1
pop ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x514cf0
lea eax, [ebp - 0x224]
push 0x514cf8
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 0x514cf0
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 0x41cecc
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.004130a0
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.00413987
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 0x41cf40
cmp edi, 3
je 0x41cf40
xor edi, edi
inc edi
jmp 0x41cf76
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.004130a0
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.00468f86
ret