Function at 0x1400922e0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x660
mov rax, qword [0x140164030]
xor rax, rsp
mov qword [rsp + 0x650], rax
mov rbx, rcx
lea rcx, str._AsusSync_SharedCamNativeEx__SharedCamNativeEx__
call fcn.140095ab0
xor ebp, ebp
cmp byte [rbx + 0x200072], 8
jne 0x1400923e5
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x250]
call fcn.1400c5120
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x40]
call fcn.1400c5120
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
lea edx, [rbp + 0x5c]
lea rcx, [rsp + 0x40]
call fcn.1400c46bc
test rax, rax
je 0x140092377
mov word [rax + 2], bp
lea r8, str.AsusLinkWP2P.exe
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.1400d6ec0
lea rax, [rbx + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14009239b
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x28], rax
lea rax, str.B9ECED6F.ASUSPCAssistant.asToastNotifier.exe
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea r8, str.__s___toast__s__SharedCamEx_stop__a__I64d__n___s_
mov edx, 0x200
lea rcx, [rsp + 0x250]
call fcn.140017d20
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x250]
call fcn.140097090
mov rcx, rbx
call fcn.140093080
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140092400
mov edx, 1
call fcn.1400c2470
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x140092413
mov edx, 1
call fcn.1400c2470
mov rcx, qword [rbx + 0x200110]
test rcx, rcx
je 0x140092424
call fcn.1400925b0
mov rcx, qword [rbx + 0x2000f0]
test rcx, rcx
je 0x14009243d
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_UnmapViewOfFile]
mov qword [rbx + 0x2000f0], rbp
mov rcx, qword [rbx + 0x2000e8]
test rcx, rcx
je 0x140092456
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x2000e8], rbp
mov esi, ebp
lea rdi, [rbx + 0x2000f8]
nop
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x140092476
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rdi], 0xffffffffffffffff
inc esi
add rdi, 8
cmp esi, 2
jb 0x140092460
lea rcx, [rbx + 0x200098]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_DeleteCriticalSection]
mov rcx, qword [rbx + 0x2000d8]
cmp rcx, 0xffffffffffffffff
je 0x1400924e0
mov edx, 0x1388
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400924c8
lea rcx, str._AsusSync_SharedCamNativeEx__Stop___ReceiverMonitorHandler_thread_seems_be_blocked__terminate_it._n
call fcn.140095ab0
xor edx, edx
mov rcx, qword [rbx + 0x2000d8]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateThread]
mov rcx, qword [rbx + 0x2000d8]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x2000d8], 0xffffffffffffffff
mov rcx, qword [rbx + 0x2000e0]
cmp rcx, 0xffffffffffffffff
je 0x1400924fe
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x2000e0], 0xffffffffffffffff
mov rcx, qword [rbx + 0x200118]
cmp rcx, 0xffffffffffffffff
je 0x14009251c
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x200118], 0xffffffffffffffff
mov rcx, qword [rbx + 0x200120]
test rcx, rcx
je 0x140092535
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rbx + 0x200120], rbp
mov rdx, qword [rbx + 0x28]
cmp rdx, 8
jb 0x140092571
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx + 0x10]
cmp rdx, 0x1000
jb 0x14009256c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400925aa
mov rcx, r8
call fcn.1400c2470
mov qword [rbx + 0x20], rbp
mov qword [rbx + 0x28], 7
mov word [rbx + 0x10], bp
mov rcx, qword [rsp + 0x650]
xor rcx, rsp
call fcn.1400c2450
lea r11, [rsp + 0x660]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400c8b64
int3