Function at 0x1400c4350
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403d88e8]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
mov dword [rsp + 0x70], 8
mov dword [rsp + 0x74], 0x80ff
lea rcx, [rsp + 0x70]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov rcx, rdi
call fcn.14011194c
lea rdx, str.RealtekAudio
mov rcx, rdi
call fcn.140107aa0
lea rcx, [rbp - 0x80]
call fcn.140110ba8
lea rax, vtable.CCplCommandLine.0
mov qword [rbp - 0x80], rax
xor r14d, r14d
mov r12d, r14d
mov r15d, r14d
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp - 0x30]
call fcn.14029ff20
lea rcx, [rdi + 0x178]
mov rdx, qword [rdi + 0x90]
call fcn.140038490
cmp dword [rdi + 0x1d8], r14d
je 0x1400c4491
mov eax, dword [rdi + 0x200]
test al, 8
je 0x1400c4451
mov ecx, 0xeb0
call fcn.1400f8110
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400c4440
mov rcx, rax
call fcn.14007c5d0
mov r15, rax
jmp 0x1400c4443
mov r15, r14
test r15, r15
jne 0x1400c4487
lea edx, [r15 + 0x62]
jmp 0x1400c49fe
test al, 0x10
je 0x1400c4487
mov ecx, 0xeb0
call fcn.1400f8110
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400c4476
mov rcx, rax
call fcn.14007c5d0
mov r15, rax
jmp 0x1400c4479
mov r15, r14
test r15, r15
jne 0x1400c4487
lea edx, [r15 + 0x68]
jmp 0x1400c49fe
mov edx, 0x6b
jmp 0x1400c49fe
lea r8, str.Mutex_B945EE5C_6F0A_4776_94CD_E9C1742AED5A
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400c44c8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esi, r14d
jmp 0x1400c44d0
mov eax, r14d
mov esi, 1
mov ecx, dword [rdi + 0x200]
test cl, cl
jns 0x1400c44e3
lea r8, str.WOV_TRAIN_Mutex_C4DEB01C_13FD_48f2_A893_0B70F7A4E324
jmp 0x1400c44ef
test cl, 1
je 0x1400c4527
lea r8, str.DAEMON_Mode_Mutex_83210F04_84B5_4122_8D27_0BD66FD1D12E
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400c451f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, r14d
mov eax, 1
jmp 0x1400c4527
mov esi, 1
mov eax, r14d
cmp dword [rdi + 0x1d4], r14d
je 0x1400c46a5
test eax, eax
je 0x1400c4660
cmp dword [rdi + 0x1d0], r14d
jne 0x1400c4660
mov ecx, 0x100
call fcn.1400f8110
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400c4567
mov rcx, rax
call fcn.140029450
jmp 0x1400c456a
mov rax, r14
mov qword [rdi + 0x210], rax
test rax, rax
jne 0x1400c4580
mov edx, 0x85
jmp 0x1400c49fe
mov r13, qword [rax + 0x40]
lea r9, str.Realtek_HD_Audio_New_GUI_background_window
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rsi, rax
test rax, rax
je 0x1400c45c2
cmp rsi, r13
jne 0x1400c45c2
lea r9, str.Realtek_HD_Audio_New_GUI_background_window
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rsi, rax
test rax, rax
jne 0x1400c45a0
test r13, r13
je 0x1400c469b
test rsi, rsi
je 0x1400c469b
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], 0x2000
mov rcx, qword [rdi + 0x90]
mov qword [rsp + 0x60], rcx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax*2 + 1]
mov dword [rsp + 0x58], eax
lea r9, [rsp + 0x50]
mov r8, r13
mov edx, 0x4a
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r13
mov r9, rsi
mov r8d, 0x1ab
lea rdx, str.CRtkNGuiApp::RedirectCommandLine2ActiveApp
lea rcx, str._s__d_hwnd_x_hSource_x_hr_x_dwErr_x_lpCmdLine_s
call fcn.140055180
mov edx, 0x94
jmp 0x1400c49fe
mov ecx, 0x710
call fcn.1400f8110
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400c4681
mov rcx, rax
call fcn.140023ad0
mov r12, rax
jmp 0x1400c4684
mov r12, r14
test r12, r12
jne 0x1400c4693
mov edx, 0x8e
jmp 0x1400c49fe
mov rcx, r12
call fcn.140025400
mov edx, 0x94
jmp 0x1400c49fe
test eax, eax
jne 0x1400c496f
call fcn.14005ec00
test eax, eax
je 0x1400c4747
mov dword [rsp + 0x40], r14d
mov rax, qword [0x1403df148]
test eax, eax
jg 0x1400c46e4
lea r8, str.DriverPropertyClient.cpp
mov edx, 0x61
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
jmp 0x1400c4758
movups xmm0, xmmword [str._alsC]
movaps xmmword [rsp + 0x50], xmm0
test rax, rax
jle 0x1400c4b1e
mov rcx, qword [0x1403df140]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1f4
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x19]
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx]
call fcn.14005f420
test eax, eax
je 0x1400c4758
test byte [rbp + 0xc0], 4
je 0x1400c4758
or ecx, 0xffffffff
call qword [sym.imp.IMM32.dll_ImmDisableIME]
jmp 0x1400c4758
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rbp - 0x30]
call fcn.14029ff20
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x1400c4b24
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea r13, [0x14035b258]
mov rdx, r13
lea rcx, [rsp + 0x40]
call fcn.140015a40
or rbx, 0xffffffffffffffff
test al, al
jne 0x1400c47be
mov rax, rbx
inc rax
cmp word [r13 + rax*2], 0
jne 0x1400c47a1
mov r8d, eax
mov rdx, r13
lea rcx, [rsp + 0x40]
call fcn.1400105e0
nop
lea rdx, [rsp + 0x40]
call fcn.1400c4b40
test eax, eax
jne 0x1400c484f
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x1400c4b2f
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea r13, str.INTELAUDIO
mov rdx, r13
lea rcx, [rsp + 0x40]
call fcn.140015a40
test al, al
jne 0x1400c482f
inc rbx
cmp word [r13 + rbx*2], 0
jne 0x1400c4812
mov r8d, ebx
mov rdx, r13
lea rcx, [rsp + 0x40]
call fcn.1400105e0
nop
lea rdx, [rsp + 0x40]
call fcn.1400c4b40
test eax, eax
jne 0x1400c484f
lea ecx, [rax + 1]
call fcn.140029c30
mov edx, 0xb2
jmp 0x1400c49fe
mov ecx, 0x710
call fcn.1400f8110
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400c4870
mov rcx, rax
call fcn.140023ad0
mov r12, rax
jmp 0x1400c4873
mov r12, r14
test r12, r12
jne 0x1400c4882
mov edx, reloc.OLEAUT32.dll_VariantTimeToSystemTime
jmp 0x1400c49fe
mov ecx, 0xeb0
call fcn.1400f8110
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400c48a3
mov rcx, rax
call fcn.14007c5d0
mov r15, rax
jmp 0x1400c48a6
mov r15, r14
test r15, r15
jne 0x1400c48b5
mov edx, 0xbc
jmp 0x1400c49fe
lea rax, [r12 + 0xe8]
mov qword [r15 + 0xea8], rax
lea rax, [r15 + 0xe8]
mov qword [r12 + 0x228], rax
mov rcx, r12
call fcn.140025400
test eax, eax
je 0x1400c48f7
mov rax, qword [r12 + 0x178]
cmp dword [rax + 0x6c], 0
jge 0x1400c48f7
mov edx, 0xc8
jmp 0x1400c49fe
mov rcx, r15
call fcn.14007d140
test eax, eax
jne 0x1400c490d
mov edx, 0xcc
jmp 0x1400c49fe
mov qword [rdi + 0x40], r15
mov ecx, 0x100
call fcn.1400f8110
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400c492f
mov rcx, rax
call fcn.140029450
jmp 0x1400c4932
mov rax, r14
mov qword [rdi + 0x210], rax
test rax, rax
jne 0x1400c4948
mov edx, 0xd3
jmp 0x1400c49fe
mov rax, qword [rax + 0x40]
mov qword [r15 + 0xa0], rax
mov rax, qword [rdi + 0x210]
mov qword [rax + 0xe8], r12
mov rax, qword [rdi + 0x210]
mov qword [rax + 0xf0], r15
cmp dword [rdi + 0x1bc], 0
je 0x1400c4a58
call fcn.14010fd08
mov rcx, rax
test rax, rax
je 0x1400c499d
mov rax, qword [rax]
call qword [rax + 0xe8]
test rax, rax
je 0x1400c499d
mov rbx, qword [rax + 0x40]
jmp 0x1400c49a0
mov rbx, r14
lea r9, str.Realtek_HD_Audio_New_GUI
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x1400c49f9
nop dword [rax]
cmp rax, rbx
jne 0x1400c49e1
lea r9, str.Realtek_HD_Audio_New_GUI
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
jne 0x1400c49c0
jmp 0x1400c49f9
test rax, rax
je 0x1400c49f9
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
mov edx, 0xe2
lea r8, str.RtkNGui.cpp
lea rcx, str._VCpl__EXIT_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
test r12, r12
je 0x1400c4a25
mov rax, qword [r12]
mov edx, 1
mov rcx, r12
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r15, r15
je 0x1400c4a38
mov rax, qword [r15]
mov edx, 1
mov rcx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x210]
test rcx, rcx
je 0x1400c4a95
mov rax, qword [rcx]
mov edx, 1
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rdi + 0x210], r14
jmp 0x1400c4a95
cmp dword [rdi + 0x1c0], 0
jne 0x1400c4a86
test dword [rbp + 0xc0], 0x20000
jne 0x1400c4a86
cmp dword [rdi + 0x1c4], 0
je 0x1400c4adc
mov edx, 2
xor r8d, r8d
mov rcx, rdi
call fcn.1400c4e50
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.140111c00
mov r14d, esi
lea rax, vtable.CCplCommandLine.0
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
call fcn.140110ef4
mov eax, r14d
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14029d880
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, dword [rdi + 0x1c8]
test al, 1
je 0x1400c4aed
mov edx, 9
jmp 0x1400c4a7b
test al, 2
je 0x1400c4af8
mov edx, 0xa
jmp 0x1400c4a7b
test al, 4
je 0x1400c4b06
mov edx, VariantTimeToDosDateTime
jmp 0x1400c4a7b
xor edx, edx
test byte [rdi + 0x200], 2
je 0x1400c4a7b
lea r8d, [rdx + 1]
jmp 0x1400c4a7e
call fcn.1400f91a0
int3
mov ecx, 0x80004005
call fcn.14000de90
int3
mov ecx, 0x80004005
call fcn.14000de90
int3