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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46ef97
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4b2d60]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x4b2d60]
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.0043b0f8
pop ecx
cmp dword [esp + 0x18], ebx
jne 0x409996
call fcn.0043f3c0
push eax
lea ecx, [esp + 0x24]
call fcn.004013a1
mov dword [esp + 0x248], ebx
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x20]
cmp dword [esi - 0xc], ebx
jne 0x409668
xor eax, eax
push 0x206
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push ebx
push eax
call fcn.00450cb0
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.00401356
inc dword [esp + 0x1c]
cmp esi, ebx
je 0x40960c
mov esi, dword [esp + 0x20]
cmp dword [esi - 0xc], ebx
je 0x40995c
push str.found_installed_ARM:
lea ecx, [esp + 0x1c]
call fcn.004012e2
push ebx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
push 1
mov byte [esp + 0x258], 1
call fcn.00411336
mov byte [esp + 0x258], bl
mov ecx, dword [esp + 0x28]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [ebp + 8]
cmp dword [eax], ebx
je 0x40990d
call fcn.0043f3c0
push eax
lea ecx, [esp + 0x20]
call fcn.004013a1
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x24c], 3
call fcn.00435670
pop ecx
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x409986
push ebx
lea eax, [esp + 0x1c]
push ebx
push eax
mov dword [esp + 0x24], ebx
call fcn.00429e91
add esp, 0xc
test eax, eax
je 0x40979a
push dword [esp + 0x18]
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x40977a
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x409770
push str.Wait_for_AdobeARM.exe_to_exit_failed:
lea ecx, [esp + 0x28]
call fcn.004012e2
push 0x18894
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push 1
mov byte [esp + 0x258], 4
call fcn.00411336
mov byte [esp + 0x258], 3
mov ecx, dword [esp + 0x34]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
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.00429e91
add esp, 0xc
test eax, eax
je 0x40979a
mov ecx, dword [esp + 0x1c]
jmp 0x409986
call fcn.004387c5
test eax, eax
je 0x4097d7
push str.another_msi_in_progress
lea ecx, [esp + 0x18]
call fcn.004012e2
mov byte [esp + 0x248], 5
push ebx
lea eax, [esp + 0x18]
push eax
push 2
call fcn.00411806
add esp, 0xc
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004017df
jmp 0x409791
call fcn.00435116
test eax, eax
jne 0x4097f8
push str.Not_elevated_for_uninstall
lea ecx, [esp + 0x18]
call fcn.004012e2
mov byte [esp + 0x248], 6
jmp 0x4097b9
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 0x409849
cmp eax, 0xbc2
je 0x409849
push str.failed_to_uninstall_ARM:
lea ecx, [esp + 0x18]
call fcn.004012e2
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.00411336
add esp, 0x10
jmp 0x4097c9
push str.successfully_uninstalled_ARM
lea ecx, [esp + 0x18]
call fcn.004012e2
push ebx
lea eax, [esp + 0x18]
push eax
push 2
mov byte [esp + 0x254], 7
call fcn.00411806
mov byte [esp + 0x254], 3
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov edi, 0x4b76d8
call fcn.00406186
xor eax, eax
push 0x206
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push ebx
push eax
call fcn.00450cb0
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 0x409904
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004012e2
push str.AdobeARM1.0Cache
lea ecx, [esp + 0x1c]
mov byte [esp + 0x24c], 8
call fcn.00407601
push ebx
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], esp
mov ecx, esp
push eax
call fcn.00401326
call fcn.00439771
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.004017df
mov edi, dword [esp + 0x28]
jmp 0x409791
push 0xc3
call fcn.00439173
pop ecx
test eax, eax
je 0x40998e
push str.scheduled_to_uninstall_ARM
lea ecx, [esp + 0x18]
call fcn.004012e2
push ebx
lea eax, [esp + 0x18]
push eax
push 2
mov byte [esp + 0x254], 0xa
call fcn.00411806
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov dword [esp + 0x28], 0x2c9
mov edi, dword [esp + 0x28]
jmp 0x40998e
push str.no_ARM_product_for_uninstall_found
lea ecx, [esp + 0x18]
call fcn.004012e2
push ebx
lea eax, [esp + 0x18]
push eax
push 1
mov byte [esp + 0x254], 2
call fcn.00411806
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
lea ecx, [esi - 0x10]
call fcn.004017df
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.0044ff92
mov esp, ebp
pop ebp
ret 4