Function at 0x1400010c0
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, 0x40
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 0x1400013bc
lea r13d, [rcx - 1]
lea rdx, str.__name
nop dword [rax + rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x1400012aa
cmp byte [rbx], 0x2d
jne 0x14000112d
cmp byte [rbx + 1], 0x66
jne 0x14000112d
cmp byte [rbx + 2], sil
je 0x140001143
xor ecx, ecx
nop
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14000114f
cmp rcx, 7
jne 0x140001130
add rdi, 8
mov r15, qword [rdi]
jmp 0x14000129f
cmp byte [rbx], 0x2d
jne 0x140001164
cmp byte [rbx + 1], 0x6e
jne 0x140001164
cmp byte [rbx + 2], sil
je 0x140001293
lea rdx, str.__normal
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001293
cmp byte [rbx], 0x2d
jne 0x140001190
cmp byte [rbx + 1], 0x68
jne 0x140001190
cmp byte [rbx + 2], sil
je 0x140001285
lea rdx, str.__withheap
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001285
cmp byte [rbx], 0x2d
jne 0x1400011bc
cmp byte [rbx + 1], 0x74
jne 0x1400011bc
cmp byte [rbx + 2], sil
je 0x140001277
lea rdx, str.__triage
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001277
cmp byte [rbx], 0x2d
jne 0x1400011e4
cmp byte [rbx + 1], 0x75
jne 0x1400011e4
cmp byte [rbx + 2], sil
je 0x140001203
xor ecx, ecx
lea rdx, str.__full
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140001214
cmp rcx, 7
jne 0x1400011f0
lea r14, str.full_dump
mov ebp, 0x41827
jmp 0x14000129f
cmp byte [rbx], 0x2d
jne 0x140001225
cmp byte [rbx + 1], 0x64
jne 0x140001225
cmp byte [rbx + 2], sil
je 0x14000129f
xor ecx, ecx
lea rdx, str.__diag
nop
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140001245
cmp rcx, 7
jne 0x140001230
jmp 0x14000129f
cmp byte [rbx], 0x2d
jne 0x140001256
cmp byte [rbx + 1], 0x76
jne 0x140001256
cmp byte [rbx + 2], sil
je 0x14000129f
lea rdx, str.__verbose
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14000129f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov r12d, eax
jmp 0x14000129f
lea r14, str.triage_minidump
mov ebp, 0x1205ac
jmp 0x14000129f
lea r14, str.minidump_with_heap
mov ebp, 0x41a25
jmp 0x14000129f
lea r14, str.minidump
mov ebp, 0x1005
add rdi, 8
lea rdx, str.__name
sub r13, 1
jne 0x140001110
test r12d, r12d
je 0x1400013bc
mov ecx, 0x400
call fcn.140002628
mov rdi, rax
mov qword [rsp + 0x78], rax
test r15, r15
jne 0x140001358
mov rdx, rax
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x14000131b
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.140001010
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400013a9
lea r8, str.dump._p.dmp
mov edx, 0x400
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 0x140001355
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.140001010
jmp 0x1400013a9
mov r15, rdi
mov r9d, ebp
mov r8, r14
mov edx, r12d
mov rcx, r15
call fcn.140002320
test al, al
je 0x14000137b
lea rcx, str.Dump_successfully_written_n
call fcn.140001060
jmp 0x140001380
mov 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.140002620
mov qword [rsp + 0x78], 0
jmp 0x1400013e2
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_v____verbose___enable_verbose_diagnostic_messages._n
lea rdx, [0x1400097fc]
call fcn.140001010
mov esi, 0xffffffff
mov eax, esi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret