Function at 0x45cf40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65a514
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0x114
push 0x110
push 0
lea eax, [ebp - 0x1b0]
push eax
call fcn.005ddad0
add esp, 0xc
lea ecx, [ebp - 0x1b4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ecx, [ebp - 0x28]
call fcn.00446de0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1b0], 5
jne 0x45cfd5
cmp dword [ebp - 0x1ac], 0
jne 0x45cfd5
push 0x67ce58
lea ecx, [ebp - 0x28]
call fcn.00447bb0
jmp 0x45d07b
cmp dword [ebp - 0x1b0], 5
jne 0x45cff9
cmp dword [ebp - 0x1ac], 1
jne 0x45cff9
push 0x67cea8
lea ecx, [ebp - 0x28]
call fcn.00447bb0
jmp 0x45d07b
cmp dword [ebp - 0x1b0], 6
jne 0x45d01a
cmp dword [ebp - 0x1ac], 0
jne 0x45d01a
push str.Windows_2003
lea ecx, [ebp - 0x28]
call fcn.00447bb0
jmp 0x45d07b
cmp dword [ebp - 0x1b0], 5
jne 0x45d03b
cmp dword [ebp - 0x1ac], 2
jne 0x45d03b
push str.windows_vista
lea ecx, [ebp - 0x28]
call fcn.00447bb0
jmp 0x45d07b
cmp dword [ebp - 0x1b0], 6
jne 0x45d05c
cmp dword [ebp - 0x1ac], 1
jne 0x45d05c
push str.windows_7
lea ecx, [ebp - 0x28]
call fcn.00447bb0
jmp 0x45d07b
cmp dword [ebp - 0x1b0], 6
jne 0x45d07b
cmp dword [ebp - 0x1ac], 2
jne 0x45d07b
push str.windows_10
lea ecx, [ebp - 0x28]
call fcn.00447bb0
mov edx, dword [ebp - 0x1ac]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.00442b90
add esp, 8
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1c0]
push edx
push 0x67cf24
mov eax, dword [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.00442b90
add esp, 8
mov dword [ebp - 0x1c4], eax
mov edx, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c8], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c8]
push eax
push 0x67cf28
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.00460000
add esp, 0xc
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1d0]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.0045fe50
add esp, 0xc
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1d8]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004443a0
add esp, 0xc
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1e0]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0045fe50
add esp, 0xc
mov eax, dword [ebp - 0x1b8]
or eax, 1
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0043c8a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0043c8a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.0043c8a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.0043c8a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret