Function at 0x100727b0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10144c32
mov eax, dword fs:[0]
push eax
sub esp, 0x678
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.LoginAgent::Logout
lea ecx, [ebp - 0x54c]
call fcn.1000ab60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x56c]
push 0x2b
push str.Global0C5354C6_381F_4AED_A3BA_8DB8B9D7AB51
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x56c], 0
mov dword [ebp - 0x55c], 0
mov dword [ebp - 0x558], 7
call fcn.10002060
cmp dword [ebp - 0x558], 8
lea eax, [ebp - 0x56c]
mov dword [ebp - 0x14], 0
cmovae eax, dword [ebp - 0x56c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x56c]
call fcn.10002400
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x1007287a
mov eax, 0x1f
jmp 0x1007288a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
and eax, 0x1f
test eax, eax
sete byte [ebp - 0x18]
lea ecx, [ebp - 0xf8]
call fcn.1006e6e0
mov byte [ebp - 4], 3
call fcn.100e9270
test al, al
je 0x10072c20
cmp dword [ebp - 0xc8], 0
je 0x10072c20
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10002780
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x44], eax
mov al, byte [ebp - 0xdc]
mov byte [ebp - 0x40], al
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x3c]
call fcn.10002780
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x24], eax
mov al, byte [ebp - 0xbc]
mov byte [ebp - 0x20], al
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 6
call fcn.10069290
lea ecx, [ebp - 0xf8]
call fcn.100e9540
lea ecx, [ebp - 0x684]
call fcn.100feb80
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x620], 0
mov dword [ebp - 0x608], 0
mov dword [ebp - 0x5f0], 0
mov dword [ebp - 0x5d8], 0
mov dword [ebp - 0x5bc], 0
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x63c], 0xf
mov byte [ebp - 0x650], 0
mov dword [ebp - 0x628], 0
mov dword [ebp - 0x624], 0xf
mov byte [ebp - 0x638], 0
mov dword [ebp - 0x610], 0
mov dword [ebp - 0x60c], 0xf
mov byte [ebp - 0x620], 0
mov dword [ebp - 0x5f8], 0
mov dword [ebp - 0x5f4], 0xf
mov byte [ebp - 0x608], 0
mov dword [ebp - 0x5e0], 0
mov dword [ebp - 0x5dc], 0xf
mov byte [ebp - 0x5f0], 0
mov dword [ebp - 0x5c8], 0
mov dword [ebp - 0x5c4], 0xf
mov byte [ebp - 0x5d8], 0
mov byte [ebp - 0x5bf], 0
mov dword [ebp - 0x5ac], 0
mov dword [ebp - 0x5a8], 0xf
mov byte [ebp - 0x5bc], 0
mov byte [ebp - 0x58c], 0
mov byte [ebp - 0x570], 0
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 8
push ecx
mov ecx, eax
call fcn.100ff2b0
lea ecx, [ebp - 0x650]
call fcn.10071e10
lea ecx, [ebp - 0x668]
mov byte [ebp - 4], 6
call fcn.10002400
lea ecx, [ebp - 0x680]
call fcn.10002400
call fcn.100deed0
mov dword [ebp - 0x550], 5
lea esi, [eax + 0x68]
lea eax, [ebp - 0x550]
mov ecx, esi
push eax
lea eax, [ebp - 0x560]
push eax
call fcn.100e1770
mov edx, dword [ebp - 0x558]
cmp byte [edx + 0xd], 0
jne 0x10072aac
cmp dword [edx + 0x10], 5
jle 0x10072aae
mov edx, dword [esi]
cmp edx, dword [esi]
je 0x10072abf
add edx, 0x14
cmp dword [edx + 0x14], 0x10
jb 0x10072ac4
mov edx, dword [edx]
jmp 0x10072ac4
mov edx, 0x10164d88
mov ecx, edx
mov dword [ebp - 0x56c], 0
mov dword [ebp - 0x55c], 0
mov dword [ebp - 0x558], 0xf
mov byte [ebp - 0x56c], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10072af0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x56c]
call fcn.10002c70
sub esp, 0x20
mov byte [ebp - 4], 9
mov esi, esp
lea eax, [ebp - 0x5c]
mov ecx, esi
mov dword [ebp - 0x550], esi
push eax
call fcn.10002780
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x138]
movups xmm0, xmmword [ebp - 0x56c]
mov dword [esi + 0x18], eax
sub esp, 0x20
mov al, byte [ebp - 0x40]
mov byte [esi + 0x1c], al
mov eax, esp
mov byte [ebp - 0x56c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x55c]
movq qword [eax + 0x10], xmm0
mov dword [ebp - 0x55c], 0
mov dword [ebp - 0x558], 0xf
call fcn.100eb630
sub esp, 0x20
mov byte [ebp - 4], 0xb
mov esi, esp
lea eax, [ebp - 0x3c]
mov ecx, esi
mov dword [ebp - 0x550], esi
push eax
call fcn.10002780
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x138]
mov dword [esi + 0x18], eax
mov al, byte [ebp - 0x20]
mov byte [esi + 0x1c], al
lea eax, [ebp - 0x554]
push eax
call fcn.100ec040
call fcn.1006db40
lea ecx, [ebp - 0x138]
call fcn.1002e900
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x10072bea
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10072be0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10072cab
push edx
push ecx
call fcn.101157ed
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x10072c59
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10072c14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10072cab
push edx
push ecx
call fcn.101157ed
add esp, 8
jmp 0x10072c59
push str.LoginAgent::Logout
mov edx, 0x10
lea ecx, [ebp - 0x614]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 4
cmp byte [eax + 0x48], 0
je 0x10072c4e
mov edx, str.already_logout
mov ecx, eax
call fcn.10020800
lea ecx, [ebp - 0x614]
call fcn.1000ad70
lea ecx, [ebp - 0xf8]
call fcn.10069330
cmp byte [ebp - 0x18], 0
je 0x10072c78
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10072c86
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10072c86
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x54c]
call fcn.1000ac70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
call fcn.1011a6bf
int3