Function at 0x140016cc0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x1401c5538]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
call fcn.1400726a0
mov r8, rdi
lea rdx, str.runProcessAsLoginUser:_cmd_s
mov rcx, rax
call fcn.140072950
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], WSASetLastError
mov rbx, qword [0x1401c9d18]
movups xmmword [rsp + 0x140], xmm0
xor esi, esi
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x158], reloc.WS2_32.dll_ntohs
lea edx, [rax + 0x20]
lea rcx, [rsp + 0x140]
call fcn.140004ad0
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x150], setsockopt
mov qword [rsp + 0x158], 0x1f
movups xmm0, xmmword [str.AcService.RunMode]
movups xmmword [rax], xmm0
movzx edx, byte [0x140176070]
mov byte [rax + 0x10], dl
mov byte [rax + 0x11], sil
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x120]
mov rcx, rbx
call fcn.14006e570
nop
mov rdx, qword [rsp + 0x158]
cmp rdx, 0x10
jb 0x140016e0e
inc rdx
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016e09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400170a9
call fcn.1401452fc
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x158], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x140], 0
lea rcx, [rsp + 0x120]
cmp qword [rsp + 0x138], 0x10
cmovae rcx, qword [rsp + 0x120]
mov r8, qword [rsp + 0x130]
cmp r8, 7
jne 0x140016f37
lea rdx, str.Console
call fcn.140147d20
test eax, eax
jne 0x140016f37
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140017006
call fcn.1400726a0
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.140072400
nop
mov rdx, qword [rsp + 0x138]
cmp rdx, 0x10
jb 0x140016f10
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016f0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400170a3
call fcn.1401452fc
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401453a0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
lea rcx, [rsp + 0xf0]
call fcn.140053ae0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
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 0x140017000
call fcn.140053e50
nop
mov rdx, qword [rsp + 0x138]
cmp rdx, 0x10
jb 0x140016fdd
inc rdx
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016fd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400170af
call fcn.1401452fc
mov qword [rsp + 0x130], rsi
mov qword [rsp + 0x138], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x120], 0
xor eax, eax
jmp 0x140016f12
call fcn.140053e50
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, 0x10
jb 0x140017055
inc rdx
mov rcx, qword [rsp + 0x120]
mov r8, rcx
cmp rdx, 0x1000
jb 0x140017050
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x1400170a3
call fcn.1401452fc
mov rax, rbx
jmp 0x140016f12
call fcn.14014bf64
nop
call fcn.14014bf64
nop
call fcn.14014bf64
int3