Function at 0x140025ec0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1400fc3f8]
xor rax, rsp
mov qword [rsp + 0x270], rax
movzx eax, byte [0x1400fd080]
cmp al, 6
ja 0x140025f00
mov edx, 6
lea rcx, str.LaunchWPSInContext:_Enter
call fcn.140034b80
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 0x140025f36
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.140089c64
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140025f8c
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14002c290
mov rbx, rax
jmp 0x140025f8f
mov rbx, rsi
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140025fb0
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x14005f7f8.0]
nop
mov rdi, qword [0x140101300]
nop
lea rcx, [rsp + 0xd0]
call fcn.14002b870
nop
lea rcx, [rsp + 0xd0]
call fcn.1400391c0
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], si
cmp byte [rsp + 0x108], 0
movzx eax, byte [0x1400fd080]
jne 0x140026039
cmp al, 6
ja 0x14002601d
mov edx, 6
lea rcx, str.LaunchWPSInContext:_Product_Registered._Going_to_open_Home_Page
call fcn.140034b80
mov r8d, 0x29
lea rdx, str._page_:_home___source_:_lenovo_vantage_
lea rcx, [rsp + 0xa8]
call fcn.140003c40
jmp 0x140026068
cmp al, 6
ja 0x14002604e
mov edx, 6
lea rcx, str.LaunchWPSInContext:_Product_not_registered._Going_to_open_Registration_Page
call fcn.140034b80
mov r8d, 0x36
lea rdx, str._page_:_main.registration___source_:_lenovo_vantage_
lea rcx, [rsp + 0xa8]
call fcn.140003c40
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.wpsui.launch
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xc
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.0x14005f7f8.0]
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x140026136
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140026131
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400261f1
call fcn.140089ca0
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], si
lea rcx, [rsp + 0xd0]
call fcn.14002d700
nop
test rbx, rbx
je 0x14002617a
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x14005f7f8.0]
nop
movzx eax, byte [0x1400fd080]
cmp al, 6
ja 0x140026197
mov edx, 6
lea rcx, str.LaunchWPSInContext:_Exit
call fcn.140034b80
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 0x1400261cc
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14008a6c0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.1400916c4
nop
int3