Function at 0x140016800
Capabilities:
Check mutex on windows
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x488
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x3f0], xmm7
movdqa xmmword [rbp + 0x3e0], xmm6
mov qword [rbp + 0x3d8], 0xfffffffffffffffe
mov rsi, r8
mov r12, rcx
mov ecx, 0x18
call fcn.14010e7c0
mov qword [rbp + 0x3d0], rax
lea rcx, [rbp + 0x220]
call fcn.140036b70
lea rax, vtable.nearby::SubmittableExecutor.0
mov rcx, qword [rbp + 0x3d0]
mov qword [rcx], rax
add rcx, 8
xor edx, edx
call fcn.140036a50
mov rax, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x3d0]
mov qword [rcx + 0x10], rax
lea rax, vtable.nearby::SingleThreadExecutor.0
mov qword [rcx], rax
call fcn.140036640
xor ecx, ecx
call fcn.1400368a0
test al, al
je 0x1400168f5
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x220]
mov r8d, 0x94
xor r9d, r9d
call fcn.140035820
mov rcx, qword [rbp + 0x220]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.___Starting_Nearby_Share_for_Windows___
mov r8d, 0x27
mov rcx, rax
call fcn.140013430
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x1400168f5
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
xor ecx, ecx
call fcn.1400368a0
test al, al
je 0x140016976
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x220]
mov r8d, 0x97
xor r9d, r9d
call fcn.140035820
mov rcx, qword [rbp + 0x220]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.___Running_Libc_Toolchain_version
mov r8d, 0x24
mov rcx, rax
call fcn.140013430
mov rcx, rax
mov edx, 0x29810
call fcn.14004ba80
lea rdx, [0x140151171]
mov r8d, 3
mov rcx, rax
call fcn.140013430
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x140016976
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
lea rdx, str.__shutdown_all
mov rcx, rsi
call fcn.140132838
test eax, eax
mov r14, qword [rbp + 0x3d0]
je 0x140016a2b
lea r8, str.62365D34_D6D6_4611_8316_60E55886686B
mov ebx, 1
xor ecx, ecx
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x1401fe210], rax
test rax, rax
je 0x1400169ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140016c7d
lea rcx, [0x140150d80]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140018205
mov rdi, rax
mov qword [rbp + 0x220], 1
mov rcx, rsi
call fcn.1401328d8
lea eax, [rax*2 + 2]
mov dword [rbp + 0x228], eax
mov qword [rbp + 0x230], rsi
lea r9, [rbp + 0x220]
mov rcx, rdi
mov edx, 0x4a
mov r8, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
jmp 0x140018205
xor ecx, ecx
call fcn.1400368a0
test al, al
je 0x140016a9f
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x220]
mov r8d, 0xa1
xor r9d, r9d
call fcn.140035820
mov rcx, qword [rbp + 0x220]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.wWinMain
mov r8d, 8
mov rcx, rax
call fcn.140013430
lea rdx, str.:_Shutting_down_all_running_instances.
mov r8d, 0x26
mov rcx, rax
call fcn.140013430
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x140016a9f
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
lea r8, str.62365D34_D6D6_4611_8316_60E55886686B
mov ecx, 0x100000
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [0x1401fe210], rax
test rax, rax
je 0x140016e5f
xor ecx, ecx
call fcn.1400368a0
test al, al
je 0x140016b37
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x220]
mov r8d, 0xa8
xor r9d, r9d
call fcn.140035820
mov rcx, qword [rbp + 0x220]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.wWinMain
mov r8d, 8
mov rcx, rax
call fcn.140013430
lea rdx, str.:_A_nearby_share_instance_is_running._Looking_for_its_window.
mov r8d, 0x3d
mov rcx, rax
call fcn.140013430
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x140016b37
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
lea rcx, [0x140150d80]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140016bda
mov rsi, rax
xor ecx, ecx
call fcn.1400368a0
test al, al
je 0x140016bc6
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x220]
mov r8d, 0xad
xor r9d, r9d
call fcn.140035820
mov rcx, qword [rbp + 0x220]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.wWinMain
mov r8d, 8
mov rcx, rax
call fcn.140013430
lea rdx, str.:_Found_the_window__giving_it_a_chance_to_shutdown_gracefully.
mov r8d, 0x3e
mov rcx, rax
call fcn.140013430
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x140016bc6
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, rsi
mov edx, 0x8000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1401fe210]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140016ecc
mov ebx, eax
mov ecx, 2
call fcn.1400368a0
test al, al
je 0x140016f4f
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x220]
mov r8d, 0xb6
mov r9d, 2
call fcn.140035820
mov rcx, qword [rbp + 0x220]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.wWinMain
mov r8d, 8
mov rcx, rax
call fcn.140013430
lea rdx, str.:_Mutex_not_released_by_other_instance.
mov r8d, 0x27
mov rcx, rax
call fcn.140013430
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x140016f4f
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
jmp 0x140016f4f
lea rax, [0x14001ac80]
mov qword [rbp + 0x238], rax
lea rax, [0x14001acc0]
mov qword [rbp + 0x230], rax
mov rax, qword [r14]
lea rdx, [rbp + 0x220]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rbp + 0x220]
mov cl, 1
mov r8, rdx
call qword [rbp + 0x230]
xor ecx, ecx
mov edx, 2
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
xor ecx, ecx
mov edx, 0xffffffff
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x140016dac
mov ebx, eax
mov ecx, 2
call fcn.1400368a0
test al, al
je 0x140016dac
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x220]
mov r8d, 0xec
mov r9d, 2
call fcn.140035820
mov rcx, qword [rbp + 0x220]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.wWinMain
mov r8d, 8
mov rcx, rax
call fcn.140013430
lea rdx, str.:_Failed_to_initialize_security._Error_code__0x
mov r8d, 0x30
mov rcx, rax
call fcn.140013430
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
mov edx, dword [rax + rcx + 8]
and edx, 0xffffffb5
or edx, 8
mov dword [rax + rcx + 8], edx
mov rcx, rax
mov edx, ebx
call fcn.14004ba80
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x140016dac
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
lea rcx, [0x140164390]
xor ebx, ebx
lea r9, [rbp + 0x388]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x14001705e
xorpd xmm0, xmm0
movapd xmmword [rbp + 0x220], xmm0
mov qword [rbp + 0x230], 0
mov rdx, qword [rbp + 0x388]
lea r8, [rdx - 2]
cmp word [r8 + 2], 0
lea r8, [r8 + 2]
jne 0x140016df0
lea rcx, [rbp + 0x220]
call fcn.14001acd0
xorpd xmm0, xmm0
movapd xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0
lea rdx, str.GoogleNearbySharingpreferences.json
lea r8, [0x140150e0c]
mov rcx, rbp
call fcn.14001acd0
cmp byte [rbp + 0x237], 0
js 0x140016f5b
mov rax, qword [rbp + 0x230]
mov qword [rbp + 0x90], rax
movapd xmm0, xmmword [rbp + 0x220]
movapd xmmword [rbp + 0x80], xmm0
jmp 0x140016f75
xor ebx, ebx
xor ecx, ecx
call fcn.1400368a0
test al, al
mov r14, qword [rbp + 0x3d0]
je 0x140018205
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x220]
mov r8d, 0xa4
xor r9d, r9d
call fcn.140035820
mov rcx, qword [rbp + 0x220]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.wWinMain
mov r8d, 8
mov rcx, rax
call fcn.140013430
lea rdx, str.:_No_nearby_share_instance_is_running._Exiting.
mov r8d, 0x2f
mov rcx, rax
call fcn.140013430
jmp 0x140016f37
xor ebx, ebx
xor ecx, ecx
call fcn.1400368a0
test al, al
mov r14, qword [rbp + 0x3d0]
je 0x140018205
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x220]
mov r8d, 0xb8
xor r9d, r9d
call fcn.140035820
mov rcx, qword [rbp + 0x220]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.wWinMain
mov r8d, 8
mov rcx, rax
call fcn.140013430
lea rdx, str.:_Mutex_released_by_other_instance._Exiting.
mov r8d, 0x2c
mov rcx, rax
call fcn.140013430
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x140016f4d
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
xor ebx, ebx
mov r14, qword [rbp + 0x3d0]
jmp 0x140018205
mov rdx, qword [rbp + 0x220]
mov r8, qword [rbp + 0x228]
lea rcx, [rbp + 0x80]
call fcn.140048da0
lea rcx, [rbp + 0x80]
mov rdx, rbp
call fcn.140019810
cmp byte [rbp + 0x17], 0
jns 0x140016f93
mov rcx, qword [rbp]
call fcn.14010e7fc
mov rcx, rbp
lea rdx, [rbp + 0x80]
xor r8d, r8d
call fcn.140073a30
mov rax, qword [rbp]
movzx eax, al
test rax, rax
setne bl
cmp rax, 0xff
setne r14b
test al, al
je 0x140017031
cmp eax, 0xff
je 0x140017031
xor ecx, ecx
call fcn.1400368a0
test al, al
je 0x140017031
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
mov rcx, rbp
mov r8d, 0xf9
xor r9d, r9d
call fcn.140035820
mov rcx, qword [rbp]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.wWinMain
mov r8d, 8
mov rcx, rax
call fcn.140013430
lea rdx, str._Preference_file_exists.
mov r8d, 0x18
mov rcx, rax
call fcn.140013430
mov rcx, qword [rbp]
test rcx, rcx
je 0x140017031
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
cmp byte [rbp + 0x97], 0
jns 0x140017046
mov rcx, qword [rbp + 0x80]
call fcn.14010e7fc
cmp byte [rbp + 0x237], 0
jns 0x14001705b
mov rcx, qword [rbp + 0x220]
call fcn.14010e7fc
and bl, r14b
mov rcx, qword [rbp + 0x388]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rbp
mov rdx, r12
call fcn.140035350
lea rcx, [rbp + 0x1e8]
call fcn.1400350c0
test bl, bl
jne 0x14001724d
xorpd xmm0, xmm0
movapd xmmword [rbp + 0x220], xmm0
mov qword [rbp + 0x230], 0
mov r13, qword [rbp + 0x1e8]
mov rdi, qword [rbp + 0x1f0]
lea rbx, [rbp + 0x80]
lea r14, str.__modesystem_tray
lea r15, [rbp + 0x220]
jmp 0x1400170ec
mov rcx, r15
mov rdx, rbx
call fcn.14001af50
cmp byte [rbp + 0x97], 0
js 0x1400171b6
add r13, 0x18
cmp r13, rdi
je 0x1400171c7
cmp byte [r13 + 0x17], 0
js 0x140017120
mov rax, qword [r13 + 0x10]
mov qword [rbp + 0x90], rax
movupd xmm0, xmmword [r13]
movapd xmmword [rbp + 0x80], xmm0
jmp 0x140017130
mov rdx, qword [r13]
mov r8, qword [r13 + 8]
mov rcx, rbx
call fcn.140047b70
mov r8d, 0x12
mov rcx, rbx
xor edx, edx
mov r9, r14
call fcn.140048810
test eax, eax
je 0x1400170db
mov rcx, qword [rbp + 0x228]
cmp rcx, qword [rbp + 0x230]
je 0x1400170d0
cmp byte [rbp + 0x97], 0
mov qword [rbp + 0x1e0], rcx
js 0x140017184
mov rax, qword [rbp + 0x90]
mov qword [rcx + 0x10], rax
movapd xmm0, xmmword [rbp + 0x80]
movupd xmmword [rcx], xmm0
jmp 0x140017197
mov rdx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x88]
call fcn.140047b70
mov rax, qword [rbp + 0x1e0]
add rax, 0x18
mov qword [rbp + 0x228], rax
cmp byte [rbp + 0x97], 0
jns 0x1400170e8
mov rcx, qword [rbp + 0x80]
call fcn.14010e7fc
jmp 0x1400170e8
mov rdx, qword [rbp + 0x220]
mov r8, qword [rbp + 0x228]
mov r9, r8
sub r9, rdx
sar r9, 3
movabs rax, 0xaaaaaaaaaaaaaaab
imul r9, rax
lea rcx, [rbp + 0x1e8]
call fcn.140019f00
mov rdi, qword [rbp + 0x220]
test rdi, rdi
je 0x14001724d
mov rbx, qword [rbp + 0x228]
mov rcx, rdi
cmp rbx, rdi
jne 0x140017229
jmp 0x140017241
add rbx, 0xffffffffffffffe8
cmp rbx, rdi
je 0x14001723a
cmp byte [rbx - 1], 0
jns 0x140017220
mov rcx, qword [rbx - 0x18]
call fcn.14010e7fc
jmp 0x140017220
mov rcx, qword [rbp + 0x220]
mov qword [rbp + 0x228], rdi
call fcn.14010e7fc
xorpd xmm0, xmm0
movapd xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + 0x1c0], 0
mov rdx, qword [rbp + 0x1e8]
mov r8, qword [rbp + 0x1f0]
mov r9, r8
sub r9, rdx
sar r9, 3
movabs rax, 0xaaaaaaaaaaaaaaab
imul r9, rax
lea rcx, [rbp + 0x1b0]
call fcn.140012c20
mov rdi, qword [rbp + 0x60]
test rdi, rdi
je 0x1400172d7
mov rbx, qword [rbp + 0x68]
mov rcx, rdi
cmp rbx, rdi
jne 0x1400172b9
jmp 0x1400172ce
add rbx, 0xffffffffffffffe8
cmp rbx, rdi
je 0x1400172ca
cmp byte [rbx - 1], 0
jns 0x1400172b0
mov rcx, qword [rbx - 0x18]
call fcn.14010e7fc
jmp 0x1400172b0
mov rcx, qword [rbp + 0x60]
mov qword [rbp + 0x68], rdi
call fcn.14010e7fc
movapd xmm0, xmmword [rbp + 0x1b0]
movupd xmmword [rbp + 0x60], xmm0
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0x70], rax
xorpd xmm0, xmm0
movapd xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + 0x1c0], 0
lea rcx, [rbp + 0x200]
call fcn.140032830
mov rdx, qword [rbp + 0x200]
cmp rdx, qword [rbp + 0x208]
je 0x140017458
lea rbx, [rbp + 0x80]
mov rcx, rbx
call fcn.1400321c0
movzx eax, byte [rbp + 0x97]
test al, al
cmovs rax, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x80]
cmovns rcx, rbx
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rax
lea r14, [rbp + 0x220]
lea rdx, [rbp - 0x10]
mov rcx, r14
call fcn.1400331d0
cmp byte [rbp + 0x97], 0
jns 0x140017381
mov rcx, qword [rbp + 0x80]
call fcn.14010e7fc
lea rcx, [0x140201a08]
lea rdx, str.GetPreferredLanguages___returns:
mov r8d, 0x21
call fcn.140013430
mov rdx, qword [rbp + 0x200]
cmp qword [rbp + 0x208], rdx
je 0x140018266
cmp byte [rdx + 0x17], 0
jns 0x1400173b7
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14004c8a0
lea rdx, str.._nearby::localization::InitializeL10n_returns:
mov r8d, 0x30
mov rcx, rax
call fcn.140013430
movzx r8d, byte [rbp + 0x237]
test r8b, r8b
cmovs r8, qword [rbp + 0x228]
mov rdx, qword [rbp + 0x220]
cmovns rdx, r14
mov rcx, rax
call fcn.140013430
movzx eax, byte [rbp + 0x237]
mov rcx, rax
test al, al
jns 0x14001740f
mov rcx, qword [rbp + 0x228]
cmp rcx, 2
mov r15d, 2
cmovb r15, rcx
mov rcx, qword [rbp + 0x220]
mov byte [rbp + 0x97], r15b
test r15, r15
je 0x140017513
test al, al
cmovs r14, rcx
lea rcx, [rbp + 0x80]
mov rdx, r14
mov r8, r15
call fcn.140111410
movzx eax, byte [rbp + 0x97]
jmp 0x140017515
lea rcx, [0x140201a08]
lea rdx, str.wWinMain
mov r8d, 8
call fcn.140013430
lea rdx, str.:_Failed_to_GetPreferredLanguages._Fall_back_to_en_US.
mov r8d, 0x36
mov rcx, rax
call fcn.140013430
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
lea rdx, [rbp + 0x220]
call fcn.14004db70
lea rdx, [0x1402008b0]
lea rcx, [rbp + 0x220]
call fcn.140050de0
mov r8, qword [rax]
mov rcx, rax
mov dl, 0xa
call qword [r8 + 0x38]
mov r14b, al
lea rcx, [rbp + 0x220]
call fcn.140050c60
mov rcx, rbx
mov edx, r14d
call fcn.14004cb70
mov rcx, rbx
call fcn.14004b330
lea rax, [0x140151347]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 5
lea rcx, [rbp - 0x38]
lea rdx, [rbp - 0x20]
call fcn.1400331d0
cmp byte [rbp - 0x21], 0
jns 0x140017599
mov rcx, qword [rbp - 0x38]
jmp 0x140017594
xor eax, eax
mov byte [rbp + r15 + 0x80], 0
test al, al
movzx edi, al
mov rax, qword [rbp + 0x88]
cmovns rax, rdi
mov r14, qword [rbp + 0x80]
cmovs rbx, r14
mov qword [rbp + 0x168], rbx
mov qword [rbp + 0x170], rax
lea rcx, [rbp + 0x168]
call fcn.1400165a0
mov ebx, eax
dec ebx
test dil, dil
js 0x140017577
cmp ebx, 4
ja 0x140017584
mov ecx, 1
call qword [sym.imp.USER32.dll_SetProcessDefaultLayout]
cmp byte [rbp + 0x237], 0
jns 0x140017599
jmp 0x14001758d
mov rcx, r14
call fcn.14010e7fc
cmp ebx, 4
jbe 0x140017561
cmp byte [rbp + 0x237], 0
jns 0x140017599
mov rcx, qword [rbp + 0x220]
call fcn.14010e7fc
lea rcx, [rbp + 0x220]
mov edx, 0x7375
call fcn.1400337b0
lea rbx, [rbp + 0x1c8]
lea rdx, [rbp + 0x220]
mov rcx, rbx
call fcn.140031f40
cmp byte [rbp + 0x237], 0
jns 0x1400175d5
mov rcx, qword [rbp + 0x220]
call fcn.14010e7fc
lea rcx, [rbp + 0x380]
lea rdx, [rbp + 0x21c]
lea r8, [rbp + 0x384]
call fcn.140016690
test al, al
je 0x140017826
xor ecx, ecx
call fcn.1400368a0
test al, al
je 0x1400176d8
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x220]
mov r8d, 0x131
xor r9d, r9d
call fcn.140035820
mov rcx, qword [rbp + 0x220]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.wWinMain
mov r8d, 8
mov rcx, rax
call fcn.140013430
lea rdx, str.Windows_version_and_build:
mov r8d, 0x1b
mov rcx, rax
call fcn.140013430
mov edx, dword [rbp + 0x380]
mov rcx, rax
call fcn.14004bd50
lea rdx, [0x1401513e5]
mov r8d, 1
mov rcx, rax
call fcn.140013430
mov edx, dword [rbp + 0x21c]
mov rcx, rax
call fcn.14004bd50
lea rdx, [0x1401513e7]
mov r8d, 2
mov rcx, rax
call fcn.140013430
mov edx, dword [rbp + 0x384]
mov rcx, rax
call fcn.14004bd50
lea rdx, [0x1401513ea]
mov r8d, 1
mov rcx, rax
call fcn.140013430
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x1400176d8
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
cmp dword [rbp + 0x380], 0xa
jb 0x1400176f7
jne 0x1400178a0
cmp dword [rbp + 0x384], 0x4a60
ja 0x1400178a0
lea rcx, [rbp + 0x80]
mov edx, 0x7384
call fcn.1400337b0
lea rsi, [rbp + 0x220]
lea rdx, [rbp + 0x80]
mov rcx, rsi
call fcn.140031f40
cmp byte [rbp + 0x97], 0
jns 0x140017733
mov rcx, qword [rbp + 0x80]
call fcn.14010e7fc
mov ecx, 2
call fcn.1400368a0
test al, al
je 0x1400177ad
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x80]
mov r8d, 0x136
mov r9d, 2
call fcn.140035820
mov rcx, qword [rbp + 0x80]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.wWinMain
mov r8d, 8
mov rcx, rax
call fcn.140013430
lea rdx, str.Windows_version_too_low.
mov r8d, 0x18
mov rcx, rax
call fcn.140013430
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x1400177ad
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
cmp byte [rbp + 0x1df], 0
jns 0x1400177bd
mov rbx, qword [rbp + 0x1c8]
cmp byte [rbp + 0x237], 0
mov rdi, qword [rbp + 0x3d0]
jns 0x1400177d4
mov rsi, qword [rbp + 0x220]
xor ecx, ecx
mov rdx, rsi
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
cmp byte [rbp + 0x237], 0
jns 0x140017803
mov rcx, qword [rbp + 0x220]
call fcn.14010e7fc
mov ebx, 1
cmp byte [rbp + 0x1df], 0
jns 0x14001815c
mov rcx, qword [rbp + 0x1c8]
call fcn.14010e7fc
jmp 0x14001815c
mov ecx, 2
call fcn.1400368a0
test al, al
je 0x1400178a0
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x220]
mov r8d, 0x12f
mov r9d, 2
call fcn.140035820
mov rcx, qword [rbp + 0x220]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.wWinMain
mov r8d, 8
mov rcx, rax
call fcn.140013430
lea rdx, str.Failed_to_obtain_version_and_build_info.
mov r8d, 0x28
mov rcx, rax
call fcn.140013430
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x1400178a0
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
call fcn.140027170
lea rdx, [rbp + 0x1c8]
mov rcx, rax
call fcn.140027390
call fcn.140027170
mov rbx, rax
mov ecx, 0x30
call fcn.14010e7c0
mov qword [rbp + 0x220], rax
movabs rcx, 0x8000000000000018
mov qword [rbp + 0x230], rcx
mov qword [rbp + 0x228], 0x12
movups xmm0, xmmword [0x140151416]
movups xmmword [rax + 0x10], xmm0
movupd xmm0, xmmword [str.Google.NearbyShare]
movupd xmmword [rax], xmm0
mov dword [rax + 0x20], 0x650072
mov word [rax + 0x24], 0
lea rdx, [rbp + 0x220]
mov rcx, rbx
call fcn.1400273e0
cmp byte [rbp + 0x237], 0
jns 0x140017931
mov rcx, qword [rbp + 0x220]
call fcn.14010e7fc
call fcn.140027170
mov r8, qword [rax]
mov rcx, rax
xor edx, edx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rcx, [rbp + 0x160]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140018032
mov rcx, qword [rbp + 0x160]
mov edx, 2
call qword [sym.imp.USER32.dll_MonitorFromPoint]
mov r14, rax
mov rcx, rax
call qword [sym.imp.flutter_windows.dll_FlutterDesktopGetDpiForMonitor]
mov ebx, eax
xorpd xmm0, xmm0
movupd xmmword [rbp + 0x17c], xmm0
movupd xmmword [rbp + 0x16c], xmm0
mov dword [rbp + 0x18c], 0
mov dword [rbp + 0x168], 0x28
lea rdx, [rbp + 0x168]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x1400180c3
movq xmm6, qword [rbp + 0x184]
movq xmm7, qword [rbp + 0x17c]
lea rcx, [rbp + 0x80]
mov rdx, rbp
call fcn.140010000
psubd xmm6, xmm7
mov eax, ebx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x1401501e0]
cvtdq2pd xmm1, xmm6
unpcklpd xmm0, xmm0
divpd xmm1, xmm0
movapd xmm0, xmm1
minpd xmm0, xmmword [0x1401501f0]
cvttpd2dq xmm0, xmm0
cvtdq2pd xmm2, xmm0
subpd xmm1, xmm2
mulpd xmm1, xmmword [0x140150e70]
xorpd xmm2, xmm2
maxpd xmm2, xmm1
cvttpd2dq xmm1, xmm2
movlpd qword [rbp + 0x190], xmm1
movlpd qword [rbp + 0x198], xmm0
mov edx, 0x65
mov rcx, r12
call qword [sym.imp.USER32.dll_LoadIconW]
mov rdi, rax
lea rdx, [0x14015048a]
mov r8d, 0x12
mov rcx, rsi
call fcn.140132d2c
mov esi, eax
test eax, eax
jne 0x140017ae6
xor ecx, ecx
call fcn.1400368a0
test al, al
je 0x140017ad8
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x220]
mov r8d, 0x181
xor r9d, r9d
call fcn.140035820
mov rcx, qword [rbp + 0x220]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.wWinMain
mov r8d, 8
mov rcx, rax
call fcn.140013430
lea rdx, str._nearby_share.exe_will_start_in_system_tray.
mov r8d, 0x2c
mov rcx, rax
call fcn.140013430
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x140017ad8
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
lea rcx, [rbp + 0x80]
mov dl, 1
call fcn.140012b90
mov ecx, 0x40
call fcn.14010e7c0
mov qword [rbp + 0x220], rax
movabs rcx, 0x8000000000000020
mov qword [rbp + 0x230], rcx
mov qword [rbp + 0x228], 0x1a
movaps xmm0, xmmword [0x140150da0]
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x140150d90]
movups xmmword [rax + 0x10], xmm0
movapd xmm0, xmmword [0x140150d80]
movupd xmmword [rax], xmm0
mov dword [rax + 0x30], 0x650072
mov word [rax + 0x34], 0
lea rcx, [rbp + 0x80]
lea rdx, [rbp + 0x220]
call fcn.140034f30
cmp byte [rbp + 0x237], 0
jns 0x140017b6a
mov rcx, qword [rbp + 0x220]
call fcn.14010e7fc
test esi, esi
setne byte [rsp + 0x28]
lea rax, [rbp + 0x198]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x80]
lea r8, [rbp + 0x1c8]
lea r9, [rbp + 0x190]
mov rdx, rdi
call fcn.1400349e0
test al, al
je 0x140018236
mov ecx, 0x8000000
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
lea rcx, [rbp + 0x80]
mov dl, 1
call fcn.140034f10
xorpd xmm0, xmm0
movapd xmmword [rbp + 0x390], xmm0
mov qword [rbp + 0x3a0], 0
lea rdx, [0x14015158e]
lea rsi, [rbp + 0x390]
mov rcx, rsi
mov r8, rdx
call fcn.14001b1d0
lea rcx, [0x140164390]
lea r9, [rbp + 0x388]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jne 0x140017eff
mov dword [rbp + 0x1a0], 0
call fcn.1400764b0
mov qword [rbp + 0x1a8], rax
lea rcx, [rbp + 0x3b0]
lea rdx, [rbp + 0x388]
xor r8d, r8d
call fcn.140019580
lea rdx, str.GoogleNearbySharing
lea rcx, [rbp + 0x368]
xor r8d, r8d
call fcn.140019690
lea rcx, [rbp + 0x220]
lea rdx, [rbp + 0x3b0]
lea r8, [rbp + 0x368]
call fcn.140019600
cmp byte [rbp + 0x3c7], 0
jns 0x140017c84
mov rcx, qword [rbp + 0x3b0]
call fcn.14010e7fc
mov rax, qword [rbp + 0x230]
mov qword [rbp + 0x3c0], rax
movupd xmm0, xmmword [rbp + 0x220]
movapd xmmword [rbp + 0x3b0], xmm0
mov byte [rbp + 0x237], 0
mov word [rbp + 0x220], 0
cmp byte [rbp + 0x37f], 0
jns 0x140017cc7
mov rcx, qword [rbp + 0x368]
call fcn.14010e7fc
lea rcx, [rbp + 0x220]
lea rdx, [rbp + 0x3b0]
xor r8d, r8d
call fcn.140073a30
movzx eax, byte [rbp + 0x220]
cmp eax, 0xff
je 0x140017cf3
test eax, eax
jne 0x140017df6
lea rcx, [rbp + 0x3b0]
lea rdx, [rbp + 0x1a0]
call fcn.140073430
test al, al
jne 0x140017df6
mov ecx, 2
call fcn.1400368a0
test al, al
je 0x140017df6
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x368]
mov r8d, 0x19a
mov r9d, 2
call fcn.140035820
mov rcx, qword [rbp + 0x368]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str._Could_not_create_directory:
mov r8d, 0x1d
mov rcx, rax
call fcn.140013430
mov rdi, rax
lea rcx, [rbp + 0x3b0]
lea rbx, [rbp + 0x220]
lea r8, [rbp + 0x3cf]
mov rdx, rbx
call fcn.140019db0
movzx r8d, byte [rbp + 0x237]
test r8b, r8b
cmovs r8, qword [rbp + 0x228]
cmovs rbx, qword [rbp + 0x220]
mov rcx, rdi
mov rdx, rbx
call fcn.140013430
lea rdx, str._with_error_code:
mov r8d, 0x12
mov rcx, rax
call fcn.140013430
lea rdx, [rbp + 0x1a0]
mov rcx, rax
call fcn.140019710
cmp byte [rbp + 0x237], 0
jns 0x140017de0
mov rcx, qword [rbp + 0x220]
call fcn.14010e7fc
mov rcx, qword [rbp + 0x368]
test rcx, rcx
je 0x140017df6
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
lea rdx, str.nearby_share.pid
lea rcx, [rbp + 0x368]
xor r8d, r8d
call fcn.140019690
lea rcx, [rbp + 0x220]
lea rdx, [rbp + 0x3b0]
lea r8, [rbp + 0x368]
call fcn.140019600
cmp byte [rbp + 0x3a7], 0
jns 0x140017e3b
mov rcx, qword [rbp + 0x390]
call fcn.14010e7fc
mov rax, qword [rbp + 0x230]
mov qword [rbp + 0x3a0], rax
movupd xmm0, xmmword [rbp + 0x220]
movapd xmmword [rbp + 0x390], xmm0
mov byte [rbp + 0x237], 0
mov word [rbp + 0x220], 0
cmp byte [rbp + 0x37f], 0
jns 0x140017e7e
mov rcx, qword [rbp + 0x368]
call fcn.14010e7fc
cmp byte [rbp + 0x3a7], 0
jns 0x140017e8e
mov rsi, qword [rbp + 0x390]
lea rcx, [rbp + 0x220]
mov rdx, rsi
mov r8d, 0x30
mov r9d, 1
call fcn.14001b320
mov rax, qword [rbp + 0x220]
movsxd rax, dword [rax + 4]
test byte [rbp + rax + 0x240], 5
jne 0x140017ede
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rbp + 0x220]
mov edx, eax
call fcn.14004bd50
lea rcx, [rbp + 0x220]
call fcn.140019770
lea rcx, [rbp + 0x220]
call fcn.1400197b0
cmp byte [rbp + 0x3c7], 0
jns 0x140017eff
mov rcx, qword [rbp + 0x3b0]
call fcn.14010e7fc
mov rcx, qword [rbp + 0x388]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rbp + 0x220]
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140017f6c
lea rsi, [rbp + 0x220]
mov rdi, qword [sym.imp.USER32.dll_TranslateMessage]
mov rbx, qword [sym.imp.USER32.dll_DispatchMessageW]
mov r14, qword [sym.imp.USER32.dll_GetMessageW]
nop word cs:[rax + rax]
mov rcx, rsi
call rdi
mov rcx, rsi
call rbx
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call r14
test eax, eax
jne 0x140017f50
mov rcx, qword [rbp + 0x3d0]
mov rax, qword [rcx]
call qword [rax + 0x10]
movzx eax, byte [rbp + 0x3a7]
test al, al
jns 0x140017f8b
mov rax, qword [rbp + 0x398]
test rax, rax
je 0x140017f9e
lea rcx, [rbp + 0x390]
xor edx, edx
call fcn.1400738e0
call fcn.140027170
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x28]
call fcn.140033700
call qword [sym.imp.ole32.dll_CoUninitialize]
xor ecx, ecx
call fcn.1400368a0
test al, al
je 0x140018016
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x3b0]
mov r8d, 0x1b7
xor r9d, r9d
call fcn.140035820
mov rcx, qword [rbp + 0x3b0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.___Exiting_Nearby_Share_for_Windows___
mov r8d, 0x26
mov rcx, rax
call fcn.140013430
mov rcx, qword [rbp + 0x3b0]
test rcx, rcx
je 0x140018016
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
cmp byte [rbp + 0x3a7], 0
jns 0x14001802b
mov rcx, qword [rbp + 0x390]
call fcn.14010e7fc
xor ebx, ebx
jmp 0x140018248
mov ecx, 2
call fcn.1400368a0
test al, al
je 0x1400180ac
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x220]
mov r8d, 0x144
mov r9d, 2
call fcn.140035820
mov rcx, qword [rbp + 0x220]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.wWinMain
mov r8d, 8
mov rcx, rax
call fcn.140013430
lea rdx, str.:_When_creating_the_window__we_failed_to_get_the_cursor_position._Without_a_cursor_position__we_cant_find_a_monitor_to_place_and_position_the_app._Exiting.
mov r8d, 0x9c
mov rcx, rax
call fcn.140013430
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x1400180ac
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rbp + 0x3d0]
mov rax, qword [rcx]
mov ebx, 1
call qword [rax + 0x10]
jmp 0x14001814f
mov ecx, 2
call fcn.1400368a0
test al, al
je 0x14001813d
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_main.cc
lea rcx, [rbp + 0x220]
mov r8d, 0x15f
mov r9d, 2
call fcn.140035820
mov rcx, qword [rbp + 0x220]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.wWinMain
mov r8d, 8
mov rcx, rax
call fcn.140013430
lea rdx, str.:_When_creating_the_window__we_failed_to_get_monitor_information._We_dont_know_where_to_position_the_app_so_we_will_stop_creating_the_window._Exiting.
mov r8d, 0x97
mov rcx, rax
call fcn.140013430
mov rcx, qword [rbp + 0x220]
test rcx, rcx
je 0x14001813d
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rbp + 0x3d0]
mov rax, qword [rcx]
mov ebx, 1
call qword [rax + 0x10]
cmp byte [rbp + 0x1df], 0
js 0x140017815
mov rsi, qword [rbp + 0x200]
test rsi, rsi
mov r14, qword [rbp + 0x3d0]
je 0x1400181ad
mov rdi, qword [rbp + 0x208]
mov rcx, rsi
cmp rdi, rsi
jne 0x140018189
jmp 0x1400181a1
add rdi, 0xffffffffffffffe8
cmp rdi, rsi
je 0x14001819a
cmp byte [rdi - 1], 0
jns 0x140018180
mov rcx, qword [rdi - 0x18]
call fcn.14010e7fc
jmp 0x140018180
mov rcx, qword [rbp + 0x200]
mov qword [rbp + 0x208], rsi
call fcn.14010e7fc
mov rsi, qword [rbp + 0x1e8]
test rsi, rsi
je 0x1400181fd
mov rdi, qword [rbp + 0x1f0]
mov rcx, rsi
cmp rdi, rsi
jne 0x1400181d9
jmp 0x1400181f1
add rdi, 0xffffffffffffffe8
cmp rdi, rsi
je 0x1400181ea
cmp byte [rdi - 1], 0
jns 0x1400181d0
mov rcx, qword [rdi - 0x18]
call fcn.14010e7fc
jmp 0x1400181d0
mov rcx, qword [rbp + 0x1e8]
mov qword [rbp + 0x1f0], rsi
call fcn.14010e7fc
mov rcx, rbp
call fcn.140010f00
mov rax, qword [r14]
mov rcx, r14
mov edx, 1
call qword [rax]
mov eax, ebx
movaps xmm6, xmmword [rbp + 0x3e0]
movaps xmm7, xmmword [rbp + 0x3f0]
add rsp, 0x488
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp + 0x3d0]
mov rax, qword [rcx]
mov ebx, 1
call qword [rax + 0x10]
lea rcx, [rbp + 0x80]
call fcn.140010e90
cmp byte [rbp + 0x1df], 0
jns 0x14001815c
jmp 0x140017815
lea rcx, [rbp + 0x200]
call fcn.14001b1b0
int3