Function at 0x40c0fb
Capabilities:
Delete registry key
Get common file path
Get startup folder

Disassembly:
push 0x228
mov eax, 0x4adef4
call fcn.0046c44c
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x230]
mov eax, 0x2c9
mov ebx, 0x3d32
cmp dword [esi], 0
cmovne ebx, eax
and dword [ebp - 0x230], 0
call fcn.00448820
cmp dword [ebp - 0x230], 0
jne 0x40c564
call fcn.00452601
push eax
lea ecx, [ebp - 0x228]
call fcn.00402899
and dword [ebp - 4], 0
xor edi, edi
mov eax, dword [ebp - 0x228]
cmp dword [eax - 0xc], 0
jne 0x40c1a3
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00484bc0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push 0
push str.A6EADE66_0804_0000_1959_000000000000
call dword [sym.imp.msi.dll_MsiSourceListClearAllW]
mov esi, eax
lea ecx, [ebp - 0x228]
lea eax, [ebp - 0x218]
push eax
call fcn.0040286d
inc edi
test esi, esi
je 0x40c153
mov eax, dword [ebp - 0x228]
cmp dword [eax - 0xc], 0
je 0x40c523
push str.found_installed_ARM:
lea ecx, [ebp - 0x21c]
call fcn.00402829
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 1
xor ecx, ecx
lea edx, [ebp - 0x21c]
push 0
push eax
inc ecx
call fcn.00414600
pop ecx
pop ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x40c4db
call fcn.00452601
push eax
lea ecx, [ebp - 0x22c]
call fcn.00402899
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.00442bb0
mov esi, dword [ebp - 0x22c]
test eax, eax
je 0x40c4d6
xor eax, eax
lea edx, [ebp - 0x220]
push eax
push eax
mov ecx, esi
mov dword [ebp - 0x220], eax
call fcn.00436379
pop ecx
pop ecx
test eax, eax
je 0x40c2e1
push dword [ebp - 0x220]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x40c2c6
push 0x1388
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x40c2bf
push str.Wait_for_AdobeARM.exe_to_exit_failed:
lea ecx, [ebp - 0x21c]
call fcn.00402829
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 4
xor ecx, ecx
lea edx, [ebp - 0x21c]
push 0x18894
push eax
inc ecx
call fcn.00414600
pop ecx
pop ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov esi, dword [ebp - 0x22c]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
lea edx, [ebp - 0x220]
mov ecx, esi
call fcn.00436379
pop ecx
pop ecx
test eax, eax
jne 0x40c4d6
call fcn.004458f6
test eax, eax
je 0x40c300
push str.another_msi_in_progress
lea ecx, [ebp - 0x21c]
call fcn.00402829
mov byte [ebp - 4], 5
jmp 0x40c31d
call fcn.004425f1
test eax, eax
jne 0x40c32f
push str.Not_elevated_for_uninstall
lea ecx, [ebp - 0x21c]
call fcn.00402829
mov byte [ebp - 4], 6
push 0
push 2
lea edx, [ebp - 0x21c]
pop ecx
call fcn.00414d4f
jmp 0x40c382
push 0
push 2
call dword [sym.imp.msi.dll_MsiSetPropertyW]
push 2
push 1
push dword [ebp - 0x228]
call dword [sym.imp.msi.dll_MsiDatabaseCommit]
mov edi, eax
test edi, edi
je 0x40c388
cmp edi, 0xbc2
je 0x40c388
push str.failed_to_uninstall_ARM:
lea ecx, [ebp - 0x21c]
call fcn.00402829
lea eax, [ebp - 0x228]
mov byte [ebp - 4], 0xa
xor ecx, ecx
lea edx, [ebp - 0x21c]
push edi
push eax
inc ecx
call fcn.00414600
pop ecx
pop ecx
jmp 0x40c4c8
push str.successfully_uninstalled_ARM
lea ecx, [ebp - 0x220]
call fcn.00402829
push 0
push 2
lea edx, [ebp - 0x220]
mov byte [ebp - 4], 7
pop ecx
call fcn.00414d4f
pop ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, 0x51ad38
call fcn.0040a0a8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00484bc0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
xor eax, eax
push eax
push eax
push 0x2b
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x40c455
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.00402829
push str.AdobeARM1.0Cache
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 8
call fcn.0040259d
mov eax, dword [ebp - 0x220]
push ecx
add eax, 0xfffffff0
mov edi, esp
push eax
mov dword [ebp - 0x234], edi
call fcn.00402d9f
pop ecx
add eax, 0x10
xor ecx, ecx
mov dword [edi], eax
call fcn.004467b2
pop ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov edi, 0x4ce610
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push str.iRandom
mov edx, edi
call fcn.00441a36
pop ecx
push edi
lea ecx, [ebp - 0x21c]
call fcn.00402829
push 0x4d2550
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 9
call fcn.0040259d
lea eax, [ebp - 0x224]
push eax
push 0xf003f
push 0
push dword [ebp - 0x21c]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c4bc
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x21c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea ecx, [esi - 0x10]
jmp 0x40c551
mov ecx, 0xc3
call fcn.0044620d
test eax, eax
je 0x40c556
push str.scheduled_to_uninstall_ARM
lea ecx, [ebp - 0x224]
call fcn.00402829
push 0
push 2
lea edx, [ebp - 0x224]
mov byte [ebp - 4], 0xb
pop ecx
call fcn.00414d4f
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ebx, 0x2c9
jmp 0x40c556
push str.no_ARM_product_for_uninstall_found
lea ecx, [ebp - 0x224]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 2
push 0
lea edx, [ebp - 0x224]
inc ecx
call fcn.00414d4f
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, ebx
call fcn.0046c3f6
ret 4