Function at 0x14008b010
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1e0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x158], 0xfffffffffffffffe
mov rdi, r8
mov r12, rdx
mov rsi, rcx
lea rax, [rbp + 0x148]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401683c0]
lea r9, [0x140168390]
xor edx, edx
mov r8d, 0x17
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14008b2eb
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
lea rdx, [rbp + 0xb4]
call qword [rax + 0x50]
test eax, eax
js 0x14008b381
mov edx, dword [rbp + 0xb4]
or edx, 0x20
mov dword [rbp + 0xb4], edx
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
js 0x14008b417
movabs rax, 0x656c746974
mov qword [rbp + 0x120], rax
mov byte [rbp + 0x137], 5
mov byte [rbp + 0x140], 5
lea rbx, [rbp + 0x120]
mov rcx, rdi
mov rdx, rbx
call fcn.140077d10
movzx r15d, byte [rax + 0x20]
xor r14d, r14d
cmp r15b, 5
cmove r14, rax
movzx eax, byte [rbp + 0x140]
cmp rax, 0xff
je 0x14008b116
lea r8, fcn.1400130c0
lea rcx, [rbp + 0xf0]
lea rdx, [rbp + 0x120]
call qword [r8 + rax*8]
cmp r15b, 5
jne 0x14008b162
mov r15, qword [rbp + 0x148]
mov rcx, rbx
mov rdx, r14
call fcn.140031f40
cmp byte [rbp + 0x137], 0
jns 0x14008b13e
mov rbx, qword [rbp + 0x120]
mov rax, qword [r15]
mov rcx, r15
mov rdx, rbx
call qword [rax + 0x88]
cmp byte [rbp + 0x137], 0
jns 0x14008b162
mov rcx, qword [rbp + 0x120]
call fcn.14010e7fc
movabs rax, 0x614c6e6f74747562
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], 0x6c6562
mov byte [rbp + 0x137], VariantTimeToDosDateTime
mov byte [rbp + 0x140], 5
lea rbx, [rbp + 0x120]
mov rcx, rdi
mov rdx, rbx
call fcn.140077d10
movzx r15d, byte [rax + 0x20]
xor r14d, r14d
cmp r15b, 5
cmove r14, rax
movzx eax, byte [rbp + 0x140]
cmp rax, 0xff
je 0x14008b1d6
lea r8, fcn.1400130c0
lea rcx, [rbp + 0xf0]
lea rdx, [rbp + 0x120]
call qword [r8 + rax*8]
cmp r15b, 5
jne 0x14008b222
mov r15, qword [rbp + 0x148]
mov rcx, rbx
mov rdx, r14
call fcn.140031f40
cmp byte [rbp + 0x137], 0
jns 0x14008b1fe
mov rbx, qword [rbp + 0x120]
mov rax, qword [r15]
mov rcx, r15
mov rdx, rbx
call qword [rax + 0x90]
cmp byte [rbp + 0x137], 0
jns 0x14008b222
mov rcx, qword [rbp + 0x120]
call fcn.14010e7fc
mov byte [rbp + 0x140], 0
movabs rax, 0x50746c7561666564
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], 0x687461
mov byte [rbp + 0x107], VariantTimeToDosDateTime
mov byte [rbp + 0x110], 5
lea rdx, [rbp + 0xf0]
mov rcx, rdi
call fcn.140077d10
xor edi, edi
cmp byte [rax + 0x20], 5
cmove rdi, rax
movzx eax, byte [rbp + 0x110]
cmp rax, 0xff
je 0x14008b294
lea r8, fcn.1400130c0
lea rcx, [rbp + 0xd0]
lea rdx, [rbp + 0xf0]
call qword [r8 + rax*8]
lea rbx, [rbp + 0xf0]
mov rcx, rbx
mov rdx, rdi
call fcn.140031f40
cmp byte [rbp + 0x107], 0
jns 0x14008b2b6
mov rbx, qword [rbp + 0xf0]
lea r8, [0x140168360]
lea r9, [rbp + 0x90]
mov rcx, rbx
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
mov ebx, eax
cmp byte [rbp + 0x107], 0
js 0x14008b4ac
test ebx, ebx
jns 0x14008b501
jmp 0x14008b4bc
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x50], 0x102
lea rax, str.location_nearby_apps_better_together_plugins_file_dialog_windows_file_dialog_plugin.cc
mov qword [rbp - 0x48], rax
lea rax, str.Failed_to_create_dialog_instance.
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 0x21
lea rcx, [rbp + 0x120]
lea rdx, [rbp - 0x40]
lea r8, [rbp - 0x50]
call fcn.1400bd890
mov rax, qword [rbp + 0x120]
mov qword [r12], rax
mov qword [rbp + 0x120], 0x36
test rax, rax
jne 0x14008bca1
mov qword [rbp + 0x150], r12
mov rcx, r12
call fcn.1400be3c0
mov rcx, qword [rbp + 0x120]
test cl, 1
mov r12, qword [rbp + 0x150]
je 0x14008bca1
call fcn.1400bce60
jmp 0x14008bca1
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x30], 0x10a
lea rax, str.location_nearby_apps_better_together_plugins_file_dialog_windows_file_dialog_plugin.cc
mov qword [rbp - 0x28], rax
lea rax, str.Failed_to_get_dialog_instance_options.
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 0x26
lea rcx, [rbp + 0x120]
lea rdx, [rbp - 0x20]
lea r8, [rbp - 0x30]
call fcn.1400bd890
mov rax, qword [rbp + 0x120]
mov qword [r12], rax
mov qword [rbp + 0x120], 0x36
test rax, rax
jne 0x14008bca1
mov qword [rbp + 0x150], r12
mov rcx, r12
call fcn.1400be3c0
mov rcx, qword [rbp + 0x120]
test cl, 1
mov r12, qword [rbp + 0x150]
je 0x14008bca1
call fcn.1400bce60
jmp 0x14008bca1
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x10], 0x112
lea rax, str.location_nearby_apps_better_together_plugins_file_dialog_windows_file_dialog_plugin.cc
mov qword [rbp - 8], rax
lea rax, str.Failed_to_set_dialog_instance_options.
mov qword [rbp], rax
mov qword [rbp + 8], 0x26
lea rcx, [rbp + 0x120]
mov rdx, rbp
lea r8, [rbp - 0x10]
call fcn.1400bd890
mov rax, qword [rbp + 0x120]
mov qword [r12], rax
mov qword [rbp + 0x120], 0x36
test rax, rax
jne 0x14008bca1
mov qword [rbp + 0x150], r12
mov rcx, r12
call fcn.1400be3c0
mov rcx, qword [rbp + 0x120]
test cl, 1
mov r12, qword [rbp + 0x150]
je 0x14008bca1
call fcn.1400bce60
jmp 0x14008bca1
mov rcx, qword [rbp + 0xf0]
call fcn.14010e7fc
test ebx, ebx
jns 0x14008b501
lea rcx, [0x140164370]
lea r9, [rbp + 0xf0]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x14008b801
mov rcx, qword [rbp + 0xf0]
lea r8, [0x140168360]
lea r9, [rbp + 0x90]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
test eax, eax
js 0x14008b936
mov rdx, qword [rbp + 0x90]
test rdx, rdx
je 0x14008b622
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
call qword [rax + 0x58]
cmp byte [rdi + 0x17], 0
js 0x14008b53b
mov rax, qword [rdi + 0x10]
mov qword [rbp + 0x100], rax
movups xmm0, xmmword [rdi]
movaps xmmword [rbp + 0xf0], xmm0
jmp 0x14008b54e
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
lea rcx, [rbp + 0xf0]
call fcn.140047b70
mov byte [rbp + 0x110], 5
movzx eax, byte [rbp + 0x140]
cmp eax, 0xff
je 0x14008b5c2
cmp eax, 5
jne 0x14008b5a9
cmp byte [rbp + 0x137], 0
jns 0x14008b57d
mov rcx, qword [rbp + 0x120]
call fcn.14010e7fc
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x130], rax
movaps xmm0, xmmword [rbp + 0xf0]
movaps xmmword [rbp + 0x120], xmm0
mov byte [rbp + 0x107], 0
mov byte [rbp + 0xf0], 0
jmp 0x14008b5fa
lea r8, fcn.1400130c0
lea rcx, [rbp + 0xd0]
lea rdx, [rbp + 0x120]
call qword [r8 + rax*8]
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x130], rax
movaps xmm0, xmmword [rbp + 0xf0]
movaps xmmword [rbp + 0x120], xmm0
xorps xmm0, xmm0
movaps xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], 0
mov byte [rbp + 0x140], 5
movzx eax, byte [rbp + 0x110]
cmp rax, 0xff
je 0x14008b622
lea r8, fcn.1400130c0
lea rcx, [rbp + 0xd0]
lea rdx, [rbp + 0xf0]
call qword [r8 + rax*8]
mov rdi, qword [rbp + 0x148]
lea rcx, [rsi + 0x18]
call qword [rsi + 0x28]
mov r8, qword [rdi]
mov rcx, rdi
mov rdx, rax
call qword [r8 + 0x18]
cmp eax, 0x800704c7
jne 0x14008b6b8
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov byte [r12 + 8], 0
mov byte [r12 + 0x28], 0xff
movzx eax, byte [rbp + 0x140]
cmp rax, 0xff
je 0x14008b6ab
lea rdx, [r12 + 8]
lea r9, fcn.1400130c0
lea rcx, [rbp + 0xd0]
lea r8, [rbp + 0x120]
mov qword [rbp + 0xa8], rdx
mov qword [rbp + 0x150], r12
call qword [r9 + rax*8]
movzx eax, byte [rbp + 0x140]
mov r12, qword [rbp + 0x150]
mov byte [r12 + 0x28], al
mov qword [r12], 0
jmp 0x14008bc79
test eax, eax
js 0x14008b76b
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
lea rdx, [rbp + 0x98]
call qword [rax + 0xa0]
test eax, eax
js 0x14008b897
mov qword [rbp + 0xa0], 0
xorps xmm0, xmm0
movaps xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], 0
mov rcx, qword [rbp + 0x98]
mov rax, qword [rcx]
lea r8, [rbp + 0xa0]
mov edx, 0x80058000
call qword [rax + 0x28]
test eax, eax
js 0x14008bbdb
mov rdi, qword [rbp + 0xa0]
mov rcx, rdi
call fcn.1401328d8
movabs r14, 0x7ffffffffffffff0
cmp rax, r14
jae 0x14008bcb6
mov rsi, rax
cmp rax, 0xb
jae 0x14008b9cc
mov byte [rbp + 0xcf], sil
lea rbx, [rbp + 0xb8]
test rsi, rsi
jne 0x14008ba0a
jmp 0x14008ba1b
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x50], 0x14e
lea rax, str.location_nearby_apps_better_together_plugins_file_dialog_windows_file_dialog_plugin.cc
mov qword [rbp + 0x58], rax
lea rax, str.Failed_to_show_dialog.
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], 0x16
lea rcx, [rbp + 0xf0]
lea rdx, [rbp + 0x60]
lea r8, [rbp + 0x50]
call fcn.1400bd890
mov rax, qword [rbp + 0xf0]
mov qword [r12], rax
mov qword [rbp + 0xf0], 0x36
test rax, rax
jne 0x14008bc79
mov qword [rbp + 0x150], r12
mov rcx, r12
call fcn.1400be3c0
mov rcx, qword [rbp + 0xf0]
test cl, 1
mov r12, qword [rbp + 0x150]
je 0x14008bc79
call fcn.1400bce60
jmp 0x14008bc79
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x10], 0x137
lea rax, str.location_nearby_apps_better_together_plugins_file_dialog_windows_file_dialog_plugin.cc
mov qword [rbp + 0x18], rax
lea rax, str.Failed_to_get_default_download_path_for_dialog.
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 0x2f
lea rcx, [rbp + 0xd0]
lea rdx, [rbp + 0x20]
lea r8, [rbp + 0x10]
call fcn.1400bd890
mov rax, qword [rbp + 0xd0]
mov qword [r12], rax
mov qword [rbp + 0xd0], 0x36
test rax, rax
jne 0x14008bc79
mov qword [rbp + 0x150], r12
mov rcx, r12
call fcn.1400be3c0
mov rcx, qword [rbp + 0xd0]
test cl, 1
mov r12, qword [rbp + 0x150]
je 0x14008bc79
call fcn.1400bce60
jmp 0x14008bc79
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x70], 0x156
lea rax, str.location_nearby_apps_better_together_plugins_file_dialog_windows_file_dialog_plugin.cc
mov qword [rbp + 0x78], rax
lea rax, str.Failed_to_get_dialog_result.
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], 0x1c
lea rcx, [rbp + 0xf0]
lea rdx, [rbp + 0x80]
lea r8, [rbp + 0x70]
call fcn.1400bd890
mov rax, qword [rbp + 0xf0]
mov qword [r12], rax
mov qword [rbp + 0xf0], 0x36
test rax, rax
jne 0x14008bc79
mov qword [rbp + 0x150], r12
mov rcx, r12
call fcn.1400be3c0
mov rcx, qword [rbp + 0xf0]
test cl, 1
mov r12, qword [rbp + 0x150]
je 0x14008bc79
call fcn.1400bce60
jmp 0x14008bc79
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x30], 0x13f
lea rax, str.location_nearby_apps_better_together_plugins_file_dialog_windows_file_dialog_plugin.cc
mov qword [rbp + 0x38], rax
lea rax, str.Failed_to_set_default_path_for_dialog.
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], 0x26
lea rcx, [rbp + 0xd0]
lea rdx, [rbp + 0x40]
lea r8, [rbp + 0x30]
call fcn.1400bd890
mov rax, qword [rbp + 0xd0]
mov qword [r12], rax
mov qword [rbp + 0xd0], 0x36
test rax, rax
jne 0x14008bc79
mov qword [rbp + 0x150], r12
mov rcx, r12
call fcn.1400be3c0
mov rcx, qword [rbp + 0xd0]
test cl, 1
mov r12, qword [rbp + 0x150]
je 0x14008bc79
call fcn.1400bce60
jmp 0x14008bc79
mov r15, rsi
or r15, 7
inc r15
js 0x14008bcce
lea rcx, [r15 + r15]
call fcn.14010e7c0
mov rbx, rax
mov qword [rbp + 0xb8], rax
movabs rax, 0x8000000000000000
or r15, rax
mov qword [rbp + 0xc8], r15
mov qword [rbp + 0xc0], rsi
mov r8, rsi
add r8, rsi
mov rcx, rbx
mov rdx, rdi
call fcn.140111410
mov word [rbx + rsi*2], 0
lea rsi, [rbp + 0xf0]
lea rdx, [rbp + 0xb8]
mov rcx, rsi
call fcn.1400321c0
cmp byte [rbp + 0xe7], 0
jns 0x14008ba4c
mov rcx, qword [rbp + 0xd0]
call fcn.14010e7fc
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0xe0], rax
movups xmm0, xmmword [rbp + 0xf0]
movaps xmmword [rbp + 0xd0], xmm0
mov byte [rbp + 0x107], 0
mov byte [rbp + 0xf0], 0
cmp byte [rbp + 0xcf], 0
jns 0x14008ba8b
mov rcx, qword [rbp + 0xb8]
call fcn.14010e7fc
cmp byte [rbp + 0xe7], 0
jns 0x14008ba9d
mov rbx, qword [rbp + 0xd0]
jmp 0x14008baa4
lea rbx, [rbp + 0xd0]
mov rcx, rbx
call fcn.140131bf0
cmp rax, r14
jae 0x14008bcc2
mov rdi, rax
cmp rax, 0x17
jae 0x14008bacc
mov byte [rbp + 0x107], dil
test rdi, rdi
jne 0x14008bb03
jmp 0x14008bb11
mov r14, rdi
or r14, 0xf
inc r14
mov rcx, r14
call fcn.14010e7c0
mov rsi, rax
mov qword [rbp + 0xf0], rax
movabs rax, 0x8000000000000000
or r14, rax
mov qword [rbp + 0x100], r14
mov qword [rbp + 0xf8], rdi
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.140111410
mov byte [rsi + rdi], 0
mov rsi, qword [rbp + 0xf0]
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0xff]
mov qword [rbp + 0xbf], rax
movzx ebx, byte [rbp + 0x107]
movzx eax, byte [rbp + 0x140]
cmp eax, 0xff
je 0x14008bbab
cmp eax, 5
jne 0x14008bb92
cmp byte [rbp + 0x137], 0
jns 0x14008bb67
mov rcx, qword [rbp + 0x120]
call fcn.14010e7fc
mov qword [rbp + 0x120], rsi
mov rax, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xbf]
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x12f], rcx
mov byte [rbp + 0x137], bl
jmp 0x14008bbdb
lea r8, fcn.1400130c0
lea rcx, [rbp + 0xf0]
lea rdx, [rbp + 0x120]
call qword [r8 + rax*8]
mov qword [rbp + 0x120], rsi
mov rax, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xbf]
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x12f], rcx
mov byte [rbp + 0x137], bl
mov byte [rbp + 0x140], 5
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp + 0x98]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov byte [r12 + 8], 0
mov byte [r12 + 0x28], 0xff
movzx eax, byte [rbp + 0x140]
cmp rax, 0xff
je 0x14008bc5c
lea rdx, [r12 + 8]
lea r9, fcn.1400130c0
lea rcx, [rbp + 0xb8]
lea r8, [rbp + 0x120]
mov qword [rbp + 0xa8], rdx
mov qword [rbp + 0x150], r12
call qword [r9 + rax*8]
movzx eax, byte [rbp + 0x140]
mov r12, qword [rbp + 0x150]
mov byte [r12 + 0x28], al
mov qword [r12], 0
cmp byte [rbp + 0xe7], 0
jns 0x14008bc79
mov rcx, qword [rbp + 0xd0]
call fcn.14010e7fc
movzx eax, byte [rbp + 0x140]
cmp rax, 0xff
je 0x14008bca1
lea r8, fcn.1400130c0
lea rcx, [rbp + 0xf0]
lea rdx, [rbp + 0x120]
call qword [r8 + rax*8]
mov rax, r12
add rsp, 0x1e0
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 0xb8]
call fcn.1400132f0
lea rcx, [rbp + 0xf0]
call fcn.1400132f0
call fcn.140012fe0
int3