Function at 0x1400013d0
Capabilities:
Check for time delay via queryperformancecounter
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14000c008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov edi, ecx
mov dword [rbp - 0x50], ecx
mov dword [rbp - 0x28], 0x41a25
lea rax, str.minidump_with_heap
mov qword [rbp - 0x30], rax
xor r13d, r13d
mov qword [rbp - 0x38], r13
mov word [rbp - 0x24], 1
mov qword [rbp - 0x1c], r13
mov dword [rbp - 0x20], r13d
xor r15b, r15b
xor r14d, r14d
lea rsi, [rdx + 8]
mov r12d, 1
cmp ecx, r12d
jle 0x14000170a
lea rdx, str.__name
nop dword [rax]
mov rbx, qword [rsi]
test rbx, rbx
je 0x14000168e
cmp byte [rbx], 0x2d
jne 0x14000146d
cmp byte [rbx + 1], 0x66
jne 0x14000146d
cmp byte [rbx + 2], r14b
je 0x140001483
xor ecx, ecx
nop
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140001493
cmp rcx, 7
jne 0x140001470
add rsi, 8
mov r13, qword [rsi]
mov qword [rbp - 0x38], r13
jmp 0x140001683
cmp byte [rbx], 0x2d
jne 0x1400014a8
cmp byte [rbx + 1], 0x6e
jne 0x1400014a8
cmp byte [rbx + 2], r14b
je 0x140001671
lea rdx, str.__normal
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001671
cmp byte [rbx], 0x2d
jne 0x1400014d4
cmp byte [rbx + 1], 0x68
jne 0x1400014d4
cmp byte [rbx + 2], r14b
je 0x140001661
lea rdx, str.__withheap
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001661
cmp byte [rbx], 0x2d
jne 0x140001500
cmp byte [rbx + 1], 0x74
jne 0x140001500
cmp byte [rbx + 2], r14b
je 0x140001651
lea rdx, str.__triage
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001651
cmp byte [rbx], 0x2d
jne 0x140001528
cmp byte [rbx + 1], 0x75
jne 0x140001528
cmp byte [rbx + 2], r14b
je 0x140001544
xor ecx, ecx
lea rdx, str.__full
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140001557
cmp rcx, 7
jne 0x140001531
lea rax, str.full_dump
mov dword [rbp - 0x28], 0x41827
jmp 0x14000167f
cmp byte [rbx], 0x2d
jne 0x14000156c
cmp byte [rbx + 1], 0x64
jne 0x14000156c
cmp byte [rbx + 2], r14b
je 0x140001683
xor ecx, ecx
lea rdx, str.__diag
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140001598
cmp rcx, 7
jne 0x140001580
jmp 0x140001683
cmp byte [rbx], 0x2d
jne 0x1400015ad
cmp byte [rbx + 1], 0x76
jne 0x1400015ad
cmp byte [rbx + 2], r14b
je 0x140001683
lea rdx, str.__verbose
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001683
cmp byte [rbx], 0x2d
jne 0x1400015d5
cmp byte [rbx + 1], 0x6c
jne 0x1400015d5
cmp byte [rbx + 2], r14b
je 0x14000161e
lea rdx, str.__logtofile
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14000161e
cmp byte [rbx], 0x2d
jne 0x1400015f9
cmp byte [rbx + 1], 0x3f
jne 0x1400015f9
cmp byte [rbx + 2], r14b
je 0x140001619
xor ecx, ecx
lea rdx, str.__help
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400016bc
cmp rcx, 7
jne 0x140001602
mov r15b, 1
jmp 0x140001683
add rsi, 8
mov rdi, qword [rsi]
lea rdx, [0x1400098d4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [0x14000c8e0], rax
test rax, rax
je 0x1400016d2
mov qword [0x14000c8f8], rax
mov edi, dword [rbp - 0x50]
jmp 0x140001683
lea rax, str.triage_minidump
mov dword [rbp - 0x28], 0x1205ac
jmp 0x14000167f
lea rax, str.minidump_with_heap
mov dword [rbp - 0x28], 0x41a25
jmp 0x14000167f
lea rax, str.minidump
mov dword [rbp - 0x28], 0x1005
mov qword [rbp - 0x30], rax
add rsi, 8
lea rdx, str.__name
inc r12d
cmp r12d, edi
jl 0x140001450
test r15b, r15b
je 0x14000170a
lea rdx, str.createdump__options__n_f____name___dump_path_and_file_name._The_default_is__TEMP_dump._p.dmp._These_specifiers_are_substituted_with_following_values:_n____p__PID_of_dumped_process._n____e__The_process_executable_filename._n____h__Hostname_return_by_gethostname__._n____t__Time_of_dump__expressed_as_seconds_since_the_Epoch__1970_01_01_00:00:00_0000__UTC_._n_n____normal___create_minidump._n_h____withheap___create_minidump_with_heap__default_._n_t____triage___create_triage_minidump._n_u____full___create_full_core_dump._n_d____diag___enable_diagnostic_messages._n_v____verbose___enable_verbose_diagnostic_messages._n_l____logtofile___file_path_and_name_to_log_diagnostic_messages._n
lea rcx, [0x140009934]
call fcn.140001bc0
mov eax, 0xffffffff
jmp 0x140001905
lea rcx, str.The_pid_argument_is_no_longer_supported_n
call fcn.140001bc0
mov eax, 0xffffffff
jmp 0x140001905
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov r8, rax
mov r9d, ebx
mov rdx, rdi
lea rcx, str.Can_not_create_log_file__s:__s___d__n
call fcn.140001bc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [rax]
jmp 0x140001905
mov qword [rbp - 0x50], r14
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rcx, qword [rbp - 0x50]
movabs rax, 0x624dd2f1a9fbe77
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 9
mov qword [0x14000c8e8], rcx
mov qword [rbp - 0x50], r14
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor edx, edx
mov rax, qword [rbp - 0x50]
div qword [0x14000c8e8]
mov qword [0x14000c8f0], rax
mov ecx, 0x400
call fcn.140002c14
mov rbx, rax
mov qword [rbp - 0x40], rax
test r13, r13
jne 0x140001846
mov rdx, rax
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x140001813
lea rcx, [rbp - 0x38]
call fcn.140001930
nop
cmp qword [rax + 0x18], 0x10
jb 0x1400017a3
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.GetTempPath_failed__s
call fcn.140001bc0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400017f1
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002bd0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
jmp 0x1400018f2
lea r8, str.dump._p.dmp
mov edx, 0x400
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov r14d, eax
test eax, eax
je 0x140001842
mov edx, eax
lea rcx, str.strcat_s_failed___d_
call fcn.140001bc0
jmp 0x1400018f2
mov qword [rbp - 0x38], rbx
lea rcx, [rbp - 0x38]
call fcn.140002750
test al, al
je 0x14000188a
mov qword [rbp - 0x50], 0
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor edx, edx
mov rax, qword [rbp - 0x50]
div qword [0x14000c8e8]
sub rax, qword [0x14000c8f0]
mov rdx, rax
lea rcx, str.Dump_successfully_written_in__llums_n
call fcn.140001b40
jmp 0x1400018c5
mov qword [rbp - 0x48], 0
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor edx, edx
mov rax, qword [rbp - 0x48]
div qword [0x14000c8e8]
sub rax, qword [0x14000c8f0]
mov rdx, rax
lea rcx, str.Failure_took__llums_n
call fcn.140001bc0
mov r14d, 0xffffffff
mov rcx, qword [0x14000c8f8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [0x14000c8e0]
test rcx, rcx
je 0x1400018f2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [0x14000c8e0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
mov rcx, rbx
call fcn.140002bd0
mov qword [rbp - 0x40], 0
mov eax, r14d
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140002bb0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret