Function at 0x100006f68
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x100014170]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov qword [0x1000147b8], rcx
xor esi, esi
lea r8, [0x100001a28]
lea ebp, [rsi + 1]
xor ecx, ecx
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbx, rax
cmp rax, rsi
je 0x100007021
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100007021
mov rcx, qword [0x1000147b8]
lea r9d, [rax + 0x49]
lea r8, [rsp + 0x30]
lea edx, [rsi + 0x66]
call qword [sym.imp.USER32.dll_LoadStringW]
cmp eax, esi
jne 0x100006ff0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1000071c1
lea rdx, [rsp + 0x30]
lea rcx, [0x100001a60]
call qword [sym.imp.USER32.dll_FindWindowW]
mov rdi, rax
cmp rax, rsi
je 0x100007021
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x1000071bf
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rcx, [rsp + 0x20]
movzx edi, sil
cmp eax, esi
mov dword [rsp + 0x20], 8
mov dword [rsp + 0x24], 0xff
cmovge edi, ebp
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea r9, [0x1000147d8]
lea r8, [0x1000147e0]
lea rdx, [0x1000073a4]
lea rcx, [0x100001780]
call fcn.1000073e0
cmp dword [0x100014804], esi
je 0x1000070c2
mov al, byte [0x100014808]
cmp al, 4
jae 0x10000708a
cmp al, sil
jne 0x1000070c2
movabs rdx, 0x8000000000010000
test qword [0x1000147f0], rdx
je 0x1000070c2
mov rcx, qword [0x1000147f8]
mov rax, rcx
and rax, rdx
cmp rax, rcx
jne 0x1000070c2
mov rcx, qword [0x1000147d8]
lea rdx, [0x100001790]
call fcn.10000391c
call fcn.100006d28
cmp eax, esi
jge 0x1000070e3
cmp rbx, rsi
je 0x1000070d9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.100006c90
jmp 0x100006fe9
mov ecx, ebp
call qword [sym.imp.GDI32.dll_GdiSetBatchLimit]
lea r8, [0x1000147d0]
lea rdx, [0x100001a80]
xor ecx, ecx
call qword [sym.imp.DWrite.dll_DWriteCreateFactory]
cmp eax, esi
jl 0x1000070cb
mov ecx, 0x40
call fcn.100010780
cmp rax, rsi
je 0x100007139
mov byte [rax], sil
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], rsi
mov qword [rax + 0x28], rsi
mov qword [rax + 0x30], rsi
mov word [rax + 0x38], si
mov word [rax + 0x3a], si
mov qword [rax + 8], rsi
jmp 0x10000713c
mov rax, rsi
mov qword [0x1000147c0], rax
cmp rax, rsi
je 0x1000070cb
mov r8d, ebp
mov edx, 0xe65
xor ecx, ecx
call sub.ntdll.dll_WinSqmIncrementDWORD
mov rcx, qword [0x1000147c0]
call fcn.100002bb4
cmp al, sil
je 0x10000717b
mov rdx, qword [0x1000147c0]
xor ecx, ecx
call fcn.10000edd8
cmp al, sil
jne 0x100007180
call fcn.100006c90
mov rcx, qword [0x1000147c0]
cmp rcx, rsi
je 0x10000719a
mov edx, ebp
call fcn.1000071f0
mov qword [0x1000147c0], rsi
lea rcx, [0x1000147d8]
call fcn.100007374
cmp dil, sil
je 0x1000071b1
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp rbx, rsi
je 0x1000071bf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.100010c60
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret