Function at 0x18003ea40
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1801044f8]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r15d, r15d
mov dword [rbp - 0x59], r15d
lea rdx, str.glPixelStorei
lea rcx, str.opengl32.dll
call fcn.180064830
mov r14, rax
lea rdx, str.glReadBuffer
lea rcx, str.opengl32.dll
call fcn.180064830
mov rbx, rax
lea rdx, str.glGetIntegerv
lea rcx, str.opengl32.dll
call fcn.180064830
mov rdi, rax
lea rdx, str.glReadPixels
lea rcx, str.opengl32.dll
call fcn.180064830
mov r12, rax
test r14, r14
je 0x18003edcd
test rbx, rbx
je 0x18003edcd
test rdi, rdi
je 0x18003edcd
test rax, rax
je 0x18003edcd
lea rdx, [rbp - 0x29]
mov rcx, qword [0x180107f00]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x21]
sub eax, dword [rbp - 0x29]
mov dword [rbp - 0x51], eax
mov eax, dword [rbp - 0x1d]
sub eax, dword [rbp - 0x25]
mov dword [rbp - 0x55], eax
mov esi, 1
mov edx, esi
mov ecx, 0xd05
call r14
mov edx, esi
mov ecx, 0xcf5
call r14
mov ecx, 0x404
call rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov r13d, r15d
mov dword [rbp - 0x39], r15d
mov ebx, r15d
mov qword [rbp - 0x31], rbx
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
lea rdx, [0x180107f10]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x18003eb70
lea rcx, [rbp + 7]
call fcn.18002fd30
nop
mov dword [rbp - 0x59], esi
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae r8, qword [rbp + 7]
xor edx, edx
mov ecx, 0xf001f
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov r14, rax
test rax, rax
je 0x18003ec3b
mov qword [rbp - 0x49], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r15, rax
mov qword [rbp - 0x41], rax
mov r13d, esi
mov dword [rbp - 0x39], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
lea rdx, [0x180108110]
nop
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x18003ebf0
mov r8, rdi
lea rcx, [rbp - 0x19]
call fcn.18002fd30
nop
mov esi, 3
mov dword [rbp - 0x59], esi
lea r8, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae r8, qword [rbp - 0x19]
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
je 0x18003ec43
mov rbx, rax
mov qword [rbp - 0x31], rax
mov dil, 1
jmp 0x18003ec46
mov r15, qword [rbp - 0x41]
mov r14, qword [rbp - 0x49]
xor dil, dil
test sil, 2
je 0x18003eca5
and esi, 0xfffffffd
mov dword [rbp - 0x59], esi
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x18003ec92
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003ec8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003ee09
call fcn.180093588
movdqa xmm0, xmmword [0x1800ce060]
movdqu xmmword [rbp - 9], xmm0
xor eax, eax
mov word [rbp - 0x19], ax
test sil, 1
je 0x18003ed06
and esi, 0xfffffffe
mov dword [rbp - 0x59], esi
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x18003ecf1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003ecec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003ee03
call fcn.180093588
movdqa xmm0, xmmword [0x1800ce060]
movdqu xmmword [rbp + 0x17], xmm0
xor esi, esi
mov word [rbp + 7], si
jmp 0x18003ed08
xor esi, esi
test dil, dil
je 0x18003ed83
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, dword [rbp - 0x55]
mov r8d, dword [rbp - 0x51]
mov rdx, qword [0x180107f00]
mov rcx, r15
call fcn.18003e9a0
lea rax, [r15 + 0x1c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1401
mov dword [rsp + 0x20], 0x80e1
mov r9d, dword [rbp - 0x55]
mov r8d, dword [rbp - 0x51]
xor edx, edx
xor ecx, ecx
call r12
test rbx, rbx
jne 0x18003ed76
lea r8d, [rbx + 0x33]
lea rdx, str.D:gitoplibop_backgroundHook.._.._include_promutex.h
lea rcx, str._hmutex
call fcn.18009c514
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor esi, esi
jmp 0x18003ed89
mov dword [0x180108318], esi
test rbx, rbx
je 0x18003eda4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x31], rsi
test r13d, r13d
je 0x18003edb2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test r14, r14
je 0x18003edc0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x49], rsi
mov dword [rbp - 0x39], esi
mov qword [rbp - 0x41], rsi
jmp 0x18003edd4
mov dword [0x180108318], r15d
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180093c30
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18009a4c4
nop
call fcn.18009a4c4
int3