Function at 0x1400010a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov ebp, 0x41a25
lea r14, str.minidump_with_heap
xor r15d, r15d
xor esi, esi
xor r12d, r12d
lea rdi, [rdx + 8]
cmp ecx, 1
jle 0x140001334
lea r13d, [rcx - 1]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14000122e
cmp byte [rbx], 0x2d
jne 0x140001102
cmp byte [rbx + 1], 0x66
jne 0x140001102
cmp byte [rbx + 2], sil
je 0x140001223
lea rdx, str.__name
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001223
cmp byte [rbx], 0x2d
jne 0x14000112e
cmp byte [rbx + 1], 0x6e
jne 0x14000112e
cmp byte [rbx + 2], sil
je 0x140001215
lea rdx, str.__normal
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001215
cmp byte [rbx], 0x2d
jne 0x14000115a
cmp byte [rbx + 1], 0x68
jne 0x14000115a
cmp byte [rbx + 2], sil
je 0x140001207
lea rdx, str.__withheap
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001207
cmp byte [rbx], 0x2d
jne 0x140001182
cmp byte [rbx + 1], 0x74
jne 0x140001182
cmp byte [rbx + 2], sil
je 0x1400011f9
lea rdx, str.__triage
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400011f9
cmp byte [rbx], 0x2d
jne 0x1400011a6
cmp byte [rbx + 1], 0x75
jne 0x1400011a6
cmp byte [rbx + 2], sil
je 0x1400011eb
lea rdx, str.__full
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400011eb
cmp byte [rbx], 0x2d
jne 0x1400011ca
cmp byte [rbx + 1], 0x64
jne 0x1400011ca
cmp byte [rbx + 2], sil
je 0x14000122a
lea rdx, str.__diag
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14000122a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov r12d, eax
jmp 0x14000122a
lea r14, str.full_dump
mov ebp, 0x41827
jmp 0x14000122a
lea r14, str.triage_minidump
mov ebp, 0x101085
jmp 0x14000122a
lea r14, str.minidump_with_heap
mov ebp, 0x41a25
jmp 0x14000122a
lea r14, str.minidump
mov ebp, 0x1005
jmp 0x14000122a
add rdi, 8
mov r15, qword [rdi]
add rdi, 8
sub r13, 1
jne 0x1400010e1
test r12d, r12d
je 0x140001334
mov ebx, 0x400
mov ecx, ebx
call fcn.1400025ac
mov rdi, rax
mov qword [rsp + 0x58], rax
test r15, r15
jne 0x1400012d5
mov rdx, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x14000129a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea ecx, [r13 + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8d, ebx
lea rdx, str.GetTempPath_failed__0x_08x_
call fcn.140001008
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140001324
lea r8, str.dump._p.dmp
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov esi, eax
test eax, eax
je 0x1400012d2
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
mov r8d, esi
lea rdx, str.strcat_s_failed___d_
call fcn.140001008
jmp 0x140001324
mov r15, rdi
mov r9d, ebp
mov r8, r14
mov edx, r12d
mov rcx, r15
call fcn.1400022e0
test al, al
je 0x1400012f8
lea rcx, str.Dump_successfully_written_n
call fcn.14000104c
jmp 0x1400012fb
or esi, 0xffffffff
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
nop
mov rcx, rdi
call fcn.1400025a4
and qword [rsp + 0x58], 0
jmp 0x140001358
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, str.createdump__options__pid_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
lea rdx, [0x14000978c]
call fcn.140001008
or esi, 0xffffffff
mov eax, esi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret