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

Disassembly:
push 0x22c
mov eax, 0x4af9c5
call fcn.0046c66c
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.00417741
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.00484ac0
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 0x420a55
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.00417741
pop ecx
mov ecx, dword [ebp - 0x228]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, esi
jmp 0x420e2e
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 0x519e14
lea eax, [ebp - 0x234]
push str.SOFTWAREAdobeAdobe_ARMLegacy_
push eax
call fcn.004023f1
add esp, 0xc
mov dword [ebp - 4], 2
call fcn.004527d1
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.0044464f
mov esi, dword [ebp - 0x22c]
add esp, 0xc
cmp dword [esi - 0xc], 0
jne 0x420bcb
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.0044464f
mov esi, dword [ebp - 0x22c]
add esp, 0xc
cmp dword [esi - 0xc], 0
jne 0x420bcb
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.0044464f
mov esi, dword [ebp - 0x22c]
add esp, 0xc
cmp dword [esi - 0xc], 0
jne 0x420bcb
push 0x519e18
lea eax, [ebp - 0x224]
push 0x519e20
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 0x519e18
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 0x420d8c
push 0x2f
push esi
call fcn.004854d7
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x420be0
or edi, 0xffffffff
jmp 0x420be4
sub edi, esi
sar edi, 1
call fcn.004527d1
push eax
lea ecx, [ebp - 0x228]
call fcn.00402899
mov byte [ebp - 4], 6
cmp edi, 0xffffffff
je 0x420c39
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x22c]
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0040b0f1
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 0x420ceb
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.00417741
pop ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0x519e18
lea eax, [ebp - 0x224]
push 0x519e20
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 0x519e18
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 0x420d6c
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.00417010
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.004178f7
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 0x420de0
cmp edi, 3
je 0x420de0
xor edi, edi
inc edi
jmp 0x420e16
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.00417010
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.0046c616
ret