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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534b31
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5a6a30]
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_DelDrv__
push 0
mov edi, ecx
push 0
mov dword [ebp - 0x13c], edi
mov esi, 1
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0x128], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x404df6
cmp eax, 5
jne 0x405112
push str.CDelDrvApp::CreateMutexObject___Error_n
push 5
call fcn.00403750
add esp, 8
push str.Local__MFP_DelDrv__
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x40505e
push 0x11c
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.0051eb70
add esp, 0xc
lea ecx, [ebp - 0x12c]
push ecx
mov dword [ebp - 0x12c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x405044
cmp dword [ebp - 0x128], 5
ja 0x405044
call fcn.0042aa6c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404e7a
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x130], eax
mov dword [ebp - 4], 0
call fcn.0042aa6c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x404ead
push 0x80004005
call fcn.004010e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x134], eax
mov ebx, 0xfab
push ebx
mov byte [ebp - 4], 1
call fcn.0042a962
test eax, eax
je 0x404edf
push ebx
push eax
lea ecx, [ebp - 0x130]
call fcn.00401a80
mov eax, dword [edi + 0xb8]
lea esi, [edi + 0xb8]
push eax
push 0x5450f4
lea ecx, [ebp - 0x130]
call fcn.004045a0
mov edi, dword [0x5a2050]
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x140]
push edx
lea ecx, [edi + 4]
mov dword [ebp - 0x138], ebx
call fcn.00404940
mov eax, dword [eax]
cmp eax, dword [edi + 8]
je 0x404f2a
mov edi, dword [eax + 0x10]
jmp 0x404f2c
xor edi, edi
push edi
call fcn.0042a962
test eax, eax
je 0x404f43
push edi
push eax
lea ecx, [ebp - 0x134]
call fcn.00401a80
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x404f5d
push 0
mov ecx, esi
call fcn.004015a0
mov esi, dword [esi]
push esi
push 0x5450f4
lea ecx, [ebp - 0x134]
call fcn.004045a0
mov esi, dword [0x5a2050]
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x140]
push ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x138], ebx
call fcn.00404940
mov eax, dword [eax]
cmp eax, dword [esi + 8]
je 0x404f9e
mov ebx, dword [eax + 0x14]
jmp 0x404fa0
xor ebx, ebx
mov esi, dword [ebp - 0x134]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x404fc8
push 0
lea ecx, [ebp - 0x134]
call fcn.004015a0
mov esi, dword [ebp - 0x134]
mov edi, dword [ebp - 0x130]
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
or ecx, eax
jge 0x404ff0
push 0
lea ecx, [ebp - 0x130]
call fcn.004015a0
mov edi, dword [ebp - 0x130]
push ebx
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40501b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40503e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x13c]
call fcn.0042aa6c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405067
push 0x80004005
call fcn.004010e0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405044
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x130], eax
push 0x3e8
mov dword [ebp - 4], 2
call fcn.0042a962
test eax, eax
je 0x40509f
push 0x3e8
push eax
lea ecx, [ebp - 0x130]
call fcn.00401a80
mov eax, dword [edi + 0xb8]
push eax
push 0x5450f4
lea ecx, [ebp - 0x130]
call fcn.004045a0
mov edi, dword [ebp - 0x130]
push edi
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x4050ed
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4050df
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_GetLastActivePopup]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea eax, [edi - 0x10]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405112
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
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.0051e701
mov esp, ebp
pop ebp
ret