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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x460494
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x497d50]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x497d50]
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.00433bb1
cmp dword [esp + 0x18], ebx
jne 0x40b271
call fcn.00434582
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 0x40af49
xor eax, eax
push 0x206
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push ebx
push eax
call fcn.00445f90
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 0x40aeed
mov esi, dword [esp + 0x20]
cmp dword [esi - 0xc], ebx
je 0x40b237
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.00411b27
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 0x40b1e6
call fcn.00434582
push eax
lea ecx, [esp + 0x20]
call fcn.0040210b
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x24c], 3
call fcn.0042efd8
pop ecx
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x40b261
push ebx
lea eax, [esp + 0x1c]
push ebx
push eax
mov dword [esp + 0x24], ebx
call fcn.0042601b
add esp, 0xc
test eax, eax
je 0x40b07d
push dword [esp + 0x18]
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x40b05d
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
jne 0x40b053
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.00411b27
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.0042601b
add esp, 0xc
test eax, eax
je 0x40b07d
mov ecx, dword [esp + 0x1c]
jmp 0x40b261
call fcn.00431c24
test eax, eax
je 0x40b0ba
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.00411fad
add esp, 0xc
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
jmp 0x40b074
call fcn.0042eadc
test eax, eax
jne 0x40b0db
push str.Not_elevated_for_uninstall
lea ecx, [esp + 0x18]
call fcn.00402060
mov byte [esp + 0x248], 6
jmp 0x40b09c
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 0x40b12c
cmp eax, 0xbc2
je 0x40b12c
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.00411b27
add esp, 0x10
jmp 0x40b0ac
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.00411fad
mov byte [esp + 0x254], 3
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, 0x49c488
call fcn.00408837
xor eax, eax
push 0x206
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push ebx
push eax
call fcn.00445f90
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 0x40b074
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.00409019
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], esp
mov ecx, esp
push eax
call fcn.004020a4
call fcn.0043267a
pop ecx
mov ecx, dword [esp + 0x18]
jmp 0x40b0b0
push ebx
push 0xc3
call fcn.0043204b
pop ecx
pop ecx
test eax, eax
je 0x40b269
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.00411fad
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 0x40b269
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.00411fad
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.00445157
mov esp, ebp
pop ebp
ret 4