Function at 0x1400014f0
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0xf0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rbx, rcx
lea r8, str.RBWCMDebouncerMutex
xor ecx, ecx
mov edx, 1
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140001550
mov r9d, 0x10
lea r8, str.Errore_nellapertura
lea rdx, str.LRBWCM_Debouncer
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x140001793
mov qword [rsp + 0x108], rsi
lea rax, [0x1400012e0]
xor esi, esi
mov qword [rsp + 0x110], rdi
xorps xmm0, xmm0
mov qword [rsp + 0x60], rsi
lea rdi, str.MouseDebouncerClass
mov qword [rsp + 0x70], rsi
mov rcx, rbx
mov qword [rsp + 0x88], rsi
lea edx, [rsi + 1]
movdqa xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0xa0], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x80], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
xor r9d, r9d
lea rdx, section..text
xor r8d, r8d
lea ecx, [rsi + 0xe]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rsp + 0x58], rsi
lea r8, [0x140004400]
mov qword [rsp + 0x50], rbx
mov r9d, 0xc80000
mov qword [rsp + 0x48], rsi
mov rdx, rdi
mov qword [rsp + 0x40], rsi
xor ecx, ecx
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov qword [0x140007688], rax
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor edx, edx
lea rcx, [0x1400076bc]
mov rbx, rax
mov r8d, 0x3b4
xor eax, eax
mov dword [0x1400076a4], eax
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
mov dword [0x1400076a0], 0x3d0
mov qword [0x1400076a8], rbx
mov dword [0x1400076b0], 1
mov dword [0x1400076b4], 7
mov dword [0x1400076b8], 0x401
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea edx, [rsi + 0x65]
call qword [sym.imp.USER32.dll_LoadIconW]
lea r9d, [rsi + 0x7f]
mov qword [0x1400076c0], rax
lea r8, [0x140004400]
lea rcx, [0x1400076c8]
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea rdx, [0x1400076a0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov rdi, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x108]
test eax, eax
jne 0x1400016eb
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_add_system_tray_icon.
call fcn.140001810
mov rcx, rax
lea rdx, [0x1400019e0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea r8, str.RBWCM_Debouncer_avviato_correttamente.
mov dword [0x1400076b4], 0x10
mov edx, 0x100
mov dword [0x140007a54], 1
lea rcx, [0x1400077d0]
mov dword [0x1400079d0], 0x1388
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rdx, [0x1400076a0]
mov ecx, 1
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
xor r9d, r9d
lea rcx, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140001786
nop
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140001750
mov rcx, qword [0x140007688]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor eax, eax
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140001c70
add rsp, 0xf0
pop rbx
ret