Function at 0x4291c0
Capabilities:
Check mutex on windows
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549a16
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5c5b9c]
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
push str.Global__MFP_ISTDRV__
push 0
push 0
mov ebx, ecx
mov edi, 1
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx + 0x4c4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x429220
cmp eax, 5
jne 0x42951e
call fcn.0043d2a1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42923a
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], 0
call fcn.0043d2a1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42926d
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x130], eax
push str.CIstDrvApp::CreateMutexObject___Error_n
push 5
mov byte [ebp - 4], 1
call fcn.00411380
add esp, 8
push str.Local__MFP_ISTDRV__
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x429438
push 0x11c
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00531b10
add esp, 0xc
lea edx, [ebp - 0x12c]
push edx
mov dword [ebp - 0x12c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42943f
cmp dword [ebp - 0x128], 5
ja 0x42943f
mov esi, dword [0x5c1220]
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x13c]
push ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x138], 0x2724
call fcn.00405af0
mov eax, dword [eax]
cmp eax, dword [esi + 8]
je 0x42931f
mov esi, dword [eax + 0x10]
jmp 0x429321
xor esi, esi
push esi
call fcn.00447046
test eax, eax
je 0x429338
push esi
push eax
lea ecx, [ebp - 0x130]
call fcn.00404cb0
lea ecx, [ebx + 0xb8]
call fcn.00406a50
push eax
push 0x55fcdc
lea ecx, [ebp - 0x130]
call fcn.00405750
mov esi, dword [ebp - 0x130]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x42937c
push 0
lea ecx, [ebp - 0x130]
call fcn.004012e0
mov esi, dword [ebp - 0x130]
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x4293b2
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x42939f
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_GetLastActivePopup]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x42943f
push 0x2724
call fcn.00447046
test eax, eax
je 0x4293d1
push 0x2724
push eax
lea ecx, [ebp - 0x134]
call fcn.00404cb0
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x4293f3
push 0
lea ecx, [ebp - 0x130]
call fcn.004012e0
mov esi, dword [ebp - 0x130]
mov edi, dword [ebp - 0x134]
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
or ecx, eax
jge 0x42941b
push 0
lea ecx, [ebp - 0x134]
call fcn.004012e0
mov edi, dword [ebp - 0x134]
mov ecx, dword [0x5c1220]
push 0x2724
call fcn.00406070
push eax
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x42943f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2ee0
call fcn.00447046
test eax, eax
je 0x42945e
push 0x2ee0
push eax
lea ecx, [ebp - 0x130]
call fcn.00404cb0
lea ecx, [ebx + 0xb8]
call fcn.00406a50
push eax
push 0x55fcdc
lea ecx, [ebp - 0x130]
call fcn.00405750
mov esi, dword [ebp - 0x130]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x4294a2
push 0
lea ecx, [ebp - 0x130]
call fcn.004012e0
mov esi, dword [ebp - 0x130]
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
test edi, edi
je 0x4294d3
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4294c5
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_GetLastActivePopup]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea eax, [esi - 0x10]
xor edi, edi
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4294f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x134]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42951e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.00530f8d
mov esp, ebp
pop ebp
ret