Function at 0x5112a0
Capabilities:
Get common file path
Get program files directory
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x244
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x5136f0
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x24e]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0x20a
push 0
push edi
call fcn.0061e8c0
add esp, 0xc
push edi
push 0
push 0
push 0x14
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp word [ebp - 0x24e], 0
mov ecx, 0x658578
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], 0
cmove edi, ecx
test eax, eax
cmovs edi, ecx
push edi
call fcn.005d3244
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x51134c
sub esp, 0xc
mov al, byte [ebp - 0x3c]
lea ecx, [ebp - 0x34]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.00405590
jmp 0x511368
mov eax, esi
mov dword [ebp - 0x24], esi
lea ecx, [ebp - 0x34]
add eax, esi
push eax
push edi
push ecx
call fcn.0061e340
add esp, 0xc
mov word [ebp + esi*2 - 0x34], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x34]
push 1
push eax
call fcn.00510dd0
mov ecx, dword [ebp - 0x20]
lea esi, [ebp - 0x24e]
cmp ecx, 8
jb 0x5113be
mov eax, dword [ebp - 0x34]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5113b4
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5116f1
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
push 0x20a
push 0
push esi
call fcn.0061e8c0
add esp, 0xc
mov dword [ebp - 0x10], 0xffffffff
push esi
push 0
push 0
push 0x2a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
mov edi, 0x658578
js 0x51140d
cmp word [ebp - 0x24e], 0
je 0x51140d
push str.Common_FilesAdobeFonts
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
mov edi, 0x658578
cmovne edi, esi
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], 0
push edi
call fcn.005d3244
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x51144f
sub esp, 0xc
mov al, byte [ebp - 0x3c]
lea ecx, [ebp - 0x34]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.00405590
lea edi, [ebp - 0x34]
jmp 0x51146b
mov eax, esi
mov dword [ebp - 0x24], esi
add eax, esi
push eax
push edi
lea edi, [ebp - 0x34]
push edi
call fcn.0061e340
add esp, 0xc
mov word [ebp + esi*2 - 0x34], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x10], 5
push 1
push edi
call fcn.00510dd0
mov ecx, dword [ebp - 0x20]
lea esi, [ebp - 0x24e]
cmp ecx, 8
jb 0x5114be
mov eax, dword [ebp - 0x34]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5114b4
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5116fd
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
push 0x20a
push 0
push esi
call fcn.0061e8c0
add esp, 0xc
mov dword [ebp - 0x10], 0xffffffff
push esi
push 0
push 0
push 0x2a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
mov edi, 0x658578
js 0x51150d
cmp word [ebp - 0x24e], 0
je 0x51150d
push str.Common_FilesAdobeColor
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
mov edi, 0x658578
cmovne edi, esi
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], 0
push edi
call fcn.005d3244
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x51154f
sub esp, 0xc
mov al, byte [ebp - 0x3c]
lea ecx, [ebp - 0x34]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.00405590
lea edi, [ebp - 0x34]
jmp 0x51156b
mov eax, esi
mov dword [ebp - 0x24], esi
add eax, esi
push eax
push edi
lea edi, [ebp - 0x34]
push edi
call fcn.0061e340
add esp, 0xc
mov word [ebp + esi*2 - 0x34], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x10], 6
push 1
push edi
call fcn.00510dd0
mov ecx, dword [ebp - 0x20]
lea edi, [ebp - 0x24e]
cmp ecx, 8
jb 0x5115be
mov eax, dword [ebp - 0x34]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5115b4
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x511709
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
push 0x20a
push 0
push edi
call fcn.0061e8c0
add esp, 0xc
mov dword [ebp - 0x3c], 0x208
mov dword [ebp - 0x10], 0xffffffff
push str.mscms.dll
call fcn.00436bb0
add esp, 4
test eax, eax
je 0x5116db
mov ebx, eax
push str.GetColorDirectoryW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5116cd
mov ecx, eax
call dword [0x64689c]
lea eax, [ebp - 0x3c]
push eax
push edi
push 0
call ecx
test eax, eax
je 0x5116cd
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], 0
push edi
call fcn.005d3244
add esp, 4
mov esi, eax
cmp eax, 7
mov dword [ebp - 0x44], ebx
jbe 0x511665
sub esp, 0xc
mov al, byte [ebp - 0x40]
lea ecx, [ebp - 0x34]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.00405590
lea edi, [ebp - 0x34]
jmp 0x511681
mov eax, esi
mov dword [ebp - 0x24], esi
add eax, esi
push eax
push edi
lea edi, [ebp - 0x34]
push edi
call fcn.0061e340
add esp, 0xc
mov word [ebp + esi*2 - 0x34], 0
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x10], 7
push 1
push edi
call fcn.00510dd0
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x5116cd
mov eax, dword [ebp - 0x34]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5116c3
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x511715
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
mov dword [ebp - 0x10], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov al, 1
add esp, 0x244
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
call fcn.006207e0
mov dword [ebp - 0x10], 1
call fcn.006207e0
mov dword [ebp - 0x10], 2
call fcn.006207e0
mov dword [ebp - 0x10], 3
call fcn.006207e0
nop word cs:[eax + eax]
nop dword [eax + eax]
push ebp
sub esp, 0x14
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x14
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x14
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x14
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x14
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x5117ae
mov eax, dword [ebp - 0x34]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5117a4
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5117b3
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0x14
pop ebp
ret
call fcn.006207e0
nop dword [eax + eax]
push ebp
sub esp, 0x14
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x5117fe
mov eax, dword [ebp - 0x34]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x5117f4
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x511803
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0x14
pop ebp
ret
call fcn.006207e0
nop dword [eax + eax]
push ebp
sub esp, 0x14
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x51184e
mov eax, dword [ebp - 0x34]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x511844
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x511853
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0x14
pop ebp
ret
call fcn.006207e0
nop dword [eax + eax]
push ebp
sub esp, 0x14
add ebp, 0xc
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x51189e
mov eax, dword [ebp - 0x34]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x511894
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x5118a3
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0x14
pop ebp
ret
call fcn.006207e0
int3