Function at 0x140001060
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 0x140001336
lea r13d, [rcx - 1]
lea rdx, str.__name
nop dword [rax + rax]
mov rbx, qword [rdi]
test rbx, rbx
je 0x14000124a
cmp byte [rbx], 0x2d
jne 0x1400010cd
cmp byte [rbx + 1], 0x66
jne 0x1400010cd
cmp byte [rbx + 2], sil
je 0x1400010e3
xor ecx, ecx
nop
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400010ef
cmp rcx, 7
jne 0x1400010d0
add rdi, 8
mov r15, qword [rdi]
jmp 0x14000123f
cmp byte [rbx], 0x2d
jne 0x140001104
cmp byte [rbx + 1], 0x6e
jne 0x140001104
cmp byte [rbx + 2], sil
je 0x140001233
lea rdx, str.__normal
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001233
cmp byte [rbx], 0x2d
jne 0x140001130
cmp byte [rbx + 1], 0x68
jne 0x140001130
cmp byte [rbx + 2], sil
je 0x140001225
lea rdx, str.__withheap
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001225
cmp byte [rbx], 0x2d
jne 0x14000115c
cmp byte [rbx + 1], 0x74
jne 0x14000115c
cmp byte [rbx + 2], sil
je 0x140001217
lea rdx, str.__triage
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140001217
cmp byte [rbx], 0x2d
jne 0x140001184
cmp byte [rbx + 1], 0x75
jne 0x140001184
cmp byte [rbx + 2], sil
je 0x1400011a3
xor ecx, ecx
lea rdx, str.__full
nop dword [rax]
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400011b4
cmp rcx, 7
jne 0x140001190
lea r14, str.full_dump
mov ebp, 0x41827
jmp 0x14000123f
cmp byte [rbx], 0x2d
jne 0x1400011c5
cmp byte [rbx + 1], 0x64
jne 0x1400011c5
cmp byte [rbx + 2], sil
je 0x14000123f
xor ecx, ecx
lea rdx, str.__diag
nop
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400011e5
cmp rcx, 7
jne 0x1400011d0
jmp 0x14000123f
cmp byte [rbx], 0x2d
jne 0x1400011f6
cmp byte [rbx + 1], 0x76
jne 0x1400011f6
cmp byte [rbx + 2], sil
je 0x14000123f
lea rdx, str.__verbose
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x14000123f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov r12d, eax
jmp 0x14000123f
lea r14, str.triage_minidump
mov ebp, 0x1205ac
jmp 0x14000123f
lea r14, str.minidump_with_heap
mov ebp, 0x41a25
jmp 0x14000123f
lea r14, str.minidump
mov ebp, 0x1005
add rdi, 8
lea rdx, str.__name
sub r13, 1
jne 0x1400010b0
test r12d, r12d
je 0x140001336
mov ecx, 0x400
call fcn.140002628
mov rbx, rax
mov qword [rsp + 0x78], rax
test r15, r15
jne 0x1400012d2
mov rdx, rax
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x1400012a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetTempPath_failed__0x_08x__n
call fcn.140001400
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140001323
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 esi, eax
test eax, eax
je 0x1400012cf
mov edx, eax
lea rcx, str.strcat_s_failed___d__n
call fcn.140001400
jmp 0x140001323
mov r15, rbx
mov r9d, ebp
mov r8, r14
mov edx, r12d
mov rcx, r15
call fcn.140002370
test al, al
je 0x1400012f5
lea rcx, str.Dump_successfully_written_n
call fcn.140001370
jmp 0x1400012fa
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, rbx
call fcn.140002620
mov qword [rsp + 0x78], 0
jmp 0x14000134e
lea rdx, 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 rcx, [0x1400097fc]
call fcn.140001400
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