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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c08d6
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x4f4970]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x174], 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x154], 0x11c
lea ecx, [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4b8687
lea ecx, [ebp - 0x170]
call fcn.00402b90
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x178], edx
cmp dword [ebp - 0x178], 4
je 0x4b8454
cmp dword [ebp - 0x178], 5
je 0x4b84da
cmp dword [ebp - 0x178], 6
je 0x4b858d
jmp 0x4b8640
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
je 0x4b847d
cmp dword [ebp - 0x17c], 0xa
je 0x4b84b3
cmp dword [ebp - 0x17c], 0x5a
je 0x4b84c5
jmp 0x4b84d5
cmp dword [ebp - 0x144], 2
jne 0x4b8498
push str.nt4.0
lea ecx, [ebp - 0x170]
call fcn.00402c80
jmp 0x4b84b1
cmp dword [ebp - 0x144], 1
jne 0x4b84b1
push 0x4d8f98
lea ecx, [ebp - 0x170]
call fcn.00402c80
jmp 0x4b84d5
push 0x4d8f9c
lea ecx, [ebp - 0x170]
call fcn.00402c80
jmp 0x4b84d5
push 0x4d8fa0
lea ecx, [ebp - 0x170]
call fcn.00402c80
jmp 0x4b8650
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x180], ecx
cmp dword [ebp - 0x180], 0
je 0x4b8506
cmp dword [ebp - 0x180], 1
je 0x4b8518
cmp dword [ebp - 0x180], 2
je 0x4b852a
jmp 0x4b8588
push str.2000
lea ecx, [ebp - 0x170]
call fcn.00402c80
jmp 0x4b8588
push 0x4d8fac
lea ecx, [ebp - 0x170]
call fcn.00402c80
jmp 0x4b8588
movzx edx, byte [ebp - 0x3a]
cmp edx, 1
jne 0x4b854e
movzx eax, word [ebp - 0x30]
cmp eax, 9
jne 0x4b854e
push 0x4d8fb0
lea ecx, [ebp - 0x170]
call fcn.00402c80
jmp 0x4b8588
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x4b856c
push 0x4d8fb4
lea ecx, [ebp - 0x170]
call fcn.00402c80
jmp 0x4b8588
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x4b8588
push str.2003
lea ecx, [ebp - 0x170]
call fcn.00402c80
jmp 0x4b8650
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x184], ecx
cmp dword [ebp - 0x184], 0
je 0x4b85b9
cmp dword [ebp - 0x184], 1
je 0x4b85e6
cmp dword [ebp - 0x184], 2
je 0x4b8613
jmp 0x4b863e
movzx edx, byte [ebp - 0x3a]
cmp edx, 1
jne 0x4b85d4
push str.vista
lea ecx, [ebp - 0x170]
call fcn.00402c80
jmp 0x4b85e4
push 0x4d8fcc
lea ecx, [ebp - 0x170]
call fcn.00402c80
jmp 0x4b863e
movzx eax, byte [ebp - 0x3a]
cmp eax, 1
jne 0x4b8601
push str.win7
lea ecx, [ebp - 0x170]
call fcn.00402c80
jmp 0x4b8611
push str.2008
lea ecx, [ebp - 0x170]
call fcn.00402c80
jmp 0x4b863e
movzx ecx, byte [ebp - 0x3a]
cmp ecx, 1
jne 0x4b862e
push str.win8
lea ecx, [ebp - 0x170]
call fcn.00402c80
jmp 0x4b863e
push str.2012
lea ecx, [ebp - 0x170]
call fcn.00402c80
jmp 0x4b8650
push 0x4d8ff4
lea ecx, [ebp - 0x170]
call fcn.00402c80
lea edx, [ebp - 0x170]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402c00
mov eax, dword [ebp - 0x174]
or eax, 1
mov dword [ebp - 0x174], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.00402c40
mov eax, dword [ebp + 8]
jmp 0x4b86a6
push str.unknow
mov ecx, dword [ebp + 8]
call fcn.00402bc0
mov ecx, dword [ebp - 0x174]
or ecx, 1
mov dword [ebp - 0x174], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.0046da8a
mov esp, ebp
pop ebp
ret