Function at 0x1400019c0
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 [0x140050d00], rbx
lea r8, str.Mutex_AsusOLEDShifter
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [0x140050dd8], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140001a7c
mov rcx, qword [0x140050dd8]
test rcx, rcx
je 0x140001a27
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov qword [0x140050dd8], rdi
mov edx, 0x5c
lea rbx, str.D:WorkMyASUSAbout_AsusOLEDShifterReleaseAsusOLEDShifterAsusOLEDShifterAsusOLEDShifterAsusOLEDShifter.cpp
mov rcx, rbx
call fcn.14001275c
test rax, rax
je 0x140001a51
mov edx, 0x5c
mov rcx, rbx
call fcn.14001275c
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, 0x88
mov rcx, rbx
call fcn.140005160
jmp 0x140001cac
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, [0x140050de0]
lea rdx, [0x140050d10]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x140050d08], rax
test rax, rax
je 0x140001c93
mov rax, qword [0x140050ec8]
cmp byte [rax], 1
jne 0x140001c23
mov rsi, qword [0x140050ec0]
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 0x140001c93
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, [0x1400475d0]
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 0x140001c93
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, [0x140002310]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [0x140050ec0]
call fcn.140002360
nop
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x140001c23
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0xa0], rdi
mov rbx, qword [0x140050ec8]
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 0x140001c93
mov rcx, rbx
call fcn.14000a290
test eax, eax
je 0x140001c93
mov eax, 1
jmp 0x140001cae
mov rcx, qword [0x140050dd8]
test rcx, rcx
je 0x140001cac
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140050dd8], rdi
xor eax, eax
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret