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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x7ca00c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, edx
push edi
cmp ecx, 0x2d
ja case.0x5d9f50.16
jmp dword [ecx*4 + 0x5da594]
push ecx
mov ecx, 0x26
call fcn.005d9880
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x2a
call fcn.005d9880
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x2b
call fcn.005d9880
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x2c
call fcn.005d9880
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x24
call fcn.005d9880
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x25
call fcn.005d9880
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x29
call fcn.005d9880
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x14
call fcn.005d9880
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x17
call fcn.005d9880
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x28
call fcn.005d9880
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 5
call fcn.005d9880
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0
push eax
push 0
push 0
push 0x725070
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js case.0x5d9f50.16
mov edx, dword [ebp - 0x218]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5da0d4
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00428800
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.0063de71
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x1a
call fcn.005d9880
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x1c
call fcn.005d9880
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x23
call fcn.005d9880
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x2e
call fcn.005d9880
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005d99c0
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
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.0x5d9f50.16
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5da1c0
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00428800
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
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.0x5d9f50.16
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je case.0x5d9f50.16
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5da230
jmp 0x5da1cb
mov ecx, esi
call fcn.005d9c10
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005d9a40
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
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.0x5d9f50.16
push str.Adobe
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.00667a98
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 0x5da2b0
jmp 0x5da1cb
mov ecx, esi
call fcn.005d9cd0
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x23
call fcn.005d9880
add esp, 4
mov ecx, esi
push 6
push str.Adobe
call fcn.00428920
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005d9c10
test al, al
je case.0x5d9f50.16
mov ecx, 5
mov eax, str.OOBE
push ecx
push eax
mov ecx, esi
call fcn.00428920
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005d9cd0
jmp 0x5da30c
push ecx
mov ecx, 0x23
call fcn.005d9880
add esp, 4
mov ecx, esi
push 6
push str.Adobe
call fcn.00428920
jmp 0x5da314
mov ecx, esi
call fcn.005d9c10
test al, al
je case.0x5d9f50.16
mov ecx, 0xb
mov eax, str.OOBEPDApp
push ecx
push eax
mov ecx, esi
call fcn.00428920
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005d9cd0
jmp 0x5da367
mov ecx, esi
call fcn.005d9c10
test al, al
je case.0x5d9f50.16
mov ecx, 0x20
mov eax, str.AdobeApplicationManagerAAMRefs
push ecx
push eax
mov ecx, esi
call fcn.00428920
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005d9c10
jmp 0x5da3e1
mov ecx, esi
call fcn.005d9a40
test al, al
je case.0x5d9f50.16
mov ecx, 8
mov eax, str.ADCRefs
push ecx
push eax
mov ecx, esi
call fcn.00428920
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x21c]
call fcn.005d8450
cmp dword [ebp - 0x218], 2
jne 0x5da457
mov ecx, esi
call fcn.005d9a40
test al, al
je case.0x5d9f50.16
push 0x15
push str.Adobe_Desktop_Common
mov ecx, esi
call fcn.00428920
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
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.0x5d9f50.16
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5da480
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00428800
push 0x1b
push str.AdobeAdobe_Desktop_Common
mov ecx, esi
call fcn.00428920
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x21c]
call fcn.005d8450
cmp dword [ebp - 0x218], 2
je case.0x5d9f50.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.0x5d9f50.16
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5da500
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00428800
push 0x1b
push str.AdobeAdobe_Creative_Cloud
mov ecx, esi
call fcn.00428920
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005d9a40
test al, al
je case.0x5d9f50.16
push 0x15
push str.Adobe_Desktop_Common
mov ecx, esi
call fcn.00428920
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.005d9d60
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0063de71
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0063de71
mov esp, ebp
pop ebp
ret