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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x100c0
call fcn.00402570
mov eax, dword [0x405004]
xor eax, esp
mov dword [esp + 0x100bc], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
test eax, eax
je 0x40148b
push 0xfffe
lea eax, [esp + 0xbc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0xb8]
push 0x7fff
push eax
push str.ProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x40148b
xor eax, eax
mov dword [esp + 0x88], 0
lea ecx, [esp + 0xb8]
mov dword [esp + 0x8c], 7
mov word [esp + 0x78], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4011f7
sub ecx, edx
lea eax, [esp + 0xb8]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x80]
call fcn.00401530
push str.AdobeAdobe_Creative_Cloud_Experience
lea ecx, [esp + 0x7c]
call fcn.004014b0
push str.AdobeAdobe_Creative_Cloud_ExperienceCCXProcess.exe
lea eax, [esp + 0xbc]
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 0x40144a
xorps xmm0, xmm0
mov dword [esp + 0x48], eax
mov eax, dword [0x40328c]
lea ecx, [esp + 0x60]
mov dword [esp + 0xa0], eax
mov ax, word [0x403290]
mov word [esp + 0xa4], ax
lea eax, [esp + 0x90]
movlpd qword [esp + 0xc], xmm0
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x20], xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movups xmm0, xmmword [str.CCXProcess]
mov dword [esp + 0x14], eax
xor eax, eax
push 1
push 0x403294
mov dword [esp + 0x10], 0x44
movups xmmword [esp + 0x98], xmm0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 7
mov word [esp + 0x68], ax
call fcn.00401530
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x64]
call fcn.004014b0
push 0x403294
lea ecx, [esp + 0x64]
call fcn.004014b0
cmp dword [esp + 0x74], 8
lea eax, [esp + 0x60]
cmovae eax, dword [esp + 0x60]
push eax
lea eax, [esp + 0xbc]
push 0x7fff
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea ecx, [esp + 0x50]
cmp dword [esp + 0x8c], 8
lea eax, [esp + 0x78]
cmovae eax, dword [esp + 0x78]
push ecx
lea ecx, [esp + 0xc]
push ecx
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0xd8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401406
mov edx, dword [esp + 0x74]
cmp edx, 8
jb 0x40139e
mov ecx, dword [esp + 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401394
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40143a
push edx
push ecx
call fcn.0040182d
add esp, 8
mov edx, dword [esp + 0x8c]
xor eax, eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 7
mov word [esp + 0x60], ax
cmp edx, 8
jb 0x4013f0
mov ecx, dword [esp + 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4013e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40143a
push edx
push ecx
call fcn.0040182d
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x100bc]
xor ecx, esp
call fcn.004017ec
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x74]
cmp edx, 8
jb 0x40144a
mov ecx, dword [esp + 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401440
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401440
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040182d
add esp, 8
mov edx, dword [esp + 0x8c]
cmp edx, 8
jb 0x40148b
mov ecx, dword [esp + 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401481
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401481
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040182d
add esp, 8
mov ecx, dword [esp + 0x100bc]
mov eax, 1
xor ecx, esp
call fcn.004017ec
mov esp, ebp
pop ebp
ret 0x10