Function at 0x14000c51c
Capabilities:
Create process on windows
Impersonate user

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
xor eax, eax
xorps xmm0, xmm0
and qword [rsp + 0x70], rax
mov rsi, r8
mov r14, rdx
mov qword [rbp - 0x40], rax
mov r15, rcx
xor edx, edx
lea r8d, [rax + 0x68]
mov r13d, r9d
lea rcx, [rbp - 0x30]
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
call fcn.1400428c0
mov rdi, qword [rbp + 0x90]
xor eax, eax
and qword [rsp + 0x68], rax
xorps xmm0, xmm0
and qword [rsp + 0x60], rax
mov qword [rbp - 0x78], rax
movups xmmword [rsp + 0x78], xmm0
test rdi, rdi
je 0x14000c59a
and dword [rdi], eax
xor r8d, r8d
lea rcx, [rsp + 0x70]
mov rdx, r15
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov r12d, eax
test eax, eax
jne 0x14000c600
call fcn.140038cd4
mov ebx, eax
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14000c5ea
test byte [rcx + 0x1c], 1
je 0x14000c5ea
mov rcx, qword [rcx + 0x10]
lea edx, [r12 + 0x16]
mov r9d, ebx
lea r8, [0x140054b10]
call fcn.140002534
mov edx, ebx
lea rcx, str.ERROR:_CreateEnvironmentBlock___Failed__X_n
call fcn.140006cb0
test ebx, ebx
js 0x14000c7e1
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000c610
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov r8, rsi
lea rdx, [0x14004f5dc]
lea rcx, [rsp + 0x60]
call fcn.140005f44
mov ebx, eax
test eax, eax
js 0x14000c7d1
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000c63e
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov r8, r14
lea rdx, [0x14004f5dc]
lea rcx, [rsp + 0x68]
call fcn.140005f44
mov ebx, eax
test eax, eax
js 0x14000c7d1
mov rax, qword [rsp + 0x60]
lea rdx, [rbp - 0x70]
mov rcx, r15
mov qword [rbp - 0x68], rax
mov dword [rbp - 0x70], 0x38
call qword [sym.imp.USERENV.dll_LoadUserProfileW]
mov esi, eax
test eax, eax
jne 0x14000c6cb
call fcn.140038cd4
mov ebx, eax
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14000c6b5
test byte [rcx + 0x1c], 1
je 0x14000c6b5
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x17]
mov r9d, ebx
lea r8, [0x140054b10]
call fcn.140002534
mov edx, ebx
lea rcx, str.ERROR:_LoadUserProfile___Failed__X_n
call fcn.140006cb0
test ebx, ebx
js 0x14000c7d1
mov r8, qword [rsp + 0x68]
lea rax, [0x14005134c]
mov qword [rbp - 0x20], rax
xor r9d, r9d
lea rax, [rsp + 0x78]
mov dword [rbp - 0x30], 0x68
mov qword [rsp + 0x50], rax
xor edx, edx
lea rax, [rbp - 0x30]
mov rcx, r15
mov qword [rsp + 0x48], rax
and qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x428
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov r14d, eax
test eax, eax
jne 0x14000c776
call fcn.140038cd4
mov ebx, eax
mov rcx, qword [str.___a_]
lea rax, str.___a_
cmp rcx, rax
je 0x14000c764
test byte [rcx + 0x1c], 1
je 0x14000c764
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x18]
mov r9d, ebx
lea r8, [0x140054b10]
call fcn.140002534
mov edx, ebx
lea rcx, str.ERROR:_CreateProcessAsUserW___Failed__X_n
call fcn.140006cb0
test ebx, ebx
js 0x14000c7c0
test r13d, r13d
je 0x14000c7a6
test rdi, rdi
je 0x14000c7a6
mov rcx, qword [rsp + 0x78]
or edx, 0xffffffff
call fcn.14003bc2c
mov rcx, qword [rsp + 0x78]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000c7a6
call fcn.140038cd4
mov ebx, eax
test r14d, r14d
je 0x14000c7c0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x14000c7d1
mov rdx, qword [rbp - 0x40]
mov rcx, r15
call qword [sym.imp.USERENV.dll_UnloadUserProfile]
test r12d, r12d
je 0x14000c7e1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000c7f1
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000c801
call qword [sym.imp.mpclient.dll_MpFreeMemory]
lea r11, [rsp + 0x140]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret