Function at 0x140005ce0
Capabilities:
Check mutex on windows

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x148
lea r8, [0x140049920]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140005d64
xor eax, eax
cmp eax, 1
je 0x140005d1a
jmp 0x140005d5a
lea rcx, [rsp + 0x30]
call fcn.140001f00
mov rcx, rax
call fcn.140001f00
lea rdx, [0x140049948]
mov rcx, rax
call fcn.140008ef0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x31]
call fcn.140001f00
mov rcx, qword [rsp + 0x70]
mov rdx, rcx
mov rcx, rax
call fcn.140001600
mov eax, 1
jmp 0x140006001
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140005e7a
xor eax, eax
cmp eax, 1
je 0x140005d7e
jmp 0x140005dbe
lea rcx, [rsp + 0x32]
call fcn.140001f00
mov rcx, rax
call fcn.140001f00
lea rdx, [0x140049970]
mov rcx, rax
call fcn.140008ef0
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x33]
call fcn.140001f00
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
mov rcx, rax
call fcn.140001600
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rsp + 0x158]
test eax, eax
je 0x140005e70
lea rcx, [rsp + 0x48]
call fcn.14000ce10
nop
lea rcx, [rsp + 0x40]
call fcn.14000ce10
nop
mov edx, 0x89
lea rcx, [rsp + 0x48]
call fcn.14000c290
mov edx, 0x85
lea rcx, [rsp + 0x40]
call fcn.14000c290
call qword [sym.imp.KERNEL32.dll_GetThreadUILanguage]
mov word [rsp + 0x38], ax
lea rcx, [rsp + 0x40]
call fcn.14000b8a0
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x48]
call fcn.14000b8a0
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.14000c2d0
nop
lea rcx, [rsp + 0x48]
call fcn.14000c2d0
mov eax, 1
jmp 0x140006001
lea rcx, [rsp + 0x60]
call fcn.14001ef80
nop
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x88], rax
xor edx, edx
mov rcx, qword [rsp + 0x88]
call fcn.140007980
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.14001f0e0
movzx eax, al
test eax, eax
je 0x140005f1e
xor eax, eax
cmp eax, 1
je 0x140005ece
jmp 0x140005f14
lea rcx, [rsp + 0x34]
call fcn.140001f00
mov rcx, rax
call fcn.140001f00
lea rdx, [0x1400499b0]
mov rcx, rax
call fcn.140008ef0
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x35]
call fcn.140001f00
mov rcx, qword [rsp + 0x98]
mov rdx, rcx
mov rcx, rax
call fcn.140001600
lea rcx, [rsp + 0x60]
call fcn.14001f140
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.140007980
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x60]
call fcn.14001f0e0
movzx eax, al
test eax, eax
je 0x140005feb
xor eax, eax
cmp eax, 1
je 0x140005f9b
jmp 0x140005fe1
lea rcx, [rsp + 0x36]
call fcn.140001f00
mov rcx, rax
call fcn.140001f00
lea rdx, [0x140049a00]
mov rcx, rax
call fcn.140008ef0
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x37]
call fcn.140001f00
mov rcx, qword [rsp + 0xb0]
mov rdx, rcx
mov rcx, rax
call fcn.140001600
lea rcx, [rsp + 0x60]
call fcn.14001f170
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0x60]
call fcn.14001f000
mov eax, dword [rsp + 0x3c]
add rsp, 0x148
ret