Function at 0x41e1a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f153
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x491d58]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x144], edi
mov esi, edx
call fcn.0041e0b0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [edi + 4]
push eax
mov dword [edi], vtable.iusl::GlobalMutex.0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x14], 8
jb 0x41e1fc
mov eax, dword [esi]
jmp 0x41e1fe
mov eax, esi
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x134], eax
cmp ecx, ebx
jne 0x41e34c
cmp eax, 5
jne 0x41e2cf
cmp dword [esi + 0x14], 8
jb 0x41e232
mov esi, dword [esi]
push esi
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [edi + 4], eax
cmp eax, ebx
jne 0x41e77f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1a
push str.GlobalMutex::GlobalMutex__
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x58], bl
call fcn.00409480
lea ebx, [ebp - 0x58]
lea esi, [ebp - 0xe8]
mov byte [ebp - 4], 1
call fcn.00407fd0
mov esi, vtable.Exception.0
mov dword [ebp - 0xe8], esi
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.0041ec10
mov ecx, eax
call fcn.0041ea90
push eax
lea ecx, [ebp - 0xa0]
call fcn.00402180
push 0x488f4c
lea edx, [ebp - 0xa0]
mov dword [ebp - 0xa0], esi
push edx
call fcn.00450350
cmp ecx, ebx
jne 0x41e34c
push 0x1a
push str.GlobalMutex::GlobalMutex__
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x58], bl
call fcn.00409480
lea ebx, [ebp - 0x58]
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 3
call fcn.00407fd0
mov esi, vtable.Exception.0
mov dword [ebp - 0xa0], esi
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.0041e910
mov ecx, eax
call fcn.0041ea90
push eax
lea ecx, [ebp - 0xe8]
call fcn.00402180
push 0x488f4c
lea ecx, [ebp - 0xe8]
push ecx
mov dword [ebp - 0xe8], esi
call fcn.00450350
cmp eax, 0xb7
je 0x41e77f
push 1
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x41e3f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1a
push str.GlobalMutex::GlobalMutex__
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
call fcn.00409480
lea ebx, [ebp - 0x3c]
lea esi, [ebp - 0xa0]
mov byte [ebp - 4], 5
call fcn.00407fd0
mov esi, vtable.Exception.0
mov dword [ebp - 0xa0], esi
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.0041ed90
mov ecx, eax
call fcn.0041ea90
push eax
lea ecx, [ebp - 0x130]
call fcn.00402180
push 0x488f4c
lea ecx, [ebp - 0x130]
push ecx
mov dword [ebp - 0x130], esi
call fcn.00450350
mov esi, dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea edx, [ebp - 0x134]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x14], 0x100
call esi
test eax, eax
jne 0x41e494
mov ebx, dword [ebp - 0x140]
mov esi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x134]
call fcn.0041e7a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.GlobalMutex::GlobalMutex__
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x138], eax
call fcn.004073e0
lea ebx, [ebp - 0x3c]
lea esi, [ebp - 0x130]
mov byte [ebp - 4], 7
call fcn.00407fd0
mov esi, vtable.Exception.0
mov dword [ebp - 0x130], esi
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 8
call fcn.0041ef10
jmp 0x41e2a5
push 0x40
lea eax, [ebp - 0xe8]
push ebx
push eax
call fcn.00450420
mov ecx, dword [ebp - 0x134]
add esp, 0xc
lea edx, [ebp - 0x13c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0xe8], 0x100000
mov dword [ebp - 0xe4], 2
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], 5
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x1c], 0x500
call esi
test eax, eax
jne 0x41e572
mov ebx, dword [ebp - 0x140]
mov esi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x134]
call fcn.0041e7a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.GlobalMutex::GlobalMutex__
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x138], eax
call fcn.004073e0
lea ebx, [ebp - 0x3c]
lea esi, [ebp - 0x130]
mov byte [ebp - 4], 9
call fcn.00407fd0
mov esi, vtable.Exception.0
mov dword [ebp - 0x130], esi
lea ecx, [ebp - 0x138]
push ecx
mov edi, str.AllocateAndInitializeSid_for_administrator_failed:_err:
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xa
call fcn.0041d2b0
jmp 0x41e2a5
mov ecx, dword [ebp - 0x13c]
lea edx, [ebp - 0x140]
push edx
mov dword [ebp - 0xac], ecx
push ebx
mov eax, 2
lea ecx, [ebp - 0xe8]
push ecx
push eax
mov dword [ebp - 0xc8], 0x1f0000
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], eax
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x41e655
mov ebx, dword [ebp - 0x140]
mov esi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x134]
call fcn.0041e7a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.GlobalMutex::GlobalMutex__
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x138], eax
call fcn.004073e0
lea ebx, [ebp - 0x3c]
lea esi, [ebp - 0x130]
mov byte [ebp - 4], 0xb
call fcn.00407fd0
mov esi, vtable.Exception.0
mov dword [ebp - 0x130], esi
lea edx, [ebp - 0x138]
push edx
mov edi, str.SetEntriesInAcl_failed:_err:
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xc
call fcn.0041d2b0
mov ecx, eax
call fcn.0041ea90
push eax
lea ecx, [ebp - 0xa0]
call fcn.00402180
push 0x488f4c
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], esi
push eax
jmp 0x41e2ca
mov ecx, dword [ebp - 0x140]
push ebx
push ecx
push 1
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x41e6fe
mov ebx, dword [ebp - 0x140]
mov esi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x134]
call fcn.0041e7a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.GlobalMutex::GlobalMutex__
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x138], eax
call fcn.004073e0
lea ebx, [ebp - 0x3c]
lea esi, [ebp - 0x130]
mov byte [ebp - 4], 0xd
call fcn.00407fd0
mov esi, vtable.Exception.0
mov dword [ebp - 0x130], esi
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xe
call fcn.0041f090
mov ecx, eax
call fcn.0041ea90
push eax
lea ecx, [ebp - 0xa0]
call fcn.00402180
push 0x488f4c
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], esi
push ecx
jmp 0x41e2ca
mov eax, dword [edi + 4]
lea edx, [ebp - 0x50]
push edx
push 4
push eax
call dword [sym.imp.ADVAPI32.dll_SetKernelObjectSecurity]
mov ebx, dword [ebp - 0x140]
mov esi, dword [ebp - 0x13c]
test eax, eax
mov eax, dword [ebp - 0x134]
jne 0x41e77a
call fcn.0041e7a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.GlobalMutex::GlobalMutex__
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x138], eax
call fcn.004073e0
lea ebx, [ebp - 0x3c]
lea esi, [ebp - 0x130]
mov byte [ebp - 4], 0xf
call fcn.00407fd0
mov esi, vtable.Exception.0
mov dword [ebp - 0x130], esi
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x10
call fcn.0041f210
jmp 0x41e2a5
call fcn.0041e7a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ce4c
mov esp, ebp
pop ebp
ret