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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463572
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4a1d50]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x4a1d50]
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.00434e39
pop ecx
cmp dword [esp + 0x18], ebx
jne 0x408409
call fcn.004366fe
push eax
lea ecx, [esp + 0x24]
call fcn.00411d53
mov dword [esp + 0x248], ebx
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x20]
cmp dword [esi - 0xc], ebx
jne 0x4080e1
xor eax, eax
push 0x206
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push ebx
push eax
call fcn.00448000
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.0040137f
inc dword [esp + 0x1c]
cmp esi, ebx
je 0x408085
mov esi, dword [esp + 0x20]
cmp dword [esi - 0xc], ebx
je 0x4083cf
push str.found_installed_ARM:
lea ecx, [esp + 0x1c]
call fcn.0040130b
push ebx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
push 1
mov byte [esp + 0x258], 1
call fcn.0040f821
mov byte [esp + 0x258], bl
mov ecx, dword [esp + 0x28]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
mov eax, dword [ebp + 8]
cmp dword [eax], ebx
je 0x40837e
call fcn.004366fe
push eax
lea ecx, [esp + 0x20]
call fcn.00411d53
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x24c], 3
call fcn.0042fca4
pop ecx
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x4083f9
push ebx
lea eax, [esp + 0x1c]
push ebx
push eax
mov dword [esp + 0x24], ebx
call fcn.0042532a
add esp, 0xc
test eax, eax
je 0x408215
push dword [esp + 0x18]
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x4081f5
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
jne 0x4081eb
push str.Wait_for_AdobeARM.exe_to_exit_failed:
lea ecx, [esp + 0x28]
call fcn.0040130b
push 0x18894
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push 1
mov byte [esp + 0x258], 4
call fcn.0040f821
mov byte [esp + 0x258], 3
mov ecx, dword [esp + 0x34]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017c4
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.0042532a
add esp, 0xc
test eax, eax
je 0x408215
mov ecx, dword [esp + 0x1c]
jmp 0x4083f9
call fcn.00432b94
test eax, eax
je 0x408252
push str.another_msi_in_progress
lea ecx, [esp + 0x18]
call fcn.0040130b
mov byte [esp + 0x248], 5
push ebx
lea eax, [esp + 0x18]
push eax
push 2
call fcn.0040fcf3
add esp, 0xc
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004017c4
jmp 0x40820c
call fcn.0042f7a4
test eax, eax
jne 0x408273
push str.Not_elevated_for_uninstall
lea ecx, [esp + 0x18]
call fcn.0040130b
mov byte [esp + 0x248], 6
jmp 0x408234
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 0x4082c4
cmp eax, 0xbc2
je 0x4082c4
push str.failed_to_uninstall_ARM:
lea ecx, [esp + 0x18]
call fcn.0040130b
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.0040f821
add esp, 0x10
jmp 0x408244
push str.successfully_uninstalled_ARM
lea ecx, [esp + 0x18]
call fcn.0040130b
push ebx
lea eax, [esp + 0x18]
push eax
push 2
mov byte [esp + 0x254], 7
call fcn.0040fcf3
mov byte [esp + 0x254], 3
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov ecx, 0x4a6608
call fcn.00405874
xor eax, eax
push 0x206
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push ebx
push eax
call fcn.00448000
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 0x40820c
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040130b
push str.AdobeARM1.0Cache
lea ecx, [esp + 0x1c]
mov byte [esp + 0x24c], 8
call fcn.00406262
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], esp
mov ecx, esp
push eax
call fcn.0040134f
call fcn.0043360a
pop ecx
mov ecx, dword [esp + 0x18]
jmp 0x408248
push ebx
push 0xc3
call fcn.00432fdb
pop ecx
pop ecx
test eax, eax
je 0x408401
push str.scheduled_to_uninstall_ARM
lea ecx, [esp + 0x18]
call fcn.0040130b
push ebx
lea eax, [esp + 0x18]
push eax
push 2
mov byte [esp + 0x254], 0xa
call fcn.0040fcf3
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
mov dword [esp + 0x28], 0x2c9
mov edi, dword [esp + 0x28]
jmp 0x408401
push str.no_ARM_product_for_uninstall_found
lea ecx, [esp + 0x18]
call fcn.0040130b
push ebx
lea eax, [esp + 0x18]
push eax
push 1
mov byte [esp + 0x254], 2
call fcn.0040fcf3
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
lea ecx, [esi - 0x10]
call fcn.004017c4
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.004472d5
mov esp, ebp
pop ebp
ret 4