Function at 0x140117350
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, rdx
call fcn.14011c970
mov r14, rax
test rax, rax
je 0x1401175f0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x68
lea rax, str.Winsta0Winlogon
mov qword [rbp - 0x70], rax
xor r15d, r15d
mov qword [rbp - 0x10], r15
mov qword [rbp], r15
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r15w
lea r8d, [r15 + 1]
lea rdx, [0x1405f7e80]
lea rcx, [rbp - 0x10]
call fcn.1400739a0
nop
mov rdx, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x140117402
mov rsi, qword [rsi]
mov rcx, qword [rbp]
mov r8, qword [rbp + 8]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x140117441
lea rdi, [rcx + rdx]
mov qword [rbp], rdi
lea rbx, [rbp - 0x10]
cmp r8, 8
cmovae rbx, qword [rbp - 0x10]
lea rcx, [rbx + rcx*2]
lea r8, [rdx + rdx]
mov rdx, rsi
call fcn.14035bc80
mov word [rbx + rdi*2], r15w
jmp 0x140117455
lfence
mov qword [rsp + 0x20], rdx
mov r9, rsi
lea rcx, [rbp - 0x10]
call fcn.1400735a0
mov rcx, qword [rbp]
mov rdx, qword [rbp + 8]
mov rax, rdx
sub rax, rcx
cmp rax, 0xe
jb 0x14011749b
lea rdi, [rcx + 0xe]
mov qword [rbp], rdi
lea rbx, [rbp - 0x10]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x10]
lea rcx, [rbx + rcx*2]
mov r8d, 0x1c
lea rdx, str.___interactive
call fcn.14035bc80
mov word [rbx + rdi*2], r15w
jmp 0x1401174bc
lfence
mov qword [rsp + 0x20], 0xe
lea r9, str.___interactive
mov edx, 0xe
lea rcx, [rbp - 0x10]
call fcn.1400735a0
mov qword [rsp + 0x60], r15
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x60]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ecx, r15d
mov edx, 0x400
test eax, eax
cmovne ecx, edx
lea r8, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae r8, qword [rbp - 0x10]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov ebx, eax
test eax, eax
jne 0x14011757d
lea rax, str.0cg_
mov rcx, qword [str.0cg_]
cmp rcx, rax
je 0x140117593
test byte [rcx + 0x1c], 1
je 0x140117593
cmp byte [rcx + 0x19], 2
jb 0x140117593
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.0cg_]
lea edx, [rbx + 0x1b]
mov dword [rsp + 0x20], eax
lea r9, str.CreateProcess
lea r8, [0x1405fa6c0]
mov rcx, qword [rcx + 0x10]
call fcn.140079f00
jmp 0x140117593
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1401175a3
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
setne bl
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x1401175ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401175e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140117613
call fcn.140359090
movzx eax, bl
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140359070
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140368068
int3