Function at 0x140022f90
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1400f63f8]
xor rax, rsp
mov qword [rsp + 0x240], rax
movzx eax, byte [0x1400f7080]
cmp al, 6
ja 0x140022fd0
mov edx, 6
lea rcx, str.LaunchMcAfeeBuy:_Enter
call fcn.1400308d0
lea r8, str.MCWPSSECDASHBOARDSVC
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140023006
mov edx, 0x1388
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x78], 0
xor esi, esi
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x90], rax
lea ecx, [rsi + 0x18]
call fcn.140084c04
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14002305c
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140028700
mov rbx, rax
jmp 0x14002305f
mov rbx, rsi
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140023080
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x14005a798.0]
nop
mov rdi, qword [0x1400fb300]
nop
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], si
lea rcx, [rsp + 0xd0]
call fcn.140028000
nop
lea rcx, [rsp + 0xd0]
call fcn.140037220
cmp eax, 1
movzx eax, byte [0x1400f7080]
jne 0x140023104
cmp al, 6
ja 0x1400230e8
mov edx, 6
lea rcx, str.Ps_f_
call fcn.1400308d0
mov r8d, 0x37
lea rdx, str._action_:_renew___clicksrc_:_wps_lenovovantage_renew_
lea rcx, [rsp + 0xa8]
call fcn.140003b60
jmp 0x140023133
cmp al, 6
ja 0x140023119
mov edx, 6
lea rcx, str.LaunchMcAfeeBuy:_subscription_type_is_Trial
call fcn.1400308d0
mov r8d, 0x33
lea rdx, str._action_:_buy___clicksrc_:_wps_lenovovantage_buy_
lea rcx, [rsp + 0xa8]
call fcn.140003b60
mov rax, qword [rdi]
mov r10, qword [rax + 8]
lea rax, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rax, qword [rsp + 0xa8]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rdx
lea rax, str.trayicon.launch.buy
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x13
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x98]
mov rcx, rdi
mov rax, r10
call qword [case.0x14005a798.0]
movzx eax, byte [0x1400f7080]
cmp al, 6
ja 0x1400231d5
mov edx, 6
lea rcx, str.Ht_f_
call fcn.1400308d0
nop
lea rcx, [rsp + 0xd0]
call fcn.140029950
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x14002322b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023226
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400232bb
call fcn.140084c40
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], si
test rbx, rbx
je 0x140023261
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14005a798.0]
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140023296
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140085660
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.14008c334
nop
int3