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

Disassembly:
push 0x430
mov eax, 0x487d7b
call fcn.00464e7c
mov ebx, ecx
mov dword [ebp - 0x434], ebx
push str.InitOnDemandDownload...
lea ecx, [ebp - 0x430]
call fcn.0040279b
xor esi, esi
lea edx, [ebp - 0x430]
push esi
push 2
pop ecx
mov dword [ebp - 4], esi
call fcn.00413e51
or dword [ebp - 4], 0xffffffff
pop ecx
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402def
push 0x105
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.00466990
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push 0x801c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x41d5e5
push str.SHGetFolderPath_CSIDL_LOCAL_APPDATA_failed:
lea ecx, [ebp - 0x434]
call fcn.0040279b
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x434]
push esi
call fcn.00413e51
pop ecx
mov ecx, dword [ebp - 0x434]
mov esi, eax
jmp 0x41d992
lea eax, [ebp - 0x21c]
lea edi, [ebx + 8]
push eax
mov ecx, edi
call fcn.004027df
push 0x105
xor esi, esi
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.00466990
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push esi
push esi
push 0x8023
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x41d644
push str.SHGetFolderPath_CSIDL_COMMON_APPDATA_failed:
lea ecx, [ebp - 0x434]
call fcn.0040279b
xor ecx, ecx
mov dword [ebp - 4], 2
inc ecx
jmp 0x41d5cb
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebx + 0xc]
call fcn.004027df
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x438]
call fcn.00402824
lea eax, [ebp - 0x438]
mov dword [ebp - 4], 3
push eax
mov ecx, 0x4e2500
call fcn.00416976
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x430]
push str.AdobeARMOnDemand_
push eax
call fcn.00402381
mov esi, 0x49fb68
mov byte [ebp - 4], 4
push esi
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.004023e9
add esp, 0x18
mov byte [ebp - 4], 5
mov ecx, edi
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00402556
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x430]
push str.AdobeARMOnDemand_
push eax
call fcn.00402381
push esi
push eax
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 6
push eax
call fcn.004023e9
add esp, 0x18
mov byte [ebp - 4], 7
lea ecx, [ebx + 0xc]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00402556
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ebx, dword [ebp - 0x434]
mov edx, 0x49dc68
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebx + 0x30]
push esi
push str.OnDemandManifestURL
call fcn.0043faeb
mov eax, dword [esi]
pop ecx
pop ecx
cmp dword [eax - 0xc], 0
jne 0x41d79d
push str.ArmOnDemand3.msi
lea eax, [ebp - 0x42c]
push 0x4e1f54
push eax
call fcn.004023e9
add esp, 0xc
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00402d9f
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x430]
push edi
push eax
call fcn.00402448
push str..msi
push eax
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 9
push eax
call fcn.004023e9
add esp, 0x18
add ebx, 0x2c
mov byte [ebp - 4], 0xa
push eax
mov ecx, ebx
call fcn.00402d9f
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x430]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov esi, 0x4e2500
mov ecx, esi
call fcn.00403271
test eax, eax
je 0x41d8fb
call fcn.0044afe1
push eax
lea ecx, [ebp - 0x430]
call fcn.00402824
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0xb
push eax
mov ecx, esi
call fcn.0041674b
mov esi, dword [ebp - 0x430]
cmp dword [esi - 0xc], 0
je 0x41d891
push str.manifest_path_from_cmd:
lea ecx, [ebp - 0x42c]
call fcn.0040279b
push 0
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 0xc
push eax
push 2
lea edx, [ebp - 0x42c]
pop ecx
call fcn.00413900
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea eax, [ebp - 0x430]
mov ecx, ebx
push eax
call fcn.00402d9f
mov esi, dword [ebp - 0x430]
jmp 0x41d8ef
lea eax, [ebp - 0x438]
push eax
mov eax, dword [ebp - 0x434]
add eax, 0xc
push eax
lea eax, [ebp - 0x43c]
push eax
call fcn.00402448
push str..msi
push eax
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0xd
push eax
call fcn.004023e9
add esp, 0x18
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xe
call fcn.00402d9f
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, dword [ebp - 0x43c]
lea ecx, [ecx - 0x10]
call fcn.00402def
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.00402def
xor ebx, ebx
push ebx
push dword [edi]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
cmp esi, 0xa1
je 0x41d956
cmp esi, 3
je 0x41d956
push ebx
mov ebx, dword [ebp - 0x434]
add ebx, 0xc
push dword [ebx]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
cmp esi, 0xa1
je 0x41d93e
cmp esi, 3
je 0x41d93e
xor esi, esi
inc esi
jmp 0x41d98c
push str.SHCreateDirectoryEx___failed:
lea ecx, [ebp - 0x42c]
call fcn.0040279b
push esi
mov byte [ebp - 4], 0x10
push ebx
jmp 0x41d96c
push str.SHCreateDirectoryEx___failed:
lea ecx, [ebp - 0x42c]
call fcn.0040279b
push esi
mov byte [ebp - 4], 0xf
push edi
xor ecx, ecx
lea edx, [ebp - 0x42c]
inc ecx
call fcn.00413900
pop ecx
pop ecx
mov ecx, dword [ebp - 0x42c]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.00402def
mov ecx, dword [ebp - 0x438]
add ecx, 0xfffffff0
call fcn.00402def
mov eax, esi
call fcn.00464e26
ret