Function at 0x140037ce0
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 [0x140095050]
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 [0x140059af8]
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 [0x14008c410]
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 0x140037de1
nop word [rax + rax]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140037dad
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.140003100
add rbx, 0x20
cmp rbx, rsi
jne 0x140037da0
mov r8d, 0x400
movzx eax, byte [rdi + 0x7d]
cmp al, 1
jne 0x140037df7
mov r8d, 0x410
jmp 0x140037e0a
cmp al, 2
jne 0x140037e0a
mov r8d, 0x8000400
or dword [rbp - 0x24], 1
mov word [rbp - 0x20], r12w
lea rax, [rdi + 0x20]
cmp qword [rax + 0x10], 0
jne 0x140037e1a
mov rax, r12
jmp 0x140037e24
cmp qword [rax + 0x18], 8
jb 0x140037e24
mov rax, qword [rax]
lea rcx, [rdi + 0x40]
cmp qword [rcx + 0x10], 0
jne 0x140037e34
mov rcx, r12
jmp 0x140037e3e
cmp qword [rcx + 0x18], 8
jb 0x140037e3e
mov rcx, qword [rcx]
lea r10, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae r10, qword [rbp + 0x10]
cmp qword [rdi + 0x10], 0
jne 0x140037e58
mov rdx, r12
jmp 0x140037e65
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140037e65
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 0x140037ef4
lea rax, [0x140059b08]
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.140001350
mov rbx, rax
mov rdx, rax
mov rcx, r14
call fcn.140002f90
mov eax, dword [rbx + 0x20]
mov dword [r14 + 0x20], eax
lea rcx, [rbp + 0x30]
call fcn.1400012e0
xor bl, bl
jmp 0x140037f10
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.1400012e0
movzx eax, bl
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.14003a1e0
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