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

Disassembly:
jmp 0x140015090
mov dword [rsp + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov edi, ecx
mov qword [rbp - 0x40], 1
xor r13d, r13d
mov qword [rbp - 0x48], r13
mov word [rbp - 0x38], 1
mov qword [rbp - 0x30], r13
mov dword [rbp - 0x34], r13d
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
xor r12b, r12b
xor r14d, r14d
lea rsi, [rdx + 8]
mov r15d, 1
cmp ecx, r15d
jle 0x14001537a
lea rdx, str.__name
mov rbx, qword [rsi]
test rbx, rbx
je 0x1400152fe
cmp byte [rbx], 0x2d
jne 0x14001510f
cmp byte [rbx + 1], 0x66
jne 0x14001510f
cmp byte [rbx + 2], r14b
je 0x140015124
xor ecx, ecx
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140015134
cmp rcx, 7
jne 0x140015111
add rsi, 8
mov r13, qword [rsi]
mov qword [rbp - 0x48], r13
jmp 0x1400152f3
cmp byte [rbx], 0x2d
jne 0x140015149
cmp byte [rbx + 1], 0x6e
jne 0x140015149
cmp byte [rbx + 2], r14b
je 0x1400152ef
lea rdx, str.__normal
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400152ef
cmp byte [rbx], 0x2d
jne 0x140015175
cmp byte [rbx + 1], 0x68
jne 0x140015175
cmp byte [rbx + 2], r14b
je 0x1400152e6
lea rdx, str.__withheap
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400152e6
cmp byte [rbx], 0x2d
jne 0x1400151a1
cmp byte [rbx + 1], 0x74
jne 0x1400151a1
cmp byte [rbx + 2], r14b
je 0x1400152dd
lea rdx, str.__triage
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400152dd
cmp byte [rbx], 0x2d
jne 0x1400151c9
cmp byte [rbx + 1], 0x75
jne 0x1400151c9
cmp byte [rbx + 2], r14b
je 0x1400151e5
xor ecx, ecx
lea rdx, str.__full
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400151f1
cmp rcx, 7
jne 0x1400151d2
mov dword [rbp - 0x40], 3
jmp 0x1400152f3
cmp byte [rbx], 0x2d
jne 0x140015206
cmp byte [rbx + 1], 0x64
jne 0x140015206
cmp byte [rbx + 2], r14b
je 0x1400152f3
xor ecx, ecx
lea rdx, str.__diag
nop
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140015228
cmp rcx, 7
jne 0x140015210
jmp 0x1400152f3
cmp byte [rbx], 0x2d
jne 0x14001523d
cmp byte [rbx + 1], 0x76
jne 0x14001523d
cmp byte [rbx + 2], r14b
je 0x1400152f3
lea rdx, str.__verbose
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400152f3
cmp byte [rbx], 0x2d
jne 0x140015265
cmp byte [rbx + 1], 0x6c
jne 0x140015265
cmp byte [rbx + 2], r14b
je 0x1400152ae
lea rdx, str.__logtofile
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400152ae
cmp byte [rbx], 0x2d
jne 0x140015289
cmp byte [rbx + 1], 0x3f
jne 0x140015289
cmp byte [rbx + 2], r14b
je 0x1400152a9
xor ecx, ecx
lea rdx, str.__help
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14001532c
cmp rcx, 7
jne 0x140015292
mov r12b, 1
jmp 0x1400152f3
add rsi, 8
mov rdi, qword [rsi]
lea rdx, [0x14001d84c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [0x1400208e0], rax
test rax, rax
je 0x140015342
mov qword [0x1400208f8], rax
mov edi, dword [rbp + 0x48]
jmp 0x1400152f3
mov dword [rbp - 0x40], 2
jmp 0x1400152f3
mov dword [rbp - 0x40], 1
jmp 0x1400152f3
mov dword [rbp - 0x40], r14d
add rsi, 8
lea rdx, str.__name
inc r15d
cmp r15d, edi
jl 0x1400150f2
test r12b, r12b
je 0x14001537a
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, [0x14001d8ac]
call fcn.140015590
mov eax, 0xffffffff
jmp 0x1400154f4
lea rcx, str.The_pid_argument_is_no_longer_supported_n
call fcn.140015590
mov eax, 0xffffffff
jmp 0x1400154f4
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.140015590
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [rax]
jmp 0x1400154f4
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 [0x1400208e8], rcx
xor edi, edi
mov qword [rbp + 0x50], rdi
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor edx, edx
mov rax, qword [rbp + 0x50]
div qword [0x1400208e8]
mov qword [0x1400208f0], rax
mov ecx, 0x400
call fcn.140016bf8
mov rbx, rax
mov qword [rbp + 0x60], rax
test r13, r13
jne 0x140015441
mov rdx, rax
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x14001540e
lea rcx, str.GetTempPath_failed_n
call fcn.140015590
lea r14d, [rdi - 1]
jmp 0x1400154e5
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 0x14001543d
mov edx, eax
lea rcx, str.strcat_s_failed___d_
call fcn.140015590
jmp 0x1400154e5
mov qword [rbp - 0x48], rbx
lea rcx, [rbp - 0x48]
call fcn.140016460
test al, al
je 0x140015481
mov qword [rbp + 0x50], rdi
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor edx, edx
mov rax, qword [rbp + 0x50]
div qword [0x1400208e8]
sub rax, qword [0x1400208f0]
mov rdx, rax
lea rcx, str.Dump_successfully_written_in__llums_n
call fcn.140015510
jmp 0x1400154b8
mov qword [rbp + 0x58], rdi
lea rcx, [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xor edx, edx
mov rax, qword [rbp + 0x58]
div qword [0x1400208e8]
sub rax, qword [0x1400208f0]
mov rdx, rax
lea rcx, str.Failure_took__llums_n
call fcn.140015590
mov r14d, 0xffffffff
mov rcx, qword [0x1400208f8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [0x1400208e0]
test rcx, rcx
je 0x1400154e5
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, qword [0x1400208e0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
mov rcx, rbx
call fcn.140016bf0
mov qword [rbp + 0x60], rdi
mov eax, r14d
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret