Function at 0x140082110
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r15
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402bb010]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rcx], rsi
lea rdi, [0x1402c0608]
mov r8, rdi
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae r8, qword [0x1402c0608]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx], rax
test rax, rax
jne 0x1400821b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400821b4
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdi, qword [0x1402c0608]
mov r8, rdi
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov qword [rbx], rax
mov rcx, qword [rbx]
lea r15, [0x140227eb8]
lea r12, [0x140227c80]
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
test rcx, rcx
jne 0x140082335
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x80]
call fcn.1401706d2
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r12
lea rcx, [rbp + 0x18]
call qword [0x1401a9250]
nop
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x80]
call qword [0x1401a91b0]
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], rdi
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x7c], edx
mov edx, 3
lea rcx, [rbp - 0x68]
call fcn.140057c70
nop
lea rdx, str.signinapp_MutexLock_Init_Failed_
lea rcx, [rbp - 0x70]
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5868]
call fcn.140058ba0
mov rcx, rax
lea rdx, str.SigninAppMutexLock::SigninAppMutexLock
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5844]
call fcn.140058ba0
mov rcx, rax
mov edx, 0x120
call qword [0x1401a9130]
mov rcx, rax
lea rdx, [0x1401b5840]
call fcn.140058ba0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.140057bc0
mov esi, 3
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
lea r8d, [rsi + 8]
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x28]
call fcn.140047980
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call qword [0x1401a9e90]
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], rdi
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x68]
call fcn.140055cb0
lea rcx, [rbp - 0x60]
call qword [0x1401a9120]
lea rcx, [rbp + 0x18]
call qword [0x1401a9198]
mov rcx, qword [rbx]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400824a6
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x80]
call fcn.1401706d2
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r12
lea rcx, [rbp + 0x18]
call qword [0x1401a9250]
nop
or esi, 4
mov dword [rsp + 0x20], esi
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x80]
call qword [0x1401a91b0]
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], rdi
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0x98]
mov dword [rsp + rcx + 0x7c], r8d
mov edx, 3
lea rcx, [rbp - 0x68]
call fcn.140057c70
nop
lea rdx, str.signinapp_MutexLock_Lock_Failed_
lea rcx, [rbp - 0x70]
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5868]
call fcn.140058ba0
mov rcx, rax
lea rdx, str.SigninAppMutexLock::Lock
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5844]
call fcn.140058ba0
mov rcx, rax
mov edx, 0x134
call qword [0x1401a9130]
mov rcx, rax
lea rdx, [0x1401b5840]
call fcn.140058ba0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.140057bc0
nop
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov r8d, SHCreateMemStream
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x28]
call fcn.140047980
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call qword [0x1401a9e90]
nop
mov rcx, qword [rbp - 0x80]
movsxd rdx, dword [rcx + 4]
mov qword [rbp + rdx - 0x80], rdi
mov rcx, qword [rbp - 0x80]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x7c], r8d
lea rcx, [rbp - 0x68]
call fcn.140055cb0
lea rcx, [rbp - 0x60]
call qword [0x1401a9120]
lea rcx, [rbp + 0x18]
call qword [0x1401a9198]
mov rax, rbx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14016ee40
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r12
pop rbp
ret