Function at 0x140010fc0
Capabilities:
Hide graphical window

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x460
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3d8], 0xfffffffffffffffe
mov rsi, rcx
call fcn.140034f20
test al, al
je 0x140011344
lea rdx, [rbp + 0x3a8]
mov rcx, rsi
call fcn.140034e70
mov rcx, rsi
call fcn.140034f00
mov qword [rsi + 0xb8], rax
lea rcx, str.nearby_sharing_dart.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 0xc0], rax
test rax, rax
je 0x14001127a
lea rdx, str.SetIsScreenLocked
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0xc8], rax
mov rcx, qword [rsi + 0xb8]
xor edx, edx
call sub.WTSAPI32.dll_WTSRegisterSessionNotification
test eax, eax
je 0x1400112da
lea rdi, [rsi + 0x38]
mov ebx, dword [rbp + 0x3b0]
mov r14d, dword [rbp + 0x3b4]
sub r14d, dword [rbp + 0x3ac]
sub ebx, dword [rbp + 0x3a8]
mov ecx, 0x20
call fcn.14010e7c0
mov qword [rbp + 0x3c8], rax
mov rcx, rax
mov edx, ebx
mov r8d, r14d
mov r9, rdi
call fcn.1400418c0
mov rcx, qword [rsi + 0xb0]
mov rax, qword [rbp + 0x3c8]
mov qword [rsi + 0xb0], rax
test rcx, rcx
je 0x1400110c2
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rax, qword [rsi + 0xb0]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140011344
cmp qword [rax + 0x18], 0
je 0x140011344
call fcn.140026940
mov rax, qword [rsi + 0xb0]
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 8]
call qword [sym.imp.flutter_windows.dll_FlutterDesktopViewGetHWND]
mov rcx, rsi
mov rdx, rax
call fcn.140034e90
xor ecx, ecx
call fcn.1400453d0
mov rdi, rax
mov ecx, 0x30
call fcn.14010e7c0
movups xmm0, xmmword [str.plugins.better_together.google.com_system_event]
movups xmmword [rax], xmm0
movups xmm0, xmmword [0x140150868]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [0x140150877]
movups xmmword [rax + 0x1f], xmm0
mov qword [rbp + 0x3c8], rax
mov byte [rax + 0x2f], 0
mov rax, qword [rsi + 0xb0]
mov rax, qword [rax + 0x10]
mov rbx, qword [rax + 0x10]
mov ecx, 0x28
call fcn.14010e7c0
mov qword [rax], rbx
mov qword [rbp + 0x3c0], rax
mov rcx, rax
add rcx, 8
mov r8d, 0x2f
mov rdx, qword [rbp + 0x3c8]
call fcn.140047b70
mov rax, qword [rbp + 0x3c0]
mov qword [rax + 0x20], rdi
mov rdi, qword [rsi + 0xd0]
mov qword [rsi + 0xd0], rax
test rdi, rdi
mov rbx, qword [rbp + 0x3c8]
je 0x1400111b6
cmp byte [rdi + 0x1f], 0
jns 0x1400111ae
mov rcx, qword [rdi + 8]
call fcn.14010e7fc
mov rcx, rdi
call fcn.14010e7fc
mov rcx, rbx
call fcn.14010e7fc
mov rcx, qword [rsi + 0xd0]
lea rax, [0x140014ad0]
mov qword [rbp + 0x390], rax
lea rax, [0x140150070]
mov qword [rbp + 0x398], rax
mov qword [rbp + 0x380], rsi
lea rdx, [rbp + 0x378]
call fcn.140011660
cmp qword [0x1401fde40], 0
jne 0x140011226
mov rdx, qword [rsi + 0xb8]
lea rdi, [rbp - 0x58]
mov rcx, rdi
call fcn.140010290
lea rcx, [0x1401fde38]
mov r8d, 0x3d0
mov rdx, rdi
call fcn.140111410
lea rdx, [0x1401fde38]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov rcx, qword [rsi + 0xb8]
mov edx, 0x4a
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.USER32.dll_ChangeWindowMessageFilterEx]
cmp byte [rsi + 0xd8], 0
je 0x140011354
mov byte [rsi + 0xd8], 0
mov rcx, qword [rsi + 0xb8]
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
jmp 0x140011346
cmp dword [0x1401fe208], 0
jg 0x140011344
mov ecx, 0x128
call fcn.14010e7c0
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_flutter_window.cc
mov qword [rbp + 0x3c8], rax
mov rcx, rax
mov r8d, 0x6d
xor r9d, r9d
call fcn.140032ef0
mov rsi, qword [rbp + 0x3c8]
mov qword [rbp - 0x58], rsi
mov rcx, rsi
call fcn.140033140
lea rdx, str.Failed_to_load_nearby_sharing_dart.dll
mov r8d, 0x26
mov rcx, rax
call fcn.140013430
jmp 0x140011334
cmp dword [0x1401fe208], 0
jg 0x140011344
mov ecx, 0x128
call fcn.14010e7c0
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_flutter_window.cc
mov qword [rbp + 0x3c8], rax
mov rcx, rax
mov r8d, 0x76
xor r9d, r9d
call fcn.140032ef0
mov rsi, qword [rbp + 0x3c8]
mov qword [rbp - 0x58], rsi
mov rcx, rsi
call fcn.140033140
lea rdx, str.Failed_to_register_session_notification
mov r8d, 0x27
mov rcx, rax
call fcn.140013430
mov rcx, rsi
call fcn.140013310
mov rcx, rsi
call fcn.14010e7fc
xor eax, eax
add rsp, 0x460
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
cmp dword [0x1401fe208], 0
jg 0x1400113b2
lea rdx, str.location_nearby_apps_better_together_windows_nearby_share_flutter_window.cc
lea rcx, [rbp - 0x58]
mov r8d, 0xa4
xor r9d, r9d
call fcn.140010560
mov rcx, qword [rbp - 0x58]
call fcn.140033140
lea rdx, str.OnCreate
mov r8d, 8
mov rcx, rax
call fcn.140013430
lea rdx, str.:_starting_window_visibly
mov r8d, 0x19
mov rcx, rax
call fcn.140013430
lea rcx, [rbp - 0x58]
call fcn.1400105f0
mov rsi, qword [rsi + 0xd0]
mov qword [rbp + 0x3b8], 0
mov byte [rbp + 0x3d7], 1
mov ecx, 0x28
call fcn.14010e7c0
xorps xmm0, xmm0
movaps xmmword [rax + 0x10], xmm0
movaps xmmword [rax], xmm0
mov qword [rax + 0x20], 0
mov qword [rbp + 0x3a0], rax
mov byte [rbp - 0x41], 0xd
movabs rax, 0x776f646e69576e6f
mov qword [rbp - 0x58], rax
movabs rax, 0x7375636f46776f64
mov qword [rbp - 0x53], rax
mov byte [rbp - 0x4b], 0
lea rdx, [rbp - 0x58]
lea r8, [rbp + 0x3a0]
lea r9, [rbp + 0x3b8]
mov rcx, rsi
call fcn.140010620
cmp byte [rbp - 0x41], 0
jns 0x14001143b
mov rcx, qword [rbp - 0x58]
call fcn.14010e7fc
mov al, 1
jmp 0x140011346