Function at 0x14002b190
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x1400820c0]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rcx
xor r14d, r14d
mov qword [rbp + 0x40], r14
xor sil, sil
lea rcx, [rbp + 0x48]
call fcn.14002a530
test al, al
jne 0x14002b2bf
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
lea r8d, [r14 + 6]
lea rdx, [0x14006e87c]
lea rcx, [rbp]
call fcn.140010590
nop
call fcn.140009730
lea r8, [rbp]
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140009620
nop
lea rax, str.AquireUserToken_failed
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x16
mov qword [rbp - 0x80], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x78], r14
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rsp + 0x78]
movaps xmmword [rbp - 0x60], xmm1
movsd xmm0, qword [rbp - 0x78]
movsd qword [rbp - 0x50], xmm0
lea r9, [rbp - 0x20]
lea r8d, [r14 + 4]
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.140007190
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002b2a8
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14002b2a8
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002b2a8
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x14002b3df
mov rcx, qword [rbp]
jmp 0x14002b3b2
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x14002b3e6
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
lea r8d, [rax + 6]
lea rdx, [0x14006e87c]
lea rcx, [rbp + 0x20]
call fcn.140010590
nop
call fcn.140009730
lea r8, [rbp + 0x20]
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140009620
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
mov qword [rbp - 0x80], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x78], r14
lea rax, str.ImpersonateLoggedOnUser_failed___
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x23
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rbp - 0x60], xmm0
movsd xmm1, qword [rbp - 0x78]
movsd qword [rbp - 0x50], xmm1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.140019af0
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002b3a4
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14002b3a4
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002b3a4
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x14002b3df
mov rcx, qword [rbp + 0x20]
inc rdx
cmp rdx, 0x1000
mov rax, rcx
jb 0x14002b3da
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b814
call fcn.140038e94
xor al, al
jmp 0x14002b7ed
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
lea rcx, [rbp + 0x40]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
xorps xmm0, xmm0
test eax, eax
je 0x14002b6da
xor eax, eax
movups xmmword [rbp + 0x74], xmm0
movups xmmword [rbp + 0x84], xmm0
movups xmmword [rbp + 0x94], xmm0
movups xmmword [rbp + 0xa4], xmm0
movups xmmword [rbp + 0xb4], xmm0
movups xmmword [rbp + 0xc4], xmm0
mov dword [rbp + 0xd4], eax
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
mov dword [rbp + 0x70], 0x68
cmp qword [rbx + 0x18], 7
jbe 0x14002b44a
mov rbx, qword [rbx]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r14
mov rax, qword [rbp + 0x40]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x400
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
setne sil
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r8d, 6
lea rdx, [0x14006e87c]
test eax, eax
je 0x14002b5c1
movups xmmword [rbp - 0x40], xmm0
movdqu xmmword [rbp - 0x30], xmm1
lea rcx, [rbp - 0x40]
call fcn.140010590
nop
call fcn.140009730
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140009620
nop
lea rax, str.CreateProcessAsUser_success
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x1b
mov qword [rbp - 0x80], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x78], r14
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rsp + 0x78]
movaps xmmword [rbp - 0x60], xmm1
movsd xmm0, qword [rbp - 0x78]
movsd qword [rbp - 0x50], xmm0
lea r9, [rbp - 0x20]
mov r8d, 1
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.140007190
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002b56d
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14002b56d
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002b56d
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14002b5a8
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b5a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b81a
call fcn.140038e94
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14002b6be
movups xmmword [rbp - 0x20], xmm0
movdqu xmmword [rbp - 0x10], xmm1
lea rcx, [rbp - 0x20]
call fcn.140010590
nop
call fcn.140009730
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140009620
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
mov qword [rbp - 0x80], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x78], r14
lea rax, str.CreateProcessAsUser_failed___
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x1f
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rbp - 0x60], xmm0
movsd xmm1, qword [rbp - 0x78]
movsd qword [rbp - 0x50], xmm1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.140019af0
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002b683
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14002b683
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002b683
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14002b6be
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b6b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b81a
call fcn.140038e94
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x14002b7e3
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov qword [rbp + 0x40], r14
jmp 0x14002b7e3
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov r8d, 6
lea rdx, [0x14006e87c]
lea rcx, [rbp - 0x40]
call fcn.140010590
nop
call fcn.140009730
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140009620
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
mov qword [rbp - 0x80], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x78], r14
lea rax, str.CreateEnvironmentBlock_failed___
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], 0x22
movups xmm0, xmmword [rsp + 0x78]
movaps xmmword [rbp - 0x60], xmm0
movsd xmm1, qword [rbp - 0x78]
movsd qword [rbp - 0x50], xmm1
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.140019af0
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14002b7ac
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14002b7ac
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14002b7ac
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14002b7e3
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b7de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b814
call fcn.140038e94
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
movzx eax, sil
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140038a00
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140042e3c
int3
call fcn.140042e3c
int3