Function at 0x1400129a0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov r15, rdx
mov rdi, rcx
mov r14, qword [rbp + 0xd0]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
mov dword [rbp + 4], eax
mov dword [rbp - 0x60], 0x68
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
movups xmm1, xmmword [str.WinSta0Default]
movups xmmword [rbp + 0x58], xmm1
movups xmm0, xmmword [0x14002a928]
movups xmmword [rbp + 0x68], xmm0
lea rax, [rbp + 0x58]
test r8b, r8b
cmove rax, qword [rbp - 0x50]
mov qword [rbp - 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x1400542b0]
movdqu xmmword [rbp + 0x20], xmm1
xor r12d, r12d
mov word [rbp + 0x10], r12w
mov rsi, qword [rcx + 0x68]
mov rbx, qword [rcx + 0x60]
cmp rbx, rsi
je 0x140012aa1
nop word [rax + rax]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140012a6d
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.140011e80
add rbx, 0x20
cmp rbx, rsi
jne 0x140012a60
mov r8d, 0x400
movzx eax, byte [rdi + 0x7d]
cmp al, 1
jne 0x140012ab7
mov r8d, 0x410
jmp 0x140012aca
cmp al, 2
jne 0x140012aca
mov r8d, 0x8000400
or dword [rbp - 0x24], 1
mov word [rbp - 0x20], r12w
lea rax, [rdi + 0x20]
cmp qword [rax + 0x10], 0
jne 0x140012ada
mov rax, r12
jmp 0x140012ae4
cmp qword [rax + 0x18], 8
jb 0x140012ae4
mov rax, qword [rax]
lea rcx, [rdi + 0x40]
cmp qword [rcx + 0x10], 0
jne 0x140012af4
mov rcx, r12
jmp 0x140012afe
cmp qword [rcx + 0x18], 8
jb 0x140012afe
mov rcx, qword [rcx]
lea r10, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae r10, qword [rbp + 0x10]
cmp qword [rdi + 0x10], 0
jne 0x140012b18
mov rdx, r12
jmp 0x140012b25
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012b25
mov rdx, qword [rdi]
lea r9, [rbp - 0x80]
mov qword [rsp + 0x50], r9
lea r9, [rbp - 0x60]
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, r10
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp eax, 1
je 0x140012bb4
lea rax, [0x14002a938]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x14
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x30]
call fcn.140001230
mov rbx, rax
mov rdx, rax
mov rcx, r14
call fcn.140006170
mov eax, dword [rbx + 0x20]
mov dword [r14 + 0x20], eax
lea rcx, [rbp + 0x30]
call fcn.1400011c0
xor bl, bl
jmp 0x140012bd0
mov eax, dword [rbp - 0x70]
mov dword [rdi + 0x78], eax
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
lea rcx, [rbp + 0x10]
call fcn.1400011c0
movzx eax, bl
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.140014ed0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret