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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434c08
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x440320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf8], ecx
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0xf4], 0x9c
push str.unknown
lea ecx, [ebp - 0x2c]
call fcn.00404520
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xf4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x412d51
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0xfc], edx
cmp dword [ebp - 0xfc], 4
je 0x412bb2
cmp dword [ebp - 0xfc], 5
je 0x412c2c
cmp dword [ebp - 0xfc], 6
je 0x412ccd
jmp 0x412d51
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x412bdb
cmp dword [ebp - 0x100], 0xa
je 0x412c0b
cmp dword [ebp - 0x100], 0x5a
je 0x412c1a
jmp 0x412c27
cmp dword [ebp - 0xe4], 2
jne 0x412bf3
push str.Microsoft_Windows_NT_4.0
lea ecx, [ebp - 0x2c]
call fcn.00403ce0
jmp 0x412c09
cmp dword [ebp - 0xe4], 1
jne 0x412c09
push str.Microsoft_Windows_95
lea ecx, [ebp - 0x2c]
call fcn.00403ce0
jmp 0x412c27
push str.Microsoft_Windows_98
lea ecx, [ebp - 0x2c]
call fcn.00403ce0
jmp 0x412c27
push str.Microsoft_Windows_Me
lea ecx, [ebp - 0x2c]
call fcn.00403ce0
jmp 0x412d51
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x104], ecx
cmp dword [ebp - 0x104], 0
je 0x412c55
cmp dword [ebp - 0x104], 1
je 0x412c64
cmp dword [ebp - 0x104], 2
je 0x412c73
jmp 0x412cc8
push str.Microsoft_Windows_2000
lea ecx, [ebp - 0x2c]
call fcn.00403ce0
jmp 0x412cc8
push str.Microsoft_Windows_XP
lea ecx, [ebp - 0x2c]
call fcn.00403ce0
jmp 0x412cc8
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x412c94
movzx eax, word [ebp - 0x50]
cmp eax, 9
jne 0x412c94
push str.Microsoft_Windows_XP_Professional_x64_Edition
lea ecx, [ebp - 0x2c]
call fcn.00403ce0
jmp 0x412cc8
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x412caf
push str.Microsoft_Windows_Server_2003
lea ecx, [ebp - 0x2c]
call fcn.00403ce0
jmp 0x412cc8
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x412cc8
push str.Microsoft_Windows_Server_2003_R2
lea ecx, [ebp - 0x2c]
call fcn.00403ce0
jmp 0x412d51
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0x108], ecx
cmp dword [ebp - 0x108], 0
je 0x412cf6
cmp dword [ebp - 0x108], 1
je 0x412d1d
cmp dword [ebp - 0x108], 2
je 0x412d44
jmp 0x412d51
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x412d0e
push str.Microsoft_Windows_Vista
lea ecx, [ebp - 0x2c]
call fcn.00403ce0
jmp 0x412d1b
push str.Microsoft_Windows_Server_2008
lea ecx, [ebp - 0x2c]
call fcn.00403ce0
jmp 0x412d51
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x412d35
push str.Microsoft_Windows_7
lea ecx, [ebp - 0x2c]
call fcn.00403ce0
jmp 0x412d42
push str.Microsoft_Windows_Server_2008_R2
lea ecx, [ebp - 0x2c]
call fcn.00403ce0
jmp 0x412d51
push str.Microsoft_Windows_8
lea ecx, [ebp - 0x2c]
call fcn.00403ce0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00412f40
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0041eb70
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404560
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e0c4
mov esp, ebp
pop ebp
ret 8