Function at 0x5d68d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5df478
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x67a114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x668380
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 [0x69a840], 0
jne 0x5d6a8f
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x6683a0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x67bd10], eax
cmp dword [0x67bd10], 0xffffffff
jne 0x5d6a8f
lea ecx, [ebp - 0x28]
call fcn.00409580
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.005d6480
push 1
lea ecx, [ebp - 0x28]
call fcn.00468d60
push eax
call fcn.005d6c20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x5d69c2
push str.InstallNTDriver_failed_n
call fcn.0040f570
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.004094c0
mov eax, dword [ebp - 0x34]
jmp 0x5d6b96
call fcn.005d6dc0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x5d6a16
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartNTDriver_failed__d_n
call fcn.0040f570
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.004094c0
mov eax, dword [ebp - 0x38]
jmp 0x5d6b96
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x6683e0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x67bd10], eax
cmp dword [0x67bd10], 0xffffffff
jne 0x5d6a80
push str.CreateFile_failed_n
call fcn.0040f570
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.004094c0
mov eax, dword [ebp - 0x3c]
jmp 0x5d6b96
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004094c0
mov dword [0x69a838], 1
cmp dword [0x67bd14], 0xffffffff
jne 0x5d6afd
push 0x668400
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0x67bd14], eax
cmp dword [0x67bd14], 0
je 0x5d6ace
cmp dword [0x67bd14], 0xffffffff
jne 0x5d6afd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x66841c
call fcn.0040f570
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 0x5d6b96
push 0
push 0
push 0
push 0xf001f
mov ecx, dword [0x67bd14]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x69a83c], eax
cmp dword [0x69a83c], 0
jne 0x5d6b4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x668444
call fcn.0040f570
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 0x5d6b96
mov ecx, dword [0x69a83c]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [0x69a83c]
mov dword [eax], edx
mov ecx, dword [0x69a840]
add ecx, 1
mov dword [0x69a840], ecx
mov edx, dword [0x69a83c]
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.004862cc
mov esp, ebp
pop ebp
ret