Function at 0x140001bc0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xb0
mov rbx, rcx
mov ecx, 2
call qword [sym.imp.api_ms_win_shcore_scaling_l1_1_1.dll_SetProcessDpiAwareness]
mov qword [0x140095bb0], rbx
lea r8, str.Mutex_AsusOLEDShifter
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x140095c88], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140001c7c
mov rcx, qword [0x140095c88]
test rcx, rcx
je 0x140001c27
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov qword [0x140095c88], rdi
mov edx, 0x5c
lea rbx, str.C:Usersleonard_tsaiDesktopASUS_ProjAsusOLEDShifterAsusOLEDShifterAsusOLEDShifterAsusOLEDShifter.cpp
mov rcx, rbx
call fcn.140044830
test rax, rax
je 0x140001c51
mov edx, 0x5c
mov rcx, rbx
call fcn.140044830
lea rbx, [rax + 1]
lea rax, str.Mutex_AsusOLEDShifter_ERROR_ALREADY_EXISTS
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, str.InitInstance
mov edx, 0x8a
mov rcx, rbx
call fcn.140004920
jmp 0x140001ea7
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, [0x140095c90]
lea rdx, [0x140095bc0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x140095bb8], rax
test rax, rax
je 0x140001e8e
call fcn.1400015e0
cmp byte [rax + 0x10], dil
je 0x140001e1d
call fcn.1400013f0
mov rsi, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rsi + 0x50]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, str.TrayIconManager
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsi + 0x40], rax
test rax, rax
je 0x140001e8e
mov dword [rsi + 0x260], 0x3d0
mov qword [rsi + 0x268], rax
mov dword [rsi + 0x270], 0x6b
mov dword [rsi + 0x274], 0x87
mov dword [rsi + 0x278], 0x8064
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea edx, [rdi + 0x6b]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsi + 0x280], rax
lea rcx, [rsi + 0x288]
lea rdx, [0x140085ee0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsi + 0x260]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x140001e8e
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___enum_TrayIconManager::UIEventCode___void__enum_TrayIconManager::UIEventCode_.0
mov qword [rsp + 0x68], rax
lea rax, [0x1400024f0]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
call fcn.1400013f0
nop
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140002550
nop
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x140001e1d
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
call fcn.1400015e0
mov rbx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rbx + 0x20]
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0xcf0000
lea r8, str.OLEDShifterManager
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x140001e8e
mov rcx, rbx
call fcn.14000c620
test eax, eax
je 0x140001e8e
mov eax, 1
jmp 0x140001ea9
mov rcx, qword [0x140095c88]
test rcx, rcx
je 0x140001ea7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140095c88], rdi
xor eax, eax
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret