Function at 0x14003929c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x488]
sub rsp, 0x560
mov rax, qword [0x1401f05f0]
xor rax, rsp
mov qword [rbp + 0x450], rax
xor r12d, r12d
mov rbx, rcx
mov r14d, r12d
mov dword [rsp + 0x50], r12d
call fcn.14000f89c
or rsi, 0xffffffffffffffff
cmp byte [str.disable_breakpad], r12b
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov rdi, rax
mov qword [rsp + 0x60], rax
mov qword [rbp - 0x68], r12
mov byte [rbp - 0x78], r12b
lea rdx, str.disable_breakpad
jne 0x140039317
mov r8d, r12d
jmp 0x140039323
mov r8, rsi
inc r8
cmp byte [rdx + r8], r12b
jne 0x14003931a
lea rcx, [rbp - 0x78]
call fcn.14000172c
lea rdx, [rbp - 0x78]
mov rcx, rdi
call fcn.14000ffc8
cmp qword [rbp - 0x60], 0x10
mov dil, al
jb 0x14003934b
mov rcx, qword [rbp - 0x78]
call fcn.14006bd10
test dil, dil
jne 0x140039912
cmp qword [rbx + 0x18], 0x10
jb 0x140039360
mov rax, qword [rbx]
jmp 0x140039363
mov rax, rbx
mov qword [rsp + 0x50], rax
mov rax, qword [rbx + 0x10]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x58], rax
call fcn.14001f4c0
mov ebx, 7
cmp qword [rbp - 0x28], r12
jne 0x14003939d
lea rdx, str.browser
lea rcx, [rbp - 0x38]
mov r8d, ebx
call fcn.140005d28
lea rdx, [rbp + 0x240]
mov r8d, 0x104
xor ecx, ecx
mov word [rbp + 0x240], r12w
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x68], r12
mov word [rbp - 0x78], r12w
cmp word [rbp + 0x240], r12w
jne 0x1400393d6
mov r8, r12
jmp 0x1400393ea
lea rax, [rbp + 0x240]
mov r8, rsi
inc r8
cmp word [rax + r8*2], r12w
jne 0x1400393e0
lea rdx, [rbp + 0x240]
lea rcx, [rbp - 0x78]
call fcn.140005d28
call fcn.140038f80
lea rdx, [rbp - 0x78]
mov rdi, qword [rax]
lea rcx, [rbp + 8]
mov rbx, rax
call fcn.140012ce8
mov rcx, rbx
mov rdx, rax
call qword [rdi + 0x38]
lea rcx, [rbp + 8]
mov r13b, al
call fcn.140012d68
cmp qword [rbp - 0x60], 8
jb 0x140039437
mov rcx, qword [rbp - 0x78]
call fcn.14006bd10
mov ecx, 0x58
call fcn.140098304
test rax, rax
je 0x140039453
mov rcx, rax
call fcn.14003a35c
mov r15, rax
jmp 0x140039456
mov r15, r12
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r12
mov word [rbp - 0x78], r12w
cmp word [rbp + 0x240], r12w
jne 0x140039476
mov r8, r12
jmp 0x14003948a
lea rax, [rbp + 0x240]
mov r8, rsi
inc r8
cmp word [rax + r8*2], r12w
jne 0x140039480
lea rdx, [rbp + 0x240]
lea rcx, [rbp - 0x78]
call fcn.140005d28
call fcn.140038f80
mov rdi, rax
call fcn.14000f89c
lea rcx, [rbp + 8]
mov rbx, rax
call fcn.1400391d4
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x78]
mov rcx, r15
mov r9, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
call fcn.14003a4a4
cmp qword [rbp + 0x20], 8
mov qword [rsp + 0x50], rax
jb 0x1400394e5
mov rcx, qword [rbp + 8]
call fcn.14006bd10
cmp qword [rbp - 0x60], 8
mov ebx, 7
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], rbx
mov word [rbp + 8], r12w
jb 0x140039507
mov rcx, qword [rbp - 0x78]
call fcn.14006bd10
mov r8, qword [rbp - 0x28]
lea r9, str.browser
lea rcx, [rbp - 0x38]
xor edx, edx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x68], r12
mov word [rbp - 0x78], r12w
mov r15, r12
mov rdi, r12
mov qword [rsp + 0x20], rbx
call fcn.14000600c
test eax, eax
jne 0x140039542
lea rdi, [0x140038fa8]
jmp 0x140039568
mov r8, qword [rbp - 0x28]
lea r9, str.service
lea rcx, [rbp - 0x38]
xor edx, edx
mov qword [rsp + 0x20], rbx
call fcn.14000600c
test eax, eax
jne 0x14003956f
lea rdi, [0x140039a48]
lea r15, [fcn.140039010]
mov r8, qword [rbp - 0x28]
lea r9, str.browser
lea rcx, [rbp - 0x38]
xor edx, edx
mov qword [rsp + 0x20], rbx
call fcn.14000600c
test eax, eax
jne 0x1400395a4
mov cl, r13b
call fcn.140039944
call fcn.140038f80
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
call fcn.14001e2c4
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x48], r12
mov rbx, rax
mov byte [rbp - 0x58], r12b
mov rax, qword [rax]
lea r8, [rbp - 0x58]
lea rdx, str.CHROME_BREAKPAD_PIPE_NAME
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
test al, al
jne 0x140039606
test rdi, rdi
je 0x1400395e9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov qword [0x1401f4248], rax
cmp qword [rbp - 0x40], 0x10
jb 0x1400395f9
mov rcx, qword [rbp - 0x58]
call fcn.14006bd10
mov qword [rbp - 0x48], r12
mov byte [rbp - 0x58], r12b
jmp 0x1400398ed
cmp qword [rbp - 0x40], 0x10
lea rax, [rbp - 0x58]
lea rdx, [rsp + 0x68]
cmovae rax, qword [rbp - 0x58]
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x68], rax
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x70], rax
call fcn.14001f4c0
lea rdx, str._x64
lea rcx, [rbp - 0x18]
mov r8d, 4
call fcn.140005924
lea rcx, [rbp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x30], r12w
call fcn.140099550
lea rdx, [rbp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov r12d, 0x120
cmp byte [str.full_memory_crash_report], al
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
lea rdx, str.full_memory_crash_report
mov qword [rsp + 0x78], rax
mov byte [rsp + 0x68], al
jne 0x140039698
mov r8d, eax
jmp 0x1400396a4
mov r8, rsi
inc r8
cmp byte [rdx + r8], al
jne 0x14003969b
lea rcx, [rsp + 0x68]
call fcn.14000172c
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x68]
call fcn.14000ffc8
cmp qword [rbp - 0x80], 0x10
mov dil, al
jb 0x1400396d1
mov rcx, qword [rsp + 0x68]
call fcn.14006bd10
test dil, dil
je 0x1400396de
mov r12d, 0x126
jmp 0x1400396fb
call fcn.140038f80
mov dl, r13b
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 0x40]
mov ecx, 0x160
test al, al
cmovne r12d, ecx
mov ecx, 0x158
call fcn.140098304
mov rdi, rax
xor eax, eax
test rdi, rdi
je 0x1400397a9
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rax
mov word [rsp + 0x68], ax
cmp word [rbp + 0x30], ax
jne 0x140039730
mov r8d, eax
jmp 0x140039741
lea rcx, [rbp + 0x30]
mov r8, rsi
inc r8
cmp word [rcx + r8*2], ax
jne 0x140039737
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.140005d28
cmp qword [rbp], 8
mov r13, qword [rsp + 0x50]
mov qword [rsp + 0x40], r13
lea rax, [rbp - 0x18]
lea r8, [0x14003917c]
cmovae rax, qword [rbp - 0x18]
lea rdx, [rsp + 0x68]
mov r9, r15
mov qword [rsp + 0x38], rax
xor eax, eax
mov dword [rsp + 0x30], r12d
mov rcx, rdi
mov dword [rsp + 0x28], 7
mov r14d, 1
mov qword [rsp + 0x20], rax
call fcn.1400bbe14
xor r15d, r15d
mov qword [0x1401f4228], rax
jmp 0x1400397b8
mov r13, qword [rsp + 0x50]
xor r15d, r15d
mov qword [0x1401f4228], r15
test r14b, 1
je 0x1400397d3
and r14d, 0xfffffffe
cmp qword [rbp - 0x80], 8
jb 0x1400397d3
mov rcx, qword [rsp + 0x68]
call fcn.14006bd10
mov ecx, 0x158
call fcn.140098304
mov rdi, rax
test rax, rax
je 0x140039876
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], r15
mov word [rsp + 0x68], r15w
cmp word [rbp + 0x30], r15w
jne 0x140039808
mov rsi, r15
jmp 0x140039816
lea rax, [rbp + 0x30]
inc rsi
cmp word [rax + rsi*2], r15w
jne 0x14003980c
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x68]
mov r8, rsi
call fcn.140005d28
mov qword [rsp + 0x40], r13
or r14d, 2
cmp qword [rbp], 8
lea rax, [rbp - 0x18]
lea r9, [fcn.140048920]
cmovae rax, qword [rbp - 0x18]
lea r8, [0x1400391b8]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r12d
mov rcx, rdi
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
call fcn.1400bbe14
mov qword [0x1401f4230], rax
jmp 0x14003987d
mov qword [0x1401f4230], r15
test r14b, 2
je 0x140039894
cmp qword [rbp - 0x80], 8
jb 0x140039894
mov rcx, qword [rsp + 0x68]
call fcn.14006bd10
lea rcx, [sym.nacl64.exe_DumpProcessWithoutCrash]
call fcn.1400b9360
mov rax, qword [0x1401f4228]
cmp qword [rax + 0x18], r15
je 0x1400398b4
mov byte [rax + 0x141], 1
cmp qword [rbp], 8
jb 0x1400398c4
mov rcx, qword [rbp - 0x18]
call fcn.14006bd10
cmp qword [rbp - 0x40], 0x10
mov qword [rbp], 7
mov qword [rbp - 8], r15
mov word [rbp - 0x18], r15w
jb 0x1400398e5
mov rcx, qword [rbp - 0x58]
call fcn.14006bd10
mov qword [rbp - 0x48], r15
mov byte [rbp - 0x58], r15b
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
cmp qword [rbp - 0x20], 8
jb 0x140039912
mov rcx, qword [rbp - 0x38]
call fcn.14006bd10
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.1400991d0
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret