Function at 0x140007aa0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x14008b040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rdx
mov qword [rbp - 0x21], rdx
mov qword [rbp + 7], rdx
xor esi, esi
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0xb]
mov rcx, qword [0x14008fb90]
call qword [sym.imp.USER32.dll_PostMessageW]
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0xb]
mov rcx, qword [0x14008fb98]
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [0x14008fa38]
test rcx, rcx
je 0x140007b27
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r13d, esi
jmp 0x140007b51
lea r8, str.Global0ecca2f1_bb26_401e_8495_a7c70449e863
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov r13, rax
test rax, rax
je 0x140007b51
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14008fde0], eax
jle 0x140007c11
lea rcx, [0x14008fde0]
call fcn.140045a7c
cmp dword [0x14008fde0], 0xffffffff
jne 0x140007c11
xorps xmm0, xmm0
movups xmmword [0x14008fdf0], xmm0
movdqa xmm1, xmmword [0x14007ea40]
movdqa xmmword [0x14008fe00], xmm1
mov word [0x14008fdf0], si
mov dword [0x14008fe10], esi
mov qword [0x14008fe18], rsi
mov qword [0x14008fe20], rsi
movups xmmword [0x14008fe28], xmm0
movups xmmword [0x14008fe38], xmm0
movups xmmword [0x14008fe48], xmm0
mov qword [0x14008fe58], rsi
mov edx, 2
lea rcx, [0x14008fe10]
call fcn.14001e400
mov qword [0x14008fe60], rsi
mov dword [0x14008fe68], esi
lea rcx, [0x14006f660]
call fcn.140045718
lea rcx, [0x14008fde0]
call fcn.140045a10
lea r15, [0x14008fdf0]
mov rdx, r15
lea rcx, [rbp - 0x19]
call fcn.14000c720
nop
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 7
jbe 0x140007c3d
mov rdx, qword [rbp - 0x19]
test rdx, rdx
je 0x140008037
mov rcx, qword [rdi]
call fcn.14004c640
mov ebx, eax
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x140007c87
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007c82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008042
call fcn.140045b20
mov r12, 0xffffffffffffffff
test ebx, ebx
je 0x140007dbe
mov r14, qword [rdi]
mov qword [rbp - 0x29], rsi
mov rax, rsi
mov qword [0x14008fe60], rax
mov dword [0x14008fe68], esi
mov rbx, r12
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x140007cb0
mov rsi, qword [0x14008fe08]
cmp rbx, rsi
ja 0x140007cf7
cmp rsi, 7
cmova r15, qword [0x14008fdf0]
mov qword [0x14008fe00], rbx
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, r15
call fcn.14006c700
xor esi, esi
mov word [r15 + rbx], si
jmp 0x140007dbe
movabs rdi, 0x7ffffffffffffffe
cmp rbx, rdi
ja 0x140008048
mov rcx, rbx
or rcx, 7
cmp rcx, rdi
ja 0x140007d35
mov rdx, rsi
shr rdx, 1
mov rax, rdi
sub rax, rdx
cmp rsi, rax
ja 0x140007d35
lea rax, [rsi + rdx]
mov rdi, rcx
cmp rcx, rax
cmovb rdi, rax
lea rax, [rdi + 1]
mov qword [rbp - 0x29], rax
lea rdx, [rbp - 0x29]
mov rcx, r15
call fcn.14000e280
mov r15, rax
mov qword [rbp - 0x29], rdi
mov qword [0x14008fe00], rbx
mov qword [0x14008fe08], rdi
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rax
call fcn.14006c700
xor eax, eax
mov word [r15 + rbx], ax
cmp rsi, 7
jbe 0x140007db5
lea rdx, [rsi*2 + 2]
mov rcx, qword [0x14008fdf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007db0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008031
call fcn.140045b20
xor esi, esi
mov qword [0x14008fdf0], r15
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov qword [rbp + 0x1f], rsi
lea rdx, [rbp + 0xf]
call fcn.140006b60
test eax, eax
je 0x140007ed9
mov r15, qword [rbp + 0x17]
mov rbx, qword [rbp + 0xf]
cmp rbx, r15
je 0x140007ed9
nop dword [rax]
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
sub rax, rcx
sar rax, 5
cmp rax, 0xb
jb 0x140007eca
lea rax, [rcx + 0x60]
cmp qword [rax + 0x18], 7
jbe 0x140007e16
mov rax, qword [rax]
lea r9, [rcx + 0x40]
cmp qword [r9 + 0x18], 7
jbe 0x140007e24
mov r9, qword [r9]
lea r8, [rcx + 0x20]
cmp qword [r8 + 0x18], 7
jbe 0x140007e32
mov r8, qword [r8]
lea r14, [rcx + 0xe0]
mov rdx, rcx
cmp qword [rcx + 0x18], 7
jbe 0x140007e46
mov rdx, qword [rcx]
lea rsi, [rcx + 0x120]
cmp qword [rsi + 0x18], 7
jbe 0x140007e57
mov rsi, qword [rsi]
lea rdi, [rcx + 0x140]
cmp qword [rdi + 0x18], 7
jbe 0x140007e68
mov rdi, qword [rdi]
lea r11, [rcx + 0x100]
cmp qword [r11 + 0x18], 7
jbe 0x140007e79
mov r11, qword [r11]
cmp qword [r14 + 0x18], 7
jbe 0x140007e83
mov r14, qword [r14]
lea r10, [rcx + 0xa0]
cmp qword [r10 + 0x18], 7
jbe 0x140007e94
mov r10, qword [r10]
sub rcx, 0xffffffffffffff80
cmp qword [rcx + 0x18], 7
jbe 0x140007ea2
mov rcx, qword [rcx]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
call fcn.1400150c0
add rbx, 0x18
cmp rbx, r15
jne 0x140007df0
xor esi, esi
test r13, r13
jne 0x140007ef2
mov rcx, qword [0x14008fa38]
test rcx, rcx
je 0x140007f04
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x140007f04
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [0x14008fb90]
xor r9d, r9d
lea edx, [r9 + 0xb]
lea r8d, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rbx, qword [0x14008fb98]
xor r9d, r9d
lea edx, [r9 + 0xb]
lea r8d, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_InvalidateRect]
nop
mov rbx, qword [rbp + 0xf]
test rbx, rbx
je 0x140007fe4
mov rdi, qword [rbp + 0x17]
cmp rbx, rdi
je 0x140007f85
nop dword [rax]
mov rcx, rbx
call fcn.14000d6c0
add rbx, 0x18
cmp rbx, rdi
jne 0x140007f70
mov rbx, qword [rbp + 0xf]
mov rcx, qword [rbp + 0x1f]
sub rcx, rbx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, rbx
cmp rdx, 0x1000
jb 0x140007fd0
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008031
mov rcx, rbx
call fcn.140045b20
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], rsi
mov rdx, qword [rbp - 0x21]
mov rdx, qword [rdx]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], r12d
sub r12d, 1
jg 0x140008004
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400454d0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14004cd2c
nop
mov ecx, 0x80004005
call fcn.140002830
nop
call fcn.14004cd2c
int3
call fcn.140003240
int3