Function at 0x140006010
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1b8
lea r8, [0x140049a18]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140006090
xor eax, eax
cmp eax, 1
je 0x140006046
jmp 0x140006086
lea rcx, [rsp + 0x30]
call fcn.140001f00
mov rcx, rax
call fcn.140001f00
lea rdx, [0x140049a40]
mov rcx, rax
call fcn.140008ef0
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x31]
call fcn.140001f00
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
mov rcx, rax
call fcn.140001600
mov eax, 1
jmp 0x14000637f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000619c
xor eax, eax
cmp eax, 1
je 0x1400060aa
jmp 0x1400060f0
lea rcx, [rsp + 0x32]
call fcn.140001f00
mov rcx, rax
call fcn.140001f00
lea rdx, [0x140049a68]
mov rcx, rax
call fcn.140008ef0
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x33]
call fcn.140001f00
mov rcx, qword [rsp + 0x80]
mov rdx, rcx
mov rcx, rax
call fcn.140001600
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x58]
call fcn.14000ce10
nop
lea rcx, [rsp + 0x50]
call fcn.14000ce10
nop
mov edx, 0x8a
lea rcx, [rsp + 0x58]
call fcn.14000c290
mov edx, 0x85
lea rcx, [rsp + 0x50]
call fcn.14000c290
call qword [sym.imp.KERNEL32.dll_GetThreadUILanguage]
mov word [rsp + 0x38], ax
lea rcx, [rsp + 0x50]
call fcn.14000b8a0
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x58]
call fcn.14000b8a0
movzx ecx, word [rsp + 0x38]
mov word [rsp + 0x20], cx
mov r9d, 0x40
mov rcx, qword [rsp + 0x88]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxExW]
nop
lea rcx, [rsp + 0x50]
call fcn.14000c2d0
nop
lea rcx, [rsp + 0x58]
call fcn.14000c2d0
mov eax, 1
jmp 0x14000637f
lea rcx, [rsp + 0x68]
call fcn.14001ef80
nop
lea rax, [rsp + 0x130]
mov qword [rsp + 0x90], rax
xor edx, edx
mov rcx, qword [rsp + 0x90]
call fcn.140007980
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x68]
call fcn.14001f0e0
movzx eax, al
test eax, eax
je 0x140006240
xor eax, eax
cmp eax, 1
je 0x1400061f0
jmp 0x140006236
lea rcx, [rsp + 0x34]
call fcn.140001f00
mov rcx, rax
call fcn.140001f00
lea rdx, [0x140049aa8]
mov rcx, rax
call fcn.140008ef0
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x35]
call fcn.140001f00
mov rcx, qword [rsp + 0xa0]
mov rdx, rcx
mov rcx, rax
call fcn.140001600
lea rcx, [rsp + 0x68]
call fcn.14001f140
call qword [sym.imp.rime.dll_rime_get_api]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax]
add rax, 4
cdqe
mov rcx, qword [rsp + 0x40]
add rcx, 0x198
sub rcx, qword [rsp + 0x40]
cmp rax, rcx
jle 0x140006290
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x198], 0
je 0x140006290
lea rcx, str.installation_update
mov rax, qword [rsp + 0x40]
call qword [rax + 0x198]
lea rcx, [rsp + 0xc0]
call fcn.14000d3f0
nop
call qword [sym.imp.USER32.dll_GetActiveWindow]
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140007a80
nop
lea rcx, [rsp + 0xc0]
call fcn.14000d520
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x170]
mov qword [rsp + 0xa8], rax
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call fcn.140007980
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.14001f0e0
movzx eax, al
test eax, eax
je 0x140006369
xor eax, eax
cmp eax, 1
je 0x140006319
jmp 0x14000635f
lea rcx, [rsp + 0x36]
call fcn.140001f00
mov rcx, rax
call fcn.140001f00
lea rdx, [0x140049af0]
mov rcx, rax
call fcn.140008ef0
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x37]
call fcn.140001f00
mov rcx, qword [rsp + 0xb8]
mov rdx, rcx
mov rcx, rax
call fcn.140001600
lea rcx, [rsp + 0x68]
call fcn.14001f170
mov dword [rsp + 0x48], 0
lea rcx, [rsp + 0x68]
call fcn.14001f000
mov eax, dword [rsp + 0x48]
add rsp, 0x1b8
ret