Function at 0x10082250
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10227be9
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x102e91c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, cl
mov dword [ebp - 0x270], 0
mov esi, dword [0x102eec30]
test esi, esi
je 0x100822bc
push str.Redirection_Prerequisite_Check
push 0x1025b044
push 0x1025b044
push str.ContainerBLMessageHandler
push str.c3containerBL
push 0x1e
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
call fcn.10022d10
mov esi, eax
mov dword [ebp - 0x250], 0
xor eax, eax
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
lea edx, [ebp - 0x270]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x274]
call fcn.10150080
cmp dword [ebp - 0x270], 2
jne 0x1008231a
lea ecx, [ebp - 0x250]
call fcn.1014d800
jmp 0x10082374
push 0
push 0x26
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10082374
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10082340
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.10010360
push 0x1b
push str.AdobeAdobe_Creative_Cloud
lea ecx, [ebp - 0x250]
call fcn.10010650
push 0x1c
push str.RedirectionRedirection.exe
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
call fcn.1000aef0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x240]
test ecx, ecx
je 0x1008245b
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x1008245b
lea edi, [ecx + 0xb]
mov edx, 2
add edi, eax
xor ecx, ecx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101dc6a1
mov esi, eax
add esp, 4
test esi, esi
je 0x10082455
cmp dword [ebp - 0x23c], 8
lea ecx, [ebp - 0x250]
cmovae ecx, dword [ebp - 0x250]
push ecx
push edi
push esi
call fcn.101dc63d
add esp, 0xc
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10082430
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x250]
call fcn.10010360
push esi
call fcn.101dbd83
add esp, 4
mov esi, dword [ebp - 0x26c]
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.1000ae90
cmp dword [ebp - 0x23c], 8
lea eax, [ebp - 0x250]
cmovae eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100824a1
mov esi, dword [0x102eec30]
test esi, esi
je 0x1008267d
push str.Redirection_Folder_not_Exist_for_Production_Build
jmp 0x1008265a
lea edx, [esi + 0x558]
mov ecx, edx
test bl, bl
je 0x10082629
cmp dword [edx + 0x14], 8
jb 0x100824b9
mov ecx, dword [edx]
mov edx, dword [edx + 0x10]
push 3
push 0x10263730
call fcn.10010bf0
add esp, 8
test eax, eax
je 0x1008264b
push 0
push 0x1025b044
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
call fcn.1000aef0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push eax
push ecx
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x268]
push eax
call fcn.10059ca0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.1000ae90
xorps xmm0, xmm0
movlpd qword [ebp - 0x238], xmm0
push 0xc8
mov dword [ebp - 0x234], 0
call fcn.101cff73
push 0xc8
mov esi, eax
push 0
push esi
mov dword [ebp - 0x274], esi
call fcn.101d28f0
add esp, 0x10
mov ecx, esi
call fcn.1017ce20
mov edi, eax
mov dword [ebp - 0x238], edi
mov byte [ebp - 4], 5
lea ebx, [ebp - 0x268]
cmp dword [ebp - 0x254], 8
cmovae ebx, dword [ebp - 0x268]
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10082590
sub esi, ecx
mov ecx, edi
sar esi, 1
call fcn.1017cf30
mov ecx, edi
call fcn.1017ceb0
mov edx, dword [edi]
lea eax, [edi + 4]
push eax
push 0
push 0
push 8
push ecx
lea eax, [esi + esi]
push eax
push ebx
push edx
lea ecx, [ebp - 0x224]
call fcn.1017c490
add esp, 0x20
cmp dword [ebp - 0x224], 0
je 0x10082684
mov esi, dword [0x102eec30]
test esi, esi
je 0x10082622
cmp dword [ebp - 0x254], 8
lea eax, [ebp - 0x268]
mov ecx, esi
cmovae eax, dword [ebp - 0x268]
push eax
push str.Failed_to_init_XMLParser_while_launching_AAMHelper_with_xml_:__s
push 0x1025b044
push 0x1025b044
push str.ContainerBLMessageHandler
push str.c3containerBL
push 0x28
call dword [0x1024852c]
call esi
add esp, 0x1c
xor bl, bl
jmp 0x100827f6
cmp dword [edx + 0x14], 8
jb 0x10082631
mov ecx, dword [edx]
mov edx, dword [edx + 0x10]
push 4
push str.PROD
call fcn.10010bf0
add esp, 8
test eax, eax
jne 0x100824d3
mov esi, dword [0x102eec30]
test esi, esi
je 0x1008267d
push str.Already_on_same_Environment
push 0x1025b044
push 0x1025b044
push str.ContainerBLMessageHandler
push str.c3containerBL
push 0x28
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
xor bl, bl
jmp 0x1008281a
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28c]
push 0xe
push str._output_result
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], eax
call fcn.1000aef0
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x270], 1
push eax
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x238]
call fcn.1014c160
test al, al
je 0x1008274a
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
mov esi, dword [ebp - 0x220]
cmovae ecx, dword [ebp - 0x230]
cmp esi, 7
jne 0x1008274a
mov edx, 0x1026d7c4
test esi, esi
je 0x10082746
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x1008274a
add ecx, 2
add edx, 2
sub esi, 1
jne 0x10082733
xor bl, bl
jmp 0x1008274c
mov bl, 1
lea ecx, [ebp - 0x28c]
mov dword [ebp - 4], 6
call fcn.1000ae90
mov esi, dword [0x102eec30]
test bl, bl
je 0x10082798
test esi, esi
je 0x10082794
push str.User_presses_No_on_elevation_prompt_for_run_Redirection
push 0x1025b044
push 0x1025b044
push str.ContainerBLMessageHandler
push str.c3containerBL
push 0x28
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
xor bl, bl
jmp 0x100827c6
test esi, esi
je 0x100827c4
push str.Redirection_Prerequisite_Check_Succeed
push 0x1025b044
push 0x1025b044
push str.ContainerBLMessageHandler
push str.c3containerBL
push 0x1e
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
mov bl, 1
lea ecx, [ebp - 0x230]
call fcn.1000ae90
mov esi, dword [ebp - 0x234]
test esi, esi
je 0x100827f0
mov ecx, esi
call fcn.1017cf30
push 0xc8
push esi
call fcn.101d02bd
add esp, 8
mov edi, dword [ebp - 0x238]
test edi, edi
je 0x1008280f
mov ecx, edi
call fcn.1017cf30
push 0xc8
push edi
call fcn.101d02bd
add esp, 8
lea ecx, [ebp - 0x268]
call fcn.1000ae90
lea ecx, [ebp - 0x250]
call fcn.1000ae90
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101cff65
mov esp, ebp
pop ebp
ret