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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x210], ecx
push str.CCdgOutApp::IsOSVersionSupported_begin
call fcn.0047c040
add esp, 4
mov dword [ebp - 0xc], 0xffffffff
push 0x24
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.004f8090
add esp, 0xc
push 0x11c
push 0
lea ecx, [ebp - 0x158]
push ecx
call fcn.004f8090
add esp, 0xc
mov dword [ebp - 0x158], 0x11c
lea edx, [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x481018
mov dword [ebp - 0x158], 0x114
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x481018
mov eax, 0xfffffffd
jmp 0x481377
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x481041
lea ecx, [ebp - 0x30]
push ecx
call dword [ebp - 8]
jmp 0x48104b
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x481367
cmp dword [ebp - 0x214], 1
je 0x481356
cmp dword [ebp - 0x214], 2
je 0x48107f
jmp 0x481374
cmp dword [ebp - 0x154], 6
jne 0x4810af
cmp dword [ebp - 0x150], 2
jne 0x4810af
push str.Windows_8
call fcn.0047c040
add esp, 4
mov dword [ebp - 0xc], 0xffffffff
jmp 0x481374
cmp dword [ebp - 0x154], 6
jne 0x4810df
cmp dword [ebp - 0x150], 1
jne 0x4810df
mov dword [ebp - 0xc], 0
push str.Windows_7
call fcn.0047c040
add esp, 4
jmp 0x481374
cmp dword [ebp - 0x154], 6
jne 0x481133
cmp dword [ebp - 0x150], 0
jne 0x481133
movzx ecx, byte [ebp - 0x3e]
cmp ecx, 1
jne 0x481115
mov dword [ebp - 0xc], 0
push str.Windows_Vista
call fcn.0047c040
add esp, 4
jmp 0x481374
mov dword [ebp - 0xc], 0
push str.Windows_Server_Longhorn
call fcn.0047c040
add esp, 4
jmp 0x481374
cmp dword [ebp - 0x154], 5
jne 0x4811b2
cmp dword [ebp - 0x150], 2
jne 0x4811b2
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x48116a
push str.Microsoft_Windows_Server_2003_R2
call fcn.0047c040
add esp, 4
mov dword [ebp - 0xc], 0
jmp 0x481374
movzx edx, byte [ebp - 0x3e]
cmp edx, 1
jne 0x481197
movzx eax, word [ebp - 0x30]
cmp eax, 9
jne 0x481197
mov dword [ebp - 0xc], 0
push str.Microsoft_Windows_XP_Professional_x64_Edition
call fcn.0047c040
add esp, 4
jmp 0x481374
push str.Microsoft_Windows_Server_2003
call fcn.0047c040
add esp, 4
mov dword [ebp - 0xc], 0
jmp 0x481374
cmp dword [ebp - 0x154], 5
jne 0x4811df
cmp dword [ebp - 0x150], 1
jne 0x4811df
mov dword [ebp - 0xc], 0
push str.Microsoft_Windows_XP
call fcn.0047c040
add esp, 4
jmp 0x481374
cmp dword [ebp - 0x154], 5
jne 0x481205
cmp dword [ebp - 0x150], 0
jne 0x481205
push str.Microsoft_Windows_2000
call fcn.0047c040
add esp, 4
jmp 0x481374
cmp dword [ebp - 0x154], 4
ja 0x481220
push str.Microsoft_Windows_NT
call fcn.0047c040
add esp, 4
jmp 0x481374
push str.Microsoft_Windows_UNKNOWN
call fcn.0047c040
add esp, 4
jmp 0x481374
push str.Microsoft_Windows_VER_PLATFORM_WIN32_WINDOWS
call fcn.0047c040
add esp, 4
jmp 0x481374
push str.Microsoft_Windows_Microsoft_Win32s
call fcn.0047c040
add esp, 4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret