Function at 0x488f81
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5295d3
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x5770a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd8], ecx
and dword [ebp - 0x124], 0
mov byte [ebp - 0xd1], 0
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x28], 0
jne 0x489423
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x2c], 0
jne 0x489423
lea ecx, [ebp - 0x28]
call fcn.0040b2fe
and dword [ebp - 4], 0
push dword [ebp + 8]
lea eax, [ebp - 0xd0]
push eax
call fcn.004823a4
pop ecx
pop ecx
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 1
push dword [ebp - 0xe8]
lea ecx, [ebp - 0x28]
call fcn.0041dc17
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
call fcn.0040a62b
mov byte [ebp - 4], 3
mov byte [ebp - 4], 0
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x128], eax
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
mov byte [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
push 0x5413d4
lea eax, [ebp - 0xb8]
push eax
call fcn.00425f4c
add esp, 0xc
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 6
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x28]
call fcn.0041dc17
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb8]
call fcn.0040a62b
mov byte [ebp - 4], 8
mov byte [ebp - 4], 0
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 9
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x28]
call fcn.0040a5f1
mov dword [ebp - 0xf4], eax
push dword [ebp - 0xf4]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0xd8]
mov dword [ecx + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x28], 0
jne 0x48912e
mov ecx, dword [ebp + 8]
call fcn.0040a5f1
mov dword [ebp - 0xf8], eax
push dword [ebp - 0xf8]
lea ecx, [ebp - 0x28]
call fcn.0040a5f1
push eax
push 0x541408
call fcn.0046c5d3
add esp, 0xc
jmp 0x48916f
cmp dword [ebp - 0xdc], 0xb7
jne 0x48916f
mov ecx, dword [ebp + 8]
call fcn.0040a5f1
mov dword [ebp - 0xfc], eax
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x28]
call fcn.0040a5f1
push eax
push str.UpdateProcessor::CreateUpdateMutex____create_mutex:__s_failed__tclsPath:__s
call fcn.0046c5d3
add esp, 0xc
mov ecx, dword [ebp - 0xd8]
call fcn.0048945f
lea ecx, [ebp - 0x40]
call fcn.0040b2fe
mov byte [ebp - 4], 0xb
push dword [ebp + 8]
lea eax, [ebp - 0xa0]
push eax
call fcn.004815a2
pop ecx
pop ecx
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 0xc
push str._temp_loader
push dword [ebp - 0x118]
lea eax, [ebp - 0x58]
push eax
call fcn.0046403d
add esp, 0xc
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xa0]
call fcn.0040a62b
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004823a4
pop ecx
pop ecx
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 0x13
push dword [ebp - 0x110]
lea ecx, [ebp - 0x40]
call fcn.0041dc17
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x88]
call fcn.0040a62b
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x88]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x40]
push eax
push str.TCLSHOST_UPDATE_MUTEX_
lea eax, [ebp - 0x70]
push eax
call fcn.00425f4c
add esp, 0xc
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 0x18
push dword [ebp - 0x108]
lea ecx, [ebp - 0x40]
call fcn.0041dc17
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x70]
call fcn.0040a62b
mov byte [ebp - 4], 0x1a
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x70]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 0x1b
mov byte [ebp - 4], 0x1c
mov byte [ebp - 4], 0xe
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x40]
call fcn.0040a5f1
mov dword [ebp - 0x104], eax
push dword [ebp - 0x104]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0xd8]
mov dword [ecx + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x2c], 0
jne 0x489322
lea ecx, [ebp - 0x58]
call fcn.0040a5f1
mov dword [ebp - 0x120], eax
push dword [ebp - 0x120]
lea ecx, [ebp - 0x40]
call fcn.0040a5f1
push eax
push 0x541568
call fcn.0046c5d3
add esp, 0xc
jmp 0x489363
cmp dword [ebp - 0xdc], 0xb7
jne 0x489363
lea ecx, [ebp - 0x58]
call fcn.0040a5f1
mov dword [ebp - 0x100], eax
push dword [ebp - 0x100]
lea ecx, [ebp - 0x40]
call fcn.0040a5f1
push eax
push str.UpdateProcessor::CreateUpdateMutex____create_mutex:__s_failed__tempLoaderPath:__s
call fcn.0046c5d3
add esp, 0xc
mov ecx, dword [ebp - 0xd8]
call fcn.0048945f
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x28], 0
je 0x489387
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x2c], 0
je 0x489387
mov dword [ebp - 0xe0], 1
jmp 0x48938e
and dword [ebp - 0xe0], 0
mov al, byte [ebp - 0xe0]
mov byte [ebp - 0xd1], al
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x58]
call fcn.0040a62b
mov byte [ebp - 4], 0x1e
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x58]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 0x1f
mov byte [ebp - 4], 0x20
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x40]
call fcn.0040a62b
mov byte [ebp - 4], 0x22
mov byte [ebp - 4], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 0x23
mov byte [ebp - 4], 0x24
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0x25
lea ecx, [ebp - 0x28]
call fcn.0040a62b
mov dword [ebp - 4], 0x26
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 0x27
mov dword [ebp - 4], 0x28
or dword [ebp - 4], 0xffffffff
jmp 0x48942a
mov byte [ebp - 0xd1], 1
movzx eax, byte [ebp - 0xd1]
test eax, eax
jne 0x489440
mov ecx, dword [ebp - 0xd8]
call fcn.0048945f
mov al, byte [ebp - 0xd1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad99f
leave
ret 4