Function at 0x14019ea80
Capabilities:
Capture process snapshot data
Get common file path

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x200
lea rdi, [rsp + 0x40]
mov ecx, 0x70
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x210]
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x228]
mov dword [rax], 0
call fcn.1401a0600
mov dword [rsp + 0x54], eax
mov edx, 0x80
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.ucrtbased.dll_wcsnlen]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
add rax, 8
cmp rax, 0x80
jb 0x14019eb0c
mov qword [rsp + 0x198], 0x80
jmp 0x14019eb1d
mov rax, qword [rsp + 0x58]
add rax, 8
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x20], 0x184
lea r9, str.D:_a_work1_s_src_vctools_asan_vcasan_vcasan.cpp
mov r8d, 2
mov edx, 2
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ucrtbased.dll__calloc_dbg]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14019e440
nop
lea rcx, [rsp + 0x78]
call fcn.1401a0560
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x220]
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call sub.ucrtbased.dll_wmemcpy_s
nop
cmp dword [rsp + 0x54], 0xffffffff
jne 0x14019ec1f
mov edx, 0x800
mov ecx, 1
call fcn.14019e9f0
mov edx, 0x1000
mov ecx, eax
call fcn.14019e9f0
mov edx, 0x80
mov ecx, eax
call fcn.14019e9f0
mov edx, 0x100
mov ecx, eax
call fcn.14019e9f0
mov dword [rsp + 0x84], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x48]
mov r8d, 0x10001f
mov edx, dword [rsp + 0x84]
mov rcx, rax
call sub.KERNEL32.dll_PssCaptureSnapshot
mov rcx, qword [rsp + 0x228]
mov dword [rcx], eax
mov rax, qword [rsp + 0x228]
cmp dword [rax], 0
je 0x14019ec1f
mov dword [rsp + 0x174], 1
lea rcx, [rsp + 0x78]
call fcn.14019e880
mov eax, dword [rsp + 0x174]
jmp 0x14019f535
lea rcx, [rsp + 0x78]
call fcn.1401a0560
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0xffffffffffffffff
jne 0x14019f1ce
mov byte [rsp + 0xa4], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x14019eec6
lea rcx, [rsp + 0x78]
call fcn.1401a0560
mov qword [rsp + 0x1a0], rax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov rcx, qword [rsp + 0x1a0]
mov r8, rcx
lea rdx, str._nFailed_to_create_file__ws_as_it_already_exists._n
mov rcx, rax
call fcn.1401a06f0
mov qword [rsp + 0xa8], 0xa
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xb8]
call fcn.14019e3f0
nop
mov qword [rsp + 0xc8], 1
jmp 0x14019ecfe
mov rax, qword [rsp + 0xc8]
inc rax
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0xb8]
call fcn.14019e9b0
movzx eax, al
test eax, eax
je 0x14019ee94
cmp qword [rsp + 0xc8], 0xa
jae 0x14019ee94
lea rcx, [rsp + 0x78]
call fcn.1401a0560
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_wcsnlen]
sub rax, 4
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x78]
call fcn.1401a0560
mov rcx, qword [rsp + 0xd0]
lea rax, [rax + rcx*2]
mov r8d, 4
lea rdx, [0x1401fb8d0]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_wcsncmp]
test eax, eax
jne 0x14019ed91
lea rcx, [rsp + 0x78]
call fcn.1401a0560
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
mov word [rax + rdx*2], cx
lea rcx, [rsp + 0x78]
call fcn.1401a0560
mov qword [rsp + 0x1a8], rax
lea rcx, [rsp + 0x78]
call fcn.1401a0560
lea rcx, [0x1401fb8d0]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x1a8]
mov qword [rsp + 0x20], rcx
mov r9d, 0x78
lea r8, str._.s___zu__s
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call fcn.1401a07c0
lea rcx, [rsp + 0x78]
call fcn.1401a0560
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0xffffffffffffffff
jne 0x14019ee8f
lea rcx, [rsp + 0x78]
call fcn.1401a0560
mov qword [rsp + 0x1b0], rax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov rcx, qword [rsp + 0x1b0]
mov r8, rcx
lea rdx, str._nFailed_to_create_file__ws_as_it_already_exists._n
mov rcx, rax
call fcn.1401a06f0
lea rcx, [rsp + 0x78]
call fcn.1401a0560
mov r8, qword [rsp + 0x220]
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_wcscpy_s]
nop
jmp 0x14019eceb
cmp qword [rsp + 0x98], 0xffffffffffffffff
jne 0x14019eeac
mov dword [rsp + 0x1b8], 1
jmp 0x14019eeb7
mov dword [rsp + 0x1b8], 0
movzx eax, byte [rsp + 0x1b8]
mov byte [rsp + 0xa4], al
movzx eax, byte [rsp + 0xa4]
test eax, eax
je 0x14019f1ce
mov dword [rsp + 0x20], 0x1c4
lea r9, str.D:_a_work1_s_src_vctools_asan_vcasan_vcasan.cpp
mov r8d, 2
mov edx, 2
mov ecx, 0x105
call qword [sym.imp.ucrtbased.dll__calloc_dbg]
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.14019e440
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1bc], eax
lea rcx, [rsp + 0x78]
call fcn.1401a0560
mov qword [rsp + 0x1c0], rax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rsp + 0x1bc]
mov r9d, ecx
mov rcx, qword [rsp + 0x1c0]
mov r8, rcx
lea rdx, str._nFailed_to_create_file__ws_with_error__x_nTrying_temporary_path._n
mov rcx, rax
call fcn.1401a06f0
nop
lea rcx, [rsp + 0xe8]
call fcn.1401a0560
mov rdx, rax
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x14019efdf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x228]
mov dword [rcx], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov rcx, qword [rsp + 0x228]
mov r8d, dword [rcx]
lea rdx, str._nGetTempPathW_failed_with_error___x_._n
mov rcx, rax
call fcn.1401a06f0
nop
mov dword [rsp + 0x178], 1
lea rcx, [rsp + 0xe8]
call fcn.14019e880
nop
lea rcx, [rsp + 0x78]
call fcn.14019e880
mov eax, dword [rsp + 0x178]
jmp 0x14019f535
lea rcx, [rsp + 0xe8]
call fcn.1401a0560
mov qword [rsp + 0x1c8], rax
lea rcx, [rsp + 0xe8]
call fcn.1401a0560
mov rcx, qword [rsp + 0x1c8]
mov r9, rcx
xor r8d, r8d
lea rdx, [0x1401fcf10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x14019f088
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x228]
mov dword [rcx], eax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov rcx, qword [rsp + 0x228]
mov r8d, dword [rcx]
lea rdx, str._nGetTempFileNameW_failed_with_error___x_._n
mov rcx, rax
call fcn.1401a06f0
nop
mov dword [rsp + 0x17c], 1
lea rcx, [rsp + 0xe8]
call fcn.14019e880
nop
lea rcx, [rsp + 0x78]
call fcn.14019e880
mov eax, dword [rsp + 0x17c]
jmp 0x14019f535
mov qword [rsp + 0xf8], 0
lea rcx, [rsp + 0xe8]
call fcn.1401a0560
lea rdx, str..tmp
mov rcx, rax
call fcn.1401a05d0
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
je 0x14019f0de
lea r8, str..dmp
mov edx, 5
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.ucrtbased.dll_wcscpy_s]
nop
lea rcx, [rsp + 0xe8]
call fcn.14019e3e0
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14019e950
lea rcx, [rsp + 0x78]
call fcn.1401a0560
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0xffffffffffffffff
jne 0x14019f1c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1d0], eax
lea rcx, [rsp + 0x78]
call fcn.1401a0560
mov qword [rsp + 0x1d8], rax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rsp + 0x1d0]
mov r9d, ecx
mov rcx, qword [rsp + 0x1d8]
mov r8, rcx
lea rdx, str._nFailed_to_create_temp_dump_file__ws_with_error__x_n
mov rcx, rax
call fcn.1401a06f0
nop
mov dword [rsp + 0x180], 1
lea rcx, [rsp + 0xe8]
call fcn.14019e880
nop
lea rcx, [rsp + 0x78]
call fcn.14019e880
mov eax, dword [rsp + 0x180]
jmp 0x14019f535
lea rcx, [rsp + 0xe8]
call fcn.14019e880
nop
mov r8d, 0x800
xor edx, edx
lea rcx, str.dbghelp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0
jne 0x14019f217
mov dword [rsp + 0x184], 1
lea rcx, [rsp + 0x78]
call fcn.14019e880
mov eax, dword [rsp + 0x184]
jmp 0x14019f535
lea rdx, str.MiniDumpWriteDump
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x108], rax
cmp qword [rsp + 0x108], 0
jne 0x14019f260
mov dword [rsp + 0x188], 1
lea rcx, [rsp + 0x78]
call fcn.14019e880
mov eax, dword [rsp + 0x188]
jmp 0x14019f535
lea rax, [rsp + 0x118]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x118], eax
mov dword [rsp + 0x124], 0
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x11c], rax
mov dword [rsp + 0x134], 0
cmp dword [rsp + 0x54], 0xffffffff
je 0x14019f3eb
mov dword [rsp + 0x138], 0x410
cmp dword [rsp + 0x54], 2
jg 0x14019f2cb
cmp dword [rsp + 0x54], 0xffffffff
jg 0x14019f2d3
mov dword [rsp + 0x54], 2
mov dword [rsp + 0x13c], 0
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x1e0], eax
cmp dword [rsp + 0x1e0], 0
je 0x14019f309
cmp dword [rsp + 0x1e0], 1
je 0x14019f327
cmp dword [rsp + 0x1e0], 2
je 0x14019f334
jmp 0x14019f350
mov dword [rsp + 0x13c], 0x1001a4
mov eax, dword [rsp + 0x138]
or eax, 0x40
mov dword [rsp + 0x138], eax
jmp 0x14019f350
mov dword [rsp + 0x13c], 0x40121
jmp 0x14019f350
mov dword [rsp + 0x13c], 0x51b27
mov eax, dword [rsp + 0x138]
or eax, 0x40
mov dword [rsp + 0x138], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
xor edx, edx
mov ecx, dword [rsp + 0x138]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x140], rax
cmp qword [rsp + 0x140], 0
jne 0x14019f39c
mov dword [rsp + 0x18c], 1
lea rcx, [rsp + 0x78]
call fcn.14019e880
mov eax, dword [rsp + 0x18c]
jmp 0x14019f535
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x118]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x13c]
mov r8, qword [rsp + 0x98]
mov edx, eax
mov rcx, qword [rsp + 0x140]
call qword [rsp + 0x108]
mov dword [rsp + 0x134], eax
jmp 0x14019f45f
mov dword [rsp + 0x148], 0x21003
lea rax, [0x1401a0170]
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x160], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rsp + 0x158]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x118]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x148]
mov r8, qword [rsp + 0x98]
mov edx, eax
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x108]
mov dword [rsp + 0x134], eax
cmp dword [rsp + 0x134], 0
jne 0x14019f4ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1e4], eax
lea rcx, [rsp + 0x78]
call fcn.1401a0560
mov qword [rsp + 0x1e8], rax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov ecx, dword [rsp + 0x1e4]
mov r9d, ecx
mov rcx, qword [rsp + 0x1e8]
mov r8, rcx
lea rdx, str._nFailed_to_save_dump_to___ws__with_error___x_._n
mov rcx, rax
call fcn.1401a06f0
nop
jmp 0x14019f4f2
lea rcx, [rsp + 0x78]
call fcn.1401a0560
mov qword [rsp + 0x1f0], rax
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov rcx, qword [rsp + 0x1f0]
mov r8, rcx
lea rdx, str._nSuccesfully_saved_dump_to___ws__n
mov rcx, rax
call fcn.1401a06f0
nop
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call fcn.14019f860
nop
mov dword [rsp + 0x190], 1
lea rcx, [rsp + 0x78]
call fcn.14019e880
mov eax, dword [rsp + 0x190]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401fbf30]
call fcn.1401a0d00
mov rax, rdi
add rsp, 0x200
pop rdi
ret