Function at 0x5c72c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cfa68
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x665024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x654130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x2c], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x669e78], 0
jne 0x5c747f
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x654150
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x666c10], eax
cmp dword [0x666c10], 0xffffffff
jne 0x5c747f
lea ecx, [ebp - 0x28]
call fcn.00409f80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.005c6e70
push 1
lea ecx, [ebp - 0x28]
call fcn.00423160
push eax
call fcn.005c7610
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x5c73b2
push str.InstallNTDriver_failed_n
call fcn.0040ff60
add esp, 4
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00409ec0
mov eax, dword [ebp - 0x34]
jmp 0x5c7586
call fcn.005c77b0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x5c7406
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartNTDriver_failed__d_n
call fcn.0040ff60
add esp, 8
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00409ec0
mov eax, dword [ebp - 0x38]
jmp 0x5c7586
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x654190
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x666c10], eax
cmp dword [0x666c10], 0xffffffff
jne 0x5c7470
push str.CreateFile_failed_n
call fcn.0040ff60
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00409ec0
mov eax, dword [ebp - 0x3c]
jmp 0x5c7586
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00409ec0
mov dword [0x669e70], 1
cmp dword [0x666c14], 0xffffffff
jne 0x5c74ed
push 0x6541b0
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0x666c14], eax
cmp dword [0x666c14], 0
je 0x5c74be
cmp dword [0x666c14], 0xffffffff
jne 0x5c74ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x6541cc
call fcn.0040ff60
add esp, 8
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x5c7586
push 0
push 0
push 0
push 0xf001f
mov ecx, dword [0x666c14]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x669e74], eax
cmp dword [0x669e74], 0
jne 0x5c753f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x6541f4
call fcn.0040ff60
add esp, 8
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x5c7586
mov ecx, dword [0x669e74]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [0x669e74]
mov dword [eax], edx
mov ecx, dword [0x669e78]
add ecx, 1
mov dword [0x669e78], ecx
mov edx, dword [0x669e74]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004797c8
mov esp, ebp
pop ebp
ret