Function at 0x140001090
Capabilities:
Accept command line arguments
Acquire debug privileges
Create process on windows
Impersonate user

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14001e008]
xor rax, rsp
mov qword [rbp], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r15d, r15d
lea rdx, [rbp - 0x80]
mov rcx, rax
mov dword [rbp - 0x80], r15d
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [rbp - 0x80]
mov rbx, rax
cmp ecx, 2
jl 0x140001423
mov qword [rsp + 0x130], rsi
mov qword [rsp + 0x138], rdi
mov qword [rsp + 0x140], r14
mov r14, qword [rax + 8]
mov eax, dword [0x14001fc00]
test eax, eax
je 0x140001116
mov rdx, r14
lea rcx, [0x14001b760]
call fcn.140001010
mov ecx, dword [rbp - 0x80]
mov eax, dword [0x14001fc00]
mov rdi, r15
cmp ecx, 2
jle 0x14000113e
mov rdi, qword [rbx + 0x10]
test eax, eax
je 0x14000113e
mov rdx, rdi
lea rcx, [0x14001b760]
call fcn.140001010
mov ecx, dword [rbp - 0x80]
mov eax, dword [0x14001fc00]
mov rsi, r15
cmp ecx, 3
jle 0x14000115d
mov rsi, qword [rbx + 0x18]
test eax, eax
je 0x14000115d
mov rdx, rsi
lea rcx, [0x14001b760]
call fcn.140001010
mov rcx, r14
call fcn.14000571c
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x78]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea r8, [rbp - 0x78]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp dword [0x14001fc00], r15d
mov r14, qword [rsp + 0x140]
je 0x1400011cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov dword [0x14001fc20], eax
lea rdx, str.LookupPrivilegeValue
lea rcx, str._s:__d_n
call fcn.140001010
mov dword [0x14001fc20], r15d
mov rax, qword [rbp - 0x78]
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
mov r9d, 0x10
mov qword [rsp + 0x28], r15
xor edx, edx
mov qword [rsp + 0x64], rax
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x6c], 2
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp dword [0x14001fc00], r15d
je 0x14000123a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov dword [0x14001fc20], eax
lea rdx, [0x14001b7a8]
lea rcx, str._s:__d_n
call fcn.140001010
mov dword [0x14001fc20], r15d
mov r8d, ebx
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
cmp dword [0x14001fc00], r15d
mov rbx, rax
je 0x14000127f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov dword [0x14001fc20], eax
lea rdx, [0x14001b860]
lea rcx, str._s:__d_n
call fcn.140001010
mov dword [0x14001fc20], r15d
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], r15
mov edx, 0x2000f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp dword [0x14001fc00], r15d
je 0x1400012c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov dword [0x14001fc20], eax
lea rdx, [0x14001b878]
lea rcx, str._s:__d_n
call fcn.140001010
mov dword [0x14001fc20], r15d
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov r9d, 2
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0x18b
mov qword [rsp + 0x50], r15
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
cmp dword [0x14001fc00], r15d
je 0x14000132b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov dword [0x14001fc20], eax
lea rdx, [0x14001b8a0]
lea rcx, str._s:__d_n
call fcn.140001010
mov dword [0x14001fc20], r15d
test rdi, rdi
je 0x1400013ee
mov rdx, rdi
lea rcx, str.Trying_to_start_process_from_image___s_..._n
call fcn.140001010
mov rcx, qword [rsp + 0x50]
xorps xmm0, xmm0
xor eax, eax
mov r9, rsi
mov qword [rbp - 0x10], rax
mov r8, rdi
mov qword [rsp + 0x70], rax
xor edx, edx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x10
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
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
cmp dword [0x14001fc00], r15d
je 0x1400013d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov dword [0x14001fc20], eax
lea rdx, [0x14001b928]
lea rcx, str._s:__d_n
call fcn.140001010
mov dword [0x14001fc20], r15d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x138]
xor eax, eax
mov rsi, qword [rsp + 0x130]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140001440
add rsp, 0x110
pop r15
pop rbx
pop rbp
ret
call fcn.140001070
int3