Function at 0x10000a3d0
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0xc0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov r13, r8
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
cmp r8, rbx
jne 0x10000a410
lea ecx, [rbx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x10000a60a
lea r8, [0x100002280]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov r12, rax
mov qword [rsp + 0xf0], rax
cmp rax, rbx
jne 0x10000a43b
xor eax, eax
jmp 0x10000a60a
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xb7
jne 0x10000a453
or edx, 0xffffffff
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp qword [rsi], rbx
jne 0x10000a58c
xor edx, edx
lea rcx, [rsp + 0x78]
call qword [sym.imp.unbcl.dll_public:_void___cdecl_UnBCL::SmartPtr_class_UnBCL::String_::constructor_class_UnBCL::String____ptr64____ptr64]
nop
cmp rdi, rbx
jne 0x10000a54b
lea rcx, [rsp + 0x88]
call fcn.10000a95c
nop
lea rcx, [rsp + 0x88]
call fcn.10000aad0
mov rdx, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.unbcl.dll_public:_void___cdecl_UnBCL::SmartPtr_class_UnBCL::String_::constructor_class_UnBCL::String____ptr64____ptr64]
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call qword [sym.imp.unbcl.dll_public:_class_UnBCL::SmartPtr_class_UnBCL::String_____ptr64___cdecl_UnBCL::SmartPtr_class_UnBCL::String_::operator_class_UnBCL::SmartPtr_class_UnBCL::String__const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.unbcl.dll_public_virtual:_void___cdecl_UnBCL::SmartPtr_class_UnBCL::String_::destructor_void____ptr64]
lea rdx, [0x1000033b8]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.unbcl.dll_public:_void___cdecl_UnBCL::String::constructor_unsigned_short_int_const____ptr64____ptr64]
mov rdi, rax
lea rcx, [rsp + 0x78]
call qword [sym.imp.unbcl.dll_public:_class_UnBCL::String____ptr64___cdecl_UnBCL::SmartPtr_class_UnBCL::String_::get_P_void_const___ptr64]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.unbcl.dll_public:_static_class_UnBCL::String____ptr64___cdecl_UnBCL::Path::Combine_class_UnBCL::String_const____ptr64__class_UnBCL::String_const____ptr64_]
mov rdx, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.unbcl.dll_public:_void___cdecl_UnBCL::SmartPtr_class_UnBCL::String_::constructor_class_UnBCL::String____ptr64____ptr64]
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call qword [sym.imp.unbcl.dll_public:_class_UnBCL::SmartPtr_class_UnBCL::String_____ptr64___cdecl_UnBCL::SmartPtr_class_UnBCL::String_::operator_class_UnBCL::SmartPtr_class_UnBCL::String__const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.unbcl.dll_public_virtual:_void___cdecl_UnBCL::SmartPtr_class_UnBCL::String_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.unbcl.dll_public_virtual:_void___cdecl_UnBCL::String::destructor_void____ptr64]
lea rcx, [rsp + 0x78]
call qword [sym.imp.unbcl.dll_public:_class_UnBCL::String____ptr64___cdecl_UnBCL::SmartPtr_class_UnBCL::String_::operator___void_const___ptr64]
mov rcx, rax
call qword [sym.imp.unbcl.dll_public:_unsigned_short_int_const____ptr64___cdecl_UnBCL::String::get_CString_void_const___ptr64]
mov rdi, rax
lea rcx, [rsp + 0x88]
call fcn.10000a9f4
cmp rdi, rbx
je 0x10000a57f
mov ecx, 0x50
call qword [sym.imp.unbcl.dll_public:_static_void____ptr64___cdecl_UnBCL::Object::operator_new_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x68], rax
cmp rax, rbx
je 0x10000a573
xor r9d, r9d
mov r8, r13
mov rdx, rdi
mov rcx, rax
call fcn.10000af60
jmp 0x10000a576
mov rax, rbx
mov qword [rsi], rax
cmp rax, rbx
setne bl
lea rcx, [rsp + 0x78]
call qword [sym.imp.unbcl.dll_public_virtual:_void___cdecl_UnBCL::SmartPtr_class_UnBCL::String_::destructor_void____ptr64]
jmp 0x10000a5f5
call sub.KERNEL32.dll_GetLastError
mov edi, eax
call sub.WDSCORE.dll_CurrentIP
mov rsi, rax
lea rdx, [0x1000034b0]
mov ecx, 0x20001aa
call fcn.1000092e8
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], rsi
lea rcx, [0x1000033d0]
mov qword [rsp + 0x30], rcx
lea rcx, [0x100003440]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x77
xor r9d, r9d
lea r8, [0x100001e78]
mov edx, 0x64000
mov rcx, rax
call sub.WDSCORE.dll_WdsSetupLogMessageW
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, ebx
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r13
pop r12
pop rdi
ret