Function at 0x401000
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x100a8
call fcn.00402310
mov eax, dword [0x404004]
xor eax, esp
mov dword [esp + 0x100a4], eax
push esi
push edi
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
test eax, eax
je 0x40126e
push 0xfffe
lea eax, [esp + 0xac]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0xa8]
push 0x7fff
push eax
push 0x4031a0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x40126e
xor eax, eax
mov dword [esp + 0x78], 0
lea ecx, [esp + 0xa8]
mov dword [esp + 0x7c], 7
mov word [esp + 0x68], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401093
sub ecx, edx
lea eax, [esp + 0xa8]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.00401290
mov edx, dword [esp + 0x7c]
mov eax, edx
mov ecx, dword [esp + 0x78]
sub eax, ecx
cmp eax, 0x26
jb 0x4010f6
cmp edx, 8
lea esi, [esp + 0x68]
push 0x4c
cmovae esi, dword [esp + 0x6c]
lea edi, [ecx + 0x26]
push str.AdobeAdobe_Creative_Cloud_Experience
mov dword [esp + 0x80], edi
lea eax, [esi + ecx*2]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x40110d
push 0x26
push ecx
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x70]
push dword [esp + 0x14]
push 0x26
call fcn.004013d0
push str.AdobeAdobe_Creative_Cloud_ExperienceCCXProcess.exe
lea eax, [esp + 0xac]
push 0x7fff
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
test eax, eax
jne 0x401230
cmp dword [esp + 0x7c], 8
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], eax
xorps xmm0, xmm0
mov eax, dword [0x40328c]
mov dword [esp + 0x90], eax
mov ax, word [0x403290]
push ecx
mov word [esp + 0x98], ax
lea ecx, [esp + 0x14]
push ecx
lea eax, [esp + 0x88]
movlpd qword [esp + 0x1c], xmm0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x70]
cmovae eax, dword [esp + 0x70]
push eax
push 0
push 0
push 0
push 0
push 0
movlpd qword [esp + 0x40], xmm0
lea eax, [esp + 0xc8]
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
movups xmm0, xmmword [str.CCXProcess]
push eax
push 0
mov dword [esp + 0x38], 0x44
movups xmmword [esp + 0xa8], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40122a
mov edx, dword [esp + 0x7c]
cmp edx, 8
jb 0x401212
mov ecx, dword [esp + 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401208
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401208
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040159d
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x100a4]
xor ecx, esp
call fcn.0040155c
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x7c]
cmp edx, 8
jb 0x40126e
mov ecx, dword [esp + 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401264
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401264
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040159d
add esp, 8
mov ecx, dword [esp + 0x100ac]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.0040155c
mov esp, ebp
pop ebp
ret 0x10