Function at 0x1400073fc
Capabilities:
Acquire debug privileges
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov eax, dword [rsp + 0x170]
mov esi, 1
mov r14, rcx
mov ebx, eax
mov r13, rdx
xor edi, edi
and eax, 2
lea r8d, [rsi + 0x26]
lea rcx, [r11 - 0x67]
xor edx, edx
and ebx, esi
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x170], eax
mov byte [r11 - 0x68], dil
call fcn.1400f3900
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x88], 0x18
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x98], edi
call fcn.14005acd4
mov qword [rsp + 0x60], rdi
call fcn.1400038d8
lea r8, [0x14012c998]
lea rdx, [0x14010d640]
lea rcx, [0x14010d660]
xor r9d, r9d
call fcn.140058e24
mov rax, qword [0x14012c998]
or dword [rsp + 0x70], 0xffffffff
mov r15, qword [rsp + 0x168]
mov r12, qword [rsp + 0x150]
mov ebp, dword [rsp + 0x148]
cmp rax, rdi
je 0x140007797
call rax
mov dword [rsp + 0x70], eax
cmp eax, 0xffffffff
je 0x140007797
mov qword [rsp + 0x80], rdi
cmp ebx, edi
je 0x140007594
mov r8, qword [0x14012c988]
cmp r8, rdi
je 0x140007797
lea rdx, [rsp + 0x60]
mov ecx, eax
call r8
cmp eax, edi
je 0x140007797
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x148]
lea r9d, [rsi + 7]
lea r8, [rsp + 0x80]
lea edx, [rsi + 0x12]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x148], edi
call qword [sym.imp.ADVAPI32.DLL_GetTokenInformation]
mov rbx, qword [rsp + 0x68]
cmp eax, edi
cmovne rbx, qword [rsp + 0x80]
mov qword [rsp + 0x68], rbx
cmp rbx, rdi
jne 0x140007676
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
lea r8, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov r9d, esi
mov edx, 0xf01ff
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.DLL_DuplicateTokenEx]
jmp 0x140007669
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea r8, [rsp + 0x60]
mov edx, 0x201eb
mov rcx, rax
call qword [sym.imp.ADVAPI32.DLL_OpenProcessToken]
cmp eax, edi
je 0x140007797
lea r8, [rsp + 0x168]
lea rdx, [0x14010d580]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.DLL_LookupPrivilegeValueW]
cmp eax, edi
je 0x140007797
mov rax, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x60]
mov r9d, esi
mov qword [rsp + 0xa4], rax
lea rax, [rsp + 0x68]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov edx, 0x2000000
mov dword [rsp + 0xa0], esi
mov dword [rsp + 0x20], esi
mov dword [rsp + 0xac], 2
call qword [sym.imp.ADVAPI32.DLL_DuplicateTokenEx]
cmp eax, edi
je 0x140007797
mov rcx, qword [rsp + 0x68]
mov r9d, 4
lea r8, [rsp + 0x70]
lea edx, [r9 + 8]
call qword [sym.imp.ADVAPI32.DLL_SetTokenInformation]
cmp eax, edi
je 0x140007797
mov rcx, qword [rsp + 0x68]
lea r8, [rsp + 0xa0]
mov r9d, 0x10
xor edx, edx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.DLL_AdjustTokenPrivileges]
cmp eax, edi
je 0x140007797
mov rbx, qword [rsp + 0x68]
mov rsi, rbx
cmp rbx, rdi
je 0x140007797
mov edi, ebp
or edi, 0x10
cmp dword [rsp + 0x170], 0
je 0x1400076b7
mov rcx, rbx
call fcn.140006000
mov rbx, rax
test rax, rax
je 0x140007797
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rsp + 0x68], rbx
jmp 0x1400076c6
cmp qword [rsp + 0x178], 0
jne 0x140007797
and qword [rsp + 0x78], 0
mov rcx, r12
test r12, r12
jne 0x140007708
mov rax, qword [0x14012c9a0]
test rax, rax
je 0x140007708
lea rcx, [rsp + 0x78]
xor r8d, r8d
mov rdx, rsi
call rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400076fb
bts edi, 0xa
test eax, eax
je 0x140007797
mov rbx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x158]
mov rsi, qword [rsp + 0x160]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], edi
mov edi, dword [rsp + 0x140]
lea rax, [rsp + 0x88]
lea r9, [rsp + 0x88]
mov r8, r13
mov rdx, r14
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.DLL_CreateProcessAsUserW]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
test rcx, rcx
je 0x140007777
call qword [0x14012c9a8]
and qword [rsp + 0x78], 0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140007787
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
xor ecx, ecx
mov qword [rsp + 0x60], rcx
test ebx, ebx
je 0x1400077ab
jmp 0x1400078d1
mov rcx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x160]
mov edi, dword [rsp + 0x140]
test rcx, rcx
je 0x1400077b6
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
and qword [rsp + 0x60], 0
cmp dword [rsp + 0x170], 0
je 0x14000781f
xor ecx, ecx
call fcn.140006000
mov rcx, qword [rsp + 0x158]
mov r9, qword [rsp + 0x138]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r9
mov r9, qword [rsp + 0x130]
mov r8, r13
mov rdx, r14
mov rcx, rax
mov qword [rsp + 0x60], rax
call qword [sym.imp.ADVAPI32.DLL_CreateProcessAsUserW]
jmp 0x1400078a9
mov rcx, qword [rsp + 0x178]
mov rax, qword [rsp + 0x158]
test rcx, rcx
je 0x140007871
mov r8, qword [rsp + 0x188]
mov rdx, qword [rsp + 0x180]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], ebp
mov r9d, ebp
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.DLL_CreateProcessWithLogonW]
jmp 0x1400078a9
mov r9, qword [rsp + 0x138]
mov r8, qword [rsp + 0x130]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov rdx, r13
mov rcx, r14
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
test rcx, rcx
je 0x1400078bb
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [rsp + 0x68]
and qword [rsp + 0x60], 0
test rcx, rcx
je 0x1400078d1
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, ebx
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret