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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4607c3
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x498d50]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x498d50]
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
add edi, 0x3d32
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], ebx
call fcn.00433eb6
cmp dword [esp + 0x18], ebx
jne 0x40b27b
call fcn.00434892
push eax
lea ecx, [esp + 0x24]
call fcn.0040210b
mov dword [esp + 0x248], ebx
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x20]
cmp dword [esi - 0xc], ebx
jne 0x40af53
xor eax, eax
push 0x206
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push ebx
push eax
call fcn.004462a0
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.004020d4
inc dword [esp + 0x1c]
cmp esi, ebx
je 0x40aef7
mov esi, dword [esp + 0x20]
cmp dword [esi - 0xc], ebx
je 0x40b241
push str.found_installed_ARM:
lea ecx, [esp + 0x1c]
call fcn.00402060
push ebx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
push 1
mov byte [esp + 0x258], 1
call fcn.00411b31
mov byte [esp + 0x258], bl
mov ecx, dword [esp + 0x28]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [ebp + 8]
cmp dword [eax], ebx
je 0x40b1f0
call fcn.00434892
push eax
lea ecx, [esp + 0x20]
call fcn.0040210b
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x24c], 3
call fcn.0042f2dd
pop ecx
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x40b26b
push ebx
lea eax, [esp + 0x1c]
push ebx
push eax
mov dword [esp + 0x24], ebx
call fcn.004260b9
add esp, 0xc
test eax, eax
je 0x40b087
push dword [esp + 0x18]
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x40b067
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
jne 0x40b05d
push str.Wait_for_AdobeARM.exe_to_exit_failed:
lea ecx, [esp + 0x28]
call fcn.00402060
push 0x18894
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push 1
mov byte [esp + 0x258], 4
call fcn.00411b31
mov byte [esp + 0x258], 3
mov ecx, dword [esp + 0x34]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
push dword [esp + 0x14]
call edi
push dword [esp + 0x14]
call edi
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push ebx
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.004260b9
add esp, 0xc
test eax, eax
je 0x40b087
mov ecx, dword [esp + 0x1c]
jmp 0x40b26b
call fcn.00431f29
test eax, eax
je 0x40b0c4
push str.another_msi_in_progress
lea ecx, [esp + 0x18]
call fcn.00402060
mov byte [esp + 0x248], 5
push ebx
lea eax, [esp + 0x18]
push eax
push 2
call fcn.00411fb7
add esp, 0xc
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
jmp 0x40b07e
call fcn.0042eddd
test eax, eax
jne 0x40b0e5
push str.Not_elevated_for_uninstall
lea ecx, [esp + 0x18]
call fcn.00402060
mov byte [esp + 0x248], 6
jmp 0x40b0a6
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 0x40b136
cmp eax, 0xbc2
je 0x40b136
push str.failed_to_uninstall_ARM:
lea ecx, [esp + 0x18]
call fcn.00402060
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.00411b31
add esp, 0x10
jmp 0x40b0b6
push str.successfully_uninstalled_ARM
lea ecx, [esp + 0x18]
call fcn.00402060
push ebx
lea eax, [esp + 0x18]
push eax
push 2
mov byte [esp + 0x254], 7
call fcn.00411fb7
mov byte [esp + 0x254], 3
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, 0x49d488
call fcn.00408841
xor eax, eax
push 0x206
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push ebx
push eax
call fcn.004462a0
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 0x40b07e
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402060
push str.AdobeARM1.0Cache
lea ecx, [esp + 0x1c]
mov byte [esp + 0x24c], 8
call fcn.00409023
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], esp
mov ecx, esp
push eax
call fcn.004020a4
call fcn.0043297f
pop ecx
mov ecx, dword [esp + 0x18]
jmp 0x40b0ba
push ebx
push 0xc3
call fcn.00432350
pop ecx
pop ecx
test eax, eax
je 0x40b273
push str.scheduled_to_uninstall_ARM
lea ecx, [esp + 0x18]
call fcn.00402060
push ebx
lea eax, [esp + 0x18]
push eax
push 2
mov byte [esp + 0x254], 0xa
call fcn.00411fb7
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov dword [esp + 0x28], 0x2c9
mov edi, dword [esp + 0x28]
jmp 0x40b273
push str.no_ARM_product_for_uninstall_found
lea ecx, [esp + 0x18]
call fcn.00402060
push ebx
lea eax, [esp + 0x18]
push eax
push 1
mov byte [esp + 0x254], 2
call fcn.00411fb7
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
lea ecx, [esi - 0x10]
call fcn.0040253e
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.0044546a
mov esp, ebp
pop ebp
ret 4