Function at 0x180012df0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2000]
mov eax, 0x2100
call fcn.18003fda0
sub rsp, rax
mov rax, qword [0x18005c010]
xor rax, rsp
mov qword [rbp + 0x1ff0], rax
mov rsi, qword [rbp + 0x2040]
lea rcx, [rbp - 0x10]
mov rdi, r8
mov ebx, edx
xorps xmm0, xmm0
xor eax, eax
xor edx, edx
mov qword [rsp + 0x70], rax
mov r8d, 0x2000
movups xmmword [rsp + 0x60], xmm0
call fcn.180019360
xor r14d, r14d
test rdi, rdi
je 0x180012e7f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x180012e7f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x180012e7f
mov rdx, rdi
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x180013023
xorps xmm0, xmm0
lea rcx, [rbp - 0x10]
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x80], 0x68
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x44], 1
movups xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x40], r14w
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x20], rax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x30], xmm0
call fcn.1800267d0
mov rdi, rax
test rax, rax
je 0x180013023
test ebx, ebx
je 0x180012fb7
sub ebx, 1
je 0x180012f75
sub ebx, 1
je 0x180012f3d
cmp ebx, 1
jne 0x18001301b
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x50], rax
xor r8d, r8d
lea rax, [rbp - 0x80]
xor edx, edx
mov qword [rsp + 0x48], rax
xor ecx, ecx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x10
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
jmp 0x180012ff2
lea rax, [rsp + 0x60]
mov r9, rdi
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rax, [rbp - 0x80]
xor edx, edx
mov qword [rsp + 0x38], rax
mov rcx, rsi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
jmp 0x180012ff2
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x50], rax
mov r8, rdi
lea rax, [rbp - 0x80]
xor edx, edx
mov qword [rsp + 0x48], rax
mov rcx, rsi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x10
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
jmp 0x180012ff2
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x80]
mov rdx, rdi
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x18001301b
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.18001d784
mov eax, 1
jmp 0x180013026
mov rcx, rdi
call fcn.18001d784
mov eax, r14d
mov rcx, qword [rbp + 0x1ff0]
xor rcx, rsp
call fcn.180015840
lea r11, [rsp + 0x2100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret