Function at 0x40cfe5
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47863c
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4bfd60]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x4bfd60]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax]
neg edi
sbb edi, edi
and edi, 0xffffc597
lea eax, [esp + 0x18]
add edi, 0x3d32
xor ebx, ebx
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], ebx
call fcn.00443df2
pop ecx
cmp dword [esp + 0x18], ebx
jne 0x40d3fd
call fcn.0044825c
push eax
lea ecx, [esp + 0x24]
call fcn.0041872d
mov dword [esp + 0x248], ebx
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x20]
cmp dword [esi - 0xc], ebx
jne 0x40d0cf
xor eax, eax
push 0x206
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push ebx
push eax
call fcn.00459cf0
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x20]
push ebx
push str.A6EADE66_0804_0000_1959_000000000000
call sub.msi.dll_MsiSourceListClearAllW
mov esi, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
call fcn.0040211a
inc dword [esp + 0x1c]
cmp esi, ebx
je 0x40d073
mov esi, dword [esp + 0x20]
cmp dword [esi - 0xc], ebx
je 0x40d3c3
push str.found_installed_ARM:
lea ecx, [esp + 0x1c]
call fcn.004020a6
push ebx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
push 1
mov byte [esp + 0x258], 1
call fcn.00414e01
mov byte [esp + 0x258], bl
mov ecx, dword [esp + 0x28]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
mov eax, dword [ebp + 8]
cmp dword [eax], ebx
je 0x40d374
call fcn.0044825c
push eax
lea ecx, [esp + 0x20]
call fcn.0041872d
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x24c], 3
call fcn.0043e359
pop ecx
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x40d3ed
push ebx
lea eax, [esp + 0x1c]
push ebx
push eax
mov dword [esp + 0x24], ebx
call fcn.00432a2c
add esp, 0xc
test eax, eax
je 0x40d201
push dword [esp + 0x18]
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x40d1e1
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x40d1d7
push str.Wait_for_AdobeARM.exe_to_exit_failed:
lea ecx, [esp + 0x28]
call fcn.004020a6
push 0x18894
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push 1
mov byte [esp + 0x258], 4
call fcn.00414e01
mov byte [esp + 0x258], 3
mov ecx, dword [esp + 0x34]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025d2
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
push ebx
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00432a2c
add esp, 0xc
test eax, eax
je 0x40d201
mov ecx, dword [esp + 0x1c]
jmp 0x40d3ed
call fcn.004414ae
test eax, eax
je 0x40d23e
push str.another_msi_in_progress
lea ecx, [esp + 0x18]
call fcn.004020a6
mov byte [esp + 0x248], 5
push ebx
lea eax, [esp + 0x18]
push eax
push 2
call fcn.004152d1
add esp, 0xc
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004025d2
jmp 0x40d1f8
call fcn.0043ddfc
test eax, eax
jne 0x40d25f
push str.Not_elevated_for_uninstall
lea ecx, [esp + 0x18]
call fcn.004020a6
mov byte [esp + 0x248], 6
jmp 0x40d220
push ebx
push 2
call sub.msi.dll_MsiSetPropertyW
push 2
push 1
push esi
call sub.msi.dll_MsiDatabaseCommit
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x40d2b0
cmp eax, 0xbc2
je 0x40d2b0
push str.failed_to_uninstall_ARM:
lea ecx, [esp + 0x18]
call fcn.004020a6
mov byte [esp + 0x248], 9
push dword [esp + 0x24]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1c]
push eax
push 1
call fcn.00414e01
add esp, 0x10
jmp 0x40d230
push str.successfully_uninstalled_ARM
lea ecx, [esp + 0x18]
call fcn.004020a6
push ebx
lea eax, [esp + 0x18]
push eax
push 2
mov byte [esp + 0x254], 7
call fcn.004152d1
mov byte [esp + 0x254], 3
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov edi, 0x4c46e8
call fcn.00409add
xor eax, eax
push 0x206
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push ebx
push eax
call fcn.00459cf0
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push ebx
push ebx
push 0x2b
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jl 0x40d36b
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004020a6
push str.AdobeARM1.0Cache
lea ecx, [esp + 0x1c]
mov byte [esp + 0x24c], 8
call fcn.0040af5f
push ebx
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], esp
mov ecx, esp
push eax
call fcn.004020ea
call fcn.004423ba
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004025d2
mov edi, dword [esp + 0x28]
jmp 0x40d1f8
push 0xc3
call fcn.00441dce
pop ecx
test eax, eax
je 0x40d3f5
push str.scheduled_to_uninstall_ARM
lea ecx, [esp + 0x18]
call fcn.004020a6
push ebx
lea eax, [esp + 0x18]
push eax
push 2
mov byte [esp + 0x254], 0xa
call fcn.004152d1
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
mov dword [esp + 0x28], 0x2c9
mov edi, dword [esp + 0x28]
jmp 0x40d3f5
push str.no_ARM_product_for_uninstall_found
lea ecx, [esp + 0x18]
call fcn.004020a6
push ebx
lea eax, [esp + 0x18]
push eax
push 1
mov byte [esp + 0x254], 2
call fcn.004152d1
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004025d2
lea ecx, [esi - 0x10]
call fcn.004025d2
mov eax, edi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00458e0e
mov esp, ebp
pop ebp
ret 4