Function at 0x5cb990
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, edx
push edi
cmp ecx, 0x2d
ja case.0x5cb9b0.16
jmp dword [ecx*4 + 0x5cbff4]
push ecx
mov ecx, 0x26
call fcn.005cb2e0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x2a
call fcn.005cb2e0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x2b
call fcn.005cb2e0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x2c
call fcn.005cb2e0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x24
call fcn.005cb2e0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x25
call fcn.005cb2e0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x29
call fcn.005cb2e0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x14
call fcn.005cb2e0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x17
call fcn.005cb2e0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x28
call fcn.005cb2e0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 5
call fcn.005cb2e0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0
push eax
push 0
push 0
push 0x73c228
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js case.0x5cb9b0.16
mov edx, dword [ebp - 0x218]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5cbb34
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004271d0
push dword [ebp - 0x218]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x1a
call fcn.005cb2e0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x1c
call fcn.005cb2e0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x23
call fcn.005cb2e0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x2e
call fcn.005cb2e0
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005cb420
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
je case.0x5cb9b0.16
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5cbc20
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004271d0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
je case.0x5cb9b0.16
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je case.0x5cb9b0.16
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5cbc90
jmp 0x5cbc2b
mov ecx, esi
call fcn.005cb670
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005cb4a0
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push 0
push 0x2c
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je case.0x5cb9b0.16
push str.Adobe
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.006808c8
lea ecx, [ebp - 0x214]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5cbd10
jmp 0x5cbc2b
mov ecx, esi
call fcn.005cb730
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x23
call fcn.005cb2e0
add esp, 4
mov ecx, esi
push 6
push str.Adobe
call fcn.004272f0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005cb670
test al, al
je case.0x5cb9b0.16
mov ecx, 5
mov eax, str.OOBE
push ecx
push eax
mov ecx, esi
call fcn.004272f0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005cb730
jmp 0x5cbd6c
push ecx
mov ecx, 0x23
call fcn.005cb2e0
add esp, 4
mov ecx, esi
push 6
push str.Adobe
call fcn.004272f0
jmp 0x5cbd74
mov ecx, esi
call fcn.005cb670
test al, al
je case.0x5cb9b0.16
mov ecx, 0xb
mov eax, str.OOBEPDApp
push ecx
push eax
mov ecx, esi
call fcn.004272f0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005cb730
jmp 0x5cbdc7
mov ecx, esi
call fcn.005cb670
test al, al
je case.0x5cb9b0.16
mov ecx, 0x20
mov eax, str.AdobeApplicationManagerAAMRefs
push ecx
push eax
mov ecx, esi
call fcn.004272f0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005cb670
jmp 0x5cbe41
mov ecx, esi
call fcn.005cb4a0
test al, al
je case.0x5cb9b0.16
mov ecx, 8
mov eax, str.ADCRefs
push ecx
push eax
mov ecx, esi
call fcn.004272f0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x21c]
call fcn.005c9eb0
cmp dword [ebp - 0x218], 2
jne 0x5cbeb7
mov ecx, esi
call fcn.005cb4a0
test al, al
je case.0x5cb9b0.16
push 0x15
push str.Adobe_Desktop_Common
mov ecx, esi
call fcn.004272f0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
push 0
push 0x2b
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je case.0x5cb9b0.16
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5cbee0
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004271d0
push 0x1b
push str.AdobeAdobe_Desktop_Common
mov ecx, esi
call fcn.004272f0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x21c]
call fcn.005c9eb0
cmp dword [ebp - 0x218], 2
je case.0x5cb9b0.38
push 0
push 0x26
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je case.0x5cb9b0.16
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5cbf60
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004271d0
push 0x1b
push str.AdobeAdobe_Creative_Cloud
mov ecx, esi
call fcn.004272f0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005cb4a0
test al, al
je case.0x5cb9b0.16
push 0x15
push str.Adobe_Desktop_Common
mov ecx, esi
call fcn.004272f0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005cb7c0
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.00650ddc
mov esp, ebp
pop ebp
ret