Function at 0x140011490
Capabilities:
Check mutex on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x53e0]
mov eax, 0x54e0
call fcn.140019860
sub rsp, rax
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x54f0], rbx
mov qword [rsp + 0x5500], rsi
mov qword [rsp + 0x5508], rdi
mov rax, qword [0x140023020]
xor rax, rsp
mov qword [rbp + 0x53d0], rax
mov esi, edx
call fcn.1400113b0
lea rcx, str.TpShocksCplTrayMessage
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov edi, eax
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14001152a
lea rdx, str.ChangeWindowMessageFilter
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001152a
mov edx, 1
mov ecx, edi
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, str.2CBCFCD1_FCD9_40c4_9E68_7983BAAC377B
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400117a6
test rbx, rbx
je 0x1400117a6
lea rax, vtable.WTL::CMessageLoop.0
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
lea rdx, [rsp + 0x60]
call fcn.1400122f0
lea rcx, [rbp + 0x40]
call fcn.140010fc0
nop
lea ecx, [rbx + 0x10]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
lea ecx, [rbx + 0x11]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r9d, eax
cmp edi, eax
jge 0x1400115af
movd xmm0, r9d
jmp 0x1400115b3
movd xmm0, edi
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x14001c2d8]
cvtpd2ps xmm2, xmm0
movss dword [0x140025278], xmm2
cvtps2pd xmm0, xmm2
mulsd xmm0, qword [0x14001c2d0]
cvttsd2si r8d, xmm0
cvtps2pd xmm1, xmm2
movsd xmm3, qword [0x14001c2c8]
mulsd xmm1, xmm3
cvttsd2si r10d, xmm1
cmp r8d, edi
jle 0x14001161c
mov eax, edi
cdq
idiv r8d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
movss dword [0x140025278], xmm2
mov r8d, edi
cvtps2pd xmm0, xmm2
mulsd xmm0, xmm3
cvttsd2si r10d, xmm0
sub edi, r8d
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
sub r9d, r10d
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
mov dword [rbp + 0x34], eax
mov dword [rbp + 0x30], ecx
add ecx, r8d
mov dword [rbp + 0x38], ecx
add eax, r10d
mov dword [rbp + 0x3c], eax
mov dword [rbp + 0xbc], r10d
mov dword [rbp + 0xb8], r8d
lea rdx, [rbp + 0x80]
lea rcx, [0x140024800]
call fcn.140011a70
mov word [rsp + 0x38], ax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x40100
mov dword [rsp + 0x20], 0x6cf0000
lea r8, [rbp + 0x30]
lea rcx, [rbp + 0x40]
call fcn.140011910
test rax, rax
jne 0x140011699
mov edi, ebx
jmp 0x14001176f
mov rax, qword [0x1400253a8]
mov qword [rbp - 0x38], rax
mov rax, qword [0x1400253b0]
mov qword [rbp - 0x30], rax
mov rax, qword [0x1400253b8]
mov qword [rbp - 0x28], rax
mov rax, qword [0x1400253c0]
mov qword [rbp - 0x20], rax
mov rax, qword [0x1400253c8]
mov qword [rbp - 0x18], rax
mov rax, qword [0x1400253d0]
mov qword [rbp - 0x10], rax
mov rax, qword [0x1400253d8]
mov qword [rbp - 8], rax
mov rax, qword [0x1400253e0]
mov qword [rbp], rax
mov rax, qword [0x1400253e8]
mov qword [rbp + 8], rax
lea rax, vtable.WTL::CAppModule.0
mov qword [rbp - 0x40], rax
mov eax, dword [0x1400253f0]
mov dword [rbp + 0x10], eax
mov rax, qword [0x1400253f8]
mov qword [rbp + 0x18], rax
mov rax, qword [0x140025400]
mov qword [rbp + 0x20], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x40]
call fcn.140008270
lea rcx, [rbp + 0x48]
call fcn.1400120d0
mov edx, esi
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 1
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WTSAPI32.dll_WTSRegisterSessionNotification]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x60]
call fcn.140011fe0
mov edi, eax
call fcn.140011e50
nop
lea rcx, [rbp + 0x40]
call fcn.140007fe0
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14001178e
call qword [sym.imp.MSVCR110.dll_free]
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400117a2
call qword [sym.imp.MSVCR110.dll_free]
mov eax, edi
jmp 0x1400117ea
mov dword [rsp + 0x50], 8
xor ebx, ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, dword [0x14002538c]
lea rdx, [rsp + 0x50]
lea ecx, [rbx + 8]
call qword [sym.imp.USER32.dll_BroadcastSystemMessageW]
xor edx, edx
lea rcx, [0x14001b930]
call qword [sym.imp.USER32.dll_FindWindowW]
lea edx, [rbx + 1]
mov rcx, rax
call qword [sym.imp.USER32.dll_SwitchToThisWindow]
xor eax, eax
mov rcx, qword [rbp + 0x53d0]
xor rcx, rsp
call fcn.140018cd0
lea r11, [rsp + 0x54e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret