Function at 0x1400083f0
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.140009f70
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 0x14000847c
mov qword [rsp + 0x198], 0x80
jmp 0x14000848d
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.140007db0
nop
lea rcx, [rsp + 0x78]
call fcn.140009ed0
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 0x14000858f
mov edx, 0x800
mov ecx, 1
call fcn.140008360
mov edx, 0x1000
mov ecx, eax
call fcn.140008360
mov edx, 0x80
mov ecx, eax
call fcn.140008360
mov edx, 0x100
mov ecx, eax
call fcn.140008360
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 0x14000858f
mov dword [rsp + 0x174], 1
lea rcx, [rsp + 0x78]
call fcn.1400081f0
mov eax, dword [rsp + 0x174]
jmp 0x140008ea5
lea rcx, [rsp + 0x78]
call fcn.140009ed0
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 0x140008b3e
mov byte [rsp + 0xa4], 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140008836
lea rcx, [rsp + 0x78]
call fcn.140009ed0
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.14000a060
mov qword [rsp + 0xa8], 0xa
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xb8]
call fcn.140007d60
nop
mov qword [rsp + 0xc8], 1
jmp 0x14000866e
mov rax, qword [rsp + 0xc8]
inc rax
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0xb8]
call fcn.140008320
movzx eax, al
test eax, eax
je 0x140008804
cmp qword [rsp + 0xc8], 0xa
jae 0x140008804
lea rcx, [rsp + 0x78]
call fcn.140009ed0
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.140009ed0
mov rcx, qword [rsp + 0xd0]
lea rax, [rax + rcx*2]
mov r8d, 4
lea rdx, [0x14000ed60]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_wcsncmp]
test eax, eax
jne 0x140008701
lea rcx, [rsp + 0x78]
call fcn.140009ed0
xor ecx, ecx
mov rdx, qword [rsp + 0xd0]
mov word [rax + rdx*2], cx
lea rcx, [rsp + 0x78]
call fcn.140009ed0
mov qword [rsp + 0x1a8], rax
lea rcx, [rsp + 0x78]
call fcn.140009ed0
lea rcx, [0x14000ed60]
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.14000a130
lea rcx, [rsp + 0x78]
call fcn.140009ed0
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 0x1400087ff
lea rcx, [rsp + 0x78]
call fcn.140009ed0
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.14000a060
lea rcx, [rsp + 0x78]
call fcn.140009ed0
mov r8, qword [rsp + 0x220]
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_wcscpy_s]
nop
jmp 0x14000865b
cmp qword [rsp + 0x98], 0xffffffffffffffff
jne 0x14000881c
mov dword [rsp + 0x1b8], 1
jmp 0x140008827
mov dword [rsp + 0x1b8], 0
movzx eax, byte [rsp + 0x1b8]
mov byte [rsp + 0xa4], al
movzx eax, byte [rsp + 0xa4]
test eax, eax
je 0x140008b3e
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.140007db0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1bc], eax
lea rcx, [rsp + 0x78]
call fcn.140009ed0
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.14000a060
nop
lea rcx, [rsp + 0xe8]
call fcn.140009ed0
mov rdx, rax
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x14000894f
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.14000a060
nop
mov dword [rsp + 0x178], 1
lea rcx, [rsp + 0xe8]
call fcn.1400081f0
nop
lea rcx, [rsp + 0x78]
call fcn.1400081f0
mov eax, dword [rsp + 0x178]
jmp 0x140008ea5
lea rcx, [rsp + 0xe8]
call fcn.140009ed0
mov qword [rsp + 0x1c8], rax
lea rcx, [rsp + 0xe8]
call fcn.140009ed0
mov rcx, qword [rsp + 0x1c8]
mov r9, rcx
xor r8d, r8d
lea rdx, [0x1400103a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1400089f8
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.14000a060
nop
mov dword [rsp + 0x17c], 1
lea rcx, [rsp + 0xe8]
call fcn.1400081f0
nop
lea rcx, [rsp + 0x78]
call fcn.1400081f0
mov eax, dword [rsp + 0x17c]
jmp 0x140008ea5
mov qword [rsp + 0xf8], 0
lea rcx, [rsp + 0xe8]
call fcn.140009ed0
lea rdx, str..tmp
mov rcx, rax
call fcn.140009f40
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
je 0x140008a4e
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.140007d50
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400082c0
lea rcx, [rsp + 0x78]
call fcn.140009ed0
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 0x140008b30
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1d0], eax
lea rcx, [rsp + 0x78]
call fcn.140009ed0
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.14000a060
nop
mov dword [rsp + 0x180], 1
lea rcx, [rsp + 0xe8]
call fcn.1400081f0
nop
lea rcx, [rsp + 0x78]
call fcn.1400081f0
mov eax, dword [rsp + 0x180]
jmp 0x140008ea5
lea rcx, [rsp + 0xe8]
call fcn.1400081f0
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 0x140008b87
mov dword [rsp + 0x184], 1
lea rcx, [rsp + 0x78]
call fcn.1400081f0
mov eax, dword [rsp + 0x184]
jmp 0x140008ea5
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 0x140008bd0
mov dword [rsp + 0x188], 1
lea rcx, [rsp + 0x78]
call fcn.1400081f0
mov eax, dword [rsp + 0x188]
jmp 0x140008ea5
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 0x140008d5b
mov dword [rsp + 0x138], 0x410
cmp dword [rsp + 0x54], 2
jg 0x140008c3b
cmp dword [rsp + 0x54], 0xffffffff
jg 0x140008c43
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 0x140008c79
cmp dword [rsp + 0x1e0], 1
je 0x140008c97
cmp dword [rsp + 0x1e0], 2
je 0x140008ca4
jmp 0x140008cc0
mov dword [rsp + 0x13c], 0x1001a4
mov eax, dword [rsp + 0x138]
or eax, 0x40
mov dword [rsp + 0x138], eax
jmp 0x140008cc0
mov dword [rsp + 0x13c], 0x40121
jmp 0x140008cc0
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 0x140008d0c
mov dword [rsp + 0x18c], 1
lea rcx, [rsp + 0x78]
call fcn.1400081f0
mov eax, dword [rsp + 0x18c]
jmp 0x140008ea5
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 0x140008dcf
mov dword [rsp + 0x148], 0x21003
lea rax, [0x140009ae0]
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 0x140008e2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1e4], eax
lea rcx, [rsp + 0x78]
call fcn.140009ed0
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.14000a060
nop
jmp 0x140008e62
lea rcx, [rsp + 0x78]
call fcn.140009ed0
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.14000a060
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.1400091d0
nop
mov dword [rsp + 0x190], 1
lea rcx, [rsp + 0x78]
call fcn.1400081f0
mov eax, dword [rsp + 0x190]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14000f3c0]
call fcn.14000a4d0
mov rax, rdi
add rsp, 0x200
pop rdi
ret