Function at 0x482da0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x63f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x148], 0
call fcn.00486b50
movzx eax, al
test eax, eax
je 0x482e05
push str.Windows_11
mov ecx, dword [ebp + 8]
call fcn.00411850
mov ecx, dword [ebp - 0x148]
or ecx, 1
mov dword [ebp - 0x148], ecx
mov eax, dword [ebp + 8]
jmp 0x483155
push 0x5e48b2
lea ecx, [ebp - 0x28]
call fcn.00411850
mov dword [ebp - 4], 0
push str.ntdll.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov dword [ebp - 0x164], eax
push str.RtlGetNtVersionNumbers
mov edx, dword [ebp - 0x164]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0x15c]
push edx
call dword [ebp - 0x168]
cmp dword [ebp - 0x15c], 6
jne 0x482eae
cmp dword [ebp - 0x160], 3
jne 0x482eae
push str.Windows_8.1
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.004117d0
mov ecx, dword [ebp - 0x148]
or ecx, 1
mov dword [ebp - 0x148], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411780
mov eax, dword [ebp + 8]
jmp 0x483155
cmp dword [ebp - 0x15c], 0xa
jne 0x482eff
cmp dword [ebp - 0x160], 0
jne 0x482eff
push str.Windows_10
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.004117d0
mov eax, dword [ebp - 0x148]
or eax, 1
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411780
mov eax, dword [ebp + 8]
jmp 0x483155
lea ecx, [ebp - 0x190]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov dword [ebp - 0x144], 0x11c
lea edx, [ebp - 0x144]
push edx
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x483128
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 4
je 0x482f5f
cmp dword [ebp - 0x14c], 5
je 0x482fd9
cmp dword [ebp - 0x14c], 6
je 0x48307d
jmp 0x48311b
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x150], ecx
cmp dword [ebp - 0x150], 0
je 0x482f88
cmp dword [ebp - 0x150], 0xa
je 0x482fb8
cmp dword [ebp - 0x150], 0x5a
je 0x482fc7
jmp 0x482fd4
cmp dword [ebp - 0x134], 2
jne 0x482fa0
push str.Windows_NT_4.0
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
jmp 0x482fb6
cmp dword [ebp - 0x134], 1
jne 0x482fb6
push str.Windows_95
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
jmp 0x482fd4
push str.Windows_98
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
jmp 0x482fd4
push str.Microsoft_Windows_Me
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
jmp 0x483128
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x154], edx
cmp dword [ebp - 0x154], 0
je 0x483002
cmp dword [ebp - 0x154], 1
je 0x483011
cmp dword [ebp - 0x154], 2
je 0x483020
jmp 0x483078
push str.Windows_2000
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
jmp 0x483078
push str.Windows_XP
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
jmp 0x483078
movzx eax, byte [ebp - 0x2a]
cmp eax, 1
jne 0x483044
movzx ecx, word [ebp - 0x190]
cmp ecx, 9
jne 0x483044
push str.Windows_XP_Professional_x64_Edition
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
jmp 0x483078
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x48305f
push str.Windows_Server_2003
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
jmp 0x483078
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x483078
push str.Windows_Server_2003_R2
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
jmp 0x483128
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x158], edx
cmp dword [ebp - 0x158], 0
je 0x4830a6
cmp dword [ebp - 0x158], 1
je 0x4830cd
cmp dword [ebp - 0x158], 2
je 0x4830f4
jmp 0x483119
movzx eax, byte [ebp - 0x2a]
cmp eax, 1
jne 0x4830be
push str.Windows_Vista
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
jmp 0x4830cb
push str.Windows_Server_2008
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
jmp 0x483119
movzx ecx, byte [ebp - 0x2a]
cmp ecx, 1
jne 0x4830e5
push str.Windows_7
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
jmp 0x4830f2
push str.Windows_Server_2008_R2
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
jmp 0x483119
movzx edx, byte [ebp - 0x2a]
cmp edx, 1
jne 0x48310c
push str.Windows_8
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
jmp 0x483119
push str.Windows_Server_2012
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
jmp 0x483128
push str.Error
lea ecx, [ebp - 0x28]
call fcn.0042a3d0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.004117d0
mov ecx, dword [ebp - 0x148]
or ecx, 1
mov dword [ebp - 0x148], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411780
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.004a6edb
mov esp, ebp
pop ebp
ret