Function at 0x1400016e0
Capabilities:
Capture process snapshot data
Create process memory minidump
Get common file path
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x708
mov rax, qword [0x140024008]
xor rax, rsp
mov qword [rsp + 0x6f0], rax
lea rcx, str.__________________________________ATPMiniDump_t_t_t_t_t_t_n
call fcn.140001060
lea rcx, str._______________________________By_b4rtik__uf0_____2019_t_t_____n_n
call fcn.140001060
lea rax, str.lsass.exe
mov qword [rsp + 0xb8], rax
xor eax, eax
test eax, eax
je 0x140001747
lea rcx, str.____Sorry__this_tool_only_works_on_a_x64_version_of_Windows._n
call fcn.140001060
mov ecx, 1
call fcn.140005f54
call fcn.140001510
test eax, eax
jne 0x140001766
lea rcx, str.____You_need_elevated_privileges_to_run_this_tool__n
call fcn.140001060
mov ecx, 1
call fcn.140005f54
call fcn.1400015d0
mov edx, 0x40
mov ecx, 1
call fcn.140005f60
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x1b0], 0x11c
lea rcx, [0x140025008]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
jne 0x1400017c1
xor eax, eax
jmp 0x140001e10
lea rcx, str._1__Checking_OS_version_details:_n
call fcn.140001060
lea rcx, [rsp + 0x1b0]
call qword [rsp + 0xa0]
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x1b8]
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x1b4]
lea r8, str._u._u
mov edx, 8
mov rcx, rax
call fcn.140001150
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x1bc]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x60]
lea rdx, str.10.0
mov rcx, rax
call fcn.14000b244
test eax, eax
jne 0x14000185d
lea rax, str.10_or_Server_2016
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x60]
mov r8d, dword [rax + 0x10]
mov rdx, qword [rsp + 0x90]
lea rcx, str._t___Operating_System_is_Windows__ls__build_number__d_n
call fcn.140001060
jmp 0x1400018b9
mov rax, qword [rsp + 0x60]
lea rdx, [0x140024e18]
mov rcx, rax
call fcn.14000b244
test eax, eax
jne 0x1400018a3
lea rax, str.8.1_or_Server_2012_R2
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x60]
mov r8d, dword [rax + 0x10]
mov rdx, qword [rsp + 0x90]
lea rcx, [0x140024ec0]
call fcn.140001060
jmp 0x1400018b9
lea rcx, str._t____OS_Version_not_supported._n_n
call fcn.140001060
mov ecx, 1
call fcn.140005f54
lea rcx, str._2__Checking_Process_details:_n
call fcn.140001060
lea rcx, [0x140024d18]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlInitUnicodeString
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0
jne 0x1400018fc
xor eax, eax
jmp 0x140001e10
mov rax, qword [rsp + 0x60]
add rax, 0x18
mov rdx, qword [rsp + 0xb8]
mov rcx, rax
call qword [rsp + 0x98]
mov rcx, qword [rsp + 0x60]
call fcn.1400012a0
test eax, eax
jne 0x14000193b
lea rcx, str._t____Enumerating_process_failed._n
call fcn.140001060
mov ecx, 1
call fcn.140005f54
lea rax, [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x60]
mov r8, qword [rax + 0x28]
lea rdx, [rsp + 0xc0]
lea rcx, str._t___Process_ID_of__wZ_is:__lld_n
call fcn.140001060
lea rcx, str._t___Open_a_process_handle._n
call fcn.140001060
mov qword [rsp + 0xf0], 0
mov dword [rsp + 0x128], 0x30
mov qword [rsp + 0x130], 0
mov dword [rsp + 0x140], 0
mov qword [rsp + 0x138], 0
mov qword [rsp + 0x148], 0
mov qword [rsp + 0x150], 0
lea rax, [rsp + 0x108]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], 0
mov dword [rsp + 0x68], 0x14c2
mov edx, dword [rsp + 0x68]
lea rcx, str.Access_rights__x_n
call fcn.140001220
lea rcx, [0x140024c98]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.ZwOpenProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x140001a51
xor eax, eax
jmp 0x140001e10
lea r9, [rsp + 0x108]
lea r8, [rsp + 0x128]
mov edx, dword [rsp + 0x68]
lea rcx, [rsp + 0xf0]
call qword [rsp + 0xa8]
mov dword [rsp + 0x80], eax
mov rdx, qword [rsp + 0xf0]
lea rcx, str.ZwOpenProcess_Handle__d_n
call fcn.140001220
cmp qword [rsp + 0xf0], 0
jne 0x140001ab0
lea rcx, str._t____Failed_to_get_processhandle._n
call fcn.140001060
mov ecx, 1
call fcn.140005f54
mov dword [rsp + 0x78], 0xac0003fd
lea r9, [rsp + 0x100]
mov r8d, 0x10001f
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_PssCaptureSnapshot]
mov dword [rsp + 0x7c], eax
mov edx, dword [rsp + 0x7c]
lea rcx, str.Snapshot_Handle__d_n
call fcn.140001220
lea rax, [rsp + 0x118]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rax, [0x140001e30]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], 0
lea rcx, str._3__Create_memorydump_file:_n
call fcn.140001060
lea rax, [rsp + 0x2d0]
lea rcx, str.___
mov rdi, rax
mov rsi, rcx
mov ecx, 0xa
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x2da]
mov rdi, rax
xor eax, eax
mov ecx, 0x1fe
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea r8, [rsp + 0x4e0]
mov edx, 0x104
lea rcx, [rsp + 0x2d0]
call fcn.14000b3b4
lea r8, str.Tempdumpert.dmp
mov edx, 0x104
lea rcx, [rsp + 0x2d0]
call fcn.14000b3b4
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x188]
call qword [rsp + 0x98]
lea rax, [rsp + 0xd0]
lea rcx, [rsp + 0x188]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xe0]
mov rcx, qword [rsp + 0x60]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0xe0]
lea rcx, str._t___Dump__wZ_memory_to:__wZ_n
call fcn.140001060
mov qword [rsp + 0xf8], 0
lea rax, [rsp + 0x198]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov dword [rsp + 0x158], 0x30
mov qword [rsp + 0x160], 0
mov dword [rsp + 0x170], 0x40
lea rax, [rsp + 0x188]
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x178], 0
mov qword [rsp + 0x180], 0
lea rcx, [0x140024b38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtCreateFile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jne 0x140001ca9
xor eax, eax
jmp 0x140001e10
lea rcx, [0x140024b18]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.ZwClose
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140001cda
xor eax, eax
jmp 0x140001e10
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x198]
lea r8, [rsp + 0x158]
mov edx, 0x120116
lea rcx, [rsp + 0xf8]
call qword [rsp + 0xb0]
mov dword [rsp + 0x80], eax
cmp qword [rsp + 0xf8], 0xffffffffffffffff
jne 0x140001d6c
lea rcx, str._t____Failed_to_create_dumpfile._n
call fcn.140001060
mov rcx, qword [rsp + 0xf0]
call qword [rsp + 0x70]
mov ecx, 1
call fcn.140005f54
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [rsp + 0x84], eax
lea rax, [rsp + 0x118]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 2
mov r8, qword [rsp + 0xf8]
mov edx, dword [rsp + 0x84]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
jne 0x140001dea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._t____Failed_to_create_minidump__error_code:__x_n
call fcn.140001060
jmp 0x140001df6
lea rcx, str._t___Dump_succesful._n
call fcn.140001060
mov rcx, qword [rsp + 0xf8]
call qword [rsp + 0x70]
mov rcx, qword [rsp + 0xf0]
call qword [rsp + 0x70]
xor eax, eax
mov rcx, qword [rsp + 0x6f0]
xor rcx, rsp
call fcn.140001e80
add rsp, 0x708
pop rdi
pop rsi
ret