Function at 0x1400060a0
Capabilities:
Check mutex on windows

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x148
lea r8, [0x140067270]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140006124
xor eax, eax
cmp eax, 1
je 0x1400060da
jmp 0x14000611a
lea rcx, [rsp + 0x30]
call fcn.1400022c0
mov rcx, rax
call fcn.1400022c0
lea rdx, [0x140067298]
mov rcx, rax
call fcn.1400092b0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x31]
call fcn.1400022c0
mov rcx, qword [rsp + 0x70]
mov rdx, rcx
mov rcx, rax
call fcn.1400019c0
mov eax, 1
jmp 0x1400063c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000623a
xor eax, eax
cmp eax, 1
je 0x14000613e
jmp 0x14000617e
lea rcx, [rsp + 0x32]
call fcn.1400022c0
mov rcx, rax
call fcn.1400022c0
lea rdx, [0x1400672c0]
mov rcx, rax
call fcn.1400092b0
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x33]
call fcn.1400022c0
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
mov rcx, rax
call fcn.1400019c0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x158]
test eax, eax
je 0x140006230
lea rcx, [rsp + 0x48]
call fcn.14000d1d0
nop
lea rcx, [rsp + 0x40]
call fcn.14000d1d0
nop
mov edx, 0x89
lea rcx, [rsp + 0x48]
call fcn.14000c650
mov edx, 0x85
lea rcx, [rsp + 0x40]
call fcn.14000c650
call qword [sym.imp.KERNEL32.dll_GetThreadUILanguage]
mov word [rsp + 0x38], ax
lea rcx, [rsp + 0x40]
call fcn.14000bc60
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x48]
call fcn.14000bc60
movzx ecx, word [rsp + 0x38]
mov word [rsp + 0x20], cx
mov r9d, 0x40
mov rcx, qword [rsp + 0x80]
mov r8, rcx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxExW]
nop
lea rcx, [rsp + 0x40]
call fcn.14000c690
nop
lea rcx, [rsp + 0x48]
call fcn.14000c690
mov eax, 1
jmp 0x1400063c1
lea rcx, [rsp + 0x60]
call fcn.14001f340
nop
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x88], rax
xor edx, edx
mov rcx, qword [rsp + 0x88]
call fcn.140007df0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.14001f4a0
movzx eax, al
test eax, eax
je 0x1400062de
xor eax, eax
cmp eax, 1
je 0x14000628e
jmp 0x1400062d4
lea rcx, [rsp + 0x34]
call fcn.1400022c0
mov rcx, rax
call fcn.1400022c0
lea rdx, [0x140067300]
mov rcx, rax
call fcn.1400092b0
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x35]
call fcn.1400022c0
mov rcx, qword [rsp + 0x98]
mov rdx, rcx
mov rcx, rax
call fcn.1400019c0
lea rcx, [rsp + 0x60]
call fcn.14001f500
call qword [sym.imp.rime.dll_rime_get_api]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
call qword [rax + 0x50]
lea rdx, str.config_version
lea rcx, str.weasel.yaml
mov rax, qword [rsp + 0x58]
call qword [rax + 0x60]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0xf8]
mov qword [rsp + 0xa0], rax
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call fcn.140007df0
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x60]
call fcn.14001f4a0
movzx eax, al
test eax, eax
je 0x1400063ab
xor eax, eax
cmp eax, 1
je 0x14000635b
jmp 0x1400063a1
lea rcx, [rsp + 0x36]
call fcn.1400022c0
mov rcx, rax
call fcn.1400022c0
lea rdx, [0x140067350]
mov rcx, rax
call fcn.1400092b0
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x37]
call fcn.1400022c0
mov rcx, qword [rsp + 0xb0]
mov rdx, rcx
mov rcx, rax
call fcn.1400019c0
lea rcx, [rsp + 0x60]
call fcn.14001f530
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x60]
call fcn.14001f3c0
mov eax, dword [rsp + 0x3c]
add rsp, 0x148
ret