Function at 0x45d620
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65d824
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x70a0c4]
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.005e0c30
add esp, 0xc
lea ecx, [ebp - 0x1b4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ecx, [ebp - 0x28]
call fcn.004474e0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1b0], 5
jne 0x45d6b5
cmp dword [ebp - 0x1ac], 0
jne 0x45d6b5
push 0x6807d0
lea ecx, [ebp - 0x28]
call fcn.004482b0
jmp 0x45d75b
cmp dword [ebp - 0x1b0], 5
jne 0x45d6d9
cmp dword [ebp - 0x1ac], 1
jne 0x45d6d9
push str.Windows_XP
lea ecx, [ebp - 0x28]
call fcn.004482b0
jmp 0x45d75b
cmp dword [ebp - 0x1b0], 6
jne 0x45d6fa
cmp dword [ebp - 0x1ac], 0
jne 0x45d6fa
push str.Windows_2003
lea ecx, [ebp - 0x28]
call fcn.004482b0
jmp 0x45d75b
cmp dword [ebp - 0x1b0], 5
jne 0x45d71b
cmp dword [ebp - 0x1ac], 2
jne 0x45d71b
push str.windows_vista
lea ecx, [ebp - 0x28]
call fcn.004482b0
jmp 0x45d75b
cmp dword [ebp - 0x1b0], 6
jne 0x45d73c
cmp dword [ebp - 0x1ac], 1
jne 0x45d73c
push str.windows_7
lea ecx, [ebp - 0x28]
call fcn.004482b0
jmp 0x45d75b
cmp dword [ebp - 0x1b0], 6
jne 0x45d75b
cmp dword [ebp - 0x1ac], 2
jne 0x45d75b
push str.windows_10
lea ecx, [ebp - 0x28]
call fcn.004482b0
mov edx, dword [ebp - 0x1ac]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.00443290
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 0x68089c
mov eax, dword [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.00443290
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 0x6808a0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.004606e0
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.00460530
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.00444aa0
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.00460530
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.0043cfa0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.0043cfa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0043cfa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.0043cfa0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
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.005c7840
mov esp, ebp
pop ebp
ret