Function at 0x1800269c0
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, rdx
mov rsi, rcx
xor r13d, r13d
mov dword [rbp - 0x39], r13d
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], r13
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], 7
mov word [rbp - 9], r13w
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
movdqa xmm1, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x19], xmm1
mov word [rbp - 0x29], r13w
mov r15d, 1
mov dword [rbp - 0x39], r15d
lea r12, [rdx + 0x10]
mov rdx, qword [r12]
add rdx, 0x11
lea rcx, [rbp - 0x29]
call fcn.18000b5c0
mov rcx, qword [rbp - 0x19]
mov rdx, qword [rbp - 0x11]
mov rax, rdx
sub rax, rcx
cmp rax, 0x11
jb 0x180026a99
lea rdi, [rcx + 0x11]
mov qword [rbp - 0x19], rdi
lea rbx, [rbp - 0x29]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x29]
lea rcx, [rbx + rcx*2]
lea r8d, [r13 + 0x22]
lea rdx, str.RCArchiveSession_
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r13w
jmp 0x180026ab9
mov qword [rsp + 0x20], 0x11
lea r9, str.RCArchiveSession_
xor r8d, r8d
lea edx, [r8 + 0x11]
lea rcx, [rbp - 0x29]
call fcn.180009e30
cmp qword [r14 + 0x18], 8
jb 0x180026ac3
mov r14, qword [r14]
mov rdx, qword [r12]
mov rcx, qword [rbp - 0x19]
mov r8, qword [rbp - 0x11]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x180026b06
lea rdi, [rcx + rdx]
mov qword [rbp - 0x19], rdi
lea rbx, [rbp - 0x29]
cmp r8, 8
cmovae rbx, qword [rbp - 0x29]
lea r8, [rdx + rdx]
lea rcx, [rbx + rcx*2]
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r13w
jmp 0x180026b1a
mov qword [rsp + 0x20], rdx
mov r9, r14
xor r8d, r8d
lea rcx, [rbp - 0x29]
call fcn.180009e30
lea rcx, [rbp - 9]
call fcn.180004e20
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rbp + 7], xmm1
movdqa xmm0, xmmword [0x1803e7600]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], r13w
and r15d, 0xfffffffe
mov dword [rbp - 0x39], r15d
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], r13w
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x180026b70
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0x80], r13
mov word [rsi + 0x88], 0
cmp qword [rbp + 7], 0
je 0x180026b90
lea r8, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae r8, qword [rbp - 9]
jmp 0x180026b93
mov r8, r13
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsi + 0x80], rax
test rax, rax
je 0x180026bbd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x180026bbd
mov byte [rsi + 0x89], 1
cmp qword [rsi + 0x80], 0
je 0x180026bd4
cmp byte [rsi + 0x89], 0
je 0x180026bd4
mov bl, 1
jmp 0x180026bd6
xor bl, bl
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x180026c19
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180026c14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180026c14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], 7
mov word [rbp - 9], r13w
movzx eax, bl
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1803868f0
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret