Function at 0x100f221f
Capabilities:
Get common file path
Query environment variable

Disassembly:
push 0x2bc
mov eax, 0x10139231
call fcn.1011094a
mov ebx, dword [ebp + 8]
mov eax, ebx
mov dword [ebp - 0x280], ebx
and dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 0x10
jb 0x100f2245
mov eax, dword [ebx]
mov byte [eax], 0
call fcn.1003a3c0
test al, al
je 0x100f25ba
and dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push 0x104
push eax
push str._ProgramW6432_
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x100f22ea
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.1003a3c0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.1003a3c0
pop ecx
pop ecx
push 1
mov esi, 0x101551e4
mov ecx, ebx
push esi
call fcn.1003a3c0
push 0xc
push str.Common_Files
mov ecx, ebx
call fcn.1003a3c0
push 1
push esi
mov ecx, ebx
call fcn.1003a3c0
push 5
push str.Adobe
mov ecx, ebx
call fcn.1003a3c0
push 1
push esi
mov ecx, ebx
call fcn.1003a3c0
lea ecx, [ebp - 0x234]
call fcn.10015273
xor eax, eax
jmp 0x100f2451
push 0x101e2a68
call sub.MSVCP140.dll__Mtx_lock
pop ecx
push eax
call fcn.1003a3c0
pop ecx
call fcn.100e1984
mov edi, 0x1014a0f1
lea ecx, [ebp - 0x264]
push edi
call fcn.1003a3c0
push edi
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 2
call fcn.1003a3c0
push dword [0x101d94d8]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
call fcn.1003a3c0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.100e1c13
add esp, 0xc
lea ecx, [ebp - 0x234]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0x27c]
call fcn.1001524d
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0
call fcn.1001524d
test esi, esi
je 0x100f2434
call fcn.100e1984
push edi
lea ecx, [ebp - 0x234]
call fcn.1003a3c0
push edi
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 5
call fcn.1003a3c0
push dword [0x101d94d8]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 6
call fcn.1003a3c0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.100e1c13
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x248], esi
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, dword [esi]
push eax
push str.GetPathTillCommonFilesAdobe
push str._s:_Expanding_Environment_String_failed__error_code:__lu
mov ecx, dword [esi + 0x24]
push edi
push dword [ebp - 0x248]
call dword [0x1014488c]
call dword [esi + 0x24]
add esp, 0x14
lea ecx, [ebp - 0x264]
call fcn.1001524d
lea ecx, [ebp - 0x27c]
call fcn.1001524d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.1001524d
push 0x101e2a68
call sub.MSVCP140.dll__Mtx_unlock
and dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 0x10
pop ecx
jb 0x100f244b
mov ebx, dword [ebx]
mov byte [ebx], 0
xor eax, eax
inc eax
call fcn.10110897
ret
mov esi, 0x101a124c
mov dword [ebp - 4], 0xf
lea edi, [ebp - 0x244]
xor eax, eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x248], eax
push ecx
movsd dword es:[edi], dword [esi]
push eax
push eax
lea eax, [ebp - 0x244]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x100f2665
cmp dword [ebp - 0x248], 0
je 0x100f2665
push dword [ebp - 0x248]
lea ecx, [ebp - 0x264]
call fcn.1003a3c0
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 0x10
push ebx
push eax
call fcn.100e9a73
pop ecx
pop ecx
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0xf
call fcn.10015273
push 1
mov esi, 0x101551e4
mov ecx, ebx
push esi
call fcn.1003a3c0
push 5
push str.Adobe
mov ecx, ebx
call fcn.1003a3c0
push 1
push esi
mov ecx, ebx
call fcn.1003a3c0
push dword [ebp - 0x248]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x100f22e3
push 0x101e2a68
call sub.MSVCP140.dll__Mtx_lock
pop ecx
push eax
call fcn.1003a3c0
pop ecx
call fcn.100e1984
mov edi, 0x1014a0f1
lea ecx, [ebp - 0x234]
push edi
call fcn.1003a3c0
push edi
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0x11
call fcn.1003a3c0
push dword [0x101d94d8]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x12
call fcn.1003a3c0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.100e1c13
add esp, 0xc
lea ecx, [ebp - 0x264]
mov esi, eax
call fcn.1001524d
lea ecx, [ebp - 0x27c]
call fcn.1001524d
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0xf
call fcn.1001524d
test esi, esi
je 0x100f2434
call fcn.100e1984
push edi
lea ecx, [ebp - 0x234]
call fcn.1003a3c0
push edi
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0x14
call fcn.1003a3c0
push dword [0x101d94d8]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x15
call fcn.1003a3c0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.100e1c13
add esp, 0xc
mov esi, dword [eax]
push str.GetPathTillCommonFilesAdobe
push str._s:_GetKnownFolderPath_failed
push edi
mov ecx, dword [esi + 0x24]
push eax
call dword [0x1014488c]
call dword [esi + 0x24]
add esp, 0x10
lea ecx, [ebp - 0x264]
call fcn.1001524d
lea ecx, [ebp - 0x27c]
call fcn.1001524d
mov byte [ebp - 4], 0xf
jmp 0x100f2429