Function at 0x100213d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016fbe8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101fd024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10173e18
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 [0x101ff52c], 0
jne 0x10021588
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x10173e38
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x101fd014], eax
cmp dword [0x101fd014], 0xffffffff
jne 0x10021588
lea ecx, [ebp - 0x28]
call fcn.10003540
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.10020f80
push 1
lea ecx, [ebp - 0x28]
call fcn.1000fde0
push eax
call fcn.10021720
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100214c2
push str.InstallNTDriver_failed_n
call fcn.100035a0
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.10003490
mov eax, dword [ebp - 0x34]
jmp 0x1002168f
call fcn.100218c0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1002150f
push str.StartNTDriver_failed_n
call fcn.100035a0
add esp, 4
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.10003490
mov eax, dword [ebp - 0x38]
jmp 0x1002168f
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push 0x10173e74
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x101fd014], eax
cmp dword [0x101fd014], 0xffffffff
jne 0x10021579
push str.CreateFile_failed_n
call fcn.100035a0
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.10003490
mov eax, dword [ebp - 0x3c]
jmp 0x1002168f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003490
mov dword [0x101ff524], 1
cmp dword [0x101fd018], 0xffffffff
jne 0x100215f6
push 0x10173e94
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0x101fd018], eax
cmp dword [0x101fd018], 0
je 0x100215c7
cmp dword [0x101fd018], 0xffffffff
jne 0x100215f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10173eb0
call fcn.100035a0
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 0x1002168f
push 0
push 0
push 0
push 0xf001f
mov ecx, dword [0x101fd018]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x101ff528], eax
cmp dword [0x101ff528], 0
jne 0x10021648
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10173ed8
call fcn.100035a0
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 0x1002168f
mov ecx, dword [0x101ff528]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [0x101ff528]
mov dword [eax], edx
mov ecx, dword [0x101ff52c]
add ecx, 1
mov dword [0x101ff52c], ecx
mov edx, dword [0x101ff528]
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.10021a20
mov esp, ebp
pop ebp
ret