Function at 0x140036560
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x50
mov rdi, rdx
lea r8, [rsp + 0x30]
mov rsi, rcx
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400366e7
mov rax, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
xor ebx, ebx
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], rbx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x3c], rax
mov dword [rsp + 0x44], 2
lea r9d, [rbx + 0x10]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1400365e6
mov rbx, qword [rsp + 0x60]
mov al, 1
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
lea rdi, [rsi + 0xf0]
mov rcx, rdi
call fcn.140001150
mov dword [rax], 0x400003
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov edx, eax
call fcn.140001150
mov dword [rax + 4], edx
call fcn.140001150
mov dword [rax + 8], ebx
call fcn.140001150
mov dword [rax + 0x41c], 0x11a
call fcn.140001150
xor edx, edx
mov r8d, 0x208
lea rcx, [rax + 0xc]
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call fcn.140001150
xor edx, edx
mov r8d, 0x208
lea rcx, [rax + 0x214]
call sub.VCRUNTIME140.dll_memset
mov edx, 0x5c
lea rcx, str.C:UserscharhDocumentsShadeCodeThingDontTouchOrElseHeliosV3InjectorProcessProcess.cpp
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
lea rcx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
mov edx, 0x5c
lea rcx, str.C:UserscharhDocumentsShadeCodeThingDontTouchOrElseHeliosV3InjectorProcessProcess.cpp
add rbx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rcx, rdi
lea rdx, [rax + 2]
call fcn.140001150
mov r8, rbx
lea rcx, [rax + 0xc]
call sub.VCRUNTIME140.dll_memcpy
lea rcx, str.proc::Process::setPrivilege
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r8, eax
mov rcx, rdi
add r8, r8
call fcn.140001150
lea rdx, str.proc::Process::setPrivilege
lea rcx, [rax + 0x214]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400281d0
mov rcx, rax
call fcn.140001010
int3
lea rdi, [rsi + 0xf0]
mov rcx, rdi
call fcn.140001150
mov dword [rax], 0x400004
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov edx, eax
call fcn.140001150
mov dword [rax + 4], edx
call fcn.140001150
xor ebx, ebx
mov dword [rax + 8], ebx
call fcn.140001150
mov dword [rax + 0x41c], 0x110
call fcn.140001150
xor edx, edx
mov r8d, 0x208
lea rcx, [rax + 0xc]
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call fcn.140001150
xor edx, edx
mov r8d, 0x208
lea rcx, [rax + 0x214]
call sub.VCRUNTIME140.dll_memset
lea edx, [rbx + 0x5c]
lea rcx, str.C:UserscharhDocumentsShadeCodeThingDontTouchOrElseHeliosV3InjectorProcessProcess.cpp
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
lea rcx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rbx, eax
mov edx, 0x5c
lea rcx, str.C:UserscharhDocumentsShadeCodeThingDontTouchOrElseHeliosV3InjectorProcessProcess.cpp
add rbx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rcx, rdi
lea rdx, [rax + 2]
call fcn.140001150
mov r8, rbx
lea rcx, [rax + 0xc]
call sub.VCRUNTIME140.dll_memcpy
lea rcx, str.proc::Process::setPrivilege
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r8, eax
mov rcx, rdi
add r8, r8
call fcn.140001150
lea rdx, str.proc::Process::setPrivilege
lea rcx, [rax + 0x214]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400281d0
mov rcx, rax
call fcn.140001010
int3