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

Disassembly:
push 0x224
mov eax, 0x45efb1
call fcn.004480d4
lea eax, [ebp - 0x218]
push eax
xor ebx, ebx
push ebx
push ebx
push 0x8023
push ebx
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x4153df
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x220]
call fcn.00402060
push edi
lea eax, [ebp - 0x220]
push eax
push 1
mov dword [ebp - 4], ebx
call fcn.00411fb7
mov ecx, dword [ebp - 0x220]
add esp, 0xc
mov esi, eax
add ecx, 0xfffffff0
jmp 0x415874
lea eax, [ebp - 0x218]
lea edi, [esi + 8]
push eax
mov ecx, edi
call fcn.004020d4
push 0x49d978
lea ecx, [ebp - 0x22c]
call fcn.004020a4
push 0x2f
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 1
call fcn.0040a4ee
mov dword [ebp - 0x220], eax
call fcn.00434892
push eax
lea ecx, [ebp - 0x228]
call fcn.0040210b
mov byte [ebp - 4], 2
cmp dword [ebp - 0x220], 0xffffffff
mov ebx, dword [ebp - 0x22c]
je 0x41547d
mov eax, dword [ebx - 0xc]
sub eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x22c]
dec eax
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0040a536
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 3
call fcn.00409162
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, 0x49d934
call fcn.0040517d
test eax, eax
jne 0x415595
mov eax, dword [ebp - 0x228]
cmp dword [eax - 0xc], 0
jne 0x4154ed
push str.Manifest_URL_is_not_valid
lea ecx, [ebp - 0x220]
call fcn.00402060
push 0
lea eax, [ebp - 0x220]
push eax
push 2
mov byte [ebp - 4], 4
call fcn.00411fb7
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [ebx - 0x10]
call fcn.0040253e
xor eax, eax
jmp 0x41587b
lea eax, [ebp - 0x22c]
lea ecx, [esi + 0x10]
push eax
call fcn.00409162
push 0x49d9ac
lea eax, [ebp - 0x230]
push str.AdobeARM_
push eax
call fcn.00401dd1
add esp, 0xc
push 0x46aefc
push eax
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 5
call fcn.00408f8a
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00401e6a
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040253e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.0040253e
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.00401d7a
add esp, 0xc
lea ecx, [esi + 4]
push eax
mov byte [ebp - 4], 7
call fcn.00409162
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040253e
jmp 0x4157f5
push 0x49d998
lea ecx, [ebp - 0x220]
call fcn.004020a4
mov byte [ebp - 4], 8
call fcn.00434892
push eax
lea ecx, [ebp - 0x230]
call fcn.0040210b
lea eax, [ebp - 0x230]
push eax
mov ecx, 0x49d934
mov byte [ebp - 4], 9
call fcn.0042c782
mov ebx, dword [ebp - 0x230]
push ebx
call fcn.004463c8
mov dword [ebp - 0x21c], eax
pop ecx
mov eax, 0x49d934
call fcn.0040515f
lea ecx, [esi + 0x14]
test eax, eax
je 0x415670
push 0x4685dc
call fcn.004020d4
cmp dword [ebp - 0x21c], 0xa
jge 0x415613
push dword [0x49d998]
push 0x12d
jmp 0x41568e
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push str.AdobeARMReader_
push eax
call fcn.00401dd1
add esp, 0xc
push 0x46aefc
push eax
lea eax, [ebp - 0x21c]
push eax
mov byte [ebp - 4], 0xa
call fcn.00408f8a
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.00401e6a
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040253e
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x224]
jmp 0x4156f1
push str.Acrobat
call fcn.004020d4
cmp dword [ebp - 0x21c], 0xa
jge 0x415699
push dword [0x49d998]
push 0x12c
mov ecx, edi
call fcn.004196a6
pop ecx
pop ecx
jmp 0x4156f9
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x21c]
push str.AdobeARMAcrobat_
push eax
call fcn.00401dd1
add esp, 0xc
push 0x46aefc
push eax
lea eax, [ebp - 0x224]
push eax
mov byte [ebp - 4], 0xc
call fcn.00408f8a
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.00401e6a
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.0040253e
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [ebp - 0x228]
cmp dword [eax - 0xc], 0
lea ecx, [esi + 0x14]
jne 0x415757
push dword [ebx - 0xc]
push ebx
call fcn.00401eca
push str.Manifest.msi
lea ecx, [esi + 0x14]
call fcn.00409023
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x224]
push 0x49d454
push eax
call fcn.00401d7a
add esp, 0xc
lea ecx, [esi + 0x10]
push eax
mov byte [ebp - 4], 0xe
call fcn.00409162
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.0040253e
jmp 0x415772
lea eax, [ebp - 0x228]
push eax
call fcn.00409162
lea eax, [ebp - 0x22c]
lea ecx, [esi + 0x10]
push eax
call fcn.00409162
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.00401d7a
add esp, 0xc
lea ecx, [esi + 4]
push eax
mov byte [ebp - 4], 0xf
call fcn.00409162
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.0040253e
push str.UpgradeManifest.msi
lea eax, [ebp - 0x224]
push edi
push eax
call fcn.00408f8a
add esp, 0xc
lea ecx, [esi + 0xc]
push eax
mov byte [ebp - 4], 0x10
call fcn.00409162
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [ebx - 0x10]
call fcn.0040253e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.0040253e
mov ebx, dword [ebp - 0x22c]
mov eax, dword [edi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov esi, eax
cmp esi, 0xa1
je 0x41582c
cmp esi, 3
je 0x41582c
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [ebx - 0x10]
call fcn.0040253e
xor eax, eax
inc eax
jmp 0x41587b
push str.SHCreateDirectoryEx___failed:
lea ecx, [ebp - 0x21c]
call fcn.00402060
push esi
push edi
lea eax, [ebp - 0x21c]
push eax
push 1
mov byte [ebp - 4], 0x11
call fcn.00411b31
mov ecx, dword [ebp - 0x21c]
add esp, 0x10
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040253e
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [ebx - 0x10]
call fcn.0040253e
mov eax, esi
call fcn.00448157
ret