Function at 0x41cc39
Capabilities:
Get common file path

Disassembly:
push 0x228
mov eax, 0x460bdf
call fcn.00449f2b
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x220], eax
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
mov edi, edx
test eax, eax
jne 0x41cc8d
push str.Invalid_empty_arguments
lea ecx, [ebp - 0x21c]
call fcn.0040130b
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x21c]
push eax
push 2
call fcn.0040fcf3
mov ecx, dword [ebp - 0x21c]
jmp 0x41cf6b
push 0x486920
xor ecx, ecx
call fcn.00406198
mov dword [ebp - 0x224], eax
cmp eax, 0xffffffff
je 0x41cf3e
push eax
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.00407796
push eax
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.004063a1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x41cd05
push str.Invalid_empty_ESD_arguments
lea ecx, [ebp - 0x21c]
call fcn.0040130b
push 2
pop eax
push 0
lea ecx, [ebp - 0x21c]
push ecx
mov dword [ebp - 4], eax
push eax
jmp 0x41cc7d
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
sub eax, dword [ebp - 0x224]
mov ecx, esi
dec eax
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0040774f
push eax
mov ecx, edi
mov dword [ebp - 4], 3
call fcn.004063a1
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, dword [edi]
xor esi, esi
cmp dword [eax - 0xc], esi
jne 0x41cd67
push str.Invalid_empty_Setup.exe_arguments
lea ecx, [ebp - 0x21c]
call fcn.0040130b
mov dword [ebp - 4], 4
push esi
jmp 0x41cc74
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push 0x8023
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, esi
jge 0x41cdc0
push str.SHGetFolderPath_failed
lea ecx, [ebp - 0x21c]
call fcn.0040130b
push edi
lea eax, [ebp - 0x21c]
push eax
push 2
mov dword [ebp - 4], 6
call fcn.0040fcf3
mov ecx, dword [ebp - 0x21c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, edi
jmp 0x41cf79
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x228]
call fcn.0040130b
push str.AdobeSetup_
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 7
call fcn.00406262
push 0x488c8c
lea eax, [ebp - 0x224]
push 0x4a6768
push eax
call fcn.004061c9
add esp, 0xc
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 8
call fcn.00401115
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.004017c4
lea eax, [ebp - 0x22c]
push eax
call fcn.00448fe7
pop ecx
cmp eax, esi
je 0x41ce86
push 0x488c90
lea ecx, [ebp - 0x21c]
call fcn.0040130b
push esi
lea eax, [ebp - 0x21c]
push eax
push 2
mov byte [ebp - 4], 9
call fcn.0040fcf3
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x21c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
push esi
call fcn.0044841b
pop ecx
push eax
call fcn.004483e7
pop ecx
call fcn.004483f9
mov dword [ebp - 0x22c], eax
push dword [ebp - 0x22c]
call fcn.004490ef
pop ecx
push eax
push dword [ebp - 0x228]
mov dword [ebp - 0x22c], eax
push str._s_d
push dword [ebp - 0x220]
call fcn.004012d7
add esp, 0x10
push 0x488cc4
xor ecx, ecx
mov esi, ebx
call fcn.00406198
cmp eax, 0xffffffff
jne 0x41ced1
push 0x488ccc
mov ecx, ebx
call fcn.00406262
push dword [ebp - 0x220]
lea eax, [ebp - 0x234]
push 0x488cd4
push eax
call fcn.0040107c
add esp, 0xc
push 0x46b7f0
push eax
lea eax, [ebp - 0x230]
push eax
mov byte [ebp - 4], 0xa
call fcn.004061c9
add esp, 0xc
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xb
call fcn.00401115
mov ecx, dword [ebp - 0x230]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [ebp - 0x234]
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.004017c4
xor eax, eax
jmp 0x41cf79
push str.Invalid_arguments
lea ecx, [ebp - 0x220]
call fcn.0040130b
push 0
lea eax, [ebp - 0x220]
push eax
push 2
mov dword [ebp - 4], 5
call fcn.0040fcf3
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
push 0xd
pop eax
call fcn.00449fae
ret 4