Function at 0x140091090
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x1401f41c0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
call fcn.140067ee0
mov r8, rdi
lea rdx, str.runProcessAsLoginUser:_cmd_s
mov rcx, rax
call fcn.140068190
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
movups xmmword [rsp + 0xd4], xmm0
mov dword [rsp + 0xe4], eax
mov dword [rsp + 0x80], WSAGetLastError
mov rbx, qword [0x1401f90b8]
movups xmmword [rsp + 0x140], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x150], xmm1
mov ecx, 0x20
call fcn.14016aa7c
mov qword [rsp + 0x140], rax
movdqa xmm0, xmmword [0x14019e100]
movdqu xmmword [rsp + 0x150], xmm0
movups xmm0, xmmword [str.AcService.RunMode]
movups xmmword [rax], xmm0
movzx edx, byte [0x14019d6d8]
mov byte [rax + 0x10], dl
mov byte [rax + 0x11], 0
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x120]
mov rcx, rbx
call fcn.140062990
nop
mov rdx, qword [rsp + 0x158]
cmp rdx, 0xf
jbe 0x1400911c2
inc rdx
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400911bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140091434
call fcn.14016aab8
movdqa xmm0, xmmword [0x14019ba70]
movdqu xmmword [rsp + 0x150], xmm0
mov byte [rsp + 0x140], 0
lea rcx, [rsp + 0x120]
cmp qword [rsp + 0x138], 0xf
cmova rcx, qword [rsp + 0x120]
mov r8, qword [rsp + 0x130]
cmp r8, 7
jne 0x1400912cc
lea rdx, str.Console
call fcn.140191dc0
test eax, eax
jne 0x1400912cc
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14009139a
call fcn.140067ee0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.runProcessAsLoginUser:_CreateProcess_failed___d
mov rcx, rbx
call fcn.140067c40
nop
mov rdx, qword [rsp + 0x138]
cmp rdx, 0xf
jbe 0x140091411
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400912c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140091440
call fcn.14016aab8
jmp 0x140091411
lea rcx, [rsp + 0xf0]
call fcn.1400450f0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, rdi
xor edx, edx
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
lea rcx, [rsp + 0xf0]
test eax, eax
jne 0x140091394
call fcn.140045460
nop
mov rdx, qword [rsp + 0x138]
cmp rdx, 0xf
jbe 0x140091374
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009136f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009143a
call fcn.14016aab8
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x138], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x120], 0
xor eax, eax
jmp 0x140091413
call fcn.140045460
nop
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x138]
cmp rdx, 0xf
jbe 0x1400913e9
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400913e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140091440
call fcn.14016aab8
mov rax, rbx
jmp 0x140091413
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14016ab50
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret
call fcn.140170de4
nop
call fcn.140170de4
int3
call fcn.140170de4
int3