Function at 0x1800443d0
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
movaps xmmword [rax - 0x48], xmm6
mov rbx, r9
mov r12, rdx
mov r13, rcx
test rcx, rcx
je 0x180044936
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x180044936
test rdx, rdx
je 0x180044444
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x180044936
test rbx, rbx
je 0x180044936
mov r15d, dword [rsp + 0x190]
test r15d, r15d
jle 0x180044936
mov rbp, qword [rsp + 0x198]
test rbp, rbp
je 0x180044936
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x180044936
lea rcx, [rsp + 0x38]
call fcn.180001700
nop
lea rcx, [rsp + 0x30]
call fcn.180001700
nop
xor esi, esi
mov rdx, rbp
lea rcx, [rsp + 0x38]
call fcn.1800017e0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180002bf0
lea rdx, [0x180075b50]
lea rcx, [rsp + 0x38]
call fcn.180002c50
lea rdx, [0x180075b58]
lea rcx, [rsp + 0x30]
call fcn.180002c50
lea rcx, [rsp + 0x38]
call fcn.18000b4f0
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.180044280
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.180002bf0
nop
lea rcx, [rsp + 0x170]
call fcn.1800017c0
lea rcx, [rsp + 0x30]
call fcn.18000b4f0
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.180044280
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180002bf0
nop
lea rcx, [rsp + 0x170]
call fcn.1800017c0
lea rdx, [rsp + 0xf0]
test rdx, rdx
je 0x18004456f
xor r9d, r9d
lea r8, [rsp + 0xf8]
lea edx, [rsi + 1]
lea rcx, str.D:_D_OICI_GA___BG__D_OICI_GA___AN__A_OICI_GA___AU__A_OICI_GA___BA_
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
lea r8, [rsp + 0x38]
lea rdx, str.Global_
lea rcx, [rsp + 0xa0]
call fcn.180004d70
mov rcx, rax
call fcn.18000b4f0
mov r8, rax
xor edx, edx
lea rcx, [rsp + 0xf0]
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov r14, rax
lea rcx, [rsp + 0xa0]
call fcn.1800017c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
or edx, 0xffffffff
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [rsp + 0x30]
call fcn.18000b4f0
mov r8, rax
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x180044637
lea r8, [rsp + 0x30]
lea rdx, str.Global_
lea rcx, [rsp + 0xa8]
call fcn.180004d70
mov rcx, rax
call fcn.18000b4f0
mov r8, rax
xor edx, edx
lea ecx, [rdi + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdi, rax
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0xa8]
call fcn.1800017c0
test rdi, rdi
je 0x180044905
xor ebp, ebp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
lea edx, [rbp + 6]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1800448fc
lea rsi, [rax + 0x10]
mov edi, dword [rax + 8]
lea rcx, [rsp + 0x60]
call fcn.18000c5d0
nop
lea edx, [rbp + 1]
lea rcx, [rsp + 0x68]
call fcn.18000c140
mov rdx, rax
lea ecx, [rbp + 8]
call fcn.18000c4f0
test rax, rax
je 0x18004469c
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.18000c4c0
jmp 0x18004469f
mov rax, rbp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.180049c80
mov qword [rsp + 0x90], rax
mov byte [rax + 0x69], 1
mov rax, qword [rsp + 0x90]
mov qword [rax + 8], rax
mov rax, qword [rsp + 0x90]
mov qword [rax], rax
mov rax, qword [rsp + 0x90]
mov qword [rax + 0x10], rax
mov qword [rsp + 0x98], rbp
lea r8d, [rdi - 0x10]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.180047080
lea rcx, [rsp + 0x170]
call fcn.180001700
nop
lea r9, [rsp + 0x170]
mov r8, r12
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.180045f20
test eax, eax
jne 0x180044735
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x170]
call fcn.1800017e0
test r12, r12
jne 0x180044775
lea ebp, [r15 - 2]
xor r13d, r13d
mov edi, r13d
test ebp, ebp
cmovg edi, ebp
lea rcx, [rsp + 0x170]
call fcn.18000b500
cmp edi, eax
jge 0x180044764
mov esi, r13d
test ebp, ebp
cmovg esi, ebp
jmp 0x1800447ae
lea rcx, [rsp + 0x170]
call fcn.18000b500
mov esi, eax
jmp 0x1800447ae
lea ebp, [r15 - 1]
xor r13d, r13d
mov edi, r13d
test ebp, ebp
cmovg edi, ebp
lea rcx, [rsp + 0x170]
call fcn.18000b500
cmp edi, eax
jge 0x18004479f
mov esi, r13d
test ebp, ebp
cmovg esi, ebp
jmp 0x1800447ae
lea rcx, [rsp + 0x170]
call fcn.18000b500
mov esi, eax
movsxd rdi, esi
lea rbp, [rdi + rdi]
lea rcx, [rsp + 0x170]
call fcn.180003370
mov r8, rax
mov r9, rbp
mov rdx, rbp
mov rcx, rbx
call fcn.18004f95c
test r12, r12
jne 0x1800447f4
mov rax, r13
test esi, esi
jle 0x1800447f4
nop
cmp word [rbx + rax*2], 0xa
jne 0x1800447ec
mov word [rbx + rax*2], r13w
inc rax
cmp rax, rdi
jl 0x1800447e0
sub r15d, esi
movsxd r8, r15d
add r8, r8
lea rcx, [rbx + rbp]
xor edx, edx
call fcn.180051e50
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
lea rcx, [rsp + 0x170]
call fcn.1800017c0
nop
mov rdi, qword [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.1800033d0
mov qword [rsp + 0x58], rdi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.180003430
movaps xmm6, xmmword [rsp + 0x50]
mov rax, qword [rsp + 0x90]
mov rdi, qword [rax]
lea rcx, [rsp + 0xb0]
call fcn.1800033d0
mov qword [rsp + 0xb8], rdi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xb0]
call fcn.180003430
movdqa xmmword [rsp + 0xe0], xmm6
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0xd0], xmm0
lea r9, [rsp + 0xe0]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0x60]
call fcn.180049040
mov rcx, qword [rsp + 0x90]
call fcn.18004f750
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x98], r13
mov r8d, 1
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.180025750
lea rcx, [rsp + 0x60]
call fcn.18002acc0
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x18004491d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x30]
call fcn.1800017c0
nop
lea rcx, [rsp + 0x38]
call fcn.1800017c0
mov eax, esi
jmp 0x180044938
xor eax, eax
mov rbx, qword [rsp + 0x178]
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret