Function at 0x491080
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c59b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
push esi
push edi
push 1
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor ebx, ebx
push ebx
push ebx
push 1
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push 0xc
lea edx, [ebp - 0xd4]
mov edi, 0xf
push str._StartUpTool
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x34], 0xc
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
call fcn.00405440
push 6
push 0x610cc8
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
call fcn.00405440
push 0x68a4a8
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xa4]
push ecx
mov byte [ebp - 4], 1
call fcn.0041c8c0
lea edx, [ebp - 0x6c]
push edx
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 2
call fcn.0041c010
add esp, 0x18
mov esi, 0x10
cmp dword [ebp - 0x90], esi
jb 0x49115c
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.0052d217
add esp, 4
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0xa4], bl
cmp dword [ebp - 0x3c], esi
jb 0x49117f
mov edx, dword [ebp - 0x50]
push edx
call fcn.0052d217
add esp, 4
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x50], bl
mov byte [ebp - 4], 6
cmp dword [ebp - 0x58], esi
jb 0x49119d
mov eax, dword [ebp - 0x6c]
push eax
call fcn.0052d217
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
cmp dword [ebp - 0x14], esi
jae 0x4911b1
lea eax, [ebp - 0x28]
push eax
push ebx
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
cmp esi, ebx
jne 0x4911eb
cmp dword [ebp - 0x14], 0x10
jb 0x4911d5
mov edx, dword [ebp - 0x28]
push edx
call fcn.0052d217
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0xb7
jne 0x491227
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0x10
jb 0x4911d5
mov eax, dword [ebp - 0x28]
push eax
call fcn.0052d217
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 6
push 0x610cd0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], ebx
mov byte [ebp - 0x88], bl
call fcn.00405440
push 0x68a4a8
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0xc0]
push edx
mov byte [ebp - 4], 7
call fcn.0041c8c0
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.004012e0
mov esi, 0x10
cmp dword [ebp - 0xac], esi
jb 0x491293
mov eax, dword [ebp - 0xc0]
push eax
call fcn.0052d217
add esp, 4
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xb0], ebx
mov byte [ebp - 0xc0], bl
cmp dword [ebp - 0x74], esi
jb 0x4912b9
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.0052d217
add esp, 4
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], esi
jae 0x4912c4
lea eax, [ebp - 0x28]
push eax
push ebx
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x4912fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4912fc
lea ecx, [ebp - 0x28]
call fcn.004868c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x14], esi
jb 0x49130d
mov eax, dword [ebp - 0x28]
push eax
call fcn.0052d217
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 2
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret