Function at 0x180071880
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x18009b1a0]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
cmp eax, 0x6a73b171
jne 0x1800718dd
lea r8, [0x18009ec88]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x70], rax
jmp 0x180071905
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009aa70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009aa70]
mov dword [rdx + rcx], eax
mov edx, 1
lea rcx, [rsp + 0xb8]
call fcn.1800368b0
call fcn.18006c820
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.18001eb20
nop
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x50], rax
mov r8, 0xffffffffffffffff
lea rdx, [0x18009eb68]
mov rcx, qword [rsp + 0x50]
call fcn.18001ec10
mov qword [rsp + 0x60], rax
xor r9d, r9d
lea r8, [0x18009eab8]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xb8]
call fcn.180028710
mov eax, 4
imul rax, rax, 3
lea rcx, [0x18009aa70]
mov eax, dword [rcx + rax]
add eax, 0x64f131c
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009aa70]
mov dword [rdx + rcx], eax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x58], rax
mov r8, 0xffffffffffffffff
lea rdx, [0x18009ed18]
mov rcx, qword [rsp + 0x58]
call fcn.18001ec10
mov qword [rsp + 0x68], rax
xor r9d, r9d
lea r8, [0x18009ecc8]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0xb8]
call fcn.180028710
mov eax, 3
mov word [rsp + 0x20], ax
movsx rax, word [rsp + 0x20]
lea rcx, [0x18009aa70]
cmp dword [rcx + rax*4], 1
jne 0x180071a23
movsx rax, word [rsp + 0x20]
lea rcx, [0x18009aa70]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x20]
lea rdx, [0x18009aa70]
mov dword [rdx + rcx*4], eax
mov edx, 1
lea rcx, [rsp + 0xd0]
call fcn.1800368b0
mov r8, 0xffffffffffffffff
mov rdx, qword [0x18009e5f8]
lea rcx, [rsp + 0xd0]
call fcn.18001ec10
nop
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0xd0]
call fcn.180027f00
lea rcx, [rsp + 0xb8]
call fcn.18000be20
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180071ae4
mov eax, 4
imul rax, rax, 1
lea rcx, [0x18009aa70]
mov eax, dword [rcx + rax]
xor eax, 0xfffff956
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x18009aa70]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x48], 0
lea rcx, [rsp + 0xd0]
call fcn.180013e90
nop
lea rcx, [rsp + 0xb8]
call fcn.180013e90
mov eax, dword [rsp + 0x48]
jmp 0x180071c36
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180071b40
cmp qword [0x1800e7720], 0
je 0x180071b0c
mov rcx, qword [rsp + 0x28]
call qword [0x1800e7720]
mov dword [rsp + 0x30], eax
jmp 0x180071b14
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 0
lea rcx, [rsp + 0xd0]
call fcn.180013e90
nop
lea rcx, [rsp + 0xb8]
call fcn.180013e90
mov eax, dword [rsp + 0x3c]
jmp 0x180071c36
mov rcx, qword [rsp + 0x100]
call fcn.180071c50
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
cmp eax, 0x25ba3ea1
jne 0x180071b7c
lea r8, [0x18009ef40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x78], rax
jmp 0x180071ba4
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x18009aa70]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x18009aa70]
mov dword [rdx + rcx], eax
cmp dword [rsp + 0x24], 0
jge 0x180071bd0
cmp qword [0x1800e7720], 0
je 0x180071bc6
mov rcx, qword [rsp + 0x28]
call qword [0x1800e7720]
mov dword [rsp + 0x38], eax
jmp 0x180071bce
mov dword [rsp + 0x38], 0
jmp 0x180071c0f
mov eax, 4
imul rax, rax, 2
lea rcx, [0x18009aa70]
mov eax, dword [rcx + rax]
xor eax, 0xfffff91c
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x18009aa70]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0xb8], rcx
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0xd0]
call fcn.180013e90
nop
lea rcx, [rsp + 0xb8]
call fcn.180013e90
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.18005afa0
add rsp, 0xf8
ret