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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x456014]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, edx
push edi
cmp ecx, 0x2f
ja case.0x412ff0.16
jmp dword [ecx*4 + 0x413644]
push ecx
mov ecx, 0x26
call fcn.00412870
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x2a
call fcn.00412870
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x2b
call fcn.00412870
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x2c
call fcn.00412870
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x24
call fcn.00412870
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x25
call fcn.00412870
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x29
call fcn.00412870
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x14
call fcn.00412870
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x17
call fcn.00412870
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x28
call fcn.00412870
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 5
call fcn.00412870
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0
push eax
push 0
push 0
push 0x44cad0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js case.0x412ff0.16
mov edx, dword [ebp - 0x218]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413174
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.00403270
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.0041cdc0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x1a
call fcn.00412870
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x1c
call fcn.00412870
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x23
call fcn.00412870
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x2e
call fcn.00412870
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.004129b0
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
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.0x412ff0.16
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413260
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00403270
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
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.0x412ff0.16
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je case.0x412ff0.16
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4132d0
jmp 0x41326b
mov ecx, esi
call fcn.00412c10
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00412a30
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00412cd0
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00412a30
push 4
push str.CEP
mov ecx, esi
call fcn.00401fa0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00412cd0
push 4
push str.CEP
mov ecx, esi
call fcn.00401fa0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00412d60
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, 0x23
call fcn.00412870
add esp, 4
mov ecx, esi
push 6
push str.Adobe
call fcn.00401fa0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00412c10
test al, al
je case.0x412ff0.16
mov ecx, 5
mov eax, str.OOBE
push ecx
push eax
mov ecx, esi
call fcn.00401fa0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00412d60
jmp 0x4133bc
push ecx
mov ecx, 0x23
call fcn.00412870
add esp, 4
mov ecx, esi
push 6
push str.Adobe
call fcn.00401fa0
jmp 0x4133c4
mov ecx, esi
call fcn.00412c10
test al, al
je case.0x412ff0.16
mov ecx, 0xb
mov eax, str.OOBEPDApp
push ecx
push eax
mov ecx, esi
call fcn.00401fa0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00412d60
jmp 0x413417
mov ecx, esi
call fcn.00412c10
test al, al
je case.0x412ff0.16
mov ecx, 0x20
mov eax, str.AdobeApplicationManagerAAMRefs
push ecx
push eax
mov ecx, esi
call fcn.00401fa0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00412c10
jmp 0x413491
mov ecx, esi
call fcn.00412a30
test al, al
je case.0x412ff0.16
mov ecx, 8
mov eax, str.ADCRefs
push ecx
push eax
mov ecx, esi
call fcn.00401fa0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x21c]
call fcn.00411370
cmp dword [ebp - 0x218], 2
jne 0x413507
mov ecx, esi
call fcn.00412a30
test al, al
je case.0x412ff0.16
push 0x15
push str.Adobe_Desktop_Common
mov ecx, esi
call fcn.00401fa0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
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.0x412ff0.16
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413530
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00403270
push 0x1b
push str.AdobeAdobe_Desktop_Common
mov ecx, esi
call fcn.00401fa0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x21c]
call fcn.00411370
cmp dword [ebp - 0x218], 2
je case.0x412ff0.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.0x412ff0.16
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4135b0
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00403270
push 0x1b
push str.AdobeAdobe_Creative_Cloud
mov ecx, esi
call fcn.00401fa0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00412a30
test al, al
je case.0x412ff0.16
push 0x15
push str.Adobe_Desktop_Common
mov ecx, esi
call fcn.00401fa0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00412df0
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0041cdc0
mov esp, ebp
pop ebp
ret