Function at 0x1800a5480
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov r12, r8
mov r15, rdx
mov rbx, rcx
xor edi, edi
mov esi, edi
mov qword [rax - 0x80], rdi
mov r13d, edi
mov qword [rax - 0x78], rdi
mov qword [rsp + 0x40], rdi
lea edx, [rdi + 1]
lea rcx, [rax - 0x58]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
lea rcx, [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [rsp + 0x68], Ordinal_27
lea rax, [rsp + 0x80]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], edi
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1800a553a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, r15
lea rdx, str.CreateMutex_:_s_failed:_d_n
lea ecx, [rdi + 8]
call fcn.1800a2ba0
jmp 0x1800a575a
mov edx, reloc.WLDAP32.dll_Ordinal_50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800a556e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, rbx
lea rdx, str.WaitForSingleObject_:_s_failured_:_d_n
mov ecx, 8
call fcn.1800a2ba0
jmp 0x1800a575a
mov r8, rbx
xor edx, edx
mov ecx, 0xf001f
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov r13, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x1800a55ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, rbx
lea rdx, str.OpenFileMapping_:_s_failured_:_d_n
lea ecx, [r13 + 8]
call fcn.1800a2ba0
jmp 0x1800a575a
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x1800a55f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, rbx
lea rdx, str.MapViewOfFile_:_s_failed__n
lea ecx, [rsi + 8]
call fcn.1800a2ba0
jmp 0x1800a575a
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rsi
mov r14d, dword [rax]
lea rbx, [rax + 4]
mov qword [rsp + 0x30], rbx
mov ecx, edi
mov dword [rsp + 0x48], ecx
cmp ecx, r14d
jge 0x1800a562e
movsxd rax, dword [rbx]
mov dword [rsp + 0x38], eax
add rbx, 4
mov qword [rsp + 0x30], rbx
add rbx, rax
mov qword [rsp + 0x30], rbx
inc ecx
jmp 0x1800a5609
movsxd rdx, dword [rsp + 0x100]
mov r12d, edx
mov dword [rsp + 0x38], edx
mov ecx, esi
sub ecx, ebx
add ecx, 0xa00000
lea eax, [rdx + 4]
cmp eax, ecx
jg 0x1800a5682
mov dword [rbx], edx
add rbx, 4
mov qword [rsp + 0x30], rbx
mov rdi, rdx
mov r8, rdx
mov rdx, qword [rsp + 0xf8]
mov rcx, rbx
call fcn.18020cd80
add rbx, rdi
mov qword [rsp + 0x30], rbx
inc r14d
mov dword [rsi], r14d
jmp 0x1800a574d
sub ebx, esi
lea r9d, [rdx - 0x9ffffc]
add r9d, ebx
lea rdx, [rsi + 4]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x4c], edi
mov r15d, r14d
mov dword [rsp + 0x3c], r14d
mov r8d, edi
mov dword [rsp + 0x50], edi
nop word [rax + rax]
cmp r8d, r14d
jge 0x1800a56fb
movsxd r12, dword [rdx]
mov dword [rsp + 0x38], r12d
add rdx, 4
mov qword [rsp + 0x30], rdx
add rdx, r12
mov qword [rsp + 0x30], rdx
dec r15d
mov dword [rsp + 0x3c], r15d
lea rcx, [rdi + 4]
add rcx, r12
mov edi, ecx
mov dword [rsp + 0x4c], ecx
mov rcx, rdx
sub rcx, rsi
movsxd rax, r9d
cmp rcx, rax
jg 0x1800a56fb
inc r8d
mov dword [rsp + 0x50], r8d
jmp 0x1800a56b0
movsxd rbx, ebx
mov r8, rbx
sub r8, rdx
add r8, rsi
lea rcx, [rsi + 4]
call fcn.18020cd80
movsxd rax, edi
sub rbx, rax
add rbx, rsi
mov qword [rsp + 0x30], rbx
mov dword [rbx], r12d
add rbx, 4
mov qword [rsp + 0x30], rbx
movsxd r8, dword [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
mov rcx, rbx
call fcn.18020cd80
inc r15d
mov dword [rsp + 0x3c], r15d
mov dword [rsi], r15d
mov r12, qword [rsp + 0xf0]
mov r14, qword [rsp + 0x40]
test rsi, rsi
je 0x1800a5768
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test r13, r13
je 0x1800a5776
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x1800a578d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call fcn.1800a1bd0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret