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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555e31
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5d7b20]
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 + 0x100], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x405806
cmp eax, 5
jne 0x405b22
push str.CDelDrvApp::CreateMutexObject___Error_n
push 5
call fcn.00403ab0
add esp, 8
push str.Local__MFP_DelDrv__
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x405a6e
push 0x11c
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.0053e550
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 0x405a54
cmp dword [ebp - 0x128], 5
ja 0x405a54
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40588a
push 0x80004005
call fcn.00403e70
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.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4058bd
push 0x80004005
call fcn.00403e70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x134], eax
mov ebx, 0xfb1
push ebx
mov byte [ebp - 4], 1
call fcn.0044bffa
test eax, eax
je 0x4058ef
push ebx
push eax
lea ecx, [ebp - 0x130]
call fcn.00404cb0
mov eax, dword [edi + 0xb8]
lea esi, [edi + 0xb8]
push eax
push 0x568990
lea ecx, [ebp - 0x130]
call fcn.00404f20
mov edi, dword [section..data]
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x140]
push edx
lea ecx, [edi + 4]
mov dword [ebp - 0x138], ebx
call fcn.004052c0
mov eax, dword [eax]
cmp eax, dword [edi + 8]
je 0x40593a
mov edi, dword [eax + 0x10]
jmp 0x40593c
xor edi, edi
push edi
call fcn.0044bffa
test eax, eax
je 0x405953
push edi
push eax
lea ecx, [ebp - 0x134]
call fcn.00404cb0
mov eax, dword [esi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x40596d
push 0
mov ecx, esi
call fcn.004045b0
mov esi, dword [esi]
push esi
push 0x568990
lea ecx, [ebp - 0x134]
call fcn.00404f20
mov esi, dword [section..data]
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x140]
push ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x138], ebx
call fcn.004052c0
mov eax, dword [eax]
cmp eax, dword [esi + 8]
je 0x4059ae
mov ebx, dword [eax + 0x14]
jmp 0x4059b0
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 0x4059d8
push 0
lea ecx, [ebp - 0x134]
call fcn.004045b0
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 0x405a00
push 0
lea ecx, [ebp - 0x130]
call fcn.004045b0
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 0x405a2b
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 0x405a4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x13c]
call fcn.0044c104
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x405a77
push 0x80004005
call fcn.00403e70
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405a54
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.0044bffa
test eax, eax
je 0x405aaf
push 0x3e8
push eax
lea ecx, [ebp - 0x130]
call fcn.00404cb0
mov eax, dword [edi + 0xb8]
push eax
push 0x568990
lea ecx, [ebp - 0x130]
call fcn.00404f20
mov edi, dword [ebp - 0x130]
push edi
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x405afd
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x405aef
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 0x405b22
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.0053e1ad
mov esp, ebp
pop ebp
ret