Function at 0x4892e0
Capabilities:
Check mutex on windows

Disassembly:
cmp byte [0x54a134], 0
je 0x489656
push ebx
push ebp
push esi
push 0
push 0x51dcc4
call fcn.00404690
add esp, 4
push eax
call dword [0x5385f0]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov bl, 1
cmp esi, 0xffffffff
jne 0x48931c
call ebp
cmp eax, 5
jne 0x489346
push 0x51dcb4
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
cmp esi, 0xffffffff
je 0x489340
push esi
call dword [0x5385f4]
mov byte [0x53ce8e], bl
push 0
push 0x51dca0
call fcn.00404690
add esp, 4
push eax
call dword [0x5385f0]
mov esi, eax
cmp esi, 0xffffffff
jne 0x48936a
call ebp
cmp eax, 5
jne 0x489394
push 0x51dc90
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
cmp esi, 0xffffffff
je 0x48938e
push esi
call dword [0x5385f4]
mov byte [0x53ce8e], bl
push 0
push 0x51dc7c
call fcn.00404690
add esp, 4
push eax
call dword [0x5385f0]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4893b8
call ebp
cmp eax, 5
jne 0x4893e2
push 0x51dc6c
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
cmp esi, 0xffffffff
je 0x4893dc
push esi
call dword [0x5385f4]
mov byte [0x53ce8e], bl
push 0
push 0x51dc5c
call fcn.00404690
add esp, 4
push eax
call dword [0x5385f0]
mov esi, eax
cmp esi, 0xffffffff
jne 0x489406
call ebp
cmp eax, 5
jne 0x489430
push 0x51dc48
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
cmp esi, 0xffffffff
je 0x48942a
push esi
call dword [0x5385f4]
mov byte [0x53ce8e], bl
push 0
push 0x51dc34
call fcn.00404690
add esp, 4
push eax
call dword [0x5385f0]
mov esi, eax
cmp esi, 0xffffffff
jne 0x489454
call ebp
cmp eax, 5
jne 0x48947e
push 0x51dc20
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
cmp esi, 0xffffffff
je 0x489478
push esi
call dword [0x5385f4]
mov byte [0x53ce8e], bl
push 0
push 0x51dc10
call fcn.00404690
add esp, 4
push eax
call dword [0x5385f0]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4894a2
call ebp
cmp eax, 5
jne 0x4894cc
push 0x51dbfc
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
cmp esi, 0xffffffff
je 0x4894c6
push esi
call dword [0x5385f4]
mov byte [0x53ce8e], bl
push 0
push 0x51dbe8
call fcn.00404690
add esp, 4
push eax
call dword [0x5385f0]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4894f0
call ebp
cmp eax, 5
jne 0x48951a
push 0x51dbd4
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
cmp esi, 0xffffffff
je 0x489514
push esi
call dword [0x5385f4]
mov byte [0x53ce8f], bl
push edi
push 0x51c688
call fcn.00404690
add esp, 4
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
test esi, esi
je 0x489563
push 0x51c688
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
push esi
mov byte [0x53cee1], bl
call edi
push 0
push 0x51dbc4
call fcn.00404690
add esp, 4
push eax
call dword [0x5385f0]
mov esi, eax
cmp esi, 0xffffffff
jne 0x489587
call ebp
cmp eax, 5
jne 0x4895b1
push 0x51dbb4
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
cmp esi, 0xffffffff
je 0x4895ab
push esi
call dword [0x5385f4]
mov byte [0x53cee2], bl
push 0
push 0x51dba4
call fcn.00404690
add esp, 4
push eax
call dword [0x5385f0]
cmp eax, 0xffffffff
jne 0x4895d5
call ebp
cmp eax, 5
jne 0x4895fa
jmp 0x4895dc
push eax
call dword [0x5385f4]
push 0x51db90
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov byte [0x53cee3], bl
cmp dword [0x537c18], 0
je 0x489652
cmp dword [0x537f30], 0
jne 0x489652
push 0x51db80
call fcn.00404690
add esp, 4
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x489631
call ebp
cmp eax, 5
jne 0x489652
jmp 0x489634
push eax
call edi
push 0x51db70
call fcn.00404690
push eax
push 0x527e20
call fcn.00401350
add esp, 0xc
mov byte [0x53cee4], bl
pop edi
pop esi
pop ebp
pop ebx
ret