Function at 0x140001070
Capabilities:
Accept command line arguments
Get token privileges

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rbp + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [0x140020bf0]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor r15d, r15d
mov r10, 0xfffffffffffffffc
mov qword [0x140020c18], rax
cmp dword [0x140020bf0], 2
mov qword [rbp - 0x78], r10
jl 0x140001318
mov r15, qword [rax + 8]
lea r14, [0x14001c770]
jle 0x1400010eb
mov r14, qword [rax + 0x10]
lea rcx, [rbp - 0x40]
call qword [sym.imp.Secur32.dll_LsaConnectUntrusted]
lea rcx, str.TEST
mov dword [0x140020c10], eax
call fcn.140004da4
lea rcx, str.MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
mov qword [rbp - 0x50], rax
mov rbx, 0xffffffffffffffff
mov qword [rbp - 0x60], rcx
mov dword [rbp - 0x58], 0x40004
mov rax, rbx
mov dword [rbp - 0x48], 0
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x140001130
mov rcx, qword [rbp - 0x40]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x68]
mov word [rbp - 0x68], ax
mov word [rbp - 0x66], ax
call qword [sym.imp.Secur32.dll_LsaLookupAuthenticationPackage]
mov edx, eax
mov dword [0x140020c10], eax
lea rcx, [0x14001c7a8]
call fcn.140001010
mov rsi, rbx
nop word [rax + rax]
inc rsi
cmp word [r15 + rsi*2], 0
jne 0x140001170
add si, si
nop
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x140001180
add bx, bx
movzx r13d, si
movzx ecx, bx
add ecx, 0x28
add r13d, ecx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, r13d
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
test rax, rax
je 0x140001351
lea rcx, [rax + 0x28]
movzx edi, si
mov r8d, edi
mov dword [rax], 0xc
mov rdx, r15
mov word [rsp + 0x70], si
mov word [rsp + 0x72], si
mov qword [rsp + 0x78], rcx
call fcn.140002d70
movups xmm0, xmmword [rsp + 0x70]
lea rcx, [r12 + 0x28]
movzx r8d, bx
add rcx, rdi
mov word [rsp + 0x70], bx
mov rdx, r14
mov qword [rsp + 0x78], rcx
movups xmmword [r12 + 8], xmm0
mov word [rsp + 0x72], bx
call fcn.140002d70
movups xmm0, xmmword [rsp + 0x70]
lea r8, str.Test
mov edx, 8
lea rcx, [rbp - 0x28]
movups xmmword [r12 + 0x18], xmm0
call fcn.140004e1c
lea rcx, [rbp - 0x20]
mov dword [0x140020c10], eax
call qword [sym.imp.ADVAPI32.dll_AllocateLocallyUniqueId]
xor r15d, r15d
lea rcx, [rbp - 0x30]
mov dword [0x140020c10], eax
mov qword [rbp - 0x70], r15
mov dword [rbp - 0x34], r15d
call qword [sym.imp.ADVAPI32.dll_AllocateLocallyUniqueId]
mov r9d, dword [rbp - 0x48]
lea r8d, [r15 + 4]
mov rcx, qword [rbp - 0x40]
lea rdx, [rbp - 0x58]
mov dword [0x140020c10], eax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x34]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r12
mov dword [rbp - 0x38], r15d
call qword [sym.imp.Secur32.dll_LsaLogonUser]
mov edx, eax
mov dword [0x140020c10], eax
lea rcx, [0x14001c7a8]
call fcn.140001010
mov ecx, dword [0x140020c10]
call qword [sym.imp.ADVAPI32.dll_LsaNtStatusToWinError]
mov edx, eax
mov dword [0x140020c20], eax
lea rcx, [0x14001c7a8]
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r10, qword [rbp - 0x78]
xor r9d, r9d
mov dword [rbp - 0x80], r15d
lea rax, [rbp - 0x80]
xor r8d, r8d
mov rcx, r10
mov qword [rsp + 0x20], rax
lea edx, [r9 + 3]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov edx, dword [rbp - 0x80]
xor ecx, ecx
mov dword [0x140020c10], eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r14, rax
test rax, rax
jne 0x14000135b
mov eax, 1
jmp 0x140001420
mov r9d, dword [rbp - 0x80]
lea rax, [rbp - 0x80]
mov rcx, qword [rbp - 0x78]
mov r8, r14
mov edx, 3
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ebx, dword [r14]
lea rcx, str.Privilege_count:__d_n
mov edx, ebx
mov dword [0x140020c10], eax
call fcn.140001010
test ebx, ebx
je 0x140001415
lea rdi, [r14 + 4]
mov esi, ebx
nop
mov rax, qword [rdi]
lea r9, [rbp - 0x48]
xor r8d, r8d
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x48], r15d
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeNameW]
mov dword [0x140020c10], eax
xor ecx, ecx
mov eax, dword [rbp - 0x48]
lea rdx, [rax*2 + 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea r9, [rbp - 0x48]
xor ecx, ecx
mov r8, rax
lea rdx, [rbp - 0x40]
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeNameW]
mov rdx, rbx
lea rcx, [0x14001c7e8]
mov dword [0x140020c10], eax
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rdi, [rdi + 0xc]
sub rsi, 1
jne 0x1400013a0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140001460
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret