Function at 0x140001000
Capabilities:
Create process on windows
Get common file path
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x860]
sub rsp, 0x960
mov rax, qword [0x1400213f8]
xor rax, rsp
mov qword [rbp + 0x850], rax
movups xmm0, xmmword [str.C:windows_system32cmd.exe]
mov rdi, rcx
xor edx, edx
movups xmm1, xmmword [0x140018c30]
lea rcx, [rbp + 0x238]
mov r8d, 0x1d0
movaps xmmword [rbp + 0x200], xmm0
movups xmm0, xmmword [0x140018c40]
movaps xmmword [rbp + 0x210], xmm1
movsd xmm1, qword [0x140018c50]
movaps xmmword [rbp + 0x220], xmm0
movsd qword [rbp + 0x230], xmm1
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [str.C:windows_system32_net.exe]
xor edx, edx
mov r8d, 0x1d0
movups xmm1, xmmword [0x140018c68]
lea rcx, [rbp + 0x28]
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [0x140018c78]
movaps xmmword [rbp], xmm1
movsd xmm1, qword [0x140018c88]
movaps xmmword [rbp + 0x10], xmm0
movsd qword [rbp + 0x20], xmm1
call sub.VCRUNTIME140.dll_memset
movups xmm0, xmmword [str._____:____]
mov eax, dword [0x140018d28]
lea rdx, [rbp - 0x40]
movups xmm1, xmmword [0x140018d18]
mov rcx, rdi
mov dword [rbp - 0x20], eax
movups xmmword [rbp - 0x40], xmm0
xor ebx, ebx
movups xmmword [rbp - 0x30], xmm1
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcspbrk]
test rax, rax
jne 0x14000133f
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], 0x111
lea rdx, [rbp + 0x620]
lea ecx, [rbx + 2]
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x14000133f
mov edx, 0x104
mov dword [rsp + 0x40], 0x104
lea rcx, [rbp + 0x410]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400011f7
mov ecx, dword [rsp + 0x40]
dec ecx
add rcx, rcx
cmp rcx, 0x208
jae 0x140001369
mov word [rbp + rcx + 0x410], bx
lea rax, str.cmd.exe
lea rcx, [rbp + 0x200]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x410]
mov dword [rsp + 0x40], 0x104
lea r8, [0x140018d40]
mov edx, 0x104
call fcn.140001960
mov ecx, dword [rsp + 0x40]
dec ecx
add rcx, rcx
cmp rcx, 0x208
jae 0x140001369
mov word [rbp + rcx + 0x200], bx
lea rax, str.net.exe
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x410]
mov dword [rsp + 0x40], 0x104
lea r8, [0x140018d40]
mov edx, 0x104
call fcn.140001960
mov ecx, dword [rsp + 0x40]
dec ecx
add rcx, rcx
cmp rcx, 0x208
jae 0x140001369
mov word [rbp + rcx - 0x10], bx
mov rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp word [rdi + rcx*2], bx
jne 0x140001201
lea r8, [rbp - 0x10]
mov rdx, rax
inc rdx
cmp word [r8 + rdx*2], bx
jne 0x140001211
add ecx, edx
lea rdx, [rbp + 0x620]
cmp word [rdx + rax*2 + 2], bx
lea rax, [rax + 1]
jne 0x140001224
lea eax, [rax + rcx*2]
add eax, 0x3a
mov ecx, eax
add rcx, rcx
mov dword [rsp + 0x40], eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000133f
mov edx, dword [rsp + 0x40]
lea rax, [rbp + 0x620]
mov qword [rsp + 0x38], rax
lea r9, [rbp - 0x10]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rax
lea r8, str._c__s_localgroup___s___add___s_localgroup___s____s___add
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call fcn.140001960
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x50]
dec eax
mov dword [rsp + 0x44], 0xffffffff
xorps xmm0, xmm0
mov dword [rsp + 0x50], WSAStartup
movups xmmword [rbp - 0x7c], xmm0
mov dword [rsp + 0x54], 0x40
mov word [rsi + rax*2], bx
xor eax, eax
mov qword [rbp - 0x4c], rax
mov dword [rbp - 0x44], eax
lea rax, str.runas
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x200]
mov qword [rsp + 0x68], rax
movups xmmword [rbp - 0x6c], xmm0
mov qword [rsp + 0x58], rbx
movups xmmword [rbp - 0x5c], xmm0
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x80], ebx
mov qword [rsp + 0x70], rsi
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140001326
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140001326
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x48]
lea rdx, [rsp + 0x44]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x44], ebx
mov eax, 1
mov rcx, rsi
cmove ebx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, ebx
jmp 0x140001341
xor eax, eax
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.140016590
lea r11, [rsp + 0x960]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140016364
int3