Function at 0x18003e150
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1801044f8]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rcx
xor r13d, r13d
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x60], r13
mov rax, qword [rcx]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [rax + SysAllocStringByteLen]
mov r14d, eax
test eax, eax
js 0x18003e53b
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
call qword [rax + 0x60]
mov r14d, eax
test eax, eax
js 0x18003e53b
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x68], r13
mov rax, qword [rbx]
mov r10, qword [rax + 0xb8]
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 2
mov eax, dword [rbp - 0x20]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r13d
mov esi, 1
mov r9d, esi
mov r8d, dword [rbp - 4]
mov edx, dword [rbp - 8]
mov rcx, rbx
call r10
mov r14d, eax
test eax, eax
js 0x18003e519
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
xor edx, edx
call qword [rax + SysAllocStringByteLen]
mov r14d, eax
test eax, eax
js 0x18003e519
mov rax, qword [rbx]
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rcx, rbx
call qword [rax + 0x100]
mov r14d, eax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 0x10
xor r9d, r9d
lea r8, [rbp - 0x70]
xor edx, edx
call qword [rax + 0x98]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov r12d, r13d
mov dword [rbp - 0x80], r13d
mov ebx, r13d
mov qword [rbp - 0x78], rbx
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
lea rdx, [0x180107f10]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x18003e2c0
lea rcx, [rbp - 0x40]
call fcn.18002fd30
nop
mov dword [rsp + 0x50], esi
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r8, qword [rbp - 0x40]
xor edx, edx
mov ecx, 0xf001f
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov r15, rax
test rax, rax
je 0x18003e38e
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r13, rax
mov qword [rsp + 0x78], rax
mov r12d, esi
mov dword [rbp - 0x80], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rdx, [0x180108110]
inc rdi
cmp word [rdx + rdi*2], 0
jne 0x18003e342
mov r8, rdi
lea rcx, [rbp - 0x60]
call fcn.18002fd30
nop
mov esi, 3
mov dword [rsp + 0x50], esi
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 0x60]
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
je 0x18003e398
mov rbx, rax
mov qword [rbp - 0x78], rax
mov dil, 1
jmp 0x18003e39b
mov r13, qword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
xor dil, dil
test sil, 2
je 0x18003e3fb
and esi, 0xfffffffd
mov dword [rsp + 0x50], esi
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x18003e3e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003e3e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003e581
call fcn.180093588
movdqa xmm0, xmmword [0x1800ce060]
movdqu xmmword [rbp - 0x50], xmm0
xor eax, eax
mov word [rbp - 0x60], ax
test sil, 1
je 0x18003e45d
and esi, 0xfffffffe
mov dword [rsp + 0x50], esi
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x18003e448
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003e443
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003e57b
call fcn.180093588
movdqa xmm0, xmmword [0x1800ce060]
movdqu xmmword [rbp - 0x30], xmm0
xor esi, esi
mov word [rbp - 0x40], si
jmp 0x18003e45f
xor esi, esi
test dil, dil
je 0x18003e4c4
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, dword [rbp - 4]
mov r8d, dword [rbp - 8]
mov rdx, qword [0x180107f00]
mov rcx, r13
call fcn.18003e9a0
mov r8d, dword [rbp - 0x70]
imul r8d, dword [rbp - 4]
lea rcx, [r13 + 0x1c]
mov rdx, qword [rbp - 0x68]
call fcn.1800956b0
test rbx, rbx
jne 0x18003e4bb
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]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + QueryPathOfRegTypeLib]
nop
test rbx, rbx
je 0x18003e4f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x78], rsi
test r12d, r12d
je 0x18003e4fe
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test r15, r15
je 0x18003e50c
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x70], rsi
mov dword [rbp - 0x80], esi
mov qword [rsp + 0x78], rsi
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18003e52a
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18003e53b
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18003e54b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, r14d
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.180093c30
lea r11, [rsp + 0x110]
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
call fcn.18009a4c4
nop
call fcn.18009a4c4
int3