Function at 0x14003967c
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 [0x1401c76e0]
xor rax, rsp
mov qword [rbp + 0x450], rax
xor r12d, r12d
mov rbx, rcx
mov r14d, r12d
mov dword [rsp + 0x50], r12d
call fcn.140017480
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 0x1400396f7
mov r8d, r12d
jmp 0x140039703
mov r8, rsi
inc r8
cmp byte [rdx + r8], r12b
jne 0x1400396fa
lea rcx, [rbp - 0x78]
call fcn.1400031f8
lea rdx, [rbp - 0x78]
mov rcx, rdi
call fcn.140017b94
cmp qword [rbp - 0x60], 0x10
mov dil, al
jb 0x14003972b
mov rcx, qword [rbp - 0x78]
call fcn.14009bc2c
test dil, dil
jne 0x140039cf2
cmp qword [rbx + 0x18], 0x10
jb 0x140039740
mov rax, qword [rbx]
jmp 0x140039743
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.140012b38
mov ebx, 7
cmp qword [rbp - 0x28], r12
jne 0x14003977d
lea rdx, str.browser
lea rcx, [rbp - 0x38]
mov r8d, ebx
call fcn.140009524
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 0x1400397b6
mov r8, r12
jmp 0x1400397ca
lea rax, [rbp + 0x240]
mov r8, rsi
inc r8
cmp word [rax + r8*2], r12w
jne 0x1400397c0
lea rdx, [rbp + 0x240]
lea rcx, [rbp - 0x78]
call fcn.140009524
call fcn.140039384
lea rdx, [rbp - 0x78]
mov rdi, qword [rax]
lea rcx, [rbp + 8]
mov rbx, rax
call fcn.140010230
mov rcx, rbx
mov rdx, rax
call qword [rdi + 0x38]
lea rcx, [rbp + 8]
mov r13b, al
call fcn.14000f514
cmp qword [rbp - 0x60], 8
jb 0x140039817
mov rcx, qword [rbp - 0x78]
call fcn.14009bc2c
mov ecx, 0x58
call fcn.14009bbc0
test rax, rax
je 0x140039833
mov rcx, rax
call fcn.14003a7bc
mov r15, rax
jmp 0x140039836
mov r15, r12
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r12
mov word [rbp - 0x78], r12w
cmp word [rbp + 0x240], r12w
jne 0x140039856
mov r8, r12
jmp 0x14003986a
lea rax, [rbp + 0x240]
mov r8, rsi
inc r8
cmp word [rax + r8*2], r12w
jne 0x140039860
lea rdx, [rbp + 0x240]
lea rcx, [rbp - 0x78]
call fcn.140009524
call fcn.140039384
mov rdi, rax
call fcn.140017480
lea rcx, [rbp + 8]
mov rbx, rax
call fcn.1400395b4
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.14003a904
cmp qword [rbp + 0x20], 8
mov qword [rsp + 0x50], rax
jb 0x1400398c5
mov rcx, qword [rbp + 8]
call fcn.14009bc2c
cmp qword [rbp - 0x60], 8
mov ebx, 7
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], rbx
mov word [rbp + 8], r12w
jb 0x1400398e7
mov rcx, qword [rbp - 0x78]
call fcn.14009bc2c
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.1400034bc
test eax, eax
jne 0x140039922
lea rdi, [0x1400393a8]
jmp 0x140039948
mov r8, qword [rbp - 0x28]
lea r9, str.service
lea rcx, [rbp - 0x38]
xor edx, edx
mov qword [rsp + 0x20], rbx
call fcn.1400034bc
test eax, eax
jne 0x14003994f
lea rdi, [0x140039f70]
lea r15, [fcn.1400393f0]
mov r8, qword [rbp - 0x28]
lea r9, str.browser
lea rcx, [rbp - 0x38]
xor edx, edx
mov qword [rsp + 0x20], rbx
call fcn.1400034bc
test eax, eax
jne 0x140039984
mov cl, r13b
call fcn.140039d24
call fcn.140039384
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x50]
call fcn.14000fc7c
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 0x1400399e6
test rdi, rdi
je 0x1400399c9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov qword [0x1401cb838], rax
cmp qword [rbp - 0x40], 0x10
jb 0x1400399d9
mov rcx, qword [rbp - 0x58]
call fcn.14009bc2c
mov qword [rbp - 0x48], r12
mov byte [rbp - 0x58], r12b
jmp 0x140039ccd
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.140012b38
lea rdx, str._x64
lea rcx, [rbp - 0x18]
mov r8d, 4
call fcn.140009284
lea rcx, [rbp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x30], r12w
call fcn.14009c6c0
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 0x140039a78
mov r8d, eax
jmp 0x140039a84
mov r8, rsi
inc r8
cmp byte [rdx + r8], al
jne 0x140039a7b
lea rcx, [rsp + 0x68]
call fcn.1400031f8
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x68]
call fcn.140017b94
cmp qword [rbp - 0x80], 0x10
mov dil, al
jb 0x140039ab1
mov rcx, qword [rsp + 0x68]
call fcn.14009bc2c
test dil, dil
je 0x140039abe
mov r12d, 0x126
jmp 0x140039adb
call fcn.140039384
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.14009bbc0
mov rdi, rax
xor eax, eax
test rdi, rdi
je 0x140039b89
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rax
mov word [rsp + 0x68], ax
cmp word [rbp + 0x30], ax
jne 0x140039b10
mov r8d, eax
jmp 0x140039b21
lea rcx, [rbp + 0x30]
mov r8, rsi
inc r8
cmp word [rcx + r8*2], ax
jne 0x140039b17
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.140009524
cmp qword [rbp], 8
mov r13, qword [rsp + 0x50]
mov qword [rsp + 0x40], r13
lea rax, [rbp - 0x18]
lea r8, [0x14003955c]
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.1400c16e0
xor r15d, r15d
mov qword [0x1401cb2a0], rax
jmp 0x140039b98
mov r13, qword [rsp + 0x50]
xor r15d, r15d
mov qword [0x1401cb2a0], r15
test r14b, 1
je 0x140039bb3
and r14d, 0xfffffffe
cmp qword [rbp - 0x80], 8
jb 0x140039bb3
mov rcx, qword [rsp + 0x68]
call fcn.14009bc2c
mov ecx, 0x158
call fcn.14009bbc0
mov rdi, rax
test rax, rax
je 0x140039c56
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], r15
mov word [rsp + 0x68], r15w
cmp word [rbp + 0x30], r15w
jne 0x140039be8
mov rsi, r15
jmp 0x140039bf6
lea rax, [rbp + 0x30]
inc rsi
cmp word [rax + rsi*2], r15w
jne 0x140039bec
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x68]
mov r8, rsi
call fcn.140009524
mov qword [rsp + 0x40], r13
or r14d, 2
cmp qword [rbp], 8
lea rax, [rbp - 0x18]
lea r9, [fcn.14000bc30]
cmovae rax, qword [rbp - 0x18]
lea r8, [0x140039598]
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.1400c16e0
mov qword [0x1401cb2a8], rax
jmp 0x140039c5d
mov qword [0x1401cb2a8], r15
test r14b, 2
je 0x140039c74
cmp qword [rbp - 0x80], 8
jb 0x140039c74
mov rcx, qword [rsp + 0x68]
call fcn.14009bc2c
lea rcx, [sym.nacl64.exe_DumpProcessWithoutCrash]
call fcn.1400be910
mov rax, qword [0x1401cb2a0]
cmp qword [rax + 0x18], r15
je 0x140039c94
mov byte [rax + 0x141], 1
cmp qword [rbp], 8
jb 0x140039ca4
mov rcx, qword [rbp - 0x18]
call fcn.14009bc2c
cmp qword [rbp - 0x40], 0x10
mov qword [rbp], 7
mov qword [rbp - 8], r15
mov word [rbp - 0x18], r15w
jb 0x140039cc5
mov rcx, qword [rbp - 0x58]
call fcn.14009bc2c
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 0x140039cf2
mov rcx, qword [rbp - 0x38]
call fcn.14009bc2c
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.14009c5b0
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