Function at 0x440890
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x69e79d
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x76f950]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x12c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 2
jne 0x440b6f
cmp dword [ebp - 0x128], 6
jb 0x440b6f
cmp dword [ebp - 0x124], 1
jb 0x440b6f
push 0x5e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
test ebx, ebx
je 0x440b6f
mov ecx, dword [0x7898ac]
mov edx, dword [0x7898a8]
test ecx, ecx
cmovne edx, ecx
push edx
lea ecx, [ebp - 0x130]
call fcn.00401430
mov dword [ebp - 4], 0
xor dl, dl
lea ecx, [ebp - 0x130]
call fcn.004e14a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x440960
mov ecx, dword [eax]
test ecx, ecx
jne 0x44095d
mov ecx, eax
call fcn.004df580
jmp 0x440960
dec ecx
mov dword [eax], ecx
test bl, 1
je 0x4409b8
mov eax, dword [0x78942c]
mov ecx, dword [0x789428]
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x130]
call fcn.00401430
mov dword [ebp - 4], 1
xor dl, dl
lea ecx, [ebp - 0x130]
call fcn.004e14a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x4409b8
mov ecx, dword [eax]
test ecx, ecx
jne 0x4409b5
mov ecx, eax
call fcn.004df580
jmp 0x4409b8
dec ecx
mov dword [eax], ecx
test bl, 2
je 0x440a10
mov eax, dword [0x789978]
mov ecx, dword [0x789974]
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x130]
call fcn.00401430
mov dword [ebp - 4], 2
xor dl, dl
lea ecx, [ebp - 0x130]
call fcn.004e14a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x440a10
mov ecx, dword [eax]
test ecx, ecx
jne 0x440a0d
mov ecx, eax
call fcn.004df580
jmp 0x440a10
dec ecx
mov dword [eax], ecx
test bl, 4
je 0x440a68
mov eax, dword [0x789654]
mov ecx, dword [0x789650]
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x130]
call fcn.00401430
mov dword [ebp - 4], 3
xor dl, dl
lea ecx, [ebp - 0x130]
call fcn.004e14a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x440a68
mov ecx, dword [eax]
test ecx, ecx
jne 0x440a65
mov ecx, eax
call fcn.004df580
jmp 0x440a68
dec ecx
mov dword [eax], ecx
test bl, 8
je 0x440ac0
mov eax, dword [0x788ccc]
mov ecx, dword [0x788cc8]
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x130]
call fcn.00401430
mov dword [ebp - 4], 4
xor dl, dl
lea ecx, [ebp - 0x130]
call fcn.004e14a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x440ac0
mov ecx, dword [eax]
test ecx, ecx
jne 0x440abd
mov ecx, eax
call fcn.004df580
jmp 0x440ac0
dec ecx
mov dword [eax], ecx
test bl, 0x40
je 0x440b18
mov eax, dword [0x789044]
mov ecx, dword [0x789040]
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x130]
call fcn.00401430
mov dword [ebp - 4], 5
xor dl, dl
lea ecx, [ebp - 0x130]
call fcn.004e14a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x440b18
mov ecx, dword [eax]
test ecx, ecx
jne 0x440b15
mov ecx, eax
call fcn.004df580
jmp 0x440b18
dec ecx
mov dword [eax], ecx
test bl, bl
jns 0x440b6f
mov eax, dword [0x789504]
mov ecx, dword [0x789500]
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x130]
call fcn.00401430
mov dword [ebp - 4], 6
xor dl, dl
lea ecx, [ebp - 0x130]
call fcn.004e14a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x440b6f
mov ecx, dword [eax]
test ecx, ecx
jne 0x440b6c
mov ecx, eax
call fcn.004df580
jmp 0x440b6f
dec ecx
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00633732
mov esp, ebp
pop ebp
ret