Function at 0x18002b8f0
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
mov rax, qword [0x1800830b0]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0xc0]
mov rdi, rax
lea rsi, [rcx + 0x27ad48]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x20]
lea rcx, [rsp + 0x68]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xc8]
cmp qword [rax + 0x210], 0
je 0x18002b9cf
lea rcx, [rsp + 0x48]
call fcn.1800049b8
mov rax, qword [rsp + 0x48]
imul rax, rax, 0x3e8
movzx ecx, word [rsp + 0x50]
add rax, rcx
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x92860], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x218]
mov qword [rax + 0x92870], rcx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x210]
mov qword [rax + 0x92868], rcx
mov rax, qword [rsp + 0xc8]
cmp qword [rax + 0x198], 0
jne 0x18002b9e6
jmp 0x18002bcd9
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x27ad60], 0
jne 0x18002b9fd
jmp 0x18002bcd9
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0xd0], rax
jne 0x18002ba14
jmp 0x18002bcd9
mov edx, 0x64
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x27ad58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea r8, [0x18003fc48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x27ad58], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x198]
cmp qword [rax + 0x27ad40], rcx
jne 0x18002ba84
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x27ad38], 0
jne 0x18002bb47
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x27ad38], 0
je 0x18002babd
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x27ad38]
call fcn.180004b4c
mov rax, qword [rsp + 0xc0]
mov qword [rax + 0x27ad38], 0
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x198]
mov qword [rax + 0x27ad40], rcx
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x27ad40]
call fcn.180004750
mov rcx, qword [rsp + 0xc0]
mov qword [rcx + 0x27ad38], rax
mov dword [rsp + 0x58], 0
jmp 0x18002bb12
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xc0]
cmp rax, qword [rcx + 0x27ad40]
ja 0x18002bb42
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x27ad38]
mov byte [rax + rcx], 0
jmp 0x18002bb08
jmp 0x18002bcd9
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x60], rax
jmp 0x18002bb63
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x60], rax
ja 0x18002bb93
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x27ad38]
mov rcx, qword [rsp + 0x60]
movzx edx, byte [rsp + 0xe0]
mov byte [rax + rcx], dl
jmp 0x18002bb56
mov rax, qword [rsp + 0xc0]
movsxd rax, dword [rax + 0x928b0]
mov qword [rsp + 0x78], rax
xor edx, edx
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx + 0x27ad40]
mov rcx, qword [rsp + 0x78]
div rcx
pxor xmm0, xmm0
cvtsi2ss xmm0, rax
test rax, rax
jge 0x18002bbd6
addss xmm0, dword [0x18007e578]
movss dword [rsp + 0x34], xmm0
xor eax, eax
movss xmm0, dword [rsp + 0x34]
comiss xmm0, dword [0x18007e5c4]
jbe 0x18002bc0b
subss xmm0, dword [0x18007e5c4]
comiss xmm0, dword [0x18007e5c4]
jae 0x18002bc0b
movabs rcx, 0x8000000000000000
add rax, rcx
cvttss2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
xor edx, edx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x80]
div rcx
mov dword [rsp + 0x30], eax
xor eax, eax
movss xmm0, dword [rsp + 0x34]
comiss xmm0, dword [0x18007e5c4]
jbe 0x18002bc66
subss xmm0, dword [0x18007e5c4]
comiss xmm0, dword [0x18007e5c4]
jae 0x18002bc66
movabs rcx, 0x8000000000000000
add rax, rcx
cvttss2si rcx, xmm0
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
xor edx, edx
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x88]
div rcx
mov dword [rsp + 0x38], eax
mov r8d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
call fcn.180028910
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x27ad58]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rax, qword [rsp + 0xc0]
mov rdx, qword [rax + 0x27ad60]
mov rcx, qword [rsp + 0xc0]
call fcn.18002a500
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1800033c0
add rsp, 0xa8
pop rdi
pop rsi
ret