Function at 0x14000bf80
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x140035078]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rdi, [rcx + 0xa0]
mov r14, rcx
mov rcx, rdi
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
nop dword [rax + rax]
lea esi, [rbp + 1]
mov r15d, eax
mov ecx, esi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
nop dword [rax + rax]
mov r12d, eax
cmp qword [r14 + 0x10], rbp
jne 0x14000c325
mov ecx, dword [r14 + 0x48]
call fcn.1400087c0
neg eax
mov dword [r14], esi
mov ecx, 0x148
sbb ebx, ebx
and ebx, 0x400000
call fcn.14002437c
test rax, rax
je 0x14000c028
mov rdx, qword [r14 + 0x68]
mov rcx, rax
call fcn.140013fc8
jmp 0x14000c02b
mov rax, rbp
mov rcx, qword [r14 + 0x68]
lea r8, [rsp + 0x60]
mov r9d, 0x104
mov qword [r14 + 0x18], rax
mov edx, 0x65
call qword [sym.imp.USER32.dll_LoadStringW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c074
or r9, 0xffffffffffffffff
lea r8, str.First_UX
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop dword [rax + rax]
mov qword [rsp + 0x58], rbp
lea r8, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rdx, str.FirstUXWndClass
mov qword [rsp + 0x48], rbp
mov r9d, 0x81000000
mov qword [rsp + 0x40], rbp
mov ecx, ebx
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExW]
nop dword [rax + rax]
mov qword [r14 + 0x10], rax
test rax, rax
je 0x14000c30b
mov rcx, rax
call qword [sym.imp.USER32.dll_SetFocus]
nop dword [rax + rax]
lea r8, str.Microsoft.Windows.Setup.FirstUXRefCount
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14000c115
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x10]
lea rdx, str.FirstUXWndObject
mov r8, r14
call qword [sym.imp.USER32.dll_SetPropW]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x10]
lea rdx, str.FirstUXWndShowText
xor r8d, r8d
call qword [sym.imp.USER32.dll_SetPropW]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x10]
lea rdx, str.FirstUXWndRefCount
mov r8, rsi
call qword [sym.imp.USER32.dll_SetPropW]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x10]
lea rdx, str.UIA_WindowPatternEnabled
mov r8, rsi
call qword [sym.imp.USER32.dll_SetPropW]
nop dword [rax + rax]
test rbx, rbx
je 0x14000c1a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x10]
mov edx, 0xfffffff6
movsxd r8, eax
call qword [sym.imp.USER32.dll_SetClassLongPtrW]
nop dword [rax + rax]
mov rcx, r14
call fcn.14000f85c
mov rcx, r14
call fcn.14000c670
mov rcx, r14
call fcn.14000f95c
mov rcx, r14
call fcn.1400113a0
mov rcx, r14
call fcn.1400102fc
lea rdx, [0x1400291ac]
mov rcx, r14
call fcn.14000b334
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
nop dword [rax + rax]
mov r8d, r12d
mov edx, r15d
mov rcx, rax
mov qword [r14 + 0x80], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x80]
mov rdx, rax
mov rsi, rax
call qword [sym.imp.GDI32.dll_SelectObject]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x80]
mov r9d, r15d
mov dword [rsp + 0x40], 0x42
xor r8d, r8d
mov dword [rsp + 0x38], ebp
xor edx, edx
mov dword [rsp + 0x30], ebp
mov rbx, rax
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], r12d
call qword [sym.imp.GDI32.dll_BitBlt]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x80]
mov rdx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x10]
xor r9d, r9d
mov edx, 0x3e8
lea r8d, [r9 + 0x1c]
call qword [sym.imp.USER32.dll_SetTimer]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x10]
mov ebx, 0x7530
mov r8d, ebx
mov qword [r14 + 0x248], rax
xor r9d, r9d
mov edx, 0x41a
call qword [sym.imp.USER32.dll_SetTimer]
nop dword [rax + rax]
mov rcx, qword [r14 + 0x10]
xor r9d, r9d
mov r8d, ebx
mov qword [r14 + 0x250], rax
mov edx, 0x41b
call qword [sym.imp.USER32.dll_SetTimer]
nop dword [rax + rax]
mov qword [r14 + 0x258], rax
jmp 0x14000c325
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebp, ax
or ebp, 0x80070000
test eax, eax
cmovle ebp, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, ebp
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140023d70
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret