Function at 0x401490
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43893b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f0
mov eax, dword [0x44f014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1e0], edx
mov edi, ecx
mov dword [ebp - 0x1dc], edi
push pe_nt_image_headers32
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x1e4], 0
push 0
push eax
call fcn.00418fc0
add esp, 0xc
lea ecx, [ebp - 0x1d8]
call fcn.0040ddd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x144]
mov dword [ebp - method.oobe::LogTargetDefault.virtual_0], vtable.oobe::LogTargetDefault.0
call fcn.004045e0
xor eax, eax
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 7
mov word [ebp - 0x104], ax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push 0x17
push 0x446ef0
mov dword [ebp - 0x148], eax
mov byte [ebp - 0x107], 1
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.0040bbf0
lea edx, [ebp - 0x1d4]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.004103a0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x4015d8
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4015ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c1f
push ecx
push edx
call fcn.00417151
add esp, 8
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.004112e0
lea ecx, [ebp - 0x1d8]
call fcn.004124d0
mov byte [ebp - 0x108], 0
push ecx
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 4], 5
call fcn.0040e070
sub esp, 8
lea ecx, [ebp - 0x1d8]
call fcn.0040e530
lea eax, [ebp - 0x1d8]
push eax
call fcn.004025c0
mov ecx, eax
call fcn.00402670
push 0x80
lea eax, [ebp - 0xc8]
push 0
push eax
call fcn.00418fc0
xor eax, eax
mov dword [ebp - 0xc0], 0
add esp, 0xc
mov dword [ebp - 0xc8], 0x449f18
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
push 0x17
push str.CreativeCloudRedirector
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xa
call fcn.0040a120
push 0
push 0x446ee0
lea ecx, [ebp - 0xc0]
call fcn.0040a120
push 3
push 0x446f48
lea ecx, [ebp - 0xa8]
call fcn.0040a120
push 0x17
push str.CreativeCloudRedirector
lea ecx, [ebp - 0x90]
call fcn.0040a120
push 0
push 0x446ee0
lea ecx, [ebp - 0x78]
call fcn.0040a120
call fcn.004025c0
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xc8]
push str._START_Adobe_Creative_Cloud_Redirector_
push eax
call fcn.0040e9b0
xor eax, eax
mov dword [ebp - 0x44], 0
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401966
lea ecx, [ebp - 0x44]
call fcn.0040f390
push 3
push 0x446f48
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00402040
mov byte [ebp - 4], 0xd
mov esi, 2
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x40183d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40183d
lea edi, [ecx + 0xb]
xor ecx, ecx
add edi, eax
mov eax, edi
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00421c43
mov esi, eax
add esp, 4
test esi, esi
je 0x401838
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push edi
push esi
call fcn.00421a66
add esp, 0xc
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401816
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.0040a120
push esi
call fcn.0042163d
add esp, 4
mov esi, 2
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x40187b
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401871
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c24
push ecx
push edx
call fcn.00417151
add esp, 8
push 0x12
push str.Creative_Cloud.exe
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00402040
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x401922
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x401922
lea edi, [ecx + 0xb]
xor ecx, ecx
add edi, eax
mov eax, edi
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00421c43
mov esi, eax
add esp, 4
test esi, esi
je 0x401922
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push edi
push esi
call fcn.00421a66
add esp, 0xc
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401900
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.0040a120
push esi
call fcn.0042163d
add esp, 4
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x401960
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401956
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c29
push ecx
push edx
call fcn.00417151
add esp, 8
mov edi, dword [ebp - 0x1dc]
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40199d
push str.Creative_Cloud.exe_not_found.
lea eax, [ebp - 0xc8]
push 0x446ee0
push eax
call fcn.0040ea30
add esp, 0xc
or esi, 0xffffffff
jmp 0x401b8b
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov esi, 1
mov byte [ebp - 4], 0xf
cmp edi, esi
jle 0x401aca
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1e8], 0
mov edx, dword [eax + esi*4]
mov eax, edx
lea edi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401a10
sub eax, edi
lea ecx, [ebp - 0x1fc]
sar eax, 1
push eax
push edx
call fcn.00402040
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x401a69
movups xmm0, xmmword [ebp - 0x1fc]
mov dword [eax], 0
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1ec]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0x1c], 0x18
mov word [ebp - 0x1fc], ax
jmp 0x401a7f
lea ecx, [ebp - 0x1fc]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00402340
mov ecx, dword [ebp - 0x1e8]
mov byte [ebp - 4], 0xf
cmp ecx, 8
jb 0x401abd
mov edx, dword [ebp - 0x1fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401ab3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c2e
push ecx
push edx
call fcn.00417151
add esp, 8
inc esi
cmp esi, dword [ebp - 0x1dc]
jl 0x4019e0
push ecx
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x1e0], 0
push eax
push ecx
lea eax, [ebp - 0x200]
push eax
push ecx
lea eax, [ebp - 0x1dc]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x44]
call fcn.0040fbf0
add esp, 0x18
test al, al
jne 0x401b25
push dword [ebp - 0x1dc]
lea eax, [ebp - 0xc8]
push str.Couldnt_launch_Creative_Cloud.exe_due_to_error_code__ul
push 0
push eax
call fcn.0040ea30
add esp, 0x10
or esi, 0xffffffff
mov dword [ebp - 0x1e4], esi
jmp 0x401b27
xor esi, esi
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x401b8b
mov edx, dword [ebp - 0x1c]
push ecx
call fcn.00402140
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x401b7b
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c2e
push ecx
push esi
call fcn.00417151
mov esi, dword [ebp - 0x1e4]
add esp, 8
lea eax, [ebp - 0xc8]
push str._END_Adobe_Creative_Cloud_Redirector._Version:_5.11.0.522_
push eax
call fcn.0040e9b0
mov ecx, dword [ebp - 0x30]
add esp, 8
cmp ecx, 8
jb 0x401bd5
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401bcb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c33
push ecx
push edx
call fcn.00417151
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00401c40
lea ecx, [ebp - 0x1d8]
call fcn.00404770
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00416ec0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
call fcn.0041c06f
call fcn.0041c06f
call fcn.0041c06f
call fcn.0041c06f
call fcn.0041c06f
int3