Function at 0x4014e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428f7b
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x42f0c4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x401874
mov dword [ebp - 0x214], 0x1f8
push 0x1f4
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.0040ea70
add esp, 0xc
push 0x94
push 0
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.0040ea70
add esp, 0xc
mov dword [ebp - 0x2ac], 0x94
lea edx, [ebp - 0x2ac]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x2a8], 6
jae 0x40158c
mov eax, dword [ebp - 0x214]
sub eax, 4
mov dword [ebp - 0x214], eax
push 0
lea ecx, [ebp - 0x214]
push ecx
push 0
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x401868
lea ecx, [ebp - 0x2c4]
call fcn.00401890
mov dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 0xffff
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 0
lea ecx, [ebp - 0x2c4]
call fcn.00403750
push 0
lea ecx, [ebp - 0x2c4]
call fcn.00403750
push 0x80ca08c0
lea ecx, [ebp - 0x2c4]
call fcn.00403750
push 2
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 0
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 0
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 0x9d
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 0x20
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 0x42cb0c
lea ecx, [ebp - 0x2c4]
call fcn.00401450
push 0x42cb10
lea ecx, [ebp - 0x2c4]
call fcn.00401450
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x2c4]
call fcn.00401450
cmp dword [ebp - 0x7c], 0
jge 0x401697
push 0x5a
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x48
mov ecx, dword [ebp - 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [ebp - 0x7c], eax
movzx edx, word [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x2c4]
call fcn.00403730
movzx eax, word [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00403730
movzx ecx, byte [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x2c4]
call fcn.00403770
movzx edx, byte [ebp - 0x65]
push edx
lea ecx, [ebp - 0x2c4]
call fcn.00403770
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00401450
lea ecx, [ebp - 0x2c4]
call fcn.00401390
push 0
lea ecx, [ebp - 0x2c4]
call fcn.00403750
push 0
lea ecx, [ebp - 0x2c4]
call fcn.00403750
push 0x50000001
lea ecx, [ebp - 0x2c4]
call fcn.00403750
push 7
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 3
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 0x90
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 0xa
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c4]
call fcn.00403750
push 0x82ffff
lea ecx, [ebp - 0x2c4]
call fcn.00403750
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x2c4]
call fcn.00401450
push 0
lea ecx, [ebp - 0x2c4]
call fcn.00403730
lea ecx, [ebp - 0x2c4]
call fcn.00401390
push 0
lea ecx, [ebp - 0x2c4]
call fcn.00403750
push 0
lea ecx, [ebp - 0x2c4]
call fcn.00403750
push 0x50030001
lea ecx, [ebp - 0x2c4]
call fcn.00403750
push 0x37
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 0x12
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 0x30
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 0xb
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 1
lea ecx, [ebp - 0x2c4]
call fcn.00403750
push 0x80ffff
lea ecx, [ebp - 0x2c4]
call fcn.00403750
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x2c4]
call fcn.00401450
push 0
lea ecx, [ebp - 0x2c4]
call fcn.00403730
push 0
push 0x401480
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.00401370
push eax
push 0
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c4]
call fcn.004018b0
mov edx, dword [ebp - 0x14]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0040b509
mov esp, ebp
pop ebp
ret