Function at 0x140002410
Capabilities:
Acquire debug privileges
Enumerate processes

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 - 0x290]
sub rsp, 0x390
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rbp + 0x280], rax
xor r12d, r12d
mov r15d, r12d
mov dword [rbp - 0x50], r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x50]
lea edx, [r12 + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400024c4
lea r8, [rbp - 0x28]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rbp - 0x50]
test eax, eax
je 0x1400024be
mov dword [rbp - 0x48], 1
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x44], rax
mov dword [rbp - 0x3c], 2
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 0x10]
lea r8, [rbp - 0x48]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Lsass.exe
lea rcx, [rbp + 0x260]
call fcn.140003670
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x220], xmm0
mov qword [rbp + 0x230], 9
mov qword [rbp + 0x238], 0xf
movsd xmm0, qword [str.skript.gg]
movsd qword [rbp + 0x220], xmm0
movzx eax, byte [0x140007520]
mov byte [rbp + 0x228], al
mov byte [rbp + 0x229], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x240], xmm0
mov qword [rbp + 0x250], 0xb
mov qword [rbp + 0x258], 0xf
movsd xmm0, qword [str.keyauth.win]
movsd qword [rbp + 0x240], xmm0
movzx eax, word [0x140007530]
mov word [rbp + 0x248], ax
movzx eax, byte [0x140007532]
mov byte [rbp + 0x24a], al
mov byte [rbp + 0x24b], 0
lea rdi, [rbp + 0x260]
lea r13, vtable.std::wstring_convert_class_std::codecvt_utf8_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
lea rsi, vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
mov r14d, r12d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002687
mov dword [rbp - 0x20], 0x238
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000267e
lea rdx, [rbp + 0xc]
lea rcx, [rbp - 0x48]
call fcn.140003670
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400025d4
mov rdx, qword [rdi]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rdx, qword [rbp - 0x30]
test eax, eax
je 0x14000263e
cmp rdx, 8
jb 0x14000262c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002627
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002944
call fcn.14000579c
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x1400025b2
mov r14d, dword [rbp - 0x18]
cmp rdx, 8
jb 0x14000267e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002679
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002944
call fcn.14000579c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jne 0x14000284f
mov qword [rsp + 0x30], r13
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], r14b
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r12w
mov word [rbp - 0x68], r14w
mov byte [rbp - 0x66], r14b
lea ecx, [r14 + 0x40]
call fcn.140005690
mov rbx, rax
mov qword [rbp - 0x28], rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::constructor_unsigned_long_long_unsigned___int64_____ptr64]
mov qword [rbx], rsi
mov qword [rbp - 0x70], r12
mov qword [rsp + 0x38], rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Locimp::_New_Locimp_class_std::locale::_Locimp_const____ptr64_]
mov rsi, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::locale::id_std::codecvt_wchar_t__char__struct__Mbstatet_::id]
call qword [sym.imp.MSVCP140.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::locale::id::operator_unsigned_long_long_unsigned___int64__void____ptr64]
mov r8, rax
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll_private:_void___cdecl_std::locale::_Locimp::_Addfac_class_std::locale::facet____ptr64__unsigned_long_long_unsigned___int64_____ptr64]
mov dword [rsi + 0x20], r12d
lea rcx, [rsi + 0x28]
lea rdx, [0x1400074b0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::_Yarn_char_____ptr64___cdecl_std::_Yarn_char_::operator_char_const____ptr64____ptr64]
mov rcx, qword [rsp + 0x48]
cmp rcx, rsi
je 0x140002773
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140002765
mov r8, qword [rax]
lea edx, [r14 + 1]
mov rcx, rax
call qword [r8]
mov qword [rsp + 0x48], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
test rax, rax
je 0x14000278f
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov qword [rbp - 0x60], r12
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400027a0
mov r8, qword [rdi]
mov rax, qword [rdi + 0x10]
lea r9, [r8 + rax*2]
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x30]
call fcn.140003b70
or r15d, 1
lea rdx, [0x140007534]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004450
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
mov rcx, rax
call fcn.140005300
mov rcx, rax
lea rdx, [0x140004620]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140002833
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000282e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000294b
call fcn.14000579c
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
lea rcx, [rsp + 0x30]
call fcn.140002dd0
jmp 0x1400028c7
mov r8d, r14d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x14000288c
lea rdx, [0x140007538]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004450
mov rcx, rax
lea rdx, [0x140004620]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400028c7
lea rbx, [rbp + 0x220]
nop dword [rax]
nop word [rax + rax]
mov r8, rsi
mov rdx, rbx
mov ecx, r14d
call fcn.140002040
add rbx, 0x20
lea rax, [rbp + 0x260]
cmp rbx, rax
jne 0x1400028a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 0x20
lea rax, [rbp + 0x280]
cmp rdi, rax
jne 0x14000257c
lea r9, [0x1400038f0]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rbp + 0x220]
call fcn.1400056cc
nop
lea r9, [0x140003600]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rbp + 0x260]
call fcn.1400056cc
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140005670
lea r11, [rsp + 0x390]
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3