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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5abee8
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x63b070]
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.00485cb0
movzx eax, al
test eax, eax
je 0x482035
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 0x482385
push 0x5e088a
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 0x4820de
cmp dword [ebp - 0x160], 3
jne 0x4820de
push str.Windows_8.1
lea ecx, [ebp - 0x28]
call fcn.00429fc0
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 0x482385
cmp dword [ebp - 0x15c], 0xa
jne 0x48212f
cmp dword [ebp - 0x160], 0
jne 0x48212f
push str.Windows_10
lea ecx, [ebp - 0x28]
call fcn.00429fc0
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 0x482385
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 0x482358
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 4
je 0x48218f
cmp dword [ebp - 0x14c], 5
je 0x482209
cmp dword [ebp - 0x14c], 6
je 0x4822ad
jmp 0x48234b
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x150], ecx
cmp dword [ebp - 0x150], 0
je 0x4821b8
cmp dword [ebp - 0x150], 0xa
je 0x4821e8
cmp dword [ebp - 0x150], 0x5a
je 0x4821f7
jmp 0x482204
cmp dword [ebp - 0x134], 2
jne 0x4821d0
push str.Windows_NT_4.0
lea ecx, [ebp - 0x28]
call fcn.00429fc0
jmp 0x4821e6
cmp dword [ebp - 0x134], 1
jne 0x4821e6
push str.Windows_95
lea ecx, [ebp - 0x28]
call fcn.00429fc0
jmp 0x482204
push str.Windows_98
lea ecx, [ebp - 0x28]
call fcn.00429fc0
jmp 0x482204
push str.Microsoft_Windows_Me
lea ecx, [ebp - 0x28]
call fcn.00429fc0
jmp 0x482358
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x154], edx
cmp dword [ebp - 0x154], 0
je 0x482232
cmp dword [ebp - 0x154], 1
je 0x482241
cmp dword [ebp - 0x154], 2
je 0x482250
jmp 0x4822a8
push str.Windows_2000
lea ecx, [ebp - 0x28]
call fcn.00429fc0
jmp 0x4822a8
push str.Windows_XP
lea ecx, [ebp - 0x28]
call fcn.00429fc0
jmp 0x4822a8
movzx eax, byte [ebp - 0x2a]
cmp eax, 1
jne 0x482274
movzx ecx, word [ebp - 0x190]
cmp ecx, 9
jne 0x482274
push str.Windows_XP_Professional_x64_Edition
lea ecx, [ebp - 0x28]
call fcn.00429fc0
jmp 0x4822a8
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x48228f
push str.Windows_Server_2003
lea ecx, [ebp - 0x28]
call fcn.00429fc0
jmp 0x4822a8
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x4822a8
push str.Windows_Server_2003_R2
lea ecx, [ebp - 0x28]
call fcn.00429fc0
jmp 0x482358
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x158], edx
cmp dword [ebp - 0x158], 0
je 0x4822d6
cmp dword [ebp - 0x158], 1
je 0x4822fd
cmp dword [ebp - 0x158], 2
je 0x482324
jmp 0x482349
movzx eax, byte [ebp - 0x2a]
cmp eax, 1
jne 0x4822ee
push str.Windows_Vista
lea ecx, [ebp - 0x28]
call fcn.00429fc0
jmp 0x4822fb
push str.Windows_Server_2008
lea ecx, [ebp - 0x28]
call fcn.00429fc0
jmp 0x482349
movzx ecx, byte [ebp - 0x2a]
cmp ecx, 1
jne 0x482315
push str.Windows_7
lea ecx, [ebp - 0x28]
call fcn.00429fc0
jmp 0x482322
push str.Windows_Server_2008_R2
lea ecx, [ebp - 0x28]
call fcn.00429fc0
jmp 0x482349
movzx edx, byte [ebp - 0x2a]
cmp edx, 1
jne 0x48233c
push str.Windows_8
lea ecx, [ebp - 0x28]
call fcn.00429fc0
jmp 0x482349
push str.Windows_Server_2012
lea ecx, [ebp - 0x28]
call fcn.00429fc0
jmp 0x482358
push str.Error
lea ecx, [ebp - 0x28]
call fcn.00429fc0
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.004a39ef
mov esp, ebp
pop ebp
ret